search for: edgeprob

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

Did you mean: edgeport
2011 Jun 04
3
[LLVMdev] [llvm-commits] Branch Probability
...sum to 1.0. Representation: 32-bit 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 probabilit...