LLVM  17.0.0git
Classes | Namespaces | Functions | Variables
SampleProfileLoaderBaseUtil.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/Support/CommandLine.h"
Include dependency graph for SampleProfileLoaderBaseUtil.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  llvm::sampleprofutil::SampleCoverageTracker


 This is an optimization pass for GlobalISel generic memory operations.


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...


cl::opt< unsigned > llvm::SampleProfileMaxPropagateIterations
cl::opt< unsigned > llvm::SampleProfileRecordCoverage
cl::opt< unsigned > llvm::SampleProfileSampleCoverage
cl::opt< bool > llvm::NoWarnSampleUnused

Detailed Description

This file provides the utility functions for the sampled PGO loader base implementation.

Definition in file SampleProfileLoaderBaseUtil.h.