LLVM 19.0.0git
Classes | Namespaces | Functions | Variables
SampleProfileLoaderBaseUtil.h File Reference

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

#include "llvm/ADT/DenseMap.h"
#include "llvm/ProfileData/SampleProf.h"
#include "llvm/Support/CommandLine.h"

Go to the source code of this file.

Classes

class  llvm::sampleprofutil::SampleCoverageTracker
 

Namespaces

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

Functions

bool llvm::sampleprofutil::callsiteIsHot (const FunctionSamples *CallsiteFS, ProfileSummaryInfo *PSI, bool ProfAccForSymsInList)
 Return true if the given callsite is hot wrt to hot cutoff threshold.
 
void llvm::sampleprofutil::createFSDiscriminatorVariable (Module *M)
 Create a global variable to flag FSDiscriminators are used.
 

Variables

cl::opt< unsignedllvm::SampleProfileMaxPropagateIterations
 
cl::opt< unsignedllvm::SampleProfileRecordCoverage
 
cl::opt< unsignedllvm::SampleProfileSampleCoverage
 
cl::opt< boolllvm::NoWarnSampleUnused
 

Detailed Description

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

Definition in file SampleProfileLoaderBaseUtil.h.