HomeSort by relevance Sort by last modified time
    Searched defs:Quotient (Results 1 - 7 of 7) sorted by null

  /external/llvm/unittests/Transforms/Utils/
IntegerDivision.cpp 49 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
50 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
79 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
80 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::PHI);
170 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0));
171 EXPECT_TRUE(Quotient && Quotient->getOpcode() == Instruction::Sub);
200 Instruction* Quotient = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0))
    [all...]
  /device/linaro/bootloader/edk2/StdLib/LibC/CRT/
Gcc.c 62 // Return the quotient of the signed division of Dividend and Divisor
72 INT64 Quotient;
74 Quotient = DivS64x64Remainder ((INT64) Dividend, (INT64) Divisor, NULL);
75 DEBUG((DEBUG_INFO, "%a: %Ld / %Ld = %Ld\n", __func__, Dividend, Divisor, Quotient));
77 return Quotient;
146 // Return the quotient of the unsigned division of a and b.
  /external/llvm/lib/Support/
ScaledNumber.cpp 70 uint64_t Quotient = Dividend64 / Divisor;
73 // If Quotient needs to be shifted, leave the rounding to getAdjusted().
74 if (Quotient > UINT32_MAX)
75 return getAdjusted<uint32_t>(Quotient, Shift);
78 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor));
104 uint64_t Quotient = Dividend / Divisor;
107 // Continue building the quotient with long division.
108 while (!(Quotient >> 63) && Dividend) {
114 // Get the next bit of Quotient.
115 Quotient <<= 1
    [all...]
  /external/llvm/lib/Transforms/Utils/
BypassSlowDivision.cpp 39 PHINode *Quotient;
43 : Quotient(InQuotient), Remainder(InRemainder) {}
193 // Replace all uses of div instruction with quotient phi node
194 I->replaceAllUsesWith(Value.Quotient);
IntegerDivision.cpp 82 // Remainder = Dividend - Quotient*Divisor
86 // ; %quotient = udiv i32 %dividend, %divisor
87 // ; %product = mul i32 %divisor, %quotient
89 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor);
90 Value *Product = Builder.CreateMul(Divisor, Quotient);
93 if (Instruction *UDiv = dyn_cast<Instruction>(Quotient))
99 /// Generate code to divide two signed integers. Returns the quotient, rounded
149 /// Returns the quotient, rounded towards 0. Builder's insert point should
449 Value *Quotient = generateSignedDivisionCode(Div->getOperand(0),
454 Div->replaceAllUsesWith(Quotient);
    [all...]
  /external/llvm/lib/Analysis/
ScalarEvolution.cpp 697 // Computes the Quotient and Remainder of the division of Numerator by
700 const SCEV *Denominator, const SCEV **Quotient,
709 *Quotient = D.One;
715 *Quotient = D.Zero;
720 // A simple case when N/1. The quotient is N.
722 *Quotient = Numerator;
730 *Quotient = Numerator;
732 divide(SE, *Quotient, Op, &Q, &R);
733 *Quotient = Q;
738 *Quotient = D.Zero
    [all...]
  /external/llvm/lib/Target/AMDGPU/
AMDGPUISelLowering.cpp     [all...]

Completed in 247 milliseconds