LLVM 20.0.0git
|
Analysis pass which computes BlockFrequencyInfo
.
More...
#include "llvm/Analysis/BlockFrequencyInfo.h"
Public Types | |
using | Result = BlockFrequencyInfo |
Provide the result type for this analysis pass. | |
Public Member Functions | |
Result | run (Function &F, FunctionAnalysisManager &AM) |
Run the analysis pass over a function and produce BFI. | |
Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< BlockFrequencyAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. | |
Static Public Member Functions inherited from llvm::PassInfoMixin< DerivedT > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Analysis pass which computes BlockFrequencyInfo
.
Definition at line 113 of file BlockFrequencyInfo.h.
Provide the result type for this analysis pass.
Definition at line 121 of file BlockFrequencyInfo.h.
BlockFrequencyInfo BlockFrequencyAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Run the analysis pass over a function and produce BFI.
Definition at line 333 of file BlockFrequencyInfo.cpp.
References F, and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().