Constructors
Declared in <llvm/Analysis/BranchProbabilityInfo.h>
Construct an empty analysis; call calculate() before querying.
constexpr
BranchProbabilityInfo() = default;
» more...
Construct and compute branch probabilities for F.
BranchProbabilityInfo(
Function const& F,
CycleInfo const& CI,
TargetLibraryInfo const* TLI = nullptr,
DominatorTree* DT = nullptr,
PostDominatorTree* PDT = nullptr);
» more...
| Name | Description |
|---|---|
| F | Function whose CFG is analyzed. |
| CI | Cycle information identifying loops and irreducible SCCs. |
| TLI | Optional target library info for heuristic estimation. |
| DT | Optional dominator tree used by static weight propagation. |
| PDT | Optional post-dominator tree used by static weight propagation. |