LLVM 22.0.0git
PGOCtxProfLowering.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  CompilerRtAPINames

Macros

#define DEBUG_TYPE   "ctx-instr-lower"
#define _PTRDECL(_, __)
#define _VOLATILE_PTRDECL(_, __)
#define _CONTEXT_ROOT   PointerTy,
#define _MUTEXDECL(_)
#define _PTRDECL(_, __)
#define _VOLATILE_PTRDECL(_, __)
#define _MUTEXDECL(_)
#define _CONTEXT_ROOT

Variables

static cl::list< std::stringContextRoots ("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

◆ _CONTEXT_ROOT [1/2]

#define _CONTEXT_ROOT   PointerTy,

◆ _CONTEXT_ROOT [2/2]

#define _CONTEXT_ROOT
Value:
APInt(M.getDataLayout().getPointerTypeSizeInBits(PointerTy), 1U)),
Class for arbitrary precision integers.
Definition APInt.h:78
static LLVM_ABI Constant * getIntegerValue(Type *Ty, const APInt &V)
Return the value for an integer or pointer constant, or a vector thereof, with the given scalar value...
void * PointerTy

◆ _MUTEXDECL [1/2]

#define _MUTEXDECL ( _)
Value:
SanitizerMutexType,

◆ _MUTEXDECL [2/2]

#define _MUTEXDECL ( _)
Value:
Constant::getNullValue(SanitizerMutexType),
static LLVM_ABI Constant * getNullValue(Type *Ty)
Constructor to create a '0' constant of arbitrary type.

◆ _PTRDECL [1/2]

#define _PTRDECL ( _,
__ )
Value:

◆ _PTRDECL [2/2]

#define _PTRDECL ( _,
__ )

◆ _VOLATILE_PTRDECL [1/2]

#define _VOLATILE_PTRDECL ( _,
__ )
Value:

◆ _VOLATILE_PTRDECL [2/2]

#define _VOLATILE_PTRDECL ( _,
__ )
Value:
_PTRDECL(_, __)
#define _
#define _PTRDECL(_, __)

◆ DEBUG_TYPE

#define DEBUG_TYPE   "ctx-instr-lower"

Definition at line 32 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