LLVM API Documentation

Classes | Namespaces | Defines | Functions
Statistic.h File Reference
#include "llvm/Support/Atomic.h"
#include "llvm/Support/Valgrind.h"
Include dependency graph for Statistic.h:

Go to the source code of this file.

Classes

class  llvm::Statistic

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


Defines

#define STATISTIC(VARNAME, DESC)   static llvm::Statistic VARNAME = { DEBUG_TYPE, DESC, 0, 0 }

Functions

void llvm::EnableStatistics ()
 Enable the collection and printing of statistics.
bool llvm::AreStatisticsEnabled ()
 Check if statistics are enabled.
void llvm::PrintStatistics ()
 Print statistics to the file returned by CreateInfoOutputFile().
void llvm::PrintStatistics (raw_ostream &OS)
 Print statistics to the given output stream.

Define Documentation

#define STATISTIC (   VARNAME,
  DESC 
)    static llvm::Statistic VARNAME = { DEBUG_TYPE, DESC, 0, 0 }

Definition at line 164 of file Statistic.h.