LLVM 20.0.0git
Namespaces | Macros | Variables
PGOCtxProfLowering.cpp File Reference
#include "llvm/Transforms/Instrumentation/PGOCtxProfLowering.h"
#include "llvm/Analysis/CtxProfAnalysis.h"
#include "llvm/Analysis/OptimizationRemarkEmitter.h"
#include "llvm/IR/Analysis.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/IRBuilder.h"
#include "llvm/IR/Instructions.h"
#include "llvm/IR/IntrinsicInst.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/PassManager.h"
#include "llvm/ProfileData/InstrProf.h"
#include "llvm/Support/CommandLine.h"
#include <utility>

Go to the source code of this file.

Namespaces

namespace  CompilerRtAPINames
 

Macros

#define DEBUG_TYPE   "ctx-instr-lower"
 

Variables

static cl::list< std::string > ContextRoots ("profile-context-root", cl::Hidden, cl::desc("A function name, assumed to be global, which will be treated as the " "root of an interesting graph, which will be profiled independently " "from other similar graphs."))
 
static auto CompilerRtAPINames::StartCtx = "__llvm_ctx_profile_start_context"
 
static auto CompilerRtAPINames::ReleaseCtx = "__llvm_ctx_profile_release_context"
 
static auto CompilerRtAPINames::GetCtx = "__llvm_ctx_profile_get_context"
 
static auto CompilerRtAPINames::ExpectedCalleeTLS = "__llvm_ctx_profile_expected_callee"
 
static auto CompilerRtAPINames::CallsiteTLS = "__llvm_ctx_profile_callsite"
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ctx-instr-lower"

Definition at line 26 of file PGOCtxProfLowering.cpp.

Variable Documentation

◆ ContextRoots

cl::list< std::string > ContextRoots("profile-context-root", cl::Hidden, cl::desc( "A function name, assumed to be global, which will be treated as the " "root of an interesting graph, which will be profiled independently " "from other similar graphs.")) ( "profile-context-root"  ,
cl::Hidden  ,
cl::desc( "A function name, assumed to be global, which will be treated as the " "root of an interesting graph, which will be profiled independently " "from other similar graphs.")   
)
static