Home
last modified time | relevance | path

Searched refs:CurrentVNode (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfilingValue.c97 ValueProfNode *CurrentVNode = ValueCounters[CounterIndex]; in __llvm_profile_instrument_target() local
100 while (CurrentVNode) { in __llvm_profile_instrument_target()
101 if (TargetValue == CurrentVNode->VData.Value) { in __llvm_profile_instrument_target()
102 CurrentVNode->VData.Count++; in __llvm_profile_instrument_target()
105 PrevVNode = CurrentVNode; in __llvm_profile_instrument_target()
106 CurrentVNode = CurrentVNode->Next; in __llvm_profile_instrument_target()
113 CurrentVNode = (ValueProfNode *)calloc(1, sizeof(ValueProfNode)); in __llvm_profile_instrument_target()
114 if (!CurrentVNode) in __llvm_profile_instrument_target()
117 CurrentVNode->VData.Value = TargetValue; in __llvm_profile_instrument_target()
118 CurrentVNode->VData.Count++; in __llvm_profile_instrument_target()
[all …]
H A DInstrProfiling.c61 ValueProfNode *CurrentVNode = ValueCounters[i]; in __llvm_profile_reset_counters() local
63 while (CurrentVNode) { in __llvm_profile_reset_counters()
64 CurrentVNode->VData.Count = 0; in __llvm_profile_reset_counters()
65 CurrentVNode = CurrentVNode->Next; in __llvm_profile_reset_counters()