/external/llvm/unittests/Transforms/Utils/ |
IntegerDivision.cpp | 85 Module M("test remainder", C); 109 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 110 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); 115 Module M("test remainder", C); 139 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)); 140 EXPECT_TRUE(Remainder && Remainder->getOpcode() == Instruction::Sub); 206 Module M("test remainder", C); 230 Instruction* Remainder = dyn_cast<Instruction>(cast<User>(Ret)->getOperand(0)) [all...] |
/external/llvm/lib/Support/ |
ScaledNumber.cpp | 70 uint64_t Remainder = Dividend64 % Divisor; 77 return getRounded<uint32_t>(Quotient, Shift, Remainder >= getHalf(Divisor));
|
/external/llvm/lib/Target/Mips/ |
Mips16InstrInfo.cpp | 216 int64_t Remainder = FrameSize - Base; 218 if (isInt<16>(-Remainder)) 219 BuildAddiuSpImm(MBB, I, -Remainder); 221 adjustStackPtrBig(SP, -Remainder, MBB, I, Mips::V0, Mips::V1); 240 int64_t Remainder = FrameSize - Base; 244 if (isInt<16>(Remainder)) 245 BuildAddiuSpImm(MBB, I, Remainder); 247 adjustStackPtrBig(SP, Remainder, MBB, I, Mips::A0, Mips::A1);
|
/external/llvm/lib/Transforms/Utils/ |
BypassSlowDivision.cpp | 40 PHINode *Remainder; 43 : Quotient(InQuotient), Remainder(InRemainder) {} 182 // reuseOrInsertFastDiv - Reuses previously computed dividend or remainder if 184 // the optimization and cache the resulting dividend and remainder. 209 // Replace all uses of rem instruction with remainder phi node 210 J->replaceAllUsesWith(Value.Remainder);
|
IntegerDivision.cpp | 28 /// Generate code to compute the remainder of two signed integers. Returns the 29 /// remainder, which will have the sign of the dividend. Builder's insert point 75 /// Generate code to compute the remainder of two unsigned integers. Returns the 76 /// remainder. Builder's insert point should be pointing where the caller wants 82 // Remainder = Dividend - Quotient*Divisor 88 // ; %remainder = sub i32 %dividend, %product 91 Value *Remainder = Builder.CreateSub(Dividend, Product); 96 return Remainder; 369 /// Generate code to calculate the remainder of two integers, replacing Rem with 379 "Trying to expand remainder from a non-remainder function") [all...] |
/external/mesa3d/src/gallium/drivers/radeon/ |
AMDGPUISelLowering.cpp | 229 // Remainder = Num - Num_S_Remainder 230 SDValue Remainder = DAG.getNode(ISD::SUB, DL, VT, Num, Num_S_Remainder); 232 // Remainder_GE_Den = (Remainder >= Den ? -1 : 0) 233 SDValue Remainder_GE_Den = DAG.getSelectCC(DL, Remainder, Den, 237 // Remainder_GE_Zero = (Remainder >= 0 ? -1 : 0) 238 SDValue Remainder_GE_Zero = DAG.getSelectCC(DL, Remainder, 267 // Remainder_S_Den = Remainder - Den 268 SDValue Remainder_S_Den = DAG.getNode(ISD::SUB, DL, VT, Remainder, Den); 270 // Remainder_A_Den = Remainder + Den 271 SDValue Remainder_A_Den = DAG.getNode(ISD::ADD, DL, VT, Remainder, Den) [all...] |
/frameworks/av/media/libeffects/lvm/wrapper/Bundle/ |
EffectBundle.cpp | [all...] |
/external/llvm/lib/Analysis/ |
ScalarEvolution.cpp | 695 // Computes the Quotient and Remainder of the division of Numerator by 699 const SCEV **Remainder) { 708 *Remainder = D.Zero; 714 *Remainder = D.Zero; 721 *Remainder = D.Zero; 737 *Remainder = Numerator; 741 *Remainder = D.Zero; 747 *Remainder = D.Remainder; 777 Remainder = SE.getConstant(RemainderVal) [all...] |
ScalarEvolutionExpander.cpp | 223 /// S need not be evenly divisible if a reasonable remainder can be 228 static bool FactorOutConstant(const SCEV *&S, const SCEV *&Remainder, 250 // If the quotient is zero and the remainder is non-zero, reject 256 Remainder = SE.getAddExpr( 257 Remainder, SE.getConstant(C->getAPInt().srem(FC->getAPInt()))); 287 if (!FactorOutConstant(Start, Remainder, Factor, SE, DL)) 418 const SCEV *Remainder = SE.getConstant(Ty, 0); 419 if (FactorOutConstant(Op, Remainder, ElSize, SE, DL)) { 422 if (!Remainder->isZero()) 423 NewOps.push_back(Remainder); [all...] |
DependenceAnalysis.cpp | [all...] |
/external/llvm/lib/Target/PowerPC/ |
PPCFastISel.cpp | [all...] |
PPCISelDAGToDAG.cpp | 599 unsigned Remainder = 0; 614 Remainder = Imm; 646 if ((Remainder >> 16) & 0xFFFF) 648 if (Remainder & 0xFFFF) 687 unsigned Remainder = 0; 702 Remainder = Imm; 747 if ((Hi = (Remainder >> 16) & 0xFFFF)) { 751 if ((Lo = Remainder & 0xFFFF)) { [all...] |
/external/llvm/lib/Target/AMDGPU/ |
AMDGPUISelLowering.cpp | [all...] |
/external/llvm/lib/Transforms/Scalar/ |
LoopStrengthReduce.cpp | 533 /// remainder is known to be zero, or null otherwise. If IgnoreSignificantBits [all...] |