|
LLVM
10.0.0
|
Wraps a BFI to allow lazy computation of the block frequencies. More...
#include "llvm/Analysis/LazyBlockFrequencyInfo.h"
Public Member Functions | |
| LazyBlockFrequencyInfo () | |
| void | setAnalysis (const FunctionT *F, BranchProbabilityInfoPassT *BPIPass, const LoopInfoT *LI) |
| Set up the per-function input. More... | |
| BlockFrequencyInfoT & | getCalculated () |
| Retrieve the BFI with the block frequencies computed. More... | |
| const BlockFrequencyInfoT & | getCalculated () const |
| void | releaseMemory () |
Wraps a BFI to allow lazy computation of the block frequencies.
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.
Definition at line 35 of file LazyBlockFrequencyInfo.h.
|
inline |
Definition at line 37 of file LazyBlockFrequencyInfo.h.
|
inline |
Retrieve the BFI with the block frequencies computed.
Definition at line 49 of file LazyBlockFrequencyInfo.h.
|
inline |
Definition at line 59 of file LazyBlockFrequencyInfo.h.
|
inline |
Definition at line 63 of file LazyBlockFrequencyInfo.h.
Referenced by llvm::LazyBlockFrequencyInfoPass::getBFI().
|
inline |
Set up the per-function input.
Definition at line 41 of file LazyBlockFrequencyInfo.h.
1.8.13