Searched refs:ExitWeight (Results 1 – 2 of 2) sorted by relevance
828 uint64_t LoopWeight, ExitWeight; in getEstimatedTripCount() local829 if (!extractBranchWeights(*ExitingBranch, LoopWeight, ExitWeight)) in getEstimatedTripCount()833 std::swap(LoopWeight, ExitWeight); in getEstimatedTripCount()835 if (!ExitWeight) in getEstimatedTripCount()839 OrigExitWeight = ExitWeight; in getEstimatedTripCount()843 uint64_t ExitCount = llvm::divideNearest(LoopWeight, ExitWeight); in getEstimatedTripCount()856 uint64_t ExitWeight; in getLoopEstimatedTripCount() local858 getEstimatedTripCount(LatchBranch, L, ExitWeight)) { in getLoopEstimatedTripCount()860 *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()