LLVM API Documentation
#include <Statistic.h>
Inheritance diagram for llvm::StatisticBase:
Protected Member Functions | |
StatisticBase (const char *name, const char *desc) | |
virtual | ~StatisticBase () |
void | destroy () const |
virtual void | printValue (std::ostream &o) const =0 |
virtual bool | hasSomeData () const =0 |
Definition at line 32 of file Statistic.h.
llvm::StatisticBase::StatisticBase | ( | const char * | name, | |
const char * | desc | |||
) | [inline, protected] |
Definition at line 37 of file Statistic.h.
virtual llvm::StatisticBase::~StatisticBase | ( | ) | [inline, protected, virtual] |
Definition at line 40 of file Statistic.h.
void StatisticBase::destroy | ( | ) | const [protected] |
Definition at line 65 of file Statistic.cpp.
References Enabled, llvm::GetLibSupportInfoOutputFile(), hasSomeData(), Out, and printValue().
Referenced by llvm::Statistic< DataType >::~Statistic().
virtual bool llvm::StatisticBase::hasSomeData | ( | ) | const [protected, pure virtual] |
Referenced by destroy().
virtual void llvm::StatisticBase::printValue | ( | std::ostream & | o | ) | const [protected, pure virtual] |
Referenced by destroy().