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.h147 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.def115 HANDLE_BINARY_INST(15, SDiv , BinaryOperator)
DInstrTypes.h270 DEFINE_HELPERS(SDiv, Exact) // CreateExactSDiv
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp300 BO->getOpcode() != Instruction::SDiv)) { in visitMul()
308 BO->getOpcode() == Instruction::SDiv)) { in visitMul()
312 if (PossiblyExactOperator *SDiv = dyn_cast<PossiblyExactOperator>(BO)) in visitMul() local
313 if (SDiv->isExact()) { in visitMul()
798 bool IsSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
875 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
899 bool isSigned = I.getOpcode() == Instruction::SDiv; in commonIDivTransforms()
DInstCombineVectorOps.cpp617 case Instruction::SDiv: in CanEvaluateShuffled()
680 case Instruction::SDiv: in BuildNew()
780 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/lldb/source/Expression/
DIRInterpreter.cpp514 case Instruction::SDiv: in CanInterpret()
620 case Instruction::SDiv: in Interpret()
681 case Instruction::SDiv: in Interpret()
/external/llvm/lib/IR/
DConstantFold.cpp942 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1013 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1116 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1151 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
1237 case Instruction::SDiv: in ConstantFoldBinaryInstruction()
DInstruction.cpp203 case SDiv: return "sdiv"; in getOpcodeName()
/external/llvm/lib/Analysis/
DCostModel.cpp403 case Instruction::SDiv: in getInstructionCost()
DInstructionSimplify.cpp1004 bool isSigned = Opcode == Instruction::SDiv; in SimplifyDiv()
1083 if (Value *V = SimplifyDiv(Instruction::SDiv, Op0, Op1, Q, MaxRecurse)) in SimplifySDivInst()
2752 case Instruction::SDiv: in SimplifyICmpInst()
3445 case Instruction::SDiv: return SimplifySDivInst(LHS, RHS, Q, MaxRecurse); in SimplifyBinOp()
3668 case Instruction::SDiv: in SimplifyInstruction()
/external/llvm/lib/Target/AArch64/
DAArch64TargetTransformInfo.cpp90 case Instruction::SDiv: in getIntImmCost()
/external/llvm/lib/Transforms/ObjCARC/
DARCInstKind.cpp271 case Instruction::SDiv: in GetARCInstKind()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp385 J->getOpcode() == Instruction::SDiv || in mightUseCTR()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp876 case Instruction::SDiv: Out << "getSDiv("; break; in printConstant()
1224 case Instruction::SDiv: in printInstruction()
1244 case Instruction::SDiv:Out << "Instruction::SDiv"; break; in printInstruction()
/external/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp765 case Instruction::SDiv: in getConstantValue()
783 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break; in getConstantValue()
/external/llvm/lib/AsmParser/
DLLLexer.cpp704 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv); in LexIdentifier()
/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()

123