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

References

include/llvm/Support/CommandLine.h
  441   Ty &Loc;
  443   LocationClass(Ty &L) : Loc(L) {}
  448 template <class Ty> LocationClass<Ty> location(Ty &L) {
  448 template <class Ty> LocationClass<Ty> location(Ty &L) {
 1427   StorageClass *Location = nullptr; // Where to store the object...
 1434   bool setLocation(Option &O, StorageClass &L) {
 1529 class list : public Option, public list_storage<DataType, StorageClass> {
include/llvm/Support/DebugCounter.h
   60   static DebugCounter &instance();
   77     auto &Us = instance();
  107     auto &Us = instance();
  115     auto &Us = instance();
include/llvm/Support/ManagedStatic.h
   23   static void *call() { return new C(); }
   86   C &operator*() {
   94   C *operator->() { return &**this; }
   96   const C &operator*() const {
  104   const C *operator->() const { return &**this; }
lib/CodeGen/MachineCopyPropagation.cpp
  435     if (!DebugCounter::shouldExecute(FwdCounter)) {
lib/Support/DebugCounter.cpp
   13 class DebugCounterList : public cl::list<std::string, DebugCounter> {
   15   using Base = cl::list<std::string, DebugCounter>;
   34     const auto &CounterInstance = DebugCounter::instance();
   34     const auto &CounterInstance = DebugCounter::instance();
   50     cl::CommaSeparated, cl::ZeroOrMore, cl::location(DebugCounter::instance()));
   56 static ManagedStatic<DebugCounter> DC;
   64 DebugCounter &DebugCounter::instance() { return *DC; }
  124   auto &Us = instance();
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  735       if (!DebugCounter::shouldExecute(FixCounter)) {
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
  424     if (DebugCounter::isCounterSet(ForceExpCounter) &&
  425         DebugCounter::shouldExecute(ForceExpCounter)) {
  431     if (DebugCounter::isCounterSet(ForceLgkmCounter) &&
  432          DebugCounter::shouldExecute(ForceLgkmCounter)) {
  438     if (DebugCounter::isCounterSet(ForceVMCounter) &&
  439         DebugCounter::shouldExecute(ForceVMCounter)) {
lib/Transforms/InstCombine/InstructionCombining.cpp
 3220     if (!DebugCounter::shouldExecute(VisitCounter))
lib/Transforms/Scalar/ConstantProp.cpp
   94           if (!DebugCounter::shouldExecute(CPCounter))
lib/Transforms/Scalar/DCE.cpp
   57           if (!DebugCounter::shouldExecute(DCECounter))
   87     if (!DebugCounter::shouldExecute(DCECounter))
lib/Transforms/Scalar/DivRemPairs.cpp
  189     if (!DebugCounter::shouldExecute(DRPCounter))
lib/Transforms/Scalar/EarlyCSE.cpp
  842     if (!DebugCounter::shouldExecute(CSECounter)) {
  905       if (!DebugCounter::shouldExecute(CSECounter)) {
 1002       if (!DebugCounter::shouldExecute(CSECounter)) {
 1029         if (!DebugCounter::shouldExecute(CSECounter)) {
 1090           if (!DebugCounter::shouldExecute(CSECounter)) {
 1133         if (!DebugCounter::shouldExecute(CSECounter)) {
 1188         if (!DebugCounter::shouldExecute(CSECounter)) {
 1224             if (!DebugCounter::shouldExecute(CSECounter)) {
lib/Transforms/Scalar/NewGVN.cpp
 2718   if (!DebugCounter::shouldExecute(PHIOfOpsCounter))
 3083     if (DebugCounter::shouldExecute(VNCounter)) {
 3261   if (DebugCounter::isCounterSet(VNCounter))
 3262     DebugCounter::setCounterValue(VNCounter, StartingVNCounter);
 3405   if (DebugCounter::isCounterSet(VNCounter))
 3406     StartingVNCounter = DebugCounter::getCounterValue(VNCounter);
lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp
   38   if (!DebugCounter::shouldExecute(PILCounter))
lib/Transforms/Utils/PredicateInfo.cpp
  699       if (!DebugCounter::shouldExecute(RenameCounter)) {
unittests/Support/DebugCounterTest.cpp
   21   auto DC = &DebugCounter::instance();
   33   DebugCounter::setCounterValue(TestCounter, 3);
   37   DebugCounter::setCounterValue(TestCounter, 100);