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

#include "llvm/TableGen/Record.h"

Public Member Functions

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

Detailed Description

Definition at line 1527 of file Record.h.

Member Function Documentation

◆ addClass()

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

Definition at line 1545 of file Record.h.

References assert(), and llvm::MipsISD::Ins.

◆ addDef()

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

Definition at line 1552 of file Record.h.

References assert(), llvm::RecTy::dump(), and llvm::MipsISD::Ins.

◆ dump()

LLVM_DUMP_METHOD void RecordKeeper::dump ( ) const

Definition at line 1867 of file Record.cpp.

References llvm::errs().

◆ getAllDerivedDefinitions()

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

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

A class with the specified name must exist.

Definition at line 1882 of file Record.cpp.

References D, and llvm::PrintFatalError().

◆ getClass()

Record* llvm::RecordKeeper::getClass ( StringRef  Name) const
inline

Definition at line 1535 of file Record.h.

References I.

◆ getClasses()

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

Definition at line 1532 of file Record.h.

Referenced by llvm::operator<<().

◆ getDef()

Record* llvm::RecordKeeper::getDef ( StringRef  Name) const
inline

Definition at line 1540 of file Record.h.

References I.

◆ getDefs()

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

Definition at line 1533 of file Record.h.

Referenced by llvm::operator<<().


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