getEdgeProbability overloads
Declared in <llvm/Analysis/BranchProbabilityInfo.h>
Get an edge's probability, relative to other out-edges of the Src.
BranchProbability
getEdgeProbability(
BasicBlock const* Src,
unsigned int IndexInSuccessors) const;
» more...
Get the probability of going from Src to Dst.
BranchProbability
getEdgeProbability(
BasicBlock const* Src,
BasicBlock const* Dst) const;
» more...
Src to Dst.| Name | Description |
|---|---|
| Src | Source block of the edge. |
| IndexInSuccessors | Index of the successor edge leaving Src. |
| Dst | Destination block of the edge(s). |