getEdgeProbability overloads
Synopses
Declared in <llvm/CodeGen/MachineBranchProbabilityInfo.h>
Get an edge's probability by successor index.
BranchProbability
getEdgeProbability(
MachineBasicBlock const* Src,
unsigned int SuccIdx) const;
Get the probability of going from Src to Dst.
BranchProbability
getEdgeProbability(
MachineBasicBlock const* Src,
MachineBasicBlock const* Dst) const;
Return Value
-
Relative probability of the edge, never zero.
-
Sum of probabilities of all edges from
SrctoDst.
Parameters
Name |
Description |
Src |
Source block of the edge. |
SuccIdx |
Index of the successor edge leaving |
Dst |
Destination block of the edge(s). |
Created with MrDocs