LLVM 24.0.0git
CtxProfAnalysis.cpp File Reference

Go to the source code of this file.

Classes

class  llvm::ProfileAnnotatorImpl

Namespaces

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

Macros

#define DEBUG_TYPE   "ctx_prof"

Functions

template<class ProfTy>
static void preorderVisitOneRoot (ProfTy &Profile, function_ref< void(ProfTy &)> Visitor)
template<class ProfilesTy, class ProfTy>
static void preorderVisit (ProfilesTy &Profiles, function_ref< void(ProfTy &)> Visitor)

Variables

cl::opt< std::string > llvm::UseCtxProfile ("use-ctx-profile", cl::init(""), cl::Hidden, cl::desc("Use the specified contextual profile file"))

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ctx_prof"

Definition at line 31 of file CtxProfAnalysis.cpp.

Function Documentation

◆ preorderVisit()

template<class ProfilesTy, class ProfTy>
void preorderVisit ( ProfilesTy & Profiles,
function_ref< void(ProfTy &)> Visitor )
static

Definition at line 593 of file CtxProfAnalysis.cpp.

References _, P, and preorderVisitOneRoot().

Referenced by llvm::PGOContextualProfile::visit().

◆ preorderVisitOneRoot()

template<class ProfTy>
void preorderVisitOneRoot ( ProfTy & Profile,
function_ref< void(ProfTy &)> Visitor )
static