|
LLVM
4.0.0
|
Analysis pass which computes BlockFrequencyInfo.
More...
#include <BlockFrequencyInfo.h>
Public Types | |
| typedef BlockFrequencyInfo | Result |
| Provide the result typedef for this analysis pass. More... | |
Public Member Functions | |
| Result | run (Function &F, FunctionAnalysisManager &AM) |
| Run the analysis pass over a function and produce BFI. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< BlockFrequencyAnalysis > | |
| static AnalysisKey * | ID () |
| Returns an opaque, unique ID for this analysis type. More... | |
Static Public Member Functions inherited from llvm::PassInfoMixin< BlockFrequencyAnalysis > | |
| static StringRef | name () |
| Gets the name of the pass we are mixed into. More... | |
Analysis pass which computes BlockFrequencyInfo.
Definition at line 90 of file BlockFrequencyInfo.h.
Provide the result typedef for this analysis pass.
Definition at line 97 of file BlockFrequencyInfo.h.
| BlockFrequencyInfo BlockFrequencyAnalysis::run | ( | Function & | F, |
| FunctionAnalysisManager & | AM | ||
| ) |
Run the analysis pass over a function and produce BFI.
Definition at line 256 of file BlockFrequencyInfo.cpp.
References llvm::AMDGPUISD::BFI, llvm::BlockFrequencyInfo::calculate(), and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().
1.8.6