/external/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 31 Value *Dividend; member 35 : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {} in DivOpInfo() 52 Val1.Dividend == Val2.Dividend && in isEqual() 65 return (unsigned)(reinterpret_cast<uintptr_t>(Val.Dividend) ^ in getHashValue() 82 Value *Dividend = I->getOperand(0); in insertFastDiv() local 86 (isa<ConstantInt>(Dividend) && isa<ConstantInt>(Divisor))) { in insertFastDiv() 104 SlowQuotientV = SlowBuilder.CreateSDiv(Dividend, Divisor); in insertFastDiv() 105 SlowRemainderV = SlowBuilder.CreateSRem(Dividend, Divisor); in insertFastDiv() 107 SlowQuotientV = SlowBuilder.CreateUDiv(Dividend, Divisor); in insertFastDiv() 108 SlowRemainderV = SlowBuilder.CreateURem(Dividend, Divisor); in insertFastDiv() [all …]
|
D | IntegerDivision.cpp | 34 static Value *generateSignedRemainderCode(Value *Dividend, Value *Divisor, in generateSignedRemainderCode() argument 36 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedRemainderCode() 58 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode() 60 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign); in generateSignedRemainderCode() 80 static Value *generatedUnsignedRemainderCode(Value *Dividend, Value *Divisor, in generatedUnsignedRemainderCode() argument 89 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); in generatedUnsignedRemainderCode() 91 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() 104 static Value *generateSignedDivisionCode(Value *Dividend, Value *Divisor, in generateSignedDivisionCode() argument 108 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedDivisionCode() 131 Value *Tmp = Builder.CreateAShr(Dividend, Shift); in generateSignedDivisionCode() [all …]
|
/external/llvm/lib/Support/ |
D | ScaledNumber.cpp | 58 std::pair<uint32_t, int16_t> ScaledNumbers::divide32(uint32_t Dividend, in divide32() argument 60 assert(Dividend && "expected non-zero dividend"); in divide32() 64 uint64_t Dividend64 = Dividend; in divide32() 81 std::pair<uint64_t, int16_t> ScaledNumbers::divide64(uint64_t Dividend, in divide64() argument 83 assert(Dividend && "expected non-zero dividend"); in divide64() 95 return std::make_pair(Dividend, Shift); in divide64() 98 if (int Zeros = countLeadingZeros(Dividend)) { in divide64() 100 Dividend <<= Zeros; in divide64() 104 uint64_t Quotient = Dividend / Divisor; in divide64() 105 Dividend %= Divisor; in divide64() [all …]
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/x86_64/ |
D | math.c | 136 IN UINT64 Dividend, in DivU64x32() argument 145 *Remainder = Dividend % Divisor; in DivU64x32() 146 return Dividend / Divisor; in DivU64x32() 161 shl dword ptr Dividend[0], 1 ; shift rem:dividend left one in DivU64x32() 162 rcl dword ptr Dividend[4], 1 in DivU64x32() 169 sub dword ptr Dividend[0], eax ; set low bit in dividen in DivU64x32() 179 return Dividend; in DivU64x32()
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ia32/ |
D | math.c | 136 IN UINT64 Dividend, in DivU64x32() argument 145 *Remainder = Dividend % Divisor; in DivU64x32() 146 return Dividend / Divisor; in DivU64x32() 161 shl dword ptr Dividend[0], 1 ; shift rem:dividend left one in DivU64x32() 162 rcl dword ptr Dividend[4], 1 in DivU64x32() 169 sub dword ptr Dividend[0], eax ; set low bit in dividen in DivU64x32() 179 return Dividend; in DivU64x32()
|
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/ia64/ |
D | math.c | 74 IN UINT64 Dividend, in DivU64x32() argument 84 *Remainder = Dividend % Divisor; in DivU64x32() 87 return Dividend / Divisor; in DivU64x32()
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZISelDAGToDAG.cpp | 627 SDNode *Dividend; in Select() local 629 Dividend = CurDAG->getMachineNode(SystemZ::MOVSX64rr32, dl, MVT::i64, N0); in Select() 631 Dividend = N0.getNode(); in Select() 636 Dividend = in Select() 638 SDValue(Tmp, 0), SDValue(Dividend, 0), in Select() 642 SDValue DivVal = SDValue(Dividend, 0); in Select() 650 Result = CurDAG->getMachineNode(Opc, dl, ResVT, SDValue(Dividend, 0), N1); in Select() 709 SDNode *Dividend = N0.getNode(); in Select() local 717 Dividend = in Select() 719 SDValue(Tmp, 0), SDValue(Dividend, 0), in Select() [all …]
|
/external/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 139 std::pair<uint64_t, int16_t> divide64(uint64_t Dividend, uint64_t Divisor); 146 std::pair<uint32_t, int16_t> divide32(uint32_t Dividend, uint32_t Divisor); 154 std::pair<DigitsT, int16_t> getQuotient(DigitsT Dividend, DigitsT Divisor) { in getQuotient() argument 160 if (!Dividend) in getQuotient() 166 return divide64(Dividend, Divisor); in getQuotient() 167 return divide32(Dividend, Divisor); in getQuotient() 171 inline std::pair<uint32_t, int16_t> getQuotient32(uint32_t Dividend, in getQuotient32() argument 173 return getQuotient(Dividend, Divisor); in getQuotient32() 177 inline std::pair<uint64_t, int16_t> getQuotient64(uint64_t Dividend, in getQuotient64() argument 179 return getQuotient(Dividend, Divisor); in getQuotient64() [all …]
|
/external/llvm/lib/CodeGen/ |
D | TargetSchedule.cpp | 38 static unsigned gcd(unsigned Dividend, unsigned Divisor) { in gcd() argument 41 unsigned Rem = Dividend % Divisor; in gcd() 42 Dividend = Divisor; in gcd() 45 return Dividend; in gcd()
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineMulDivRem.cpp | 1220 static Instruction *CvtFDivConstToReciprocal(Value *Dividend, Constant *Divisor, in CvtFDivConstToReciprocal() argument 1239 R = ConstantFP::get(Dividend->getType()->getContext(), Reciprocal); in CvtFDivConstToReciprocal() 1240 return BinaryOperator::CreateFMul(Dividend, R); in CvtFDivConstToReciprocal()
|
/external/syslinux/efi32/include/efi/ |
D | efilib.h | 317 IN UINT64 Dividend,
|
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/ |
D | efilib.h | 317 IN UINT64 Dividend,
|
/external/syslinux/efi64/include/efi/ |
D | efilib.h | 317 IN UINT64 Dividend,
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ScalarEvolution.cpp | 747 const SCEV *Dividend = SE.getTruncateOrZeroExtend(It, CalculationTy); in BinomialCoefficient() local 750 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 755 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor)); in BinomialCoefficient()
|
/external/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 1583 bool isRemainderZero(const SCEVConstant *Dividend, in isRemainderZero() argument 1585 const APInt &ConstDividend = Dividend->getAPInt(); in isRemainderZero()
|
D | ScalarEvolution.cpp | 1022 const SCEV *Dividend = SE.getTruncateOrZeroExtend(It, CalculationTy); in BinomialCoefficient() local 1025 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 1030 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor)); in BinomialCoefficient()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 8762 SDValue Dividend = U->getOperand(0); in combineRepeatedFPDivisors() local 8763 if (Dividend != FPOne) { in combineRepeatedFPDivisors() 8764 SDValue NewNode = DAG.getNode(ISD::FMUL, SDLoc(U), VT, Dividend, in combineRepeatedFPDivisors()
|