/external/llvm/lib/Transforms/Utils/ |
IntegerDivision.cpp | 64 /// code generated, e.g. at the urem instruction. This will generate a udiv in 65 /// the process, and Builder's insert point will be pointing at the udiv (if 71 // ; %quotient = udiv i32 %dividend, %divisor 78 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient)) 79 Builder.SetInsertPoint(UDiv); 86 /// code generated, e.g. at the sdiv instruction. This will generate a udiv in 87 /// the process, and Builder's insert point will be pointing at the udiv (if 102 // ; %q_mag = udiv i32 %u_dvnd, %u_dvsr 116 if (Instruction *UDiv = dyn_cast<Instruction>(Q_Mag)) 117 Builder.SetInsertPoint(UDiv); [all...] |
BypassSlowDivision.cpp | 126 // udiv/urem because optimization only handles positive numbers 232 bool UseDivOp = Opcode == Instruction::SDiv || Opcode == Instruction::UDiv;
|
SimplifyIndVar.cpp | 96 case Instruction::UDiv:
|
/external/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 52 TEST(IntegerDivision, UDiv) { 71 EXPECT_TRUE(BB->front().getOpcode() == Instruction::UDiv);
|
/external/llvm/include/llvm/IR/ |
Operator.h | 129 /// PossiblyExactOperator - A udiv or sdiv instruction, which can be marked as 153 OpC == Instruction::UDiv || 346 : public ConcreteOperator<PossiblyExactOperator, Instruction::UDiv> {
|
InstrTypes.h | 275 DEFINE_HELPERS(UDiv, Exact) // CreateExactUDiv [all...] |
/external/llvm/include/llvm/Analysis/ |
ScalarEvolutionExpressions.h | 531 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(S); 532 push(UDiv->getLHS()); 533 push(UDiv->getRHS());
|
/external/llvm/lib/Analysis/ |
CostModel.cpp | 112 case Instruction::UDiv:
|
ScalarEvolution.cpp | 212 const SCEVUDivExpr *UDiv = cast<SCEVUDivExpr>(this); 213 OS << "(" << *UDiv->getLHS() << " /u " << *UDiv->getRHS() << ")"; 602 // Lexicographically compare udiv expressions. [all...] |
InstructionSimplify.cpp | [all...] |
LazyValueInfo.cpp | 737 case Instruction::UDiv: 738 Result.markConstantRange(LHSRange.udiv(RHSRange)); [all...] |
ValueTracking.cpp | 388 case Instruction::UDiv: { 390 // treat a udiv as a logical right shift by the power of 2 known to [all...] |
/external/llvm/lib/Transforms/ObjCARC/ |
ObjCARCUtil.cpp | 206 case Instruction::SDiv: case Instruction::UDiv: case Instruction::FDiv:
|
/external/llvm/include/llvm/Support/ |
PatternMatch.h | 430 inline BinaryOp_match<LHS, RHS, Instruction::UDiv> 432 return BinaryOp_match<LHS, RHS, Instruction::UDiv>(L, R); 539 /// m_IDiv - Matches UDiv and SDiv. 541 inline BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv> 543 return BinOp2_match<LHS, RHS, Instruction::SDiv, Instruction::UDiv>(L, R);
|
/external/llvm/lib/IR/ |
ConstantFold.cpp | [all...] |
Instruction.cpp | 204 case UDiv: return "udiv";
|
/external/llvm/lib/Transforms/InstCombine/ |
InstCombineMulDivRem.cpp | 10 // This file implements the visit functions for mul, fmul, sdiv, udiv, fdiv, 184 (BO->getOpcode() != Instruction::UDiv && 192 (BO->getOpcode() == Instruction::UDiv || 205 if (BO->getOpcode() == Instruction::UDiv) 609 /// instructions (udiv and sdiv). It is called by the visitors to those integer 638 if (!RHS->isZero()) { // avoid X udiv 0 688 // X udiv 2^C -> X >> C 703 // X udiv C, where C >= signbit 711 // (x lshr C1) udiv C2 --> x udiv (C2 << C1 [all...] |
InstCombineCasts.cpp | 184 case Instruction::UDiv: 367 case Instruction::UDiv: 369 // UDiv and URem can be truncated if all the truncated bits are zero. [all...] |
/external/llvm/lib/ExecutionEngine/ |
ExecutionEngine.cpp | 694 case Instruction::UDiv: 712 case Instruction::UDiv:GV.IntVal = LHS.IntVal.udiv(RHS.IntVal); break; [all...] |
/external/llvm/lib/Target/CppBackend/ |
CPPBackend.cpp | 863 case Instruction::UDiv: Out << "getUDiv("; break; [all...] |
/external/llvm/lib/ExecutionEngine/Interpreter/ |
Execution.cpp | 537 case Instruction::UDiv: R.IntVal = Src1.IntVal.udiv(Src2.IntVal); break; [all...] |
/external/llvm/lib/AsmParser/ |
LLLexer.cpp | 641 INSTKEYWORD(udiv, UDiv); INSTKEYWORD(sdiv, SDiv); INSTKEYWORD(fdiv, FDiv);
|
/external/llvm/lib/Transforms/Vectorize/ |
LoopVectorize.cpp | [all...] |
/external/llvm/tools/llvm-stress/ |
llvm-stress.cpp | 344 case 4:{Op = (isFloat?Instruction::FDiv : Instruction::UDiv); break; }
|
/external/llvm/unittests/Support/ |
ConstantRangeTest.cpp | 442 TEST_F(ConstantRangeTest, UDiv) { 443 EXPECT_EQ(Full.udiv(Full), Full); 444 EXPECT_EQ(Full.udiv(Empty), Empty); 445 EXPECT_EQ(Full.udiv(One), ConstantRange(APInt(16, 0), 447 EXPECT_EQ(Full.udiv(Some), ConstantRange(APInt(16, 0), 449 EXPECT_EQ(Full.udiv(Wrap), Full); 450 EXPECT_EQ(Empty.udiv(Empty), Empty); 451 EXPECT_EQ(Empty.udiv(One), Empty); 452 EXPECT_EQ(Empty.udiv(Some), Empty); 453 EXPECT_EQ(Empty.udiv(Wrap), Empty) [all...] |