Home
last modified time | relevance | path

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

1234

/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DIntegerDivision.cpp91 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generatedUnsignedRemainderCode() local
92 Builder.SetInsertPoint(UDiv); in generatedUnsignedRemainderCode()
140 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag)) in generateSignedDivisionCode() local
141 Builder.SetInsertPoint(UDiv); in generateSignedDivisionCode()
416 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder() local
417 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?"); in expandRemainder()
418 expandDivision(UDiv); in expandRemainder()
434 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
584 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo32Bits()
632 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo64Bits()
H A DBypassSlowDivision.cpp99 SlowDivOrRem->getOpcode() == Instruction::UDiv; in isDivisionOp()
115 case Instruction::UDiv: in FastDivInsertionTask()
H A DSimplifyIndVar.cpp136 case Instruction::UDiv: in foldIVUser()
326 auto *UDiv = BinaryOperator::Create( in eliminateSDiv() local
327 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv()
329 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
330 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
1213 case Instruction::UDiv: in cloneIVUser()
1344 case Instruction::UDiv: in getSCEVByOpCode()
/llvm-project-15.0.7/mlir/test/Conversion/SPIRVToLLVM/
H A Darithmetic-ops-to-llvm.mlir166 // spv.UDiv
172 %0 = spv.UDiv %arg0, %arg1 : i32
179 %0 = spv.UDiv %arg0, %arg1 : vector<3xi64>
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DCorrelatedValuePropagation.cpp776 assert(Instr->getOpcode() == Instruction::UDiv || in processUDivOrURem()
809 if (BinOp->getOpcode() == Instruction::UDiv) in processUDivOrURem()
905 auto *UDiv = in processSDiv() local
907 UDiv->setDebugLoc(SDI->getDebugLoc()); in processSDiv()
908 UDiv->setIsExact(SDI->isExact()); in processSDiv()
910 Value *Res = UDiv; in processSDiv()
920 processUDivOrURem(UDiv, LVI); in processSDiv()
1112 case Instruction::UDiv: in runImpl()
H A DDivRemPairs.cpp88 assert((DivInst->getOpcode() == Instruction::UDiv || in DivRemPairWorklistEntry()
135 else if (I.getOpcode() == Instruction::UDiv) in getWorklist()
/llvm-project-15.0.7/llvm/lib/Transforms/AggressiveInstCombine/
H A DTruncInstCombine.cpp66 case Instruction::UDiv: in getRelevantOperands()
145 case Instruction::UDiv: in buildTruncExpressionGraph()
329 if (I->getOpcode() == Instruction::UDiv || in getBestTruncatedType()
435 case Instruction::UDiv: in ReduceExpressionGraph()
/llvm-project-15.0.7/mlir/test/Dialect/SPIRV/IR/
H A Darithmetic-ops.mlir253 // spv.UDiv
257 // CHECK: spv.UDiv
258 %0 = spv.UDiv %arg, %arg : i32
H A Dcooperative-matrix-ops.mlir76 // CHECK: {{%.*}} = spv.UDiv {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xi32, Subgroup>
77 %r = spv.UDiv %a, %b : !spv.coopmatrix<8x16xi32, Subgroup>
/llvm-project-15.0.7/mlir/test/Target/SPIRV/
H A Darithmetic-ops.mlir55 // CHECK: {{%.*}} = spv.UDiv {{%.*}}, {{%.*}} : vector<4xi32>
56 %0 = spv.UDiv %arg0, %arg1 : vector<4xi32>
H A Dcooperative-matrix-ops.mlir69 // CHECK: {{%.*}} = spv.UDiv {{%.*}}, {{%.*}} : !spv.coopmatrix<8x16xi32, Subgroup>
70 %r = spv.UDiv %a, %b : !spv.coopmatrix<8x16xi32, Subgroup>
/llvm-project-15.0.7/llvm/unittests/Transforms/Utils/
H A DIntegerDivisionTest.cpp52 TEST(IntegerDivision, UDiv) { in TEST() argument
71 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
192 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DOperator.h148 OpC == Instruction::UDiv || in isPossiblyExactOpcode()
364 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
H A DInstruction.def153 HANDLE_BINARY_INST(19, UDiv , BinaryOperator)
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUCodeGenPrepare.cpp324 I.getOpcode() == Instruction::UDiv || in promoteUniformOpToI32()
1064 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
1074 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32()
1193 bool IsDiv = Opc == Instruction::SDiv || Opc == Instruction::UDiv; in shrinkDivRem64()
1219 if (Opc == Instruction::UDiv || Opc == Instruction::SDiv) { in expandDivRem64()
1251 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/llvm-project-15.0.7/llvm/test/Transforms/LICM/
H A Dspeculate.ll4 ; UDiv is safe to speculate if the denominator is known non-zero.
36 ; UDiv is unsafe to speculate if the denominator is not known non-zero.
/llvm-project-15.0.7/llvm/lib/Target/SystemZ/
H A DSystemZTargetTransformInfo.cpp201 case Instruction::UDiv: in getIntImmCostInst()
452 Opcode == Instruction::UDiv || Opcode == Instruction::URem; in getArithmeticInstrCost()
1046 UserI->getOpcode() == Instruction::UDiv) && in isFoldableLoad()
1074 case Instruction::UDiv: in isFoldableLoad()
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVArithmeticOps.td584 def SPV_UDivOp : SPV_ArithmeticBinaryOp<"UDiv",
603 udiv-op ::= ssa-id `=` `spv.UDiv` ssa-use, ssa-use
609 %4 = spv.UDiv %0, %1 : i32
610 %5 = spv.UDiv %2, %3 : vector<4xi32>
/llvm-project-15.0.7/llvm/lib/FuzzMutate/
H A DOperations.cpp23 Ops.push_back(binOpDescriptor(1, Instruction::UDiv)); in describeFuzzerIntOps()
101 case Instruction::UDiv: in binOpDescriptor()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h709 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(S); in visitAll() local
710 push(UDiv->getLHS()); in visitAll()
711 push(UDiv->getRHS()); in visitAll()
/llvm-project-15.0.7/llvm/lib/IR/
H A DOperator.cpp30 case Instruction::UDiv: in hasPoisonGeneratingFlags()
H A DInstruction.cpp157 case Instruction::UDiv: in dropPoisonGeneratingFlags()
373 case UDiv: return "udiv"; in getOpcodeName()
H A DConstantFold.cpp928 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1020 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1140 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1179 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
1290 case Instruction::UDiv: in ConstantFoldBinaryInstruction()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DPoisonChecking.cpp147 case Instruction::UDiv: { in generateCreationChecksForBinOp()
/llvm-project-15.0.7/lldb/source/Expression/
H A DIRInterpreter.cpp593 case Instruction::UDiv: in CanInterpret()
704 case Instruction::UDiv: in Interpret()
764 case Instruction::UDiv: in Interpret()

1234