Searched refs:CurrentVNode (Results 1 – 2 of 2) sorted by relevance
97 ValueProfNode *CurrentVNode = ValueCounters[CounterIndex]; in __llvm_profile_instrument_target() local100 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 …]
61 ValueProfNode *CurrentVNode = ValueCounters[i]; in __llvm_profile_reset_counters() local63 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()