Home
last modified time | relevance | path

Searched refs:MulLHS (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FastISel.cpp1245 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitAddSub() local
1248 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitAddSub()
1250 std::swap(MulLHS, MulRHS); in emitAddSub()
1254 Register RHSReg = getRegForValue(MulLHS); in emitAddSub()
1614 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitLogicalOp() local
1617 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitLogicalOp()
1619 std::swap(MulLHS, MulRHS); in emitLogicalOp()
1624 Register RHSReg = getRegForValue(MulLHS); in emitLogicalOp()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DScalarEvolution.cpp1840 if (auto *MulLHS = dyn_cast<SCEVConstant>(SM->getOperand(0))) in getZeroExtendExprImpl() local
1841 if (MulLHS->getAPInt().isPowerOf2()) in getZeroExtendExprImpl()
1844 MulLHS->getAPInt().logBase2(); in getZeroExtendExprImpl()
1847 getZeroExtendExpr(MulLHS, Ty), in getZeroExtendExprImpl()
15297 auto *MulLHS = Mul->getOperand(0); in collect() local
15299 if (isa<SCEVConstant>(MulLHS)) in collect()
15300 std::swap(MulLHS, MulRHS); in collect()
15301 if (auto *Div = dyn_cast<SCEVUDivExpr>(MulLHS)) in collect()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIISelLowering.cpp13709 SDValue MulLHS = LHS.getOperand(0); in tryFoldToMad64_32() local
13716 bool MulLHSUnsigned32 = numBitsUnsigned(MulLHS, DAG) <= 32; in tryFoldToMad64_32()
13721 MulSignedLo = numBitsSigned(MulLHS, DAG) <= 32 && in tryFoldToMad64_32()
13730 MulLHS = DAG.getNode(ISD::ANY_EXTEND, SL, MVT::i64, MulLHS); in tryFoldToMad64_32()
13749 auto MulLHSLo = DAG.getNode(ISD::TRUNCATE, SL, MVT::i32, MulLHS); in tryFoldToMad64_32()
13760 DAG.getNode(ISD::EXTRACT_ELEMENT, SL, MVT::i32, MulLHS, One); in tryFoldToMad64_32()