LLVM: lib/Transforms/Instrumentation/InstrProfiling.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 "instrprof" |
| #define | VALUE_PROF_FUNC_PARAM(ParamType, ParamName, ParamLLVMType) |
| #define | INSTR_PROF_VISIBILITY |
| #define | INSTR_PROF_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_RAW_HEADER(Type, Name, Initializer) |
| #define | INSTR_PROF_DATA_DEFINED |
| #define | INSTR_PROF_COMMA , |
| #define | VALUE_PROF_KIND(Enumerator, Value, Descr) |
| #define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer) |
| #define | COVMAP_HEADER(Type, LLVMType, Name, Initializer) |
| #define | COVINIT_FUNC(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Init) |
| #define | INSTR_PROF_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VTABLE_DATA_DEFINED |
| #define | INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_RAW_HEADER(Type, Name, Initializer) |
| #define | VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) |
| #define | INSTR_PROF_COMMA |
| #define | VALUE_PROF_KIND(Enumerator, Value, Descr) |
| #define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer) |
| #define | COVMAP_HEADER(Type, LLVMType, Name, Initializer) |
| #define | COVINIT_FUNC(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_DATA_INC |
| #define | INSTR_PROF_SIMPLE_QUOTE(x) |
| #define | INSTR_PROF_QUOTE(x) |
| #define | INSTR_PROF_SIMPLE_CONCAT(x, y) |
| #define | INSTR_PROF_CONCAT(x, y) |
| #define | INSTR_PROF_RAW_MAGIC_64 |
| #define | INSTR_PROF_RAW_MAGIC_32 |
| #define | INSTR_PROF_RAW_VERSION 10 |
| #define | INSTR_PROF_INDEX_VERSION 13 |
| #define | INSTR_PROF_COVMAP_VERSION 6 |
| #define | VARIANT_MASKS_ALL 0xffffffff00000000ULL |
| #define | GET_VERSION(V) |
| #define | VARIANT_MASK_INSTR_LOOP_ENTRIES (0x1ULL << 55) |
| #define | VARIANT_MASK_IR_PROF (0x1ULL << 56) |
| #define | VARIANT_MASK_CSIR_PROF (0x1ULL << 57) |
| #define | VARIANT_MASK_INSTR_ENTRY (0x1ULL << 58) |
| #define | VARIANT_MASK_DBG_CORRELATE (0x1ULL << 59) |
| #define | VARIANT_MASK_BYTE_COVERAGE (0x1ULL << 60) |
| #define | VARIANT_MASK_FUNCTION_ENTRY_ONLY (0x1ULL << 61) |
| #define | VARIANT_MASK_MEMPROF (0x1ULL << 62) |
| #define | VARIANT_MASK_TEMPORAL_PROF (0x1ULL << 63) |
| #define | INSTR_PROF_RAW_VERSION_VAR __llvm_profile_raw_version |
| #define | INSTR_PROF_PROFILE_RUNTIME_VAR __llvm_profile_runtime |
| #define | INSTR_PROF_PROFILE_COUNTER_BIAS_VAR __llvm_profile_counter_bias |
| #define | INSTR_PROF_PROFILE_BITMAP_BIAS_VAR __llvm_profile_bitmap_bias |
| #define | INSTR_PROF_PROFILE_SET_TIMESTAMP __llvm_profile_set_timestamp |
| #define | INSTR_PROF_PROFILE_SAMPLING_VAR __llvm_profile_sampling |
| #define | INSTR_PROF_PROFILE_NAME_VAR __llvm_profile_filename |
| #define | INSTR_PROF_DATA_COMMON __llvm_prf_data |
| #define | INSTR_PROF_NAME_COMMON __llvm_prf_names |
| #define | INSTR_PROF_VNAME_COMMON __llvm_prf_vns |
| #define | INSTR_PROF_CNTS_COMMON __llvm_prf_cnts |
| #define | INSTR_PROF_BITS_COMMON __llvm_prf_bits |
| #define | INSTR_PROF_VALS_COMMON __llvm_prf_vals |
| #define | INSTR_PROF_VNODES_COMMON __llvm_prf_vnds |
| #define | INSTR_PROF_VTAB_COMMON __llvm_prf_vtab |
| #define | INSTR_PROF_COVMAP_COMMON __llvm_covmap |
| #define | INSTR_PROF_COVFUN_COMMON __llvm_covfun |
| #define | INSTR_PROF_COVDATA_COMMON __llvm_covdata |
| #define | INSTR_PROF_COVNAME_COMMON __llvm_covnames |
| #define | INSTR_PROF_COVINIT_COMMON __llvm_covinit |
| #define | INSTR_PROF_DATA_COFF ".lprfd$M" |
| #define | INSTR_PROF_NAME_COFF ".lprfn$M" |
| #define | INSTR_PROF_VNAME_COFF ".lprfvn$M" |
| #define | INSTR_PROF_CNTS_COFF ".lprfc$M" |
| #define | INSTR_PROF_BITS_COFF ".lprfb$M" |
| #define | INSTR_PROF_VALS_COFF ".lprfv$M" |
| #define | INSTR_PROF_VNODES_COFF ".lprfnd$M" |
| #define | INSTR_PROF_VTAB_COFF ".lprfvt$M" |
| #define | INSTR_PROF_COVMAP_COFF ".lcovmap$M" |
| #define | INSTR_PROF_COVFUN_COFF ".lcovfun$M" |
| #define | INSTR_PROF_COVDATA_COFF ".lcovd" |
| #define | INSTR_PROF_COVNAME_COFF ".lcovn" |
| #define | INSTR_PROF_COVINIT_COFF ".lcovd$M" |
| #define | INSTR_PROF_DATA_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_DATA_COMMON) |
| #define | INSTR_PROF_NAME_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_NAME_COMMON) |
| #define | INSTR_PROF_CNTS_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_CNTS_COMMON) |
| #define | INSTR_PROF_BITS_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_BITS_COMMON) |
| #define | INSTR_PROF_VTAB_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_VTAB_COMMON) |
| #define | INSTR_PROF_VNAME_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_VNAME_COMMON) |
| #define | INSTR_PROF_VALS_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_VALS_COMMON) |
| #define | INSTR_PROF_VNODES_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_VNODES_COMMON) |
| #define | INSTR_PROF_COVMAP_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_COVMAP_COMMON) |
| #define | INSTR_PROF_COVFUN_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_COVFUN_COMMON) |
| #define | INSTR_PROF_COVDATA_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_COVDATA_COMMON) |
| #define | INSTR_PROF_COVNAME_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_COVNAME_COMMON) |
| #define | INSTR_PROF_COVINIT_SECT_NAME INSTR_PROF_QUOTE(INSTR_PROF_COVINIT_COMMON) |
| #define | INSTR_PROF_SECT_START(Sect) |
| #define | INSTR_PROF_SECT_STOP(Sect) |
| #define | INSTR_PROF_VALUE_PROF_FUNC __llvm_profile_instrument_target |
| #define | INSTR_PROF_VALUE_PROF_FUNC_STR INSTR_PROF_QUOTE(INSTR_PROF_VALUE_PROF_FUNC) |
| #define | INSTR_PROF_VALUE_PROF_MEMOP_FUNC __llvm_profile_instrument_memop |
| #define | INSTR_PROF_VALUE_PROF_MEMOP_FUNC_STR INSTR_PROF_QUOTE(INSTR_PROF_VALUE_PROF_MEMOP_FUNC) |
| #define | INSTR_PROF_DATA_ALIGNMENT 8 |
| #define | INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Init) |
| #define | INSTR_PROF_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VTABLE_DATA_DEFINED |
| #define | INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_RAW_HEADER(Type, Name, Initializer) |
| #define | VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) |
| #define | INSTR_PROF_COMMA |
| #define | VALUE_PROF_KIND(Enumerator, Value, Descr) |
| #define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer) |
| #define | COVMAP_HEADER(Type, LLVMType, Name, Initializer) |
| #define | COVINIT_FUNC(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_DATA(Type, LLVMType, Name, Init) |
| #define | INSTR_PROF_DATA_DEFINED |
| #define | INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_RAW_HEADER(Type, Name, Initializer) |
| #define | VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) |
| #define | INSTR_PROF_COMMA |
| #define | VALUE_PROF_KIND(Enumerator, Value, Descr) |
| #define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer) |
| #define | COVMAP_HEADER(Type, LLVMType, Name, Initializer) |
| #define | COVINIT_FUNC(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_DATA(Type, LLVMType, Name, Init) |
| #define | INSTR_PROF_DATA_DEFINED |
| #define | INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_RAW_HEADER(Type, Name, Initializer) |
| #define | VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) |
| #define | INSTR_PROF_COMMA |
| #define | VALUE_PROF_KIND(Enumerator, Value, Descr) |
| #define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer) |
| #define | COVMAP_HEADER(Type, LLVMType, Name, Initializer) |
| #define | COVINIT_FUNC(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_MIN_VAL_COUNTS 10 |
| #define | INSTR_PROF_VALUE_NODE(Type, LLVMType, Name, Init) |
| #define | INSTR_PROF_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_VTABLE_DATA(Type, LLVMType, Name, Initializer) |
| #define | INSTR_PROF_DATA_DEFINED |
| #define | INSTR_PROF_RAW_HEADER(Type, Name, Initializer) |
| #define | VALUE_PROF_FUNC_PARAM(ArgType, ArgName, ArgLLVMType) |
| #define | INSTR_PROF_COMMA |
| #define | VALUE_PROF_KIND(Enumerator, Value, Descr) |
| #define | COVMAP_FUNC_RECORD(Type, LLVMType, Name, Initializer) |
| #define | COVMAP_HEADER(Type, LLVMType, Name, Initializer) |
| #define | COVINIT_FUNC(Type, LLVMType, Name, Initializer) |
◆ COVINIT_FUNC [1/6]
| #define COVINIT_FUNC | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVINIT_FUNC [2/6]
| #define COVINIT_FUNC | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVINIT_FUNC [3/6]
| #define COVINIT_FUNC | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVINIT_FUNC [4/6]
| #define COVINIT_FUNC | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVINIT_FUNC [5/6]
| #define COVINIT_FUNC | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVINIT_FUNC [6/6]
| #define COVINIT_FUNC | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_FUNC_RECORD [1/6]
| #define COVMAP_FUNC_RECORD | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_FUNC_RECORD [2/6]
| #define COVMAP_FUNC_RECORD | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_FUNC_RECORD [3/6]
| #define COVMAP_FUNC_RECORD | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_FUNC_RECORD [4/6]
| #define COVMAP_FUNC_RECORD | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_FUNC_RECORD [5/6]
| #define COVMAP_FUNC_RECORD | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_FUNC_RECORD [6/6]
| #define COVMAP_FUNC_RECORD | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_HEADER [1/6]
| #define COVMAP_HEADER | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_HEADER [2/6]
| #define COVMAP_HEADER | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_HEADER [3/6]
| #define COVMAP_HEADER | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_HEADER [4/6]
| #define COVMAP_HEADER | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_HEADER [5/6]
| #define COVMAP_HEADER | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ COVMAP_HEADER [6/6]
| #define COVMAP_HEADER | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ DEBUG_TYPE
#define DEBUG_TYPE "instrprof"
◆ GET_VERSION
Value:
#define VARIANT_MASKS_ALL
◆ INSTR_PROF_BITS_COFF
#define INSTR_PROF_BITS_COFF ".lprfb$M"
◆ INSTR_PROF_BITS_COMMON
#define INSTR_PROF_BITS_COMMON __llvm_prf_bits
◆ INSTR_PROF_BITS_SECT_NAME
◆ INSTR_PROF_CNTS_COFF
#define INSTR_PROF_CNTS_COFF ".lprfc$M"
◆ INSTR_PROF_CNTS_COMMON
#define INSTR_PROF_CNTS_COMMON __llvm_prf_cnts
◆ INSTR_PROF_CNTS_SECT_NAME
◆ INSTR_PROF_COMMA [1/6]
◆ INSTR_PROF_COMMA [2/6]
◆ INSTR_PROF_COMMA [3/6]
◆ INSTR_PROF_COMMA [4/6]
◆ INSTR_PROF_COMMA [5/6]
◆ INSTR_PROF_COMMA [6/6]
#define INSTR_PROF_COMMA ,
◆ INSTR_PROF_CONCAT
| #define INSTR_PROF_CONCAT | ( | x, |
|---|---|---|
| y ) |
Value:
#define INSTR_PROF_SIMPLE_CONCAT(x, y)
◆ INSTR_PROF_COVDATA_COFF
#define INSTR_PROF_COVDATA_COFF ".lcovd"
◆ INSTR_PROF_COVDATA_COMMON
#define INSTR_PROF_COVDATA_COMMON __llvm_covdata
◆ INSTR_PROF_COVDATA_SECT_NAME
◆ INSTR_PROF_COVFUN_COFF
#define INSTR_PROF_COVFUN_COFF ".lcovfun$M"
◆ INSTR_PROF_COVFUN_COMMON
#define INSTR_PROF_COVFUN_COMMON __llvm_covfun
◆ INSTR_PROF_COVFUN_SECT_NAME
◆ INSTR_PROF_COVINIT_COFF
#define INSTR_PROF_COVINIT_COFF ".lcovd$M"
◆ INSTR_PROF_COVINIT_COMMON
#define INSTR_PROF_COVINIT_COMMON __llvm_covinit
◆ INSTR_PROF_COVINIT_SECT_NAME
◆ INSTR_PROF_COVMAP_COFF
#define INSTR_PROF_COVMAP_COFF ".lcovmap$M"
◆ INSTR_PROF_COVMAP_COMMON
#define INSTR_PROF_COVMAP_COMMON __llvm_covmap
◆ INSTR_PROF_COVMAP_SECT_NAME
◆ INSTR_PROF_COVMAP_VERSION
#define INSTR_PROF_COVMAP_VERSION 6
◆ INSTR_PROF_COVNAME_COFF
#define INSTR_PROF_COVNAME_COFF ".lcovn"
◆ INSTR_PROF_COVNAME_COMMON
#define INSTR_PROF_COVNAME_COMMON __llvm_covnames
◆ INSTR_PROF_COVNAME_SECT_NAME
◆ INSTR_PROF_DATA [1/6]
| #define INSTR_PROF_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Init ) |
◆ INSTR_PROF_DATA [2/6]
| #define INSTR_PROF_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Init ) |
◆ INSTR_PROF_DATA [3/6]
| #define INSTR_PROF_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_DATA [4/6]
| #define INSTR_PROF_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_DATA [5/6]
| #define INSTR_PROF_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_DATA [6/6]
| #define INSTR_PROF_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_DATA_ALIGNMENT
#define INSTR_PROF_DATA_ALIGNMENT 8
◆ INSTR_PROF_DATA_COFF
#define INSTR_PROF_DATA_COFF ".lprfd$M"
◆ INSTR_PROF_DATA_COMMON
#define INSTR_PROF_DATA_COMMON __llvm_prf_data
◆ INSTR_PROF_DATA_DEFINED [1/4]
#define INSTR_PROF_DATA_DEFINED
◆ INSTR_PROF_DATA_DEFINED [2/4]
#define INSTR_PROF_DATA_DEFINED
◆ INSTR_PROF_DATA_DEFINED [3/4]
#define INSTR_PROF_DATA_DEFINED
◆ INSTR_PROF_DATA_DEFINED [4/4]
#define INSTR_PROF_DATA_DEFINED
◆ INSTR_PROF_DATA_INC
#define INSTR_PROF_DATA_INC
◆ INSTR_PROF_DATA_SECT_NAME
◆ INSTR_PROF_INDEX_VERSION
#define INSTR_PROF_INDEX_VERSION 13
◆ INSTR_PROF_MIN_VAL_COUNTS
#define INSTR_PROF_MIN_VAL_COUNTS 10
◆ INSTR_PROF_NAME_COFF
#define INSTR_PROF_NAME_COFF ".lprfn$M"
◆ INSTR_PROF_NAME_COMMON
#define INSTR_PROF_NAME_COMMON __llvm_prf_names
◆ INSTR_PROF_NAME_SECT_NAME
◆ INSTR_PROF_PROFILE_BITMAP_BIAS_VAR
#define INSTR_PROF_PROFILE_BITMAP_BIAS_VAR __llvm_profile_bitmap_bias
◆ INSTR_PROF_PROFILE_COUNTER_BIAS_VAR
#define INSTR_PROF_PROFILE_COUNTER_BIAS_VAR __llvm_profile_counter_bias
◆ INSTR_PROF_PROFILE_NAME_VAR
#define INSTR_PROF_PROFILE_NAME_VAR __llvm_profile_filename
◆ INSTR_PROF_PROFILE_RUNTIME_VAR
#define INSTR_PROF_PROFILE_RUNTIME_VAR __llvm_profile_runtime
◆ INSTR_PROF_PROFILE_SAMPLING_VAR
#define INSTR_PROF_PROFILE_SAMPLING_VAR __llvm_profile_sampling
◆ INSTR_PROF_PROFILE_SET_TIMESTAMP
#define INSTR_PROF_PROFILE_SET_TIMESTAMP __llvm_profile_set_timestamp
◆ INSTR_PROF_QUOTE
| #define INSTR_PROF_QUOTE | ( | x | ) |
|---|
Value:
#define INSTR_PROF_SIMPLE_QUOTE(x)
◆ INSTR_PROF_RAW_HEADER [1/6]
| #define INSTR_PROF_RAW_HEADER | ( | Type, |
|---|---|---|
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_RAW_HEADER [2/6]
| #define INSTR_PROF_RAW_HEADER | ( | Type, |
|---|---|---|
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_RAW_HEADER [3/6]
| #define INSTR_PROF_RAW_HEADER | ( | Type, |
|---|---|---|
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_RAW_HEADER [4/6]
| #define INSTR_PROF_RAW_HEADER | ( | Type, |
|---|---|---|
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_RAW_HEADER [5/6]
| #define INSTR_PROF_RAW_HEADER | ( | Type, |
|---|---|---|
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_RAW_HEADER [6/6]
| #define INSTR_PROF_RAW_HEADER | ( | Type, |
|---|---|---|
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_RAW_MAGIC_32
#define INSTR_PROF_RAW_MAGIC_32
◆ INSTR_PROF_RAW_MAGIC_64
#define INSTR_PROF_RAW_MAGIC_64
◆ INSTR_PROF_RAW_VERSION
#define INSTR_PROF_RAW_VERSION 10
◆ INSTR_PROF_RAW_VERSION_VAR
#define INSTR_PROF_RAW_VERSION_VAR __llvm_profile_raw_version
◆ INSTR_PROF_SECT_START
| #define INSTR_PROF_SECT_START | ( | Sect | ) |
|---|
Value:
#define INSTR_PROF_CONCAT(x, y)
◆ INSTR_PROF_SECT_STOP
| #define INSTR_PROF_SECT_STOP | ( | Sect | ) |
|---|
◆ INSTR_PROF_SIMPLE_CONCAT
| #define INSTR_PROF_SIMPLE_CONCAT | ( | x, |
|---|---|---|
| y ) |
◆ INSTR_PROF_SIMPLE_QUOTE
| #define INSTR_PROF_SIMPLE_QUOTE | ( | x | ) |
|---|
◆ INSTR_PROF_VALS_COFF
#define INSTR_PROF_VALS_COFF ".lprfv$M"
◆ INSTR_PROF_VALS_COMMON
#define INSTR_PROF_VALS_COMMON __llvm_prf_vals
◆ INSTR_PROF_VALS_SECT_NAME
◆ INSTR_PROF_VALUE_NODE [1/6]
| #define INSTR_PROF_VALUE_NODE | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Init ) |
◆ INSTR_PROF_VALUE_NODE [2/6]
| #define INSTR_PROF_VALUE_NODE | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VALUE_NODE [3/6]
| #define INSTR_PROF_VALUE_NODE | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VALUE_NODE [4/6]
| #define INSTR_PROF_VALUE_NODE | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VALUE_NODE [5/6]
| #define INSTR_PROF_VALUE_NODE | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VALUE_NODE [6/6]
| #define INSTR_PROF_VALUE_NODE | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VALUE_PROF_FUNC
#define INSTR_PROF_VALUE_PROF_FUNC __llvm_profile_instrument_target
◆ INSTR_PROF_VALUE_PROF_FUNC_STR
◆ INSTR_PROF_VALUE_PROF_MEMOP_FUNC
#define INSTR_PROF_VALUE_PROF_MEMOP_FUNC __llvm_profile_instrument_memop
◆ INSTR_PROF_VALUE_PROF_MEMOP_FUNC_STR
◆ INSTR_PROF_VISIBILITY
#define INSTR_PROF_VISIBILITY
◆ INSTR_PROF_VNAME_COFF
#define INSTR_PROF_VNAME_COFF ".lprfvn$M"
◆ INSTR_PROF_VNAME_COMMON
#define INSTR_PROF_VNAME_COMMON __llvm_prf_vns
◆ INSTR_PROF_VNAME_SECT_NAME
◆ INSTR_PROF_VNODES_COFF
#define INSTR_PROF_VNODES_COFF ".lprfnd$M"
◆ INSTR_PROF_VNODES_COMMON
#define INSTR_PROF_VNODES_COMMON __llvm_prf_vnds
◆ INSTR_PROF_VNODES_SECT_NAME
◆ INSTR_PROF_VTAB_COFF
#define INSTR_PROF_VTAB_COFF ".lprfvt$M"
◆ INSTR_PROF_VTAB_COMMON
#define INSTR_PROF_VTAB_COMMON __llvm_prf_vtab
◆ INSTR_PROF_VTAB_SECT_NAME
◆ INSTR_PROF_VTABLE_DATA [1/6]
| #define INSTR_PROF_VTABLE_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Init ) |
◆ INSTR_PROF_VTABLE_DATA [2/6]
| #define INSTR_PROF_VTABLE_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Init ) |
◆ INSTR_PROF_VTABLE_DATA [3/6]
| #define INSTR_PROF_VTABLE_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VTABLE_DATA [4/6]
| #define INSTR_PROF_VTABLE_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VTABLE_DATA [5/6]
| #define INSTR_PROF_VTABLE_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VTABLE_DATA [6/6]
| #define INSTR_PROF_VTABLE_DATA | ( | Type, |
|---|---|---|
| LLVMType, | ||
| Name, | ||
| Initializer ) |
◆ INSTR_PROF_VTABLE_DATA_DEFINED [1/2]
#define INSTR_PROF_VTABLE_DATA_DEFINED
◆ INSTR_PROF_VTABLE_DATA_DEFINED [2/2]
#define INSTR_PROF_VTABLE_DATA_DEFINED
◆ VALUE_PROF_FUNC_PARAM [1/6]
| #define VALUE_PROF_FUNC_PARAM | ( | ArgType, |
|---|---|---|
| ArgName, | ||
| ArgLLVMType ) |
◆ VALUE_PROF_FUNC_PARAM [2/6]
| #define VALUE_PROF_FUNC_PARAM | ( | ArgType, |
|---|---|---|
| ArgName, | ||
| ArgLLVMType ) |
◆ VALUE_PROF_FUNC_PARAM [3/6]
| #define VALUE_PROF_FUNC_PARAM | ( | ArgType, |
|---|---|---|
| ArgName, | ||
| ArgLLVMType ) |
◆ VALUE_PROF_FUNC_PARAM [4/6]
| #define VALUE_PROF_FUNC_PARAM | ( | ArgType, |
|---|---|---|
| ArgName, | ||
| ArgLLVMType ) |
◆ VALUE_PROF_FUNC_PARAM [5/6]
| #define VALUE_PROF_FUNC_PARAM | ( | ArgType, |
|---|---|---|
| ArgName, | ||
| ArgLLVMType ) |
◆ VALUE_PROF_FUNC_PARAM [6/6]
| #define VALUE_PROF_FUNC_PARAM | ( | ParamType, |
|---|---|---|
| ParamName, | ||
| ParamLLVMType ) |
◆ VALUE_PROF_KIND [1/6]
| #define VALUE_PROF_KIND | ( | Enumerator, |
|---|---|---|
| Value, | ||
| Descr ) |
◆ VALUE_PROF_KIND [2/6]
| #define VALUE_PROF_KIND | ( | Enumerator, |
|---|---|---|
| Value, | ||
| Descr ) |
◆ VALUE_PROF_KIND [3/6]
| #define VALUE_PROF_KIND | ( | Enumerator, |
|---|---|---|
| Value, | ||
| Descr ) |
◆ VALUE_PROF_KIND [4/6]
| #define VALUE_PROF_KIND | ( | Enumerator, |
|---|---|---|
| Value, | ||
| Descr ) |
◆ VALUE_PROF_KIND [5/6]
| #define VALUE_PROF_KIND | ( | Enumerator, |
|---|---|---|
| Value, | ||
| Descr ) |
◆ VALUE_PROF_KIND [6/6]
| #define VALUE_PROF_KIND | ( | Enumerator, |
|---|---|---|
| Value, | ||
| Descr ) |
◆ VARIANT_MASK_BYTE_COVERAGE
#define VARIANT_MASK_BYTE_COVERAGE (0x1ULL << 60)
◆ VARIANT_MASK_CSIR_PROF
#define VARIANT_MASK_CSIR_PROF (0x1ULL << 57)
◆ VARIANT_MASK_DBG_CORRELATE
#define VARIANT_MASK_DBG_CORRELATE (0x1ULL << 59)
◆ VARIANT_MASK_FUNCTION_ENTRY_ONLY
#define VARIANT_MASK_FUNCTION_ENTRY_ONLY (0x1ULL << 61)
◆ VARIANT_MASK_INSTR_ENTRY
#define VARIANT_MASK_INSTR_ENTRY (0x1ULL << 58)
◆ VARIANT_MASK_INSTR_LOOP_ENTRIES
#define VARIANT_MASK_INSTR_LOOP_ENTRIES (0x1ULL << 55)
◆ VARIANT_MASK_IR_PROF
#define VARIANT_MASK_IR_PROF (0x1ULL << 56)
◆ VARIANT_MASK_MEMPROF
#define VARIANT_MASK_MEMPROF (0x1ULL << 62)
◆ VARIANT_MASK_TEMPORAL_PROF
#define VARIANT_MASK_TEMPORAL_PROF (0x1ULL << 63)
◆ VARIANT_MASKS_ALL
#define VARIANT_MASKS_ALL 0xffffffff00000000ULL
◆ containsProfilingIntrinsics()
| bool containsProfilingIntrinsics ( Module & M) | static |
|---|
◆ getFuncAddrForProfData()
Definition at line 1382 of file InstrProfiling.cpp.
References llvm::GlobalAlias::create(), llvm::ConstantPointerNull::get(), llvm::Function::getContext(), llvm::GlobalValue::getLinkage(), llvm::Value::getName(), llvm::PointerType::getUnqual(), llvm::GlobalObject::hasComdat(), llvm::GlobalValue::HiddenVisibility, llvm::GlobalValue::PrivateLinkage, shouldRecordFunctionAddr(), and shouldUsePublicSymbol().
◆ getOrInsertValueProfilingCall()
◆ getVarName()
Get the name of a profiling variable for a particular function.
Definition at line 1295 of file InstrProfiling.cpp.
References llvm::canRenameComdatFunc(), F, llvm::FuncHash, llvm::InstrProfInstBase::getHash(), llvm::getInstrProfNameVarPrefix(), llvm::InstrProfInstBase::getName(), llvm::Value::getName(), llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent(), llvm::ConstantInt::getZExtValue(), llvm::isIRPGOFlagSet(), llvm::StringRef::size(), llvm::StringRef::substr(), and llvm::toStringRef().