LLVM
8.0.1
|
Analysis pass which computes BranchProbabilityInfo
.
More...
#include "llvm/Analysis/BranchProbabilityInfo.h"
Public Types | |
using | Result = BranchProbabilityInfo |
Provide the result type for this analysis pass. More... | |
Public Member Functions | |
BranchProbabilityInfo | run (Function &F, FunctionAnalysisManager &AM) |
Run the analysis pass over a function and produce BPI. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::AnalysisInfoMixin< BranchProbabilityAnalysis > | |
static AnalysisKey * | ID () |
Returns an opaque, unique ID for this analysis type. More... | |
Static Public Member Functions inherited from llvm::PassInfoMixin< BranchProbabilityAnalysis > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. More... | |
Analysis pass which computes BranchProbabilityInfo
.
Definition at line 205 of file BranchProbabilityInfo.h.
Provide the result type for this analysis pass.
Definition at line 213 of file BranchProbabilityInfo.h.
BranchProbabilityInfo BranchProbabilityAnalysis::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Run the analysis pass over a function and produce BPI.
Definition at line 1026 of file BranchProbabilityInfo.cpp.
References llvm::BranchProbabilityInfo::calculate(), and llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult().