Searched refs:UDiv (Results 1 - 25 of 40) sorted by relevance

12

/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/Utils/
H A DIntegerDivision.cpp78 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
79 Builder.SetInsertPoint(UDiv);
116 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag))
117 Builder.SetInsertPoint(UDiv);
367 if (BinaryOperator *UDiv = dyn_cast<BinaryOperator>(Builder.GetInsertPoint())) {
368 assert(UDiv->getOpcode() == Instruction::UDiv && "Non-udiv in expansion?");
369 expandDivision(UDiv);
386 Div->getOpcode() == Instruction::UDiv) &&
405 if (!BO || BO->getOpcode() != Instruction::UDiv)
[all...]
H A DBypassSlowDivision.cpp232 bool UseDivOp = Opcode == Instruction::SDiv || Opcode == Instruction::UDiv;
H A DSimplifyIndVar.cpp96 case Instruction::UDiv:
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/
H A DOperator.h153 OpC == Instruction::UDiv ||
236 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
H A DInstrTypes.h277 DEFINE_HELPERS(UDiv, Exact) // CreateExactUDiv
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Transforms/Utils/
H A DIntegerDivision.cpp52 TEST(IntegerDivision, UDiv) {
71 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Analysis/
H A DScalarEvolutionExpressions.h545 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(S); local
546 push(UDiv->getLHS());
547 push(UDiv->getRHS());
/macosx-10.10.1/llvmCore-3425.0.34/include/llvm/Support/
H A DPatternMatch.h349 inline BinaryOp_match<LHS, RHS, Instruction::UDiv>
351 return BinaryOp_match<LHS, RHS, Instruction::UDiv>(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);
/macosx-10.10.1/llvmCore-3425.0.34/lib/Transforms/InstCombine/
H A DInstCombineMulDivRem.cpp185 (BO->getOpcode() != Instruction::UDiv &&
193 (BO->getOpcode() == Instruction::UDiv ||
206 if (BO->getOpcode() == Instruction::UDiv)
H A DInstCombineCasts.cpp178 case Instruction::UDiv:
358 case Instruction::UDiv:
360 // UDiv and URem can be truncated if all the truncated bits are zero.
H A DInstCombineCompares.cpp975 TheDiv->getOpcode() == Instruction::UDiv);
1345 case Instruction::UDiv:
2471 case Instruction::UDiv:
/macosx-10.10.1/llvmCore-3425.0.34/lib/Analysis/
H A DScalarEvolution.cpp206 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(this); local
207 OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")";
3315 if (const SCEVUDivExpr *UDiv = dyn_cast<SCEVUDivExpr>(S)) {
3316 ConstantRange X = getUnsignedRange(UDiv->getLHS());
3317 ConstantRange Y = getUnsignedRange(UDiv->getRHS());
3318 return setUnsignedRange(UDiv, ConservativeResult.intersectWith(X.udiv(Y)));
3456 if (const SCEVUDivExpr *UDiv = dyn_cast<SCEVUDivExpr>(S)) {
3457 ConstantRange X = getSignedRange(UDiv->getLHS());
3458 ConstantRange Y = getSignedRange(UDiv
[all...]
H A DValueTracking.cpp379 case Instruction::UDiv: {
1860 case Instruction::UDiv:
H A DInstructionSimplify.cpp960 /// SimplifyDiv - Given operands for an SDiv or UDiv, see if we can
1048 /// SimplifyUDivInst - Given operands for a UDiv, see if we can
1052 if (Value *V = SimplifyDiv(Instruction::UDiv, Op0, Op1, Q, MaxRecurse))
2143 case Instruction::UDiv:
2688 case Instruction::UDiv: return SimplifyUDivInst(LHS, RHS, Q, MaxRecurse);
2791 case Instruction::UDiv:
H A DLazyValueInfo.cpp733 case Instruction::UDiv:
/macosx-10.10.1/llvmCore-3425.0.34/lib/VMCore/
H A DConstantFold.cpp901 case Instruction::UDiv:
904 if (Opcode == Instruction::UDiv || Opcode == Instruction::SDiv)
952 case Instruction::UDiv:
1053 case Instruction::UDiv:
1101 case Instruction::UDiv:
1187 case Instruction::UDiv:
H A DInstruction.cpp114 case UDiv: return "udiv";
H A DConstants.cpp235 case Instruction::UDiv:
1609 case Instruction::UDiv:
1956 return get(Instruction::UDiv, C1, C2,
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/
H A DExecutionEngine.cpp692 case Instruction::UDiv:
710 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break;
/macosx-10.10.1/llvmCore-3425.0.34/lib/Target/CppBackend/
H A DCPPBackend.cpp851 case Instruction::UDiv: Out << "getUDiv("; break;
1193 case Instruction::UDiv:
1213 case Instruction::UDiv:Out << "Instruction::UDiv"; break;
/macosx-10.10.1/llvmCore-3425.0.34/lib/ExecutionEngine/Interpreter/
H A DExecution.cpp537 case Instruction::UDiv: R.IntVal = Src1.IntVal.udiv(Src2.IntVal); break;
1248 case Instruction::UDiv: Dest.IntVal = Op0.IntVal.udiv(Op1.IntVal); break;
/macosx-10.10.1/llvmCore-3425.0.34/lib/AsmParser/
H A DLLLexer.cpp606 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv);
/macosx-10.10.1/llvmCore-3425.0.34/tools/llvm-stress/
H A Dllvm-stress.cpp344 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; }
/macosx-10.10.1/llvmCore-3425.0.34/unittests/Support/
H A DConstantRangeTest.cpp443 TEST_F(ConstantRangeTest, UDiv) {
/macosx-10.10.1/llvmCore-3425.0.34/lib/Bitcode/Reader/
H A DBitcodeReader.cpp144 case bitc::BINOP_UDIV: return Instruction::UDiv;
1144 Opc == Instruction::UDiv ||
2037 Opc == Instruction::UDiv ||

Completed in 386 milliseconds

12