LLVM API Documentation
#include <Record.h>
Public Member Functions | |
~RecordKeeper () | |
const std::map< std::string, Record * > & | getClasses () const |
const std::map< std::string, Record * > & | getDefs () const |
Record * | getClass (const std::string &Name) const |
Record * | getDef (const std::string &Name) const |
void | addClass (Record *R) |
void | addDef (Record *R) |
void | removeClass (const std::string &Name) |
void | removeDef (const std::string &Name) |
std::vector< Record * > | getAllDerivedDefinitions (const std::string &ClassName) const |
void | dump () const |
|
inline |
|
inline |
Definition at line 1671 of file Record.h.
References llvm::Record::getName(), and llvm::MipsISD::Ins.
Referenced by llvm::Record::setName().
|
inline |
Definition at line 1676 of file Record.h.
References llvm::Record::getName(), and llvm::MipsISD::Ins.
Referenced by llvm::Record::setName().
void RecordKeeper::dump | ( | ) | const |
Definition at line 1995 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 2017 of file Record.cpp.
References llvm::sys::path::begin(), llvm::tgtok::Class, llvm::sys::path::end(), getClass(), getDefs(), I, and llvm::PrintFatalError().
|
inline |
Definition at line 1663 of file Record.h.
References I.
Referenced by getAllDerivedDefinitions(), and llvm::Record::setName().
|
inline |
Definition at line 1660 of file Record.h.
Referenced by llvm::operator<<().
|
inline |
|
inline |
Definition at line 1661 of file Record.h.
Referenced by getAllDerivedDefinitions(), and llvm::operator<<().
|
inline |
removeClass - Remove, but do not delete, the specified record.
Definition at line 1684 of file Record.h.
Referenced by llvm::Record::setName().
|
inline |
removeDef - Remove, but do not delete, the specified record.
Definition at line 1690 of file Record.h.
Referenced by llvm::Record::setName().