Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLoopRotationUtils.cpp294 uint32_t OrigLoopBackedgeWeight = Weights[1]; in updateBranchWeights() local
297 std::swap(OrigLoopExitWeight, OrigLoopBackedgeWeight); in updateBranchWeights()
326 if (OrigLoopExitWeight > 0 && OrigLoopBackedgeWeight > 0) { in updateBranchWeights()
330 if (OrigLoopBackedgeWeight >= OrigLoopExitWeight) { in updateBranchWeights()
339 if ((OrigLoopBackedgeWeight & HighBit) != 0 || in updateBranchWeights()
342 OrigLoopBackedgeWeight <<= 1; in updateBranchWeights()
348 ExitWeight0 = OrigLoopExitWeight - OrigLoopBackedgeWeight; in updateBranchWeights()
356 if (OrigLoopExitWeight > OrigLoopBackedgeWeight) in updateBranchWeights()
357 OrigLoopBackedgeWeight = OrigLoopExitWeight; in updateBranchWeights()
362 assert(OrigLoopBackedgeWeight >= EnterWeight && "Bad branch weight"); in updateBranchWeights()
[all …]