LLVM: lib/CodeGen/MIRSampleProfile.cpp File Reference (original ) (raw )Go to the source code of this file.
Namespaces
namespace
llvm
This is an optimization pass for GlobalISel generic memory operations.
namespace
llvm::afdo_detail
Variables
static cl::opt < bool >
ShowFSBranchProb ("show-fs-branchprob", cl::Hidden, cl::init(false), cl::desc ("Print setting flow sensitive branch probabilities"))
static cl::opt < unsigned >
FSProfileDebugProbDiffThreshold ("fs-profile-debug -prob -diff-threshold", cl::init(10), cl::desc ("Only show debug message if the branch probability is greater than " "this value (in percentage)."))
static cl::opt < unsigned >
FSProfileDebugBWThreshold ("fs-profile-debug -bw-threshold", cl::init(10000), cl::desc ("Only show debug message if the source branch weight is greater " " than this value."))
static cl::opt < bool >
ViewBFIBefore ("fs-viewbfi-before", cl::Hidden, cl::init(false), cl::desc ("View BFI before MIR loader"))
static cl::opt < bool >
ViewBFIAfter ("fs-viewbfi-after", cl::Hidden, cl::init(false), cl::desc ("View BFI after MIR loader"))
DEBUG_TYPE
Load MIR Sample
Profile
Load MIR Sample
false
◆ DEBUG_TYPE#define DEBUG_TYPE "fs-profile-loader"
◆ INITIALIZE_PASS_BEGIN()◆ DEBUG_TYPE◆ false◆ FSProfileDebugBWThreshold
cl::opt < unsigned > FSProfileDebugBWThreshold("fs-profile-debug -bw-threshold", cl::init(10000), cl::desc ("Only show debug message if the source branch weight is greater " " than this value.")) ( "fs-profile-debug -bw-threshold" , cl::init(10000) , cl::desc ("Only show debug message if the source branch weight is greater " " than this value.") )
static
◆ FSProfileDebugProbDiffThreshold
cl::opt < unsigned > FSProfileDebugProbDiffThreshold("fs-profile-debug -prob -diff-threshold", cl::init(10), cl::desc ( "Only show debug message if the branch probability is greater than " "this value (in percentage).")) ( "fs-profile-debug -prob -diff-threshold" , cl::init(10) , cl::desc ( "Only show debug message if the branch probability is greater than " "this value (in percentage).") )
static
◆ ProfileDefinition at line 76 of file MIRSampleProfile.cpp .
Referenced by llvm::SampleProfileSummaryBuilder::computeSummaryForProfiles() , llvm::convertCtxProfToYaml() , llvm::createCtxProfFromYAML() , llvm::ProfileAnnotator::getOutgoingBranchWeights() , llvm::InlineFunctionImpl() , llvm::SMTExpr::operator<() , llvm::SMTSort::operator<() , llvm::RISCVISAInfo::parseArchString() , parseARMArch() , preorderVisitOneRoot() , llvm::AttributeImpl::Profile() , llvm::AttributeListImpl::Profile() , llvm::AttributeSetNode::Profile() , llvm::ImmutableListImpl< T >::Profile() , llvm::ImmutableMap< KeyT, ValT, ValInfo >::Profile() , and llvm::sampleprof::SampleProfileWriterExtBinaryBase::writeSections() .
◆ ShowFSBranchProb
cl::opt < bool > ShowFSBranchProb("show-fs-branchprob", cl::Hidden, cl::init(false), cl::desc ("Print setting flow sensitive branch probabilities")) ( "show-fs-branchprob" , cl::Hidden , cl::init(false) , cl::desc ("Print setting flow sensitive branch probabilities") )
static
◆ ViewBFIAfter
cl::opt < bool > ViewBFIAfter("fs-viewbfi-after", cl::Hidden, cl::init(false), cl::desc ("View BFI after MIR loader")) ( "fs-viewbfi-after" , cl::Hidden , cl::init(false) , cl::desc ("View BFI after MIR loader") )
static
◆ ViewBFIBefore
cl::opt < bool > ViewBFIBefore("fs-viewbfi-before", cl::Hidden, cl::init(false), cl::desc ("View BFI before MIR loader")) ( "fs-viewbfi-before" , cl::Hidden , cl::init(false) , cl::desc ("View BFI before MIR loader") )
static