search for: profileweight

Displaying 1 result from an estimated 1 matches for "profileweight".

Did you mean: profile_weight
2011 Jun 04
3
[LLVMdev] [llvm-commits] Branch Probability
...t unsigned int stored in IR meta-data. A single integer per profiled conditional branch would be sufficient. But for more convenient incremental update, and consistency with Branch Probability Analysis, we may want an integer per branch target such that profiledEdgeProbability(src, dest) == profileWeight(src, dest) / (sum profileWeight(src, succ) for succ in src.successors()) Of course, that takes care of switches too. Note that profiled edge weights are *not* raw sample counts provided by a profiler. The weights are adjusted to express branch probability when compared with other weights from...