LLVM  6.0.0svn
Classes | Namespaces | Macros | Functions
Statistic.h File Reference
#include "llvm/Support/Atomic.h"
#include "llvm/Support/Compiler.h"
#include <atomic>
#include <memory>
Include dependency graph for Statistic.h:

Go to the source code of this file.

Classes

class  llvm::Statistic
 

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Macros

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

Functions

void llvm::EnableStatistics (bool PrintOnExit=true)
 Enable the collection and printing of statistics. More...
 
bool llvm::AreStatisticsEnabled ()
 Check if statistics are enabled. More...
 
std::unique_ptr< raw_fd_ostreamllvm::CreateInfoOutputFile ()
 Return a file stream to print our output on. More...
 
void llvm::PrintStatistics ()
 Print statistics to the file returned by CreateInfoOutputFile(). More...
 
void llvm::PrintStatistics (raw_ostream &OS)
 Print statistics to the given output stream. More...
 
void llvm::PrintStatisticsJSON (raw_ostream &OS)
 Print statistics in JSON format. More...
 

Macro Definition Documentation

◆ STATISTIC

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

Definition at line 162 of file Statistic.h.