Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp88 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generateUnsignedRemainderCode() local
89 Builder.SetInsertPoint(UDiv); in generateUnsignedRemainderCode()
132 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag)) in generateSignedDivisionCode() local
133 Builder.SetInsertPoint(UDiv); in generateSignedDivisionCode()
392 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder() local
393 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?"); in expandRemainder()
394 expandDivision(UDiv); in expandRemainder()
408 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
553 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo32Bits()
601 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo64Bits()
H A DBypassSlowDivision.cpp96 SlowDivOrRem->getOpcode() == Instruction::UDiv; in isDivisionOp()
112 case Instruction::UDiv: in FastDivInsertionTask()
H A DSimplifyIndVar.cpp142 case Instruction::UDiv: in foldIVUser()
311 auto *UDiv = BinaryOperator::Create( in eliminateSDiv() local
312 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv()
314 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
315 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
316 UDiv->setDebugLoc(SDiv->getDebugLoc()); in eliminateSDiv()
1263 case Instruction::UDiv: in cloneIVUser()
1394 case Instruction::UDiv: in getSCEVByOpCode()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandLargeDivRem.cpp93 case Instruction::UDiv: in runImpl()
133 if (I->getOpcode() == Instruction::UDiv || in runImpl()
H A DExpandVectorPredication.cpp251 case Instruction::UDiv: in expandPredicationInBinaryOperator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp817 assert(Instr->getOpcode() == Instruction::UDiv || in expandUDivOrURem()
897 assert(Instr->getOpcode() == Instruction::UDiv || in narrowUDivOrURem()
924 if (BinOp->getOpcode() == Instruction::UDiv) in narrowUDivOrURem()
933 assert(Instr->getOpcode() == Instruction::UDiv || in processUDivOrURem()
1039 auto *UDiv = BinaryOperator::CreateUDiv(Ops[0].V, Ops[1].V, SDI->getName(), in processSDiv() local
1041 UDiv->setDebugLoc(SDI->getDebugLoc()); in processSDiv()
1042 UDiv->setIsExact(SDI->isExact()); in processSDiv()
1044 auto *Res = UDiv; in processSDiv()
1057 processUDivOrURem(UDiv, LVI); in processSDiv()
1290 case Instruction::UDiv: in runImpl()
H A DDivRemPairs.cpp86 assert((DivInst->getOpcode() == Instruction::UDiv || in DivRemPairWorklistEntry()
133 else if (I.getOpcode() == Instruction::UDiv) in getWorklist()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp66 case Instruction::UDiv: in getRelevantOperands()
144 case Instruction::UDiv: in buildTruncExpressionGraph()
328 if (I->getOpcode() == Instruction::UDiv || in getBestTruncatedType()
434 case Instruction::UDiv: in ReduceExpressionGraph()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOperations.cpp23 Ops.push_back(binOpDescriptor(1, Instruction::UDiv)); in describeFuzzerIntOps()
126 case Instruction::UDiv: in binOpDescriptor()
H A DIRMutator.cpp288 case Instruction::UDiv: in mutate()
332 case Instruction::UDiv: in mutate()
/freebsd/contrib/llvm-project/llvm/include/llvm/SandboxIR/
H A DValues.def99 OP(UDiv) \
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstantFold.cpp661 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
734 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
809 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
944 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
H A DOperator.cpp35 case Instruction::UDiv: in hasPoisonGeneratingFlags()
H A DInstruction.cpp435 case Instruction::UDiv: in dropPoisonGeneratingFlags()
788 case UDiv: return "udiv"; in getOpcodeName()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp285 case Instruction::UDiv: in getIntImmCostInst()
571 Opcode == Instruction::UDiv || Opcode == Instruction::URem; in getArithmeticInstrCost()
1241 UserI->getOpcode() == Instruction::UDiv) && in isFoldableLoad()
1269 case Instruction::UDiv: in isFoldableLoad()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp475 I.getOpcode() == Instruction::UDiv || in promoteUniformOpToI32()
1393 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
1403 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32()
1521 bool IsDiv = Opc == Instruction::SDiv || Opc == Instruction::UDiv; in shrinkDivRem64()
1547 if (Opc == Instruction::UDiv || Opc == Instruction::SDiv) { in expandDivRem64()
1656 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/
H A DLegality.cpp134 case Instruction::Opcode::UDiv: in notVectorizableBasedOnOpcodesAndTypes()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp626 case Instruction::UDiv: in CanInterpret()
769 case Instruction::UDiv: in Interpret()
834 case Instruction::UDiv: in Interpret()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DInstruction.def153 HANDLE_BINARY_INST(19, UDiv , BinaryOperator)
H A DOperator.h179 OpC == Instruction::UDiv ||
H A DInstruction.h343 return Opcode == UDiv || Opcode == SDiv || Opcode == URem || Opcode == SRem;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineInternal.h746 Instruction *foldICmpSRemConstant(ICmpInst &Cmp, BinaryOperator *UDiv,
748 Instruction *foldICmpUDivConstant(ICmpInst &Cmp, BinaryOperator *UDiv,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h308 case Instruction::UDiv: // 0 /u X = 0 in getSafeVectorConstantForBinop()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DObjCARCInstKind.cpp259 case Instruction::UDiv: in GetARCInstKind()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/SandboxVectorizer/Passes/
H A DBottomUpVec.cpp126 case Instruction::Opcode::UDiv: in createVectorInstr()

1234