Searched refs:ExitWeight (Results 1 – 2 of 2) sorted by relevance
400 uint32_t ExitWeight; in CloneLoopBlocks() local406 ExitWeight = 1; in CloneLoopBlocks()411 ExitWeight = 1; in CloneLoopBlocks()415 BranchWeights = MDB.createBranchWeights(BackEdgeWeight, ExitWeight); in CloneLoopBlocks()
815 uint64_t LoopWeight, ExitWeight; in getEstimatedTripCount() local816 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() local850 getEstimatedTripCount(LatchBranch, L, ExitWeight)) { in getLoopEstimatedTripCount()852 *EstimatedLoopInvocationWeight = ExitWeight; in getLoopEstimatedTripCount()