Home
last modified time | relevance | path

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

/external/llvm/lib/Target/Sparc/
DSparcISelDAGToDAG.cpp369 SDValue MulLHS = N->getOperand(0); in Select() local
373 CurDAG->getMachineNode(Opcode, dl, MVT::i32, MVT::i32, MulLHS, MulRHS); in Select()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp1254 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitAddSub() local
1257 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitAddSub()
1259 std::swap(MulLHS, MulRHS); in emitAddSub()
1263 unsigned RHSReg = getRegForValue(MulLHS); in emitAddSub()
1266 bool RHSIsKill = hasTrivialKill(MulLHS); in emitAddSub()
1640 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitLogicalOp() local
1643 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitLogicalOp()
1645 std::swap(MulLHS, MulRHS); in emitLogicalOp()
1650 unsigned RHSReg = getRegForValue(MulLHS); in emitLogicalOp()
1653 bool RHSIsKill = hasTrivialKill(MulLHS); in emitLogicalOp()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp1175 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitAddSub() local
1178 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitAddSub()
1180 std::swap(MulLHS, MulRHS); in emitAddSub()
1184 unsigned RHSReg = getRegForValue(MulLHS); in emitAddSub()
1187 bool RHSIsKill = hasTrivialKill(MulLHS); in emitAddSub()
1553 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitLogicalOp() local
1556 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitLogicalOp()
1558 std::swap(MulLHS, MulRHS); in emitLogicalOp()
1563 unsigned RHSReg = getRegForValue(MulLHS); in emitLogicalOp()
1566 bool RHSIsKill = hasTrivialKill(MulLHS); in emitLogicalOp()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp1252 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitAddSub() local
1255 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitAddSub()
1257 std::swap(MulLHS, MulRHS); in emitAddSub()
1261 unsigned RHSReg = getRegForValue(MulLHS); in emitAddSub()
1264 bool RHSIsKill = hasTrivialKill(MulLHS); in emitAddSub()
1638 const Value *MulLHS = cast<MulOperator>(RHS)->getOperand(0); in emitLogicalOp() local
1641 if (const auto *C = dyn_cast<ConstantInt>(MulLHS)) in emitLogicalOp()
1643 std::swap(MulLHS, MulRHS); in emitLogicalOp()
1648 unsigned RHSReg = getRegForValue(MulLHS); in emitLogicalOp()
1651 bool RHSIsKill = hasTrivialKill(MulLHS); in emitLogicalOp()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp9523 SDValue MulLHS = LHS.getOperand(0); in performAddCombine() local
9528 if (numBitsUnsigned(MulLHS, DAG) <= 32 && in performAddCombine()
9530 MulLHS = DAG.getZExtOrTrunc(MulLHS, SL, MVT::i32); in performAddCombine()
9533 return getMad64_32(DAG, SL, VT, MulLHS, MulRHS, AddRHS, false); in performAddCombine()
9536 if (numBitsSigned(MulLHS, DAG) < 32 && numBitsSigned(MulRHS, DAG) < 32) { in performAddCombine()
9537 MulLHS = DAG.getSExtOrTrunc(MulLHS, SL, MVT::i32); in performAddCombine()
9540 return getMad64_32(DAG, SL, VT, MulLHS, MulRHS, AddRHS, true); in performAddCombine()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIISelLowering.cpp10276 SDValue MulLHS = LHS.getOperand(0); in performAddCombine() local
10281 if (numBitsUnsigned(MulLHS, DAG) <= 32 && in performAddCombine()
10283 MulLHS = DAG.getZExtOrTrunc(MulLHS, SL, MVT::i32); in performAddCombine()
10286 return getMad64_32(DAG, SL, VT, MulLHS, MulRHS, AddRHS, false); in performAddCombine()
10289 if (numBitsSigned(MulLHS, DAG) < 32 && numBitsSigned(MulRHS, DAG) < 32) { in performAddCombine()
10290 MulLHS = DAG.getSExtOrTrunc(MulLHS, SL, MVT::i32); in performAddCombine()
10293 return getMad64_32(DAG, SL, VT, MulLHS, MulRHS, AddRHS, true); in performAddCombine()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp1926 if (auto *MulLHS = dyn_cast<SCEVConstant>(SM->getOperand(0))) in getZeroExtendExpr() local
1927 if (MulLHS->getAPInt().isPowerOf2()) in getZeroExtendExpr()
1930 MulLHS->getAPInt().logBase2(); in getZeroExtendExpr()
1933 getZeroExtendExpr(MulLHS, Ty), in getZeroExtendExpr()
/external/llvm-project/llvm/lib/Analysis/
DScalarEvolution.cpp1807 if (auto *MulLHS = dyn_cast<SCEVConstant>(SM->getOperand(0))) in getZeroExtendExpr() local
1808 if (MulLHS->getAPInt().isPowerOf2()) in getZeroExtendExpr()
1811 MulLHS->getAPInt().logBase2(); in getZeroExtendExpr()
1814 getZeroExtendExpr(MulLHS, Ty), in getZeroExtendExpr()