/external/swiftshader/third_party/LLVM/unittests/Transforms/Utils/ |
D | Cloning.cpp | 137 BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V); in TEST_F() local 138 EXPECT_FALSE(this->clone(SDiv)->isExact()); in TEST_F() 140 SDiv->setIsExact(true); in TEST_F() 141 EXPECT_TRUE(this->clone(SDiv)->isExact()); in TEST_F()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | SimplifyIndVar.cpp | 93 bool eliminateSDiv(BinaryOperator *SDiv); 282 bool SimplifyIndvar::eliminateSDiv(BinaryOperator *SDiv) { in eliminateSDiv() argument 284 auto *N = SE->getSCEV(SDiv->getOperand(0)); in eliminateSDiv() 285 auto *D = SE->getSCEV(SDiv->getOperand(1)); in eliminateSDiv() 288 const Loop *L = LI->getLoopFor(SDiv->getParent()); in eliminateSDiv() 295 BinaryOperator::UDiv, SDiv->getOperand(0), SDiv->getOperand(1), in eliminateSDiv() 296 SDiv->getName() + ".udiv", SDiv); in eliminateSDiv() 297 UDiv->setIsExact(SDiv->isExact()); in eliminateSDiv() 298 SDiv->replaceAllUsesWith(UDiv); in eliminateSDiv() 299 LLVM_DEBUG(dbgs() << "INDVARS: Simplified sdiv: " << *SDiv << '\n'); in eliminateSDiv() [all …]
|
D | IntegerDivision.cpp | 435 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision() 447 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision() 585 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo32Bits() 609 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo32Bits() 633 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo64Bits() 658 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo64Bits()
|
D | BypassSlowDivision.cpp | 94 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isSignedOp() 99 return SlowDivOrRem->getOpcode() == Instruction::SDiv || in isDivisionOp() 117 case Instruction::SDiv: in FastDivInsertionTask()
|
/external/deqp-deps/glslang/Test/baseResults/ |
D | spv.320.meshShaderUserDefined.mesh.out | 134 53: 6(int) SDiv 51 52 142 66: 6(int) SDiv 65 52 150 75: 6(int) SDiv 73 74 157 84: 6(int) SDiv 83 74
|
/external/llvm/unittests/Transforms/Utils/ |
D | Cloning.cpp | 147 BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V); in TEST_F() local 148 EXPECT_FALSE(this->clone(SDiv)->isExact()); in TEST_F() 150 SDiv->setIsExact(true); in TEST_F() 151 EXPECT_TRUE(this->clone(SDiv)->isExact()); in TEST_F()
|
D | IntegerDivision.cpp | 23 TEST(IntegerDivision, SDiv) { in TEST() argument 42 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST() 163 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST()
|
/external/llvm/lib/Transforms/Utils/ |
D | IntegerDivision.cpp | 435 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision() 447 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision() 585 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo32Bits() 609 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo32Bits() 633 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo64Bits() 658 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo64Bits()
|
D | BypassSlowDivision.cpp | 222 bool UseDivOp = Opcode == Instruction::SDiv || Opcode == Instruction::UDiv; in bypassSlowDivision() 224 bool UseSignedOp = Opcode == Instruction::SDiv || in bypassSlowDivision()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | DivRemPairs.cpp | 59 if (I.getOpcode() == Instruction::SDiv) in optimizeDivRem() 83 bool IsSigned = DivInst->getOpcode() == Instruction::SDiv; in optimizeDivRem()
|
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/LICM/ |
D | speculate.ll | 68 ; SDiv is safe to speculate if the denominator is known non-zero and 102 ; SDiv is unsafe to speculate if the denominator is not known non-zero. 135 ; SDiv is unsafe to speculate if the denominator is not known to have a zero bit. 168 ; SDiv is unsafe to speculate inside an infinite loop.
|
/external/llvm/test/Transforms/LICM/ |
D | speculate.ll | 68 ; SDiv is safe to speculate if the denominator is known non-zero and 102 ; SDiv is unsafe to speculate if the denominator is not known non-zero. 135 ; SDiv is unsafe to speculate if the denominator is not known to have a zero bit. 168 ; SDiv is unsafe to speculate inside an infinite loop.
|
/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 186 BO->getOpcode() != Instruction::SDiv)) { in visitMul() 194 BO->getOpcode() == Instruction::SDiv)) { in visitMul() 198 if (PossiblyExactOperator *SDiv = dyn_cast<PossiblyExactOperator>(BO)) in visitMul() local 199 if (SDiv->isExact()) { in visitMul() 390 I.getOpcode()==Instruction::SDiv)) in commonIDivTransforms() 413 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 164 case Instruction::SDiv: in getIntImmCost() 352 if ((Opcode == Instruction::SDiv || Opcode == Instruction::UDiv) && in getArithmeticInstrCost() 363 if (Opcode == Instruction::SDiv) in getArithmeticInstrCost() 452 if ((Opcode == Instruction::SDiv || Opcode == Instruction::SRem)) in getArithmeticInstrCost() 834 case Instruction::SDiv: in getMemoryOpCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Transforms/Utils/ |
D | IntegerDivision.cpp | 23 TEST(IntegerDivision, SDiv) { in TEST() argument 42 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST() 163 EXPECT_TRUE(BB->front().getOpcode() == Instruction::SDiv); in TEST()
|
D | Cloning.cpp | 152 BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V); in TEST_F() local 153 EXPECT_FALSE(this->clone(SDiv)->isExact()); in TEST_F() 155 SDiv->setIsExact(true); in TEST_F() 156 EXPECT_TRUE(this->clone(SDiv)->isExact()); in TEST_F()
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | Operator.h | 148 return OpC == Instruction::SDiv || in isPossiblyExactOpcode() 207 : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUCodeGenPrepare.cpp | 205 I.getOpcode() == Instruction::SDiv || I.getOpcode() == Instruction::SRem; in isSigned() 272 if (I.getOpcode() == Instruction::SDiv || in promoteUniformOpToI32() 615 Opc == Instruction::SRem || Opc == Instruction::SDiv); in expandDivRem32() 624 bool IsDiv = Opc == Instruction::UDiv || Opc == Instruction::SDiv; in expandDivRem32() 625 bool IsSigned = Opc == Instruction::SRem || Opc == Instruction::SDiv; in expandDivRem32() 766 Opc == Instruction::SRem || Opc == Instruction::SDiv) && in visitBinaryOperator()
|
/external/llvm/include/llvm/IR/ |
D | Operator.h | 146 return OpC == Instruction::SDiv || in isPossiblyExactOpcode() 348 : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 311 BO->getOpcode() != Instruction::SDiv)) { in visitMul() 319 BO->getOpcode() == Instruction::SDiv)) { in visitMul() 323 if (PossiblyExactOperator *SDiv = dyn_cast<PossiblyExactOperator>(BO)) in visitMul() local 324 if (SDiv->isExact()) { in visitMul() 822 bool IsSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms() 899 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms() 923 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | Operator.h | 141 return OpC == Instruction::SDiv || in isPossiblyExactOpcode() 413 : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
D | PatternMatch.h | 333 inline BinaryOp_match<LHS, RHS, Instruction::SDiv> 335 return BinaryOp_match<LHS, RHS, Instruction::SDiv>(L, R); in m_SDiv() 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/lib/VMCore/ |
D | Instruction.cpp | 116 case SDiv: return "sdiv"; in getOpcodeName() 409 case SDiv: in isSafeToSpeculativelyExecute()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/FuzzMutate/ |
D | Operations.cpp | 23 Ops.push_back(binOpDescriptor(1, Instruction::SDiv)); in describeFuzzerIntOps() 101 case Instruction::SDiv: in binOpDescriptor()
|
/external/llvm/lib/Target/SystemZ/ |
D | SystemZTargetTransformInfo.cpp | 164 case Instruction::SDiv: in getIntImmCost()
|