Home
last modified time | relevance | path

Searched refs:divideNearest (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DSelectOptimize.cpp649 static InstructionCost divideNearest(InstructionCost Numerator, in divideNearest() function
697 divideNearest(SliceCost * HotWeight, TotalWeight); in hasExpensiveColdOperand()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DMathExtras.h787 inline uint64_t divideNearest(uint64_t Numerator, uint64_t Denominator) {
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DBranchProbabilityInfo.cpp512 divideNearest(Mul, OldReachableSum.getNumerator())); in calcMetadataWeights()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DLoopUtils.cpp806 uint64_t ExitCount = llvm::divideNearest(LoopWeight, ExitWeight); in getEstimatedTripCount()