reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

projects/compiler-rt/lib/profile/InstrProfilingValue.c
  153   while (CurVNode) {
  154     if (TargetValue == CurVNode->Value) {
  155       CurVNode->Count += CountValue;
  158     if (CurVNode->Count < MinCount) {
  159       MinCount = CurVNode->Count;
  160       MinCountVNode = CurVNode;
  162     PrevVNode = CurVNode;
  163     CurVNode = CurVNode->Next;
  163     CurVNode = CurVNode->Next;
  197       CurVNode = MinCountVNode;
  198       CurVNode->Value = TargetValue;
  199       CurVNode->Count = CountValue;
  206   CurVNode = allocateOneNode();
  207   if (!CurVNode)
  209   CurVNode->Value = TargetValue;
  210   CurVNode->Count += CountValue;
  215         COMPILER_RT_BOOL_CMPXCHG(&ValueCounters[CounterIndex], 0, CurVNode);
  217     Success = COMPILER_RT_BOOL_CMPXCHG(&(PrevVNode->Next), 0, CurVNode);
  220     free(CurVNode);