Home
last modified time | relevance | path

Searched refs:SDiv (Results 1 – 25 of 78) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeDivRem.cpp53 return Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in isSigned()
94 case Instruction::SDiv: in runImpl()
134 I->getOpcode() == Instruction::SDiv) { in runImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DDivRemPairs.cpp66 M.Key.SignedOp = Div->getOpcode() == Instruction::SDiv; in matchExpandedRem()
87 DivInst->getOpcode() == Instruction::SDiv) && in DivRemPairWorklistEntry()
98 bool isSigned() const { return DivInst->getOpcode() == Instruction::SDiv; } in isSigned()
131 if (I.getOpcode() == Instruction::SDiv) in getWorklist()
H A DCorrelatedValuePropagation.cpp770 assert(Instr->getOpcode() == Instruction::SDiv || in narrowSDivOrSRem()
806 if (BinOp->getOpcode() == Instruction::SDiv) in narrowSDivOrSRem()
1007 assert(SDI->getOpcode() == Instruction::SDiv); in processSDiv()
1063 assert(Instr->getOpcode() == Instruction::SDiv || in processSDivOrSRem()
1070 if (Instr->getOpcode() == Instruction::SDiv) in processSDivOrSRem()
1287 case Instruction::SDiv: in runImpl()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp407 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
416 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
552 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo32Bits()
576 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo32Bits()
600 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo64Bits()
622 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo64Bits()
H A DSimplifyIndVar.cpp105 bool eliminateSDiv(BinaryOperator *SDiv);
299 bool SimplifyIndvar::eliminateSDiv(BinaryOperator *SDiv) { in eliminateSDiv() argument
301 const SCEV *N = SE->getSCEV(SDiv->getOperand(0)); in eliminateSDiv()
302 const SCEV *D = SE->getSCEV(SDiv->getOperand(1)); in eliminateSDiv()
305 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv()
312 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv()
313 SDiv->getName() + ".udiv", SDiv->getIterator()); in eliminateSDiv()
314 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
315 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
316 UDiv->setDebugLoc(SDiv->getDebugLoc()); in eliminateSDiv()
[all …]
H A DBypassSlowDivision.cpp90 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isSignedOp()
95 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isDivisionOp()
113 case Instruction::SDiv: in FastDivInsertionTask()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp401 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned()
474 if (I.getOpcode() == Instruction::SDiv || in promoteUniformOpToI32()
1394 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32()
1403 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32()
1404 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32()
1521 bool IsDiv = Opc == Instruction::SDiv || Opc == Instruction::UDiv; in shrinkDivRem64()
1522 bool IsSigned = Opc == Instruction::SDiv || Opc == Instruction::SRem; in shrinkDivRem64()
1547 if (Opc == Instruction::UDiv || Opc == Instruction::SDiv) { in expandDivRem64()
1657 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp22 Ops.push_back(binOpDescriptor(1, Instruction::SDiv)); in describeFuzzerIntOps()
125 case Instruction::SDiv: in binOpDescriptor()
H A DIRMutator.cpp289 case Instruction::SDiv: in mutate()
331 case Instruction::SDiv: in mutate()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def100 OP(SDiv) \
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp286 case Instruction::SDiv: in getIntImmCostInst()
569 Opcode == Instruction::SDiv || Opcode == Instruction::SRem; in getArithmeticInstrCost()
1240 UserI->getOpcode() == Instruction::SDiv || in isFoldableLoad()
1265 case Instruction::SDiv:// SE: 32->64 in isFoldableLoad()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp660 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
735 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
812 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
943 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
H A DOperator.cpp36 case Instruction::SDiv: in hasPoisonGeneratingFlags()
H A DInstruction.cpp436 case Instruction::SDiv: in dropPoisonGeneratingFlags()
789 case SDiv: return "sdiv"; in getOpcodeName()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp135 case Instruction::Opcode::SDiv: in notVectorizableBasedOnOpcodesAndTypes()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp619 case Instruction::SDiv: in CanInterpret()
768 case Instruction::SDiv: in Interpret()
829 case Instruction::SDiv: in Interpret()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.def154 HANDLE_BINARY_INST(20, SDiv , BinaryOperator)
H A DOperator.h178 return OpC == Instruction::SDiv ||
H A DInstruction.h343 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h307 case Instruction::SDiv: // 0 / X = 0 in getSafeVectorConstantForBinop()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp421 Div->getOpcode() != Instruction::SDiv)) { in visitMul()
429 Div->getOpcode() == Instruction::SDiv)) { in visitMul()
1190 assert((I.getOpcode() == Instruction::SDiv || in foldIDivShl()
1194 bool IsSigned = I.getOpcode() == Instruction::SDiv; in foldIDivShl()
1322 bool IsSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
H A DInstCombineNegator.cpp273 case Instruction::SDiv: in visitImpl()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp258 case Instruction::SDiv: in GetARCInstKind()
H A DHashRecognize.cpp164 case Instruction::BinaryOps::SDiv: in computeBinOp()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.cpp127 case Instruction::Opcode::SDiv: in createVectorInstr()

1234