Home
last modified time | relevance | path

Searched refs:SDiv (Results 1 – 25 of 52) sorted by relevance

123

/external/llvm/unittests/Transforms/Utils/
DCloning.cpp148 BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V); in TEST_F() local
149 EXPECT_FALSE(this->clone(SDiv)->isExact()); in TEST_F()
151 SDiv->setIsExact(true); in TEST_F()
152 EXPECT_TRUE(this->clone(SDiv)->isExact()); in TEST_F()
DIntegerDivision.cpp23 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/
DIntegerDivision.cpp437 assert((Div->getOpcode() == Instruction::SDiv || in expandDivision()
453 if (Div->getOpcode() == Instruction::SDiv) { in expandDivision()
591 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo32Bits()
617 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo32Bits()
641 assert((Div->getOpcode() == Instruction::SDiv || in expandDivisionUpTo64Bits()
667 if (Div->getOpcode() == Instruction::SDiv) { in expandDivisionUpTo64Bits()
DBypassSlowDivision.cpp233 bool UseDivOp = Opcode == Instruction::SDiv || Opcode == Instruction::UDiv; in bypassSlowDivision()
235 bool UseSignedOp = Opcode == Instruction::SDiv || in bypassSlowDivision()
/external/llvm/test/Transforms/LICM/
Dspeculate.ll67 ; SDiv is safe to speculate if the denominator is known non-zero and
101 ; SDiv is unsafe to speculate if the denominator is not known non-zero.
134 ; SDiv is unsafe to speculate if the denominator is not known to have a zero bit.
167 ; SDiv is unsafe to speculate inside an infinite loop.
/external/llvm/include/llvm/IR/
DOperator.h146 return OpC == Instruction::SDiv || in isPossiblyExactOpcode()
348 : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {
DPatternMatch.h476 inline BinaryOp_match<LHS, RHS, Instruction::SDiv> m_SDiv(const LHS &L, in m_SDiv()
478 return BinaryOp_match<LHS, RHS, Instruction::SDiv>(L, R); in m_SDiv()
671 inline BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>
673 return BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>(L, R); in m_IDiv()
DInstruction.def131 HANDLE_BINARY_INST(18, SDiv , BinaryOperator)
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp311 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()
808 bool IsSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
885 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
909 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
DInstCombineVectorOps.cpp568 case Instruction::SDiv: in CanEvaluateShuffled()
631 case Instruction::SDiv: in buildNew()
731 case Instruction::SDiv: in EvaluateInDifferentElementOrder()
/external/llvm/lib/Target/SystemZ/
DSystemZTargetTransformInfo.cpp164 case Instruction::SDiv: in getIntImmCost()
/external/llvm/lib/Target/XCore/
DXCoreLowerThreadLocal.cpp93 case Instruction::SDiv: in createReplacementInstr()
/external/llvm/lib/IR/
DConstantFold.cpp948 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1019 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1122 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1157 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1243 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
DInstruction.cpp218 case SDiv: return "sdiv"; in getOpcodeName()
/external/llvm/lib/Analysis/
DCostModel.cpp398 case Instruction::SDiv: in getInstructionCost()
DObjCARCInstKind.cpp273 case Instruction::SDiv: in GetARCInstKind()
DInstructionSimplify.cpp1003 bool isSigned = Opcode == Instruction::SDiv; in SimplifyDiv()
1082 if (Value *V = SimplifyDiv(Instruction::SDiv, Op0, Op1, Q, MaxRecurse)) in SimplifySDivInst()
2824 case Instruction::SDiv: in SimplifyICmpInst()
3719 case Instruction::SDiv: return SimplifySDivInst(LHS, RHS, Q, MaxRecurse); in SimplifyBinOp()
3980 case Instruction::SDiv: in SimplifyInstruction()
/external/llvm/include/llvm/Analysis/
DTargetTransformInfoImpl.h67 case Instruction::SDiv: in getOperationCost()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp401 J->getOpcode() == Instruction::SDiv || in mightUseCTR()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp90 case Instruction::SDiv: in getIntImmCost()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp875 case Instruction::SDiv: Out << "getSDiv("; break; in printConstant()
1223 case Instruction::SDiv: in printInstruction()
1243 case Instruction::SDiv:Out << "Instruction::SDiv"; break; in printInstruction()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp788 case Instruction::SDiv: in getConstantValue()
806 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break; in getConstantValue()
/external/llvm/tools/llvm-stress/
Dllvm-stress.cpp353 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; } in Act()
/external/llvm/lib/ExecutionEngine/Interpreter/
DExecution.cpp737 case Instruction::SDiv: INTEGER_VECTOR_FUNCTION(sdiv) break; in visitBinaryOperator()
779 case Instruction::SDiv: R.IntVal = Src1.IntVal.sdiv(Src2.IntVal); break; in visitBinaryOperator()
2034 case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break; in getConstantExprValue()
/external/llvm/lib/AsmParser/
DLLLexer.cpp720 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv); in LexIdentifier()

123