Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DBranchProbability.cpp39 BranchProbability::BranchProbability(uint32_t Numerator, uint32_t Denominator) { in BranchProbability() argument
41 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in BranchProbability()
43 N = Numerator; in BranchProbability()
46 (Numerator * static_cast<uint64_t>(D) + Denominator / 2) / Denominator; in BranchProbability()
52 BranchProbability::getBranchProbability(uint64_t Numerator, in getBranchProbability() argument
54 assert(Numerator <= Denominator && "Probability cannot be bigger than 1!"); in getBranchProbability()
61 return BranchProbability(Numerator >> Scale, Denominator); in getBranchProbability()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/
DSupport.h51 unsigned Numerator, Denominator; variable
54 ResourceCycles() : Numerator(0), Denominator(1) {} in ResourceCycles()
56 : Numerator(Cycles), Denominator(ResourceUnits) {} in Numerator() function
60 return (Denominator == 1) ? Numerator : (double)Numerator / Denominator;
63 unsigned getNumerator() const { return Numerator; } in getNumerator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/MCA/
DSupport.cpp25 Numerator += RHS.Numerator; in operator +=()
31 unsigned LHSNumerator = Numerator * (LCM / Denominator); in operator +=()
32 unsigned RHSNumerator = RHS.Numerator * (LCM / RHS.Denominator); in operator +=()
33 Numerator = LHSNumerator + RHSNumerator; in operator +=()
/third_party/skia/third_party/externals/oboe/samples/RhythmGame/third_party/glm/gtx/
Dgradient_paint.inl21 …T Numerator = (D.x * F.x + D.y * F.y) + sqrt(Radius2 * (pow2(D.x) + pow2(D.y)) - pow2(D.x * F.y - … local
23 return Numerator / Denominator;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DGCOV.cpp568 static uint32_t safeDiv(uint64_t Numerator, uint64_t Divisor) { in safeDiv() argument
569 if (!Numerator) in safeDiv()
571 return Numerator / Divisor; in safeDiv()
577 static uint32_t branchDiv(uint64_t Numerator, uint64_t Divisor) { in branchDiv() argument
578 if (!Numerator) in branchDiv()
580 if (Numerator == Divisor) in branchDiv()
583 uint8_t Res = (Numerator * 100 + Divisor / 2) / Divisor; in branchDiv()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBranchProbability.h44 BranchProbability(uint32_t Numerator, uint32_t Denominator);
56 static BranchProbability getBranchProbability(uint64_t Numerator,
DMathExtras.h731 inline uint64_t divideCeil(uint64_t Numerator, uint64_t Denominator) {
732 return alignTo(Numerator, Denominator) / Denominator;
736 inline uint64_t divideNearest(uint64_t Numerator, uint64_t Denominator) {
737 return (Numerator + (Denominator / 2)) / Denominator;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DScalarEvolution.cpp892 static void divide(ScalarEvolution &SE, const SCEV *Numerator, in divide()
895 assert(Numerator && Denominator && "Uninitialized SCEV"); in divide()
897 SCEVDivision D(SE, Numerator, Denominator); in divide()
901 if (Numerator == Denominator) { in divide()
907 if (Numerator->isZero()) { in divide()
915 *Quotient = Numerator; in divide()
923 *Quotient = Numerator; in divide()
932 *Remainder = Numerator; in divide()
940 D.visit(Numerator); in divide()
947 void visitTruncateExpr(const SCEVTruncateExpr *Numerator) {} in visitTruncateExpr()
[all …]
DLoopCacheAnalysis.cpp290 const SCEV *Numerator = SE.getMulExpr(Stride, TripCount); in computeRefCost() local
291 RefCost = SE.getUDivExpr(Numerator, CacheLineSize); in computeRefCost()
DValueTracking.cpp4083 const APInt *Numerator, *Denominator; in isSafeToSpeculativelyExecute() local
4094 if (match(Inst->getOperand(0), m_APInt(Numerator))) in isSafeToSpeculativelyExecute()
4095 return !Numerator->isMinSignedValue(); in isSafeToSpeculativelyExecute()
/third_party/skia/third_party/externals/imgui/examples/example_sdl_directx11/
Dmain.cpp190 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx11/
Dmain.cpp176 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/win32/
DNativeWindow11Win32.cpp186 swapChainDesc.BufferDesc.RefreshRate.Numerator = 0; in createSwapChain()
/third_party/skia/third_party/externals/imgui/examples/example_win32_directx10/
Dmain.cpp175 sd.BufferDesc.RefreshRate.Numerator = 60; in CreateDeviceD3D()
/third_party/mesa3d/src/gallium/targets/d3d10sw/tests/
Dtri.cpp107 SwapChainDesc.BufferDesc.RefreshRate.Numerator = 60; in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstrInfo.td240 // src1 = Denominator, src2 = Numerator).
246 // Denominator, src2 = Numerator).
/third_party/python/Doc/library/
Dfractions.rst94 Numerator of the Fraction in lowest term.
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/wgl/
DDXGISwapChainWindowSurfaceWGL.cpp471 swapChainDesc.BufferDesc.RefreshRate.Numerator = 0; in createSwapChain()
/third_party/mesa3d/src/gallium/drivers/d3d12/
Dd3d12_video_enc_h264.cpp39 pD3D12Enc->m_currentEncodeConfig.m_encoderRateControlDesc.m_FrameRate.Numerator = in d3d12_video_encoder_update_current_rate_control_h264()
Dd3d12_video_screen.cpp342 capEncoderSupportData.RateControl.TargetFrameRate.Numerator = 60; in d3d12_video_encode_max_supported_slices()
Dd3d12_video_dec.cpp805 decodeSupport.FrameRate.Numerator = 0; in d3d12_video_decoder_check_caps_and_create_decoder()
/third_party/mesa3d/src/gallium/frontends/d3d10umd/
DResource.cpp232 …Desc.RefreshRate.Numerator = %u\n", pCreateResource->pPrimaryDesc->ModeDesc.RefreshRate.Numerator); in CreateResource()
/third_party/cef/tests/cefclient/browser/
Dosr_d3d11_win.cc438 sd.BufferDesc.RefreshRate.Numerator = 60; in create_swapchain()
/third_party/gstreamer/gstplugins_bad/sys/d3d11/
Dgstd3d11window_win32.cpp992 desc.BufferDesc.RefreshRate.Numerator = 0; in gst_d3d11_window_win32_create_swap_chain()
/third_party/gstreamer/gstplugins_bad/sys/winks/
Dgstksvideodevice.c976 params->header.PresentationTime.Numerator = 1; in gst_ks_video_device_request_frame()

12