Searched refs:ExitWeight (Results 1 – 2 of 2) sorted by relevance
827 uint64_t LoopWeight, ExitWeight; in getEstimatedTripCount() local828 if (!extractBranchWeights(*ExitingBranch, LoopWeight, ExitWeight)) in getEstimatedTripCount()832 std::swap(LoopWeight, ExitWeight); in getEstimatedTripCount()834 if (!ExitWeight) in getEstimatedTripCount()838 OrigExitWeight = ExitWeight; in getEstimatedTripCount()842 uint64_t ExitCount = llvm::divideNearest(LoopWeight, ExitWeight); in getEstimatedTripCount()855 uint64_t ExitWeight; in getLoopEstimatedTripCount() local857 getEstimatedTripCount(LatchBranch, L, ExitWeight)) { in getLoopEstimatedTripCount()859 *EstimatedLoopInvocationWeight = ExitWeight; in getLoopEstimatedTripCount()
401 uint32_t ExitWeight; in CloneLoopBlocks() local407 ExitWeight = 1; in CloneLoopBlocks()412 ExitWeight = 1; in CloneLoopBlocks()416 BranchWeights = MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in CloneLoopBlocks()