LLVM API Documentation

Public Member Functions
llvm::RecordKeeper Class Reference

#include <Record.h>

List of all members.

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 (Record *_R)
void addDef (Record *_R)
std::vector< Record * > getAllDerivedDefinitions (const std::string &ClassName) const
void dump () const

Detailed Description

Definition at line 1675 of file Record.h.


Member Function Documentation

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]

Definition at line 1683 of file Record.h.

References I.

Referenced by getAllDerivedDefinitions().

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]

Definition at line 1687 of file Record.h.

References I.

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

Definition at line 1681 of file Record.h.

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


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