Searched refs:LoopWeight (Results 1 – 2 of 2) sorted by relevance
833 auto LoopWeight = getMaxEstimatedEdgeWeight( in estimateBlockWeights() local836 if (LoopWeight) { in estimateBlockWeights()838 if (LoopWeight <= static_cast<uint32_t>(BlockExecWeight::UNREACHABLE)) in estimateBlockWeights()839 LoopWeight = static_cast<uint32_t>(BlockExecWeight::LOWEST_NON_ZERO); in estimateBlockWeights()841 EstimatedLoopWeight.insert({LD, *LoopWeight}); in estimateBlockWeights()
815 uint64_t LoopWeight, ExitWeight; in getEstimatedTripCount() local816 if (!extractBranchWeights(*ExitingBranch, LoopWeight, ExitWeight)) in getEstimatedTripCount()820 std::swap(LoopWeight, ExitWeight); in getEstimatedTripCount()830 uint64_t ExitCount = llvm::divideNearest(LoopWeight, ExitWeight); in getEstimatedTripCount()