Searched refs:Numerator (Results 1 – 12 of 12) sorted by relevance
/external/llvm/lib/Support/ |
D | BranchProbability.cpp | 37 BranchProbability::BranchProbability(uint32_t Numerator, uint32_t Denominator) { in BranchProbability() argument 39 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in BranchProbability() 41 N = Numerator; in BranchProbability() 44 (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator; in BranchProbability() 50 BranchProbability::getBranchProbability(uint64_t Numerator, in getBranchProbability() argument 52 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in getBranchProbability() 59 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
|
/external/llvm/lib/IR/ |
D | GCOV.cpp | 426 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() argument 427 if (!Numerator) in safeDiv() 429 return Numerator / Divisor; in safeDiv() 435 static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) { in branchDiv() argument 436 if (!Numerator) in branchDiv() 438 if (Numerator == Divisor) in branchDiv() 441 uint8_t Res = (Numerator * 100 + Divisor / 2) / Divisor; in branchDiv()
|
/external/vulkan-validation-layers/libs/glm/gtx/ |
D | gradient_paint.inl | 27 …T Numerator = (D.x * F.x + D.y * F.y) + sqrt(Radius2 * (pow2(D.x) + pow2(D.y)) - pow2(D.x * F.y - … local 29 return Numerator / Denominator;
|
/external/llvm/include/llvm/Support/ |
D | BranchProbability.h | 45 BranchProbability(uint32_t Numerator, uint32_t Denominator); 57 static BranchProbability getBranchProbability(uint64_t Numerator,
|
/external/llvm/lib/Analysis/ |
D | ScalarEvolution.cpp | 697 static void divide(ScalarEvolution &SE, const SCEV *Numerator, in divide() 700 assert(Numerator && Denominator && "Uninitialized SCEV"); in divide() 702 SCEVDivision D(SE, Numerator, Denominator); in divide() 706 if (Numerator == Denominator) { in divide() 712 if (Numerator->isZero()) { in divide() 720 *Quotient = Numerator; in divide() 728 *Quotient = Numerator; in divide() 737 *Remainder = Numerator; in divide() 745 D.visit(Numerator); in divide() 752 void visitTruncateExpr(const SCEVTruncateExpr *Numerator) {} in visitTruncateExpr() [all …]
|
D | ValueTracking.cpp | 3351 const APInt *Numerator, *Denominator; in isSafeToSpeculativelyExecute() local 3362 if (match(Inst->getOperand(0), m_APInt(Numerator))) in isSafeToSpeculativelyExecute() 3363 return !Numerator->isMinSignedValue(); in isSafeToSpeculativelyExecute()
|
/external/opencv3/cmake/checks/ |
D | directx.cpp | 44 sd.BufferDesc.RefreshRate.Numerator = 60; in InitDevice()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/ |
D | dxgitype.idl | 53 UINT Numerator;
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInstrInfo.td | 156 // src1 = Denominator, src2 = Numerator). 161 // Denominator, src2 = Numerator).
|
D | AMDGPUISelLowering.cpp | 920 SDValue Numerator = Op.getOperand(1); 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 | 53 // 1st parameter: Numerator
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/ |
D | dxgi_native.cpp | 421 dxgi_modes[i].RefreshRate.Numerator = modes[i]->refresh_rate; in GalliumDXGIOutput() 443 dxgi_modes[0].RefreshRate.Numerator = 60; in GalliumDXGIOutput()
|