Searched refs:Denominator (Results 1 – 11 of 11) sorted by relevance
/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/vulkan-validation-layers/libs/glm/gtx/ |
D | gradient_paint.inl | 28 T Denominator = Radius2 - (Fx2 + Fy2); local 29 return Numerator / Denominator;
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 45 BranchProbability(uint32_t Numerator, uint32_t Denominator); 58 uint64_t Denominator);
|
/external/opencv3/cmake/checks/ |
D | directx.cpp | 45 sd.BufferDesc.RefreshRate.Denominator = 1; in InitDevice()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/ |
D | dxgitype.idl | 54 UINT Denominator;
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstrInfo.td | 156 // src1 = Denominator, src2 = Numerator). 161 // Denominator, src2 = Numerator).
|
D | AMDGPUISelLowering.cpp | 921 SDValue Denominator = Op.getOperand(2); in LowerINTRINSIC_WO_CHAIN() local 928 SDValue Src0 = Param->isAllOnesValue() ? Numerator : Denominator; in LowerINTRINSIC_WO_CHAIN() 931 Denominator, Numerator); in LowerINTRINSIC_WO_CHAIN()
|
/external/llvm/include/llvm/IR/ |
D | IntrinsicsAMDGPU.td | 54 // 2nd parameter: Denominator
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 698 const SCEV *Denominator, const SCEV **Quotient, in divide() 700 assert(Numerator && Denominator && "Uninitialized SCEV"); in divide() 702 SCEVDivision D(SE, Numerator, Denominator); in divide() 706 if (Numerator == Denominator) { in divide() 719 if (Denominator->isOne()) { in divide() 726 if (const SCEVMulExpr *T = dyn_cast<const SCEVMulExpr>(Denominator)) { in divide() 762 if (const SCEVConstant *D = dyn_cast<SCEVConstant>(Denominator)) { in visitConstant() 786 divide(SE, Numerator->getStart(), Denominator, &StartQ, &StartR); in visitAddRecExpr() 787 divide(SE, Numerator->getStepRecurrence(SE), Denominator, &StepQ, &StepR); in visitAddRecExpr() 789 Type *Ty = Denominator->getType(); in visitAddRecExpr() [all …]
|
D | ValueTracking.cpp | 2166 const APInt *Denominator; in ComputeNumSignBits() local 2168 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBits() 2171 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits() 2178 return std::min(TyBits, NumBits + Denominator->logBase2()); in ComputeNumSignBits() 2184 const APInt *Denominator; in ComputeNumSignBits() local 2188 if (match(U->getOperand(1), m_APInt(Denominator))) { in ComputeNumSignBits() 2191 if (!Denominator->isStrictlyPositive()) in ComputeNumSignBits() 2212 unsigned ResBits = TyBits - Denominator->ceilLogBase2(); in ComputeNumSignBits() 3351 const APInt *Numerator, *Denominator; in isSafeToSpeculativelyExecute() local 3352 if (!match(Inst->getOperand(1), m_APInt(Denominator))) in isSafeToSpeculativelyExecute() [all …]
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/ |
D | dxgi_native.cpp | 422 dxgi_modes[i].RefreshRate.Denominator = 1; in GalliumDXGIOutput() 444 dxgi_modes[0].RefreshRate.Denominator = 1; in GalliumDXGIOutput()
|