LLVM: llvm::RecTy Class Reference (original) (raw)

#include "[llvm/TableGen/Record.h](TableGen%5F2Record%5F8h%5Fsource.html)"

Public Types
enum RecTyKind { BitRecTyKind, BitsRecTyKind, IntRecTyKind, StringRecTyKind, ListRecTyKind, DagRecTyKind, RecordRecTyKind }
Subclass discriminator (for dyn_cast<> et al.) More...
Public Member Functions
RecTy (RecTyKind K, RecordKeeper &RK)
virtual ~RecTy ()=default
RecTyKind getRecTyKind () const
RecordKeeper & getRecordKeeper () const
Return the RecordKeeper that uniqued this Type.
virtual std::string getAsString () const =0
void print (raw_ostream &OS) const
void dump () const
virtual bool typeIsConvertibleTo (const RecTy *RHS) const
Return true if all values of 'this' type can be converted to the specified type.
virtual bool typeIsA (const RecTy *RHS) const
Return true if 'this' type is equal to or a subtype of RHS.
const ListRecTy * getListTy () const
Returns the type representing list.

Definition at line 61 of file Record.h.

RecTyKind

Subclass discriminator (for dyn_cast<> et al.)

Enumerator
BitRecTyKind
BitsRecTyKind
IntRecTyKind
StringRecTyKind
ListRecTyKind
DagRecTyKind
RecordRecTyKind

Definition at line 64 of file Record.h.

Definition at line 83 of file Record.h.

Referenced by llvm::BitRecTy::classof(), llvm::BitsRecTy::classof(), llvm::DagRecTy::classof(), llvm::IntRecTy::classof(), llvm::ListRecTy::classof(), llvm::RecordRecTy::classof(), llvm::StringRecTy::classof(), llvm::ListRecTy::get(), llvm::ListRecTy::getElementType(), llvm::ListRecTy::RecTy::getListTy, llvm::ListRecTy::typeIsA(), llvm::RecordRecTy::typeIsA(), typeIsA(), llvm::BitRecTy::typeIsConvertibleTo(), llvm::BitsRecTy::typeIsConvertibleTo(), llvm::IntRecTy::typeIsConvertibleTo(), llvm::ListRecTy::typeIsConvertibleTo(), llvm::RecordRecTy::typeIsConvertibleTo(), typeIsConvertibleTo(), and llvm::StringRecTy::typeIsConvertibleTo().

~RecTy()

virtual llvm::RecTy::~RecTy ( ) virtualdefault

dump()

getAsString()

virtual std::string llvm::RecTy::getAsString ( ) const pure virtual

getListTy()

getRecordKeeper()

RecordKeeper & llvm::RecTy::getRecordKeeper ( ) const inline

getRecTyKind()

RecTyKind llvm::RecTy::getRecTyKind ( ) const inline

print()

void llvm::RecTy::print ( raw_ostream & OS) const inline

typeIsA()

typeIsConvertibleTo()


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