LLVM  15.0.0git
Namespaces | Functions
SampleProfileLoaderBaseUtil.cpp File Reference
#include "llvm/Transforms/Utils/SampleProfileLoaderBaseUtil.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Module.h"
#include "llvm/Transforms/Utils/ModuleUtils.h"
Include dependency graph for SampleProfileLoaderBaseUtil.cpp:

Go to the source code of this file.

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 llvm::sampleprofutil
 

Functions

cl::opt< unsigned > llvm::SampleProfileMaxPropagateIterations ("sample-profile-max-propagate-iterations", cl::init(100), cl::desc("Maximum number of iterations to go through when propagating " "sample block/edge weights through the CFG."))
 
cl::opt< unsigned > llvm::SampleProfileRecordCoverage ("sample-profile-check-record-coverage", cl::init(0), cl::value_desc("N"), cl::desc("Emit a warning if less than N% of records in the input profile " "are matched to the IR."))
 
cl::opt< unsigned > llvm::SampleProfileSampleCoverage ("sample-profile-check-sample-coverage", cl::init(0), cl::value_desc("N"), cl::desc("Emit a warning if less than N% of samples in the input profile " "are matched to the IR."))
 
cl::opt< bool > llvm::NoWarnSampleUnused ("no-warn-sample-unused", cl::init(false), cl::Hidden, cl::desc("Use this option to turn off/on warnings about function with " "samples but without debug information to use those samples. "))
 
cl::opt< bool > llvm::SampleProfileUseProfi ("sample-profile-use-profi", cl::Hidden, cl::desc("Use profi to infer block and edge counts."))
 
cl::opt< bool > llvm::SampleProfileInferEntryCount ("sample-profile-infer-entry-count", cl::init(true), cl::Hidden, cl::desc("Use profi to infer function entry count."))
 
bool llvm::sampleprofutil::callsiteIsHot (const FunctionSamples *CallsiteFS, ProfileSummaryInfo *PSI, bool ProfAccForSymsInList)
 Return true if the given callsite is hot wrt to hot cutoff threshold. More...
 
void llvm::sampleprofutil::createFSDiscriminatorVariable (Module *M)
 Create a global variable to flag FSDiscriminators are used. More...