Anonymous View
LLVM 23.0.0git
SampleProfileLoaderBaseUtil.h File Reference

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

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

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

Variables

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

Detailed Description

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

Definition in file SampleProfileLoaderBaseUtil.h.