/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
D | ScaledNumber.cpp | 57 std::pair<uint32_t, int16_t> ScaledNumbers::divide32(uint32_t Dividend, in divide32() argument 59 assert(Dividend && "expected non-zero dividend"); in divide32() 63 uint64_t Dividend64 = Dividend; in divide32() 80 std::pair<uint64_t, int16_t> ScaledNumbers::divide64(uint64_t Dividend, in divide64() argument 82 assert(Dividend && "expected non-zero dividend"); in divide64() 94 return std::make_pair(Dividend, Shift); in divide64() 97 if (int Zeros = countLeadingZeros(Dividend)) { in divide64() 99 Dividend <<= Zeros; in divide64() 103 uint64_t Quotient = Dividend / Divisor; in divide64() 104 Dividend %= Divisor; in divide64() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BypassSlowDivision.cpp | 157 Value *Dividend = SlowDivOrRem->getOperand(0); in getReplacement() local 159 DivRemMapKey Key(isSignedOp(), Dividend, Divisor); in getReplacement() 268 Value *Dividend = SlowDivOrRem->getOperand(0); in createSlowBB() local 272 DivRemPair.Quotient = Builder.CreateSDiv(Dividend, Divisor); in createSlowBB() 273 DivRemPair.Remainder = Builder.CreateSRem(Dividend, Divisor); in createSlowBB() 275 DivRemPair.Quotient = Builder.CreateUDiv(Dividend, Divisor); in createSlowBB() 276 DivRemPair.Remainder = Builder.CreateURem(Dividend, Divisor); in createSlowBB() 291 Value *Dividend = SlowDivOrRem->getOperand(0); in createFastBB() local 296 Builder.CreateCast(Instruction::Trunc, Dividend, BypassType); in createFastBB() 351 Value *Dividend = SlowDivOrRem->getOperand(0); in insertFastDivAndRem() local [all …]
|
D | IntegerDivision.cpp | 33 static Value *generateSignedRemainderCode(Value *Dividend, Value *Divisor, in generateSignedRemainderCode() argument 35 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedRemainderCode() 57 Value *DividendSign = Builder.CreateAShr(Dividend, Shift); in generateSignedRemainderCode() 59 Value *DvdXor = Builder.CreateXor(Dividend, DividendSign); in generateSignedRemainderCode() 79 static Value *generatedUnsignedRemainderCode(Value *Dividend, Value *Divisor, in generatedUnsignedRemainderCode() argument 88 Value *Quotient = Builder.CreateUDiv(Dividend, Divisor); in generatedUnsignedRemainderCode() 90 Value *Remainder = Builder.CreateSub(Dividend, Product); in generatedUnsignedRemainderCode() 103 static Value *generateSignedDivisionCode(Value *Dividend, Value *Divisor, in generateSignedDivisionCode() argument 107 unsigned BitWidth = Dividend->getType()->getIntegerBitWidth(); in generateSignedDivisionCode() 130 Value *Tmp = Builder.CreateAShr(Dividend, Shift); in generateSignedDivisionCode() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | BypassSlowDivision.h | 32 AssertingVH<Value> Dividend; member 38 : SignedOp(InSignedOp), Dividend(InDividend), Divisor(InDivisor) {} in DivRemMapKey() 43 return Val1.SignedOp == Val2.SignedOp && Val1.Dividend == Val2.Dividend && 57 static_cast<Value *>(Val.Dividend)) ^
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
D | ScaledNumber.h | 138 std::pair<uint64_t, int16_t> divide64(uint64_t Dividend, uint64_t Divisor); 145 std::pair<uint32_t, int16_t> divide32(uint32_t Dividend, uint32_t Divisor); 153 std::pair<DigitsT, int16_t> getQuotient(DigitsT Dividend, DigitsT Divisor) { in getQuotient() argument 159 if (!Dividend) in getQuotient() 165 return divide64(Dividend, Divisor); in getQuotient() 166 return divide32(Dividend, Divisor); in getQuotient() 170 inline std::pair<uint32_t, int16_t> getQuotient32(uint32_t Dividend, in getQuotient32() argument 172 return getQuotient(Dividend, Divisor); in getQuotient32() 176 inline std::pair<uint64_t, int16_t> getQuotient64(uint64_t Dividend, in getQuotient64() argument 178 return getQuotient(Dividend, Divisor); in getQuotient64() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | DivRemPairs.cpp | 52 Value *Dividend, *XroundedDownToMultipleOfY; in matchExpandedRem() local 53 if (!match(&I, m_Sub(m_Value(Dividend), m_Value(XroundedDownToMultipleOfY)))) in matchExpandedRem() 61 m_c_Mul(m_CombineAnd(m_IDiv(m_Specific(Dividend), m_Value(Divisor)), in matchExpandedRem() 68 M.Key.Dividend = Dividend; in matchExpandedRem()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | TargetSchedule.cpp | 47 static unsigned gcd(unsigned Dividend, unsigned Divisor) { in gcd() argument 50 unsigned Rem = Dividend % Divisor; in gcd() 51 Dividend = Divisor; in gcd() 54 return Dividend; in gcd()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | DependenceAnalysis.cpp | 1660 bool isRemainderZero(const SCEVConstant *Dividend, in isRemainderZero() argument 1662 const APInt &ConstDividend = Dividend->getAPInt(); in isRemainderZero()
|
D | ScalarEvolution.cpp | 1217 const SCEV *Dividend = SE.getTruncateOrZeroExtend(It, CalculationTy); in BinomialCoefficient() local 1220 Dividend = SE.getMulExpr(Dividend, in BinomialCoefficient() 1225 const SCEV *DivResult = SE.getUDivExpr(Dividend, SE.getConstant(DivFactor)); in BinomialCoefficient()
|
/third_party/rust/crates/memchr/bench/data/sliceslice/ |
D | words.txt | 1121 Dividend
|
D | i386.txt | 2750 (divisor) Dividend Quotient Remainder 14939 Size Dividend Divisor Quotient Remainder 15121 Size Divisor Quotient Remainder Dividend
|
D | i386-notutf8.txt | 2750 (divisor) Dividend Quotient Remainder 14939 Size Dividend Divisor Quotient Remainder 15121 Size Divisor Quotient Remainder Dividend
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMISelLowering.cpp | 16252 const SDValue Dividend = Op->getOperand(0); in LowerDivRem() local 16254 SDValue Div = DAG.getNode(DivOpcode, dl, VT, Dividend, Divisor); in LowerDivRem() 16256 SDValue Rem = DAG.getNode(ISD::SUB, dl, VT, Dividend, Mul); in LowerDivRem()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 12714 SDValue Dividend = U->getOperand(0); in combineRepeatedFPDivisors() local 12715 if (Dividend != FPOne) { in combineRepeatedFPDivisors() 12716 SDValue NewNode = DAG.getNode(ISD::FMUL, SDLoc(U), VT, Dividend, in combineRepeatedFPDivisors()
|