HomeSort by relevance Sort by last modified time
    Searched refs:Dividend (Results 1 - 6 of 6) sorted by null

  /external/llvm/lib/Transforms/Utils/
BypassSlowDivision.cpp 30 Value *Dividend;
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);
89 (isa<ConstantInt>(Dividend) && isa<ConstantInt>(Divisor))) {
108 SlowQuotientV = SlowBuilder.CreateSDiv(Dividend, Divisor);
109 SlowRemainderV = SlowBuilder.CreateSRem(Dividend, Divisor);
111 SlowQuotientV = SlowBuilder.CreateUDiv(Dividend, Divisor)
    [all...]
IntegerDivision.cpp 27 /// remainder, which will have the sign of the dividend. Builder's insert point
32 static Value *generateSignedRemainderCode(Value *Dividend, Value *Divisor,
36 // ; %dividend_sgn = ashr i32 %dividend, 31
38 // ; %dvd_xor = xor i32 %dividend, %dividend_sgn
42 // ; %urem = urem i32 %dividend, %divisor
45 Value *DividendSign = Builder.CreateAShr(Dividend, ThirtyOne);
47 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign);
67 static Value *generatedUnsignedRemainderCode(Value *Dividend, Value *Divisor,
69 // Remainder = Dividend - Quotient*Divisor
71 // ; %quotient = udiv i32 %dividend, %diviso
    [all...]
  /external/llvm/lib/CodeGen/
TargetSchedule.cpp 39 static unsigned gcd(unsigned Dividend, unsigned Divisor) {
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/InstCombine/
InstCombineMulDivRem.cpp     [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 777 const SCEV *Dividend = SE.getTruncateOrZeroExtend(It, CalculationTy);
780 Dividend = SE.getMulExpr(Dividend,
785 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor));
    [all...]
DependenceAnalysis.cpp     [all...]

Completed in 271 milliseconds