Home
last modified time | relevance | path

Searched refs:ValueProfNode (Results 1 – 11 of 11) sorted by relevance

/src/contrib/llvm-project/compiler-rt/lib/profile/
H A DInstrProfilingValue.c34 COMPILER_RT_VISIBILITY ValueProfNode
112 ValueProfNode **Mem = in allocateValueProfileCounters()
113 (ValueProfNode **)calloc(NumVSites, sizeof(ValueProfNode *)); in allocateValueProfileCounters()
123 static ValueProfNode *allocateOneNode(void) { in allocateOneNode()
124 ValueProfNode *Node; in allocateOneNode()
127 return (ValueProfNode *)calloc(1, sizeof(ValueProfNode)); in allocateOneNode()
140 Node = COMPILER_RT_PTR_FETCH_ADD(ValueProfNode, CurrentVNode, 1); in allocateOneNode()
162 ValueProfNode **ValueCounters = (ValueProfNode **)PData->Values; in instrumentTargetValueImpl()
163 ValueProfNode *PrevVNode = NULL; in instrumentTargetValueImpl()
164 ValueProfNode *MinCountVNode = NULL; in instrumentTargetValueImpl()
[all …]
H A DInstrProfilingPlatformWindows.c56 ValueProfNode COMPILER_RT_SECTION(".lprfnd$A") VNodesStart;
57 ValueProfNode COMPILER_RT_SECTION(".lprfnd$Z") VNodesEnd;
90 ValueProfNode *__llvm_profile_begin_vnodes(void) { return &VNodesStart + 1; } in __llvm_profile_begin_vnodes()
91 ValueProfNode *__llvm_profile_end_vnodes(void) { return &VNodesEnd; } in __llvm_profile_end_vnodes()
93 ValueProfNode *CurrentVNode = &VNodesStart + 1;
94 ValueProfNode *EndVNode = &VNodesEnd;
H A DInstrProfilingPlatformDarwin.c54 extern ValueProfNode
57 extern ValueProfNode
94 ValueProfNode *__llvm_profile_begin_vnodes(void) { in __llvm_profile_begin_vnodes()
98 ValueProfNode *__llvm_profile_end_vnodes(void) { return &VNodesEnd; } in __llvm_profile_end_vnodes()
100 COMPILER_RT_VISIBILITY ValueProfNode *CurrentVNode = &VNodesStart;
101 COMPILER_RT_VISIBILITY ValueProfNode *EndVNode = &VNodesEnd;
H A DInstrProfiling.h46 typedef struct ValueProfNode * PtrToNodeT;
47 typedef struct ValueProfNode { struct
50 } ValueProfNode; typedef
117 ValueProfNode *__llvm_profile_begin_vnodes();
118 ValueProfNode *__llvm_profile_end_vnodes();
H A DInstrProfilingInternal.h120 struct ValueProfNode;
145 struct ValueProfNode *(*GetValueData)(uint32_t ValueKind, uint32_t Site,
147 struct ValueProfNode *StartNode,
197 COMPILER_RT_VISIBILITY extern ValueProfNode *CurrentVNode;
198 COMPILER_RT_VISIBILITY extern ValueProfNode *EndVNode;
H A DInstrProfilingPlatformLinux.c57 extern ValueProfNode PROF_VNODES_START COMPILER_RT_VISIBILITY COMPILER_RT_WEAK;
58 extern ValueProfNode PROF_VNODES_STOP COMPILER_RT_VISIBILITY COMPILER_RT_WEAK;
103 COMPILER_RT_VISIBILITY ValueProfNode *
107 COMPILER_RT_VISIBILITY ValueProfNode *__llvm_profile_end_vnodes(void) { in __llvm_profile_end_vnodes()
110 COMPILER_RT_VISIBILITY ValueProfNode *CurrentVNode = &PROF_VNODES_START;
111 COMPILER_RT_VISIBILITY ValueProfNode *EndVNode = &PROF_VNODES_STOP;
H A DInstrProfilingPlatformOther.c115 ValueProfNode *__llvm_profile_begin_vnodes(void) { in __llvm_profile_begin_vnodes()
119 ValueProfNode *__llvm_profile_end_vnodes(void) { return 0; } in __llvm_profile_end_vnodes()
121 COMPILER_RT_VISIBILITY ValueProfNode *CurrentVNode = 0;
122 COMPILER_RT_VISIBILITY ValueProfNode *EndVNode = 0;
H A DInstrProfiling.c76 ValueProfNode **ValueCounters = (ValueProfNode **)DI->Values; in __llvm_profile_reset_counters()
82 ValueProfNode *CurrVNode = ValueCounters[i]; in __llvm_profile_reset_counters()
H A DInstrProfilingWriter.c195 ValueProfNode *NextStartNode = 0; in writeOneValueProfData()
/src/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfData.inc123 * typedef struct ValueProfNode {
127 * struct ValueProfNode *Next;
128 * } ValueProfNode;
/src/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc123 * typedef struct ValueProfNode {
127 * struct ValueProfNode *Next;
128 * } ValueProfNode;