Lines Matching refs:ValueProfNode
31 COMPILER_RT_VISIBILITY ValueProfNode
95 ValueProfNode **Mem = in allocateValueProfileCounters()
96 (ValueProfNode **)calloc(NumVSites, sizeof(ValueProfNode *)); in allocateValueProfileCounters()
106 static ValueProfNode *allocateOneNode(__llvm_profile_data *Data, uint32_t Index, in allocateOneNode()
108 ValueProfNode *Node; in allocateOneNode()
111 return (ValueProfNode *)calloc(1, sizeof(ValueProfNode)); in allocateOneNode()
124 Node = COMPILER_RT_PTR_FETCH_ADD(ValueProfNode, CurrentVNode, 1); in allocateOneNode()
145 ValueProfNode **ValueCounters = (ValueProfNode **)PData->Values; in __llvm_profile_instrument_target()
146 ValueProfNode *PrevVNode = NULL; in __llvm_profile_instrument_target()
147 ValueProfNode *MinCountVNode = NULL; in __llvm_profile_instrument_target()
148 ValueProfNode *CurVNode = ValueCounters[CounterIndex]; in __llvm_profile_instrument_target()
231 ValueProfNode **NodesKind[IPVK_Last + 1];
270 ValueProfNode **Nodes = (ValueProfNode **)Data->Values; in initializeValueProfRuntimeRecord()
284 ValueProfNode *Site = in initializeValueProfRuntimeRecord()
299 static ValueProfNode *getNextNValueData(uint32_t VK, uint32_t Site, in getNextNValueData()
301 ValueProfNode *StartNode, uint32_t N) { in getNextNValueData()
303 ValueProfNode *VNode = StartNode ? StartNode : RTRecord.NodesKind[VK][Site]; in getNextNValueData()