Searched defs:Dividend (Results 1 - 6 of 6) sorted by relevance
/external/llvm/lib/CodeGen/ |
H A D | TargetSchedule.cpp | 39 static unsigned gcd(unsigned Dividend, unsigned Divisor) { argument 40 // Dividend and Divisor will be naturally swapped as needed. 42 unsigned Rem = Dividend % Divisor; 43 Dividend = Divisor; 46 return Dividend;
|
/external/llvm/lib/Transforms/Utils/ |
H A D | BypassSlowDivision.cpp | 30 Value *Dividend; member in struct:__anon21709::DivOpInfo 34 : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {} 51 Val1.Dividend == Val2.Dividend && 64 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^ 85 Value *Dividend = Instr->getOperand(0); local 89 (isa<ConstantInt>(Dividend) && isa<ConstantInt>(Divisor))) { 108 SlowQuotientV = SlowBuilder.CreateSDiv(Dividend, Divisor); 109 SlowRemainderV = SlowBuilder.CreateSRem(Dividend, Divisor); 111 SlowQuotientV = SlowBuilder.CreateUDiv(Dividend, Diviso [all...] |
H A D | IntegerDivision.cpp | 32 static Value *generateSignedRemainderCode(Value *Dividend, Value *Divisor, argument 45 Value *DividendSign = Builder.CreateAShr(Dividend, ThirtyOne); 47 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign); 67 static Value *generatedUnsignedRemainderCode(Value *Dividend, Value *Divisor, argument 69 // Remainder = Dividend - Quotient*Divisor 74 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); 76 Value *Remainder = Builder.CreateSub(Dividend, Product); 89 static Value *generateSignedDivisionCode(Value *Dividend, Value *Divisor, argument 105 Value *Tmp = Builder.CreateAShr(Dividend, ThirtyOne); 107 Value *Tmp2 = Builder.CreateXor(Tmp, Dividend); 125 generateUnsignedDivisionCode(Value *Dividend, Value *Divisor, IRBuilder<> &Builder) argument [all...] |
/external/llvm/lib/Transforms/InstCombine/ |
H A D | InstCombineMulDivRem.cpp | 966 static Instruction *CvtFDivConstToReciprocal(Value *Dividend, argument 983 R = ConstantFP::get(Dividend->getType()->getContext(), Reciprocal); 984 return BinaryOperator::CreateFMul(Dividend, R);
|
/external/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 777 const SCEV *Dividend = SE.getTruncateOrZeroExtend(It, CalculationTy); local 780 Dividend = SE.getMulExpr(Dividend, 785 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor));
|
H A D | DependenceAnalysis.cpp | 1537 bool isRemainderZero(const SCEVConstant *Dividend, argument 1539 APInt ConstDividend = Dividend->getValue()->getValue();
|
Completed in 293 milliseconds