Home
last modified time | relevance | path

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

12345678

/external/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generatedUnsignedRemainderCode() local
94 Builder.SetInsertPoint(UDiv); in generatedUnsignedRemainderCode()
142 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag)) in generateSignedDivisionCode() local
143 Builder.SetInsertPoint(UDiv); in generateSignedDivisionCode()
418 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder() local
419 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?"); in expandRemainder()
420 expandDivision(UDiv); in expandRemainder()
436 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
586 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo32Bits()
634 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo64Bits()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DIntegerDivision.cpp93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) in generatedUnsignedRemainderCode() local
94 Builder.SetInsertPoint(UDiv); in generatedUnsignedRemainderCode()
142 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag)) in generateSignedDivisionCode() local
143 Builder.SetInsertPoint(UDiv); in generateSignedDivisionCode()
418 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) { in expandRemainder() local
419 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?"); in expandRemainder()
420 expandDivision(UDiv); in expandRemainder()
436 Div->getOpcode() == Instruction::UDiv) && in expandDivision()
586 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo32Bits()
634 Div->getOpcode() == Instruction::UDiv) && in expandDivisionUpTo64Bits()
DSimplifyIndVar.cpp114 case Instruction::UDiv: in foldIVUser()
294 auto *UDiv = BinaryOperator::Create( in eliminateSDiv() local
295 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv()
297 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv()
298 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv()
DBypassSlowDivision.cpp100 SlowDivOrRem->getOpcode() == Instruction::UDiv; in isDivisionOp()
116 case Instruction::UDiv: in FastDivInsertionTask()
/external/deqp-deps/glslang/Test/baseResults/
Dspv.meshShaderUserDefined.mesh.out132 51: 6(int) UDiv 50 28
140 65: 6(int) UDiv 64 28
148 73: 6(int) UDiv 72 21
155 83: 6(int) UDiv 82 21
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp53 TEST(IntegerDivision, UDiv) { in TEST() argument
72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
193 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
/external/llvm/unittests/Transforms/Utils/
DIntegerDivision.cpp53 TEST(IntegerDivision, UDiv) { in TEST() argument
72 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
193 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv); in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/
DOperator.h149 OpC == Instruction::UDiv || in isPossiblyExactOpcode()
211 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp163 case Instruction::UDiv: in getIntImmCost()
352 if ((Opcode == Instruction::SDiv || Opcode == Instruction::UDiv) && in getArithmeticInstrCost()
456 if (Opcode == Instruction::UDiv || Opcode == Instruction::URem) in getArithmeticInstrCost()
835 case Instruction::UDiv: in getMemoryOpCost()
/external/llvm/include/llvm/IR/
DOperator.h147 OpC == Instruction::UDiv || in isPossiblyExactOpcode()
351 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h527 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(S); in visitAll() local
528 push(UDiv->getLHS()); in visitAll()
529 push(UDiv->getRHS()); in visitAll()
/external/llvm/include/llvm/Analysis/
DScalarEvolutionExpressions.h519 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(S); in visitAll() local
520 push(UDiv->getLHS()); in visitAll()
521 push(UDiv->getRHS()); in visitAll()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DOperator.h142 OpC == Instruction::UDiv || in isPossiblyExactOpcode()
416 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DPatternMatch.h327 inline BinaryOp_match<LHS, RHS, Instruction::UDiv>
329 return BinaryOp_match<LHS, RHS, Instruction::UDiv>(L, R); in m_UDiv()
438 inline BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>
440 return BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>(L, R); in m_IDiv()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DAMDGPUCodeGenPrepare.cpp273 I.getOpcode() == Instruction::UDiv || in promoteUniformOpToI32()
614 assert(Opc == Instruction::URem || Opc == Instruction::UDiv || in expandDivRem32()
624 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32()
765 if ((Opc == Instruction::URem || Opc == Instruction::UDiv || in visitBinaryOperator()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DCorrelatedValuePropagation.cpp511 assert(Instr->getOpcode() == Instruction::UDiv || in processUDivOrURem()
542 if (BO->getOpcode() == Instruction::UDiv) in processUDivOrURem()
721 case Instruction::UDiv: in runImpl()
DDivRemPairs.cpp61 else if (I.getOpcode() == Instruction::UDiv) in optimizeDivRem()
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/
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.
/external/swiftshader/third_party/LLVM/lib/VMCore/
DInstruction.cpp115 case UDiv: return "udiv"; in getOpcodeName()
403 case UDiv: in isSafeToSpeculativelyExecute()
/external/llvm/test/Transforms/LICM/
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.
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/
DOperations.cpp24 Ops.push_back(binOpDescriptor(1, Instruction::UDiv)); in describeFuzzerIntOps()
102 case Instruction::UDiv: in binOpDescriptor()
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp185 (BO->getOpcode() != Instruction::UDiv && in visitMul()
193 (BO->getOpcode() == Instruction::UDiv || in visitMul()
206 if (BO->getOpcode() == Instruction::UDiv) in visitMul()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp163 case Instruction::UDiv: in getIntImmCost()
/external/swiftshader/third_party/subzero/pnacl-llvm/
DNaClBitcodeDecoders.cpp86 LLVMOpcode = Instruction::UDiv; in DecodeBinaryOpcode()
/external/swiftshader/third_party/LLVM/lib/Analysis/
DScalarEvolution.cpp194 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(this); in print() local
195 OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")"; in print()
3306 if (const SCEVUDivExpr *UDiv = dyn_cast<SCEVUDivExpr>(S)) { in getUnsignedRange() local
3307 ConstantRange X = getUnsignedRange(UDiv->getLHS()); in getUnsignedRange()
3308 ConstantRange Y = getUnsignedRange(UDiv->getRHS()); in getUnsignedRange()
3309 return setUnsignedRange(UDiv, ConservativeResult.intersectWith(X.udiv(Y))); in getUnsignedRange()
3448 if (const SCEVUDivExpr *UDiv = dyn_cast<SCEVUDivExpr>(S)) { in getSignedRange() local
3449 ConstantRange X = getSignedRange(UDiv->getLHS()); in getSignedRange()
3450 ConstantRange Y = getSignedRange(UDiv->getRHS()); in getSignedRange()
3451 return setSignedRange(UDiv, ConservativeResult.intersectWith(X.udiv(Y))); in getSignedRange()
[all …]

12345678