Home
last modified time | relevance | path

Searched refs:ExitWeight (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopUnrollRuntime.cpp400 uint32_t ExitWeight; in CloneLoopBlocks() local
406 ExitWeight = 1; in CloneLoopBlocks()
411 ExitWeight = 1; in CloneLoopBlocks()
415 BranchWeights = MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in CloneLoopBlocks()
H A DLoopUtils.cpp815 uint64_t LoopWeight, ExitWeight; in getEstimatedTripCount() local
816 if (!extractBranchWeights(*ExitingBranch, LoopWeight, ExitWeight)) in getEstimatedTripCount()
820 std::swap(LoopWeight, ExitWeight); in getEstimatedTripCount()
822 if (!ExitWeight) in getEstimatedTripCount()
826 OrigExitWeight = ExitWeight; in getEstimatedTripCount()
830 uint64_t ExitCount = llvm::divideNearest(LoopWeight, ExitWeight); in getEstimatedTripCount()
848 uint64_t ExitWeight; in getLoopEstimatedTripCount() local
850 getEstimatedTripCount(LatchBranch, L, ExitWeight)) { in getLoopEstimatedTripCount()
852 *EstimatedLoopInvocationWeight = ExitWeight; in getLoopEstimatedTripCount()