LLVM  3.7.0
Public Member Functions | List of all members
llvm::RecordKeeper Class Reference

#include <Record.h>

Public Member Functions

const RecordMap & getClasses () const
 
const RecordMap & getDefs () const
 
RecordgetClass (const std::string &Name) const
 
RecordgetDef (const std::string &Name) const
 
void addClass (std::unique_ptr< Record > R)
 
void addDef (std::unique_ptr< Record > R)
 
std::vector< Record * > getAllDerivedDefinitions (const std::string &ClassName) const
 getAllDerivedDefinitions - This method returns all concrete definitions that derive from the specified class name. More...
 
void dump () const
 

Detailed Description

Definition at line 1433 of file Record.h.

Member Function Documentation

void llvm::RecordKeeper::addClass ( std::unique_ptr< Record R)
inline

Definition at line 1449 of file Record.h.

References llvm::MipsISD::Ins.

void llvm::RecordKeeper::addDef ( std::unique_ptr< Record R)
inline

Definition at line 1455 of file Record.h.

References llvm::MipsISD::Ins.

void RecordKeeper::dump ( ) const

Definition at line 1875 of file Record.cpp.

References llvm::errs().

std::vector< Record * > RecordKeeper::getAllDerivedDefinitions ( const std::string &  ClassName) const

getAllDerivedDefinitions - This method returns all concrete definitions that derive from the specified class name.

If a class with the specified name does not exist, an exception is thrown.

If a class with the specified name does not exist, an error is printed and true is returned.

Definition at line 1893 of file Record.cpp.

References llvm::Class, getClass(), getDefs(), and llvm::PrintFatalError().

Record* llvm::RecordKeeper::getClass ( const std::string &  Name) const
inline

Definition at line 1441 of file Record.h.

References I.

Referenced by getAllDerivedDefinitions().

const RecordMap& llvm::RecordKeeper::getClasses ( ) const
inline

Definition at line 1438 of file Record.h.

Referenced by llvm::operator<<().

Record* llvm::RecordKeeper::getDef ( const std::string &  Name) const
inline

Definition at line 1445 of file Record.h.

References I.

const RecordMap& llvm::RecordKeeper::getDefs ( ) const
inline

Definition at line 1439 of file Record.h.

Referenced by getAllDerivedDefinitions(), and llvm::operator<<().


The documentation for this class was generated from the following files: