LLVM: lib/Analysis/CtxProfAnalysis.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Macros
#define DEBUG_TYPE "ctx_prof"
Functions
template
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"))
static cl::opt< CtxProfAnalysisPrinterPass::PrintMode > llvm::PrintLevel ("ctx-profile-printer-level", cl::init(CtxProfAnalysisPrinterPass::PrintMode::YAML), cl::Hidden, cl::values(clEnumValN(CtxProfAnalysisPrinterPass::PrintMode::Everything, "everything", "print everything - most verbose"), clEnumValN(CtxProfAnalysisPrinterPass::PrintMode::YAML, "yaml", "just the yaml representation of the profile")), cl::desc("Verbosity level of the contextual profile printer pass."))
static cl::opt< bool > llvm::ForceIsInSpecializedModule ("ctx-profile-force-is-specialized", cl::init(false), cl::desc("Treat the given module as-if it were containing the " "post-thinlink module containing the root"))

DEBUG_TYPE

#define DEBUG_TYPE "ctx_prof"

preorderVisit()

template<class ProfilesTy, class ProfTy>

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

preorderVisitOneRoot()

template

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