Home
last modified time | relevance | path

Searched refs:Numerator (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/Support/
DBranchProbability.cpp37 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/
DGCOV.cpp426 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/
Dgradient_paint.inl27 …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/
DBranchProbability.h45 BranchProbability(uint32_t Numerator, uint32_t Denominator);
57 static BranchProbability getBranchProbability(uint64_t Numerator,
/external/llvm/lib/Analysis/
DScalarEvolution.cpp697 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 …]
DValueTracking.cpp3351 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/
Ddirectx.cpp44 sd.BufferDesc.RefreshRate.Numerator = 60; in InitDevice()
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3dapi/
Ddxgitype.idl53 UINT Numerator;
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.td156 // src1 = Denominator, src2 = Numerator).
161 // Denominator, src2 = Numerator).
DAMDGPUISelLowering.cpp920 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/
DIntrinsicsAMDGPU.td53 // 1st parameter: Numerator
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/
Ddxgi_native.cpp421 dxgi_modes[i].RefreshRate.Numerator = modes[i]->refresh_rate; in GalliumDXGIOutput()
443 dxgi_modes[0].RefreshRate.Numerator = 60; in GalliumDXGIOutput()