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

Declarations

include/llvm/Support/TimeProfiler.h
   17 extern TimeTraceProfiler *TimeTraceProfilerInstance;

References

include/llvm/Support/TimeProfiler.h
   29   return TimeTraceProfilerInstance != nullptr;
   61     if (TimeTraceProfilerInstance != nullptr)
   65     if (TimeTraceProfilerInstance != nullptr)
   69     if (TimeTraceProfilerInstance != nullptr)
lib/Support/TimeProfiler.cpp
  189   assert(TimeTraceProfilerInstance == nullptr &&
  191   TimeTraceProfilerInstance = new TimeTraceProfiler();
  192   TimeTraceProfilerInstance->TimeTraceGranularity = TimeTraceGranularity;
  196   delete TimeTraceProfilerInstance;
  197   TimeTraceProfilerInstance = nullptr;
  201   assert(TimeTraceProfilerInstance != nullptr &&
  203   TimeTraceProfilerInstance->Write(OS);
  207   if (TimeTraceProfilerInstance != nullptr)
  208     TimeTraceProfilerInstance->begin(Name, [&]() { return Detail; });
  213   if (TimeTraceProfilerInstance != nullptr)
  214     TimeTraceProfilerInstance->begin(Name, Detail);
  218   if (TimeTraceProfilerInstance != nullptr)
  219     TimeTraceProfilerInstance->end();