LLVM
8.0.1
|
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 36 of file LazyBlockFrequencyInfo.h.
|
inline |
Definition at line 38 of file LazyBlockFrequencyInfo.h.
|
inline |
Retrieve the BFI with the block frequencies computed.
Definition at line 50 of file LazyBlockFrequencyInfo.h.
|
inline |
Definition at line 60 of file LazyBlockFrequencyInfo.h.
|
inline |
Definition at line 64 of file LazyBlockFrequencyInfo.h.
Referenced by llvm::LazyBlockFrequencyInfoPass::getBFI().
|
inline |
Set up the per-function input.
Definition at line 42 of file LazyBlockFrequencyInfo.h.