Wraps a BFI to allow lazy computation of the block frequencies.
Declared in <llvm/Analysis/LazyBlockFrequencyInfo.h>
template<
typename FunctionT,
typename BranchProbabilityInfoPassT,
typename CycleInfoT,
typename BlockFrequencyInfoT>
class LazyBlockFrequencyInfo;
A pass that only conditionally uses BFI can uncondtionally require the analysis without paying for the overhead if BFI doesn't end up being used.
| Name | Description |
|---|---|
LazyBlockFrequencyInfo [constructor] | Construct an empty lazy block frequency info wrapper. |
getCalculated | Retrieve the BFI with the block frequencies computed. |
releaseMemory | Release computed frequencies and clear the analysis inputs. |
setAnalysis | Set up the per-function input. |