Home
last modified time | relevance | path

Searched refs:UDiv (Results 1 – 25 of 67) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp92 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generatedUnsignedRemainderCode() local
93 Builder.SetInsertPoint(UDiv); in generatedUnsignedRemainderCode()
141 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag)) in generateSignedDivisionCode() local
142 Builder.SetInsertPoint(UDiv); in generateSignedDivisionCode()
417 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder() local
418 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?"); in expandRemainder()
419 expandDivision(UDiv); in expandRemainder()
435 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
585 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo32Bits()
633 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo64Bits()
DBypassSlowDivision.cpp99 SlowDivOrRem->getOpcode() == Instruction::UDiv; in isDivisionOp()
115 case Instruction::UDiv: in FastDivInsertionTask()
DSimplifyIndVar.cpp136 case Instruction::UDiv: in foldIVUser()
324 auto *UDiv = BinaryOperator::Create( in eliminateSDiv() local
325 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv()
327 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
328 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
1164 case Instruction::UDiv: in cloneIVUser()
1295 case Instruction::UDiv: in getSCEVByOpCode()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp727 assert(Instr->getOpcode() == Instruction::UDiv || in processUDivOrURem()
760 if (BinOp->getOpcode() == Instruction::UDiv) in processUDivOrURem()
856 auto *UDiv = in processSDiv() local
858 UDiv->setDebugLoc(SDI->getDebugLoc()); in processSDiv()
859 UDiv->setIsExact(SDI->isExact()); in processSDiv()
861 Value *Res = UDiv; in processSDiv()
871 processUDivOrURem(UDiv, LVI); in processSDiv()
1051 case Instruction::UDiv: in runImpl()
DDivRemPairs.cpp88 assert((DivInst->getOpcode() == Instruction::UDiv || in DivRemPairWorklistEntry()
135 else if (I.getOpcode() == Instruction::UDiv) in getWorklist()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp320 I.getOpcode() == Instruction::UDiv || in promoteUniformOpToI32()
1044 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
1054 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32()
1173 bool IsDiv = Opc == Instruction::SDiv || Opc == Instruction::UDiv; in shrinkDivRem64()
1199 if (Opc == Instruction::UDiv || Opc == Instruction::SDiv) { in expandDivRem64()
1231 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp165 case Instruction::UDiv: in getIntImmCostInst()
415 Opcode == Instruction::UDiv || Opcode == Instruction::URem; in getArithmeticInstrCost()
1004 UserI->getOpcode() == Instruction::UDiv) && in isFoldableLoad()
1032 case Instruction::UDiv: in isFoldableLoad()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
DOperator.h143 OpC == Instruction::UDiv || in isPossiblyExactOpcode()
447 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
DInstruction.def153 HANDLE_BINARY_INST(19, UDiv , BinaryOperator)
DInstruction.h196 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
DVPIntrinsics.def160 HELPER_REGISTER_BINARY_INT_VP(vp_udiv, VP_UDIV, UDiv)
/freebsd-12-stable/contrib/llvm-project/llvm/lib/FuzzMutate/
DOperations.cpp23 Ops.push_back(binOpDescriptor(1, Instruction::UDiv)); in describeFuzzerIntOps()
101 case Instruction::UDiv: in binOpDescriptor()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h665 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(S); in visitAll() local
666 push(UDiv->getLHS()); in visitAll()
667 push(UDiv->getRHS()); in visitAll()
DTargetTransformInfoImpl.h463 case Instruction::UDiv:
978 case Instruction::UDiv: in getUserCost()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DInstruction.cpp154 case Instruction::UDiv: in dropPoisonGeneratingFlags()
364 case UDiv: return "udiv"; in getOpcodeName()
DConstantFold.cpp924 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1016 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1136 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1175 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1277 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DPoisonChecking.cpp153 case Instruction::UDiv: { in generateCreationChecksForBinOp()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/
DExpandVectorPredication.cpp235 case Instruction::UDiv: in expandPredicationInBinaryOperator()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Expression/
DIRInterpreter.cpp584 case Instruction::UDiv: in CanInterpret()
696 case Instruction::UDiv: in Interpret()
756 case Instruction::UDiv: in Interpret()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombineInternal.h678 Instruction *foldICmpSRemConstant(ICmpInst &Cmp, BinaryOperator *UDiv,
680 Instruction *foldICmpUDivConstant(ICmpInst &Cmp, BinaryOperator *UDiv,
DInstCombineMulDivRem.cpp271 if (!Div || (Div->getOpcode() != Instruction::UDiv && in visitMul()
279 (Div->getOpcode() == Instruction::UDiv || in visitMul()
290 auto RemOpc = Div->getOpcode() == Instruction::UDiv ? Instruction::URem in visitMul()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
DInstCombiner.h333 case Instruction::UDiv: // 0 /u X = 0 in getSafeVectorConstantForBinop()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DObjCARCInstKind.cpp259 case Instruction::UDiv: in GetARCInstKind()
DCFLGraph.h574 case Instruction::UDiv: in visitConstantExpr()
DScalarEvolution.cpp343 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(this); in print() local
344 OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")"; in print()
3258 const SCEV *UDiv = getUDivExpr(LHS, RHS); in getURemExpr() local
3259 const SCEV *Mult = getMulExpr(UDiv, RHS, SCEV::FlagNUW); in getURemExpr()
4806 case Instruction::UDiv: in MatchBinaryOp()
4835 return BinaryOp(Instruction::UDiv, Op->getOperand(0), X); in MatchBinaryOp()
6074 if (const SCEVUDivExpr *UDiv = dyn_cast<SCEVUDivExpr>(S)) { in getRangeRef() local
6075 ConstantRange X = getRangeRef(UDiv->getLHS(), SignHint); in getRangeRef()
6076 ConstantRange Y = getRangeRef(UDiv->getRHS(), SignHint); in getRangeRef()
6077 return setRange(UDiv, SignHint, in getRangeRef()
[all …]

123