Analysis providing relative branch probabilities for CFG edges.
Declared in <llvm/Analysis/BranchProbabilityInfo.h>
class BranchProbabilityInfo;
| Name | Description |
|---|---|
BranchProbabilityInfo [constructor] | Constructors |
calculate | Compute branch probability information for the given function. |
copyEdgeProbabilities | Copy outgoing edge probabilities from Src to Dst. |
eraseBlock | Forget analysis results for the given basic block. |
getEdgeProbability | getEdgeProbability overloads |
invalidate | Handle invalidation explicitly. |
isEdgeHot | Test if an edge is hot relative to other out-edges of the Src. |
print | Print branch probabilities for the last analyzed function to OS. |
printEdgeProbability | Print an edge's probability. |
setEdgeProbability | Set the raw probabilities for all edges from the given block. |
swapSuccEdgesProbabilities | Swap outgoing edges probabilities for Src with branch terminator. |
| Name | Description |
|---|---|
getBranchProbStackProtector | Return the fixed probability used for stack-protector branches. |