| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | IntegerDivision.cpp | 91 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 D | BypassSlowDivision.cpp | 99 SlowDivOrRem->getOpcode() == Instruction::UDiv; in isDivisionOp() 115 case Instruction::UDiv: in FastDivInsertionTask()
|
| H A D | SimplifyIndVar.cpp | 136 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 D | arithmetic-ops-to-llvm.mlir | 166 // 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 D | CorrelatedValuePropagation.cpp | 776 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 D | DivRemPairs.cpp | 88 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 D | TruncInstCombine.cpp | 66 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 D | arithmetic-ops.mlir | 253 // spv.UDiv 257 // CHECK: spv.UDiv 258 %0 = spv.UDiv %arg, %arg : i32
|
| H A D | cooperative-matrix-ops.mlir | 76 // 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 D | arithmetic-ops.mlir | 55 // CHECK: {{%.*}} = spv.UDiv {{%.*}}, {{%.*}} : vector<4xi32> 56 %0 = spv.UDiv %arg0, %arg1 : vector<4xi32>
|
| H A D | cooperative-matrix-ops.mlir | 69 // 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 D | IntegerDivisionTest.cpp | 52 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 D | Operator.h | 148 OpC == Instruction::UDiv || in isPossiblyExactOpcode() 364 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
|
| H A D | Instruction.def | 153 HANDLE_BINARY_INST(19, UDiv , BinaryOperator)
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | AMDGPUCodeGenPrepare.cpp | 324 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 D | speculate.ll | 4 ; 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 D | SystemZTargetTransformInfo.cpp | 201 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 D | SPIRVArithmeticOps.td | 584 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 D | Operations.cpp | 23 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 D | ScalarEvolutionExpressions.h | 709 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 D | Operator.cpp | 30 case Instruction::UDiv: in hasPoisonGeneratingFlags()
|
| H A D | Instruction.cpp | 157 case Instruction::UDiv: in dropPoisonGeneratingFlags() 373 case UDiv: return "udiv"; in getOpcodeName()
|
| H A D | ConstantFold.cpp | 928 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 D | PoisonChecking.cpp | 147 case Instruction::UDiv: { in generateCreationChecksForBinOp()
|
| /llvm-project-15.0.7/lldb/source/Expression/ |
| H A D | IRInterpreter.cpp | 593 case Instruction::UDiv: in CanInterpret() 704 case Instruction::UDiv: in Interpret() 764 case Instruction::UDiv: in Interpret()
|