/external/llvm/lib/Support/ |
D | BranchProbability.cpp | 37 BranchProbability::BranchProbability(uint32_t Numerator, uint32_t Denominator) { in BranchProbability() argument 38 assert(Denominator > 0 && "Denominator cannot be 0!"); in BranchProbability() 39 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in BranchProbability() 40 if (Denominator == D) in BranchProbability() 44 (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator; in BranchProbability() 51 uint64_t Denominator) { in getBranchProbability() argument 52 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in getBranchProbability() 55 while (Denominator > UINT32_MAX) { in getBranchProbability() 56 Denominator >>= 1; in getBranchProbability() 59 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
D | BranchProbability.cpp | 40 BranchProbability::BranchProbability(uint32_t Numerator, uint32_t Denominator) { in BranchProbability() argument 41 assert(Denominator > 0 && "Denominator cannot be 0!"); in BranchProbability() 42 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in BranchProbability() 43 if (Denominator == D) in BranchProbability() 47 (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator; in BranchProbability() 54 uint64_t Denominator) { in getBranchProbability() argument 55 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in getBranchProbability() 58 while (Denominator > UINT32_MAX) { in getBranchProbability() 59 Denominator >>= 1; in getBranchProbability() 62 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 45 BranchProbability(uint32_t Numerator, uint32_t Denominator); 58 uint64_t Denominator);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Support/ |
D | BranchProbability.h | 45 BranchProbability(uint32_t Numerator, uint32_t Denominator); 58 uint64_t Denominator);
|
D | MathExtras.h | 699 inline uint64_t divideCeil(uint64_t Numerator, uint64_t Denominator) { 700 return alignTo(Numerator, Denominator) / Denominator;
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstrInfo.td | 161 // src1 = Denominator, src2 = Numerator). 166 // Denominator, src2 = Numerator).
|
D | SIISelLowering.cpp | 1902 SDValue Denominator = Op.getOperand(2); in LowerINTRINSIC_WO_CHAIN() local 1909 SDValue Src0 = Param->isAllOnesValue() ? Numerator : Denominator; in LowerINTRINSIC_WO_CHAIN() 1912 Denominator, Numerator); in LowerINTRINSIC_WO_CHAIN()
|
/external/angle/src/libANGLE/renderer/d3d/d3d11/win32/ |
D | NativeWindow11Win32.cpp | 187 swapChainDesc.BufferDesc.RefreshRate.Denominator = 1; in createSwapChain()
|
/external/XNNPACK/src/f32-sigmoid/ |
D | sse-p5-div.c.in | 110 // Denominator of the sigmoid fraction: 1.0 + exp(z) 186 // Denominator of the sigmoid fraction: 1.0 + exp(z) 253 // Denominator of the sigmoid fraction: 1.0 + exp(z)
|
D | avx2-p5.c.in | 119 // Denominator of the sigmoid fraction: 1.0 + exp(z) 208 // Denominator of the sigmoid fraction: 1.0 + exp(z) 288 // Denominator of the sigmoid fraction: 1.0 + exp(z)
|
D | neon-p5.c.in | 119 // Denominator of the sigmoid fraction: 1.0 + exp(-z) 215 // Denominator of the sigmoid fraction: 1.0 + exp(-z) 298 // Denominator of the sigmoid fraction: 1.0 + exp(-z)
|
D | neon-lut2048-p1.c.in | 136 // Denominator of the sigmoid fraction: 1.0 + exp(-z) 250 // Denominator of the sigmoid fraction: 1.0 + exp(-z) 351 // Denominator of the sigmoid fraction: 1.0 + exp(-z)
|
D | neon-lut64-p2.c.in | 141 // Denominator of the sigmoid fraction: 1.0 + exp(-z) 257 // Denominator of the sigmoid fraction: 1.0 + exp(-z) 360 // Denominator of the sigmoid fraction: 1.0 + exp(-z)
|
/external/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 1978 const APInt *Denominator; in ComputeNumSignBits() local 1980 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBits() 1983 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits() 1990 return std::min(TyBits, NumBits + Denominator->logBase2()); in ComputeNumSignBits() 1996 const APInt *Denominator; in ComputeNumSignBits() local 2000 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBits() 2003 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits() 2024 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBits() 3090 const APInt *Numerator, *Denominator; in isSafeToSpeculativelyExecute() local 3091 if (!match(Inst->getOperand(1), m_APInt(Denominator))) in isSafeToSpeculativelyExecute() [all …]
|
D | ScalarEvolution.cpp | 700 const SCEV *Denominator, const SCEV **Quotient, in divide() 702 assert(Numerator && Denominator && "Uninitialized SCEV"); in divide() 704 SCEVDivision D(SE, Numerator, Denominator); in divide() 708 if (Numerator == Denominator) { in divide() 721 if (Denominator->isOne()) { in divide() 728 if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(Denominator)) { in divide() 764 if (const SCEVConstant *D = dyn_cast<SCEVConstant>(Denominator)) { in visitConstant() 788 divide(SE, Numerator->getStart(), Denominator, &StartQ, &StartR); in visitAddRecExpr() 789 divide(SE, Numerator->getStepRecurrence(SE), Denominator, &StepQ, &StepR); in visitAddRecExpr() 791 Type *Ty = Denominator->getType(); in visitAddRecExpr() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstrInfo.td | 261 // src1 = Denominator, src2 = Numerator). 266 // Denominator, src2 = Numerator).
|
D | SIISelLowering.cpp | 4980 SDValue Denominator = Op.getOperand(2); in LowerINTRINSIC_WO_CHAIN() local 4987 SDValue Src0 = Param->isAllOnesValue() ? Numerator : Denominator; in LowerINTRINSIC_WO_CHAIN() 4990 Denominator, Numerator); in LowerINTRINSIC_WO_CHAIN()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ValueTracking.cpp | 2247 const APInt *Denominator; in ComputeNumSignBitsImpl() local 2249 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBitsImpl() 2252 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl() 2259 return std::min(TyBits, NumBits + Denominator->logBase2()); in ComputeNumSignBitsImpl() 2265 const APInt *Denominator; in ComputeNumSignBitsImpl() local 2269 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBitsImpl() 2272 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBitsImpl() 2293 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBitsImpl() 3641 const APInt *Numerator, *Denominator; in isSafeToSpeculativelyExecute() local 3642 if (!match(Inst->getOperand(1), m_APInt(Denominator))) in isSafeToSpeculativelyExecute() [all …]
|
D | ScalarEvolution.cpp | 858 const SCEV *Denominator, const SCEV **Quotient, in divide() 860 assert(Numerator && Denominator && "Uninitialized SCEV"); in divide() 862 SCEVDivision D(SE, Numerator, Denominator); in divide() 866 if (Numerator == Denominator) { in divide() 879 if (Denominator->isOne()) { in divide() 886 if (const SCEVMulExpr *T = dyn_cast<SCEVMulExpr>(Denominator)) { in divide() 922 if (const SCEVConstant *D = dyn_cast<SCEVConstant>(Denominator)) { in visitConstant() 946 divide(SE, Numerator->getStart(), Denominator, &StartQ, &StartR); in visitAddRecExpr() 947 divide(SE, Numerator->getStepRecurrence(SE), Denominator, &StepQ, &StepR); in visitAddRecExpr() 949 Type *Ty = Denominator->getType(); in visitAddRecExpr() [all …]
|
/external/OpenCL-CTS/test_conformance/d3d10/ |
D | harness.cpp | 195 sd.BufferDesc.RefreshRate.Denominator = 1; in HarnessD3D10_CreateDevice()
|
/external/OpenCL-CTS/test_conformance/d3d11/ |
D | harness.cpp | 221 sd.BufferDesc.RefreshRate.Denominator = 1; in HarnessD3D11_CreateDevice()
|
/external/python/cpython3/Doc/library/ |
D | fractions.rst | 94 Denominator of the Fraction in lowest term.
|
/external/angle/src/libANGLE/renderer/gl/wgl/ |
D | DXGISwapChainWindowSurfaceWGL.cpp | 472 swapChainDesc.BufferDesc.RefreshRate.Denominator = 1; in createSwapChain()
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicsAMDGPU.td | 86 // 2nd parameter: Denominator
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/ |
D | IntrinsicsAMDGPU.td | 214 // 2nd parameter: Denominator
|