LLVM API Documentation
#include <Record.h>
Public Member Functions | |
| const RecordMap & | getClasses () const |
| const RecordMap & | getDefs () const |
| Record * | getClass (const std::string &Name) const |
| Record * | getDef (const std::string &Name) const |
| void | addClass (Record *_R) |
| void | addDef (Record *_R) |
| std::vector< Record * > | getAllDerivedDefinitions (const std::string &ClassName) const |
| void | dump () const |
| void llvm::RecordKeeper::addClass | ( | Record * | _R | ) | [inline] |
Definition at line 1691 of file Record.h.
References llvm::MipsISD::Ins.
| void llvm::RecordKeeper::addDef | ( | Record * | _R | ) | [inline] |
Definition at line 1698 of file Record.h.
References llvm::MipsISD::Ins.
| void RecordKeeper::dump | ( | ) | const |
Definition at line 2006 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.
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 error is printed and true is returned.
Definition at line 2026 of file Record.cpp.
References llvm::tgtok::Class, getClass(), getDefs(), and llvm::PrintFatalError().
| Record* llvm::RecordKeeper::getClass | ( | const std::string & | Name | ) | const [inline] |
| const RecordMap& llvm::RecordKeeper::getClasses | ( | ) | const [inline] |
Definition at line 1680 of file Record.h.
Referenced by llvm::operator<<().
| Record* llvm::RecordKeeper::getDef | ( | const std::string & | Name | ) | const [inline] |
| const RecordMap& llvm::RecordKeeper::getDefs | ( | ) | const [inline] |
Definition at line 1681 of file Record.h.
Referenced by getAllDerivedDefinitions(), and llvm::operator<<().