Searched refs:SDiv (Results 1 - 25 of 33) sorted by relevance

12

/external/llvm/unittests/Transforms/Utils/
H A DCloning.cpp139 BinaryOperator *SDiv = BinaryOperator::Create(Instruction::SDiv, V, V); local
140 EXPECT_FALSE(this->clone(SDiv)->isExact());
142 SDiv->setIsExact(true);
143 EXPECT_TRUE(this->clone(SDiv)->isExact());
/external/llvm/include/llvm/
H A DOperator.h69 /// which may exhibit overflow - Add, Sub, and Mul. It does not include SDiv,
150 return OpC == Instruction::SDiv ||
230 : public ConcreteOperator<PossiblyExactOperator, Instruction::SDiv> {
H A DInstrTypes.h276 DEFINE_HELPERS(SDiv, Exact) // CreateExactSDiv
/external/llvm/lib/Transforms/Utils/
H A DBypassSlowDivision.cpp232 bool UseDivOp = Opcode == Instruction::SDiv || Opcode == Instruction::UDiv;
234 bool UseSignedOp = Opcode == Instruction::SDiv ||
/external/llvm/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp186 BO->getOpcode() != Instruction::SDiv)) {
194 BO->getOpcode() == Instruction::SDiv)) {
198 if (PossiblyExactOperator *SDiv = dyn_cast<PossiblyExactOperator>(BO))
199 if (SDiv->isExact()) {
386 I.getOpcode()==Instruction::SDiv))
409 bool isSigned = I.getOpcode() == Instruction::SDiv;
H A DInstCombineCompares.cpp786 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv;
974 assert(TheDiv->getOpcode() == Instruction::SDiv ||
1344 case Instruction::SDiv:
2476 case Instruction::SDiv:
/external/llvm/include/llvm/Support/
H A DPatternMatch.h355 inline BinaryOp_match<LHS, RHS, Instruction::SDiv>
357 return BinaryOp_match<LHS, RHS, Instruction::SDiv>(L, R);
458 /// m_IDiv - Matches UDiv and SDiv.
460 inline BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>
462 return BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>(L, R);
/external/llvm/lib/VMCore/
H A DConstantFold.cpp902 case Instruction::SDiv:
904 if (Opcode == Instruction::UDiv || Opcode == Instruction::SDiv)
953 case Instruction::SDiv:
1056 case Instruction::SDiv:
1100 case Instruction::SDiv:
1186 case Instruction::SDiv:
H A DInstruction.cpp115 case SDiv: return "sdiv";
H A DConstants.cpp236 case Instruction::SDiv:
1610 case Instruction::SDiv:
1961 return get(Instruction::SDiv, C1, C2,
/external/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp693 case Instruction::SDiv:
711 case Instruction::SDiv:GV.IntVal = LHS.IntVal.sdiv(RHS.IntVal); break;
/external/llvm/lib/Analysis/
H A DInstructionSimplify.cpp960 /// SimplifyDiv - Given operands for an SDiv or UDiv, see if we can
971 bool isSigned = Opcode == Instruction::SDiv;
1032 /// SimplifySDivInst - Given operands for an SDiv, see if we can
1036 if (Value *V = SimplifyDiv(Instruction::SDiv, Op0, Op1, Q, MaxRecurse))
2148 case Instruction::SDiv:
2687 case Instruction::SDiv: return SimplifySDivInst(LHS, RHS, Q, MaxRecurse);
2788 case Instruction::SDiv:
H A DValueTracking.cpp1864 case Instruction::SDiv:
/external/llvm/lib/Target/CppBackend/
H A DCPPBackend.cpp852 case Instruction::SDiv: Out << "getSDiv("; break;
1194 case Instruction::SDiv:
1214 case Instruction::SDiv:Out << "Instruction::SDiv"; break;
/external/llvm/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp538 case Instruction::SDiv: R.IntVal = Src1.IntVal.sdiv(Src2.IntVal); break;
1247 case Instruction::SDiv: Dest.IntVal = Op0.IntVal.sdiv(Op1.IntVal); break;
/external/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp184 case Instruction::SDiv:
197 case Instruction::SDiv: return MCBinaryExpr::CreateDiv(LHS, RHS, Ctx);
/external/llvm/lib/AsmParser/
H A DLLLexer.cpp603 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv);
H A DLLParser.cpp2250 } else if (Opc == Instruction::SDiv || Opc == Instruction::UDiv ||
2275 case Instruction::SDiv:
/external/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp339 case 3:{Op = (isFloat?Instruction::FDiv : Instruction::SDiv); break; }
/external/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1548 case Instruction::SDiv:
1561 case Instruction::SDiv: return MCBinaryExpr::CreateDiv(LHS, RHS, Ctx);
/external/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp144 return Ty->isFPOrFPVectorTy() ? Instruction::FDiv : Instruction::SDiv;
1141 } else if (Opc == Instruction::SDiv ||
2020 } else if (Opc == Instruction::SDiv ||
/external/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp957 case Instruction::SDiv:
/external/llvm/lib/Transforms/Scalar/
H A DReassociate.cpp176 I->getOpcode() == Instruction::SDiv ||
H A DSCCP.cpp1371 case Instruction::SDiv:
/external/llvm/bindings/ocaml/llvm/
H A Dllvm.ml156 | SDiv Constructor in type:Opcode/t

Completed in 307 milliseconds

12