Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp293 uint32_t OrigLoopExitWeight = Weights[0]; in updateBranchWeights() local
297 std::swap(OrigLoopExitWeight, OrigLoopBackedgeWeight); in updateBranchWeights()
326 if (OrigLoopExitWeight > 0 && OrigLoopBackedgeWeight > 0) { in updateBranchWeights()
330 if (OrigLoopBackedgeWeight >= OrigLoopExitWeight) { in updateBranchWeights()
336 while (OrigLoopExitWeight < ZeroTripCountWeights[1] + ExitWeight0) { in updateBranchWeights()
340 (OrigLoopExitWeight & HighBit) != 0) in updateBranchWeights()
343 OrigLoopExitWeight <<= 1; in updateBranchWeights()
348 ExitWeight0 = OrigLoopExitWeight - OrigLoopBackedgeWeight; in updateBranchWeights()
356 if (OrigLoopExitWeight > OrigLoopBackedgeWeight) in updateBranchWeights()
357 OrigLoopBackedgeWeight = OrigLoopExitWeight; in updateBranchWeights()
[all …]