LLVM API Documentation

Public Types | Public Member Functions
llvm::RecTy Class Reference

#include <Record.h>

Inheritance diagram for llvm::RecTy:
Inheritance graph
[legend]

List of all members.

Public Types

enum  RecTyKind {
  BitRecTyKind, BitsRecTyKind, IntRecTyKind, StringRecTyKind,
  ListRecTyKind, DagRecTyKind, RecordRecTyKind
}
 Subclass discriminator (for dyn_cast<> et al.) More...

Public Member Functions

RecTyKind getRecTyKind () const
 RecTy (RecTyKind K)
virtual ~RecTy ()
virtual std::string getAsString () const =0
void print (raw_ostream &OS) const
void dump () const
virtual bool typeIsConvertibleTo (const RecTy *RHS) const =0
ListRecTygetListTy ()
 getListTy - Returns the type representing list<this>.
virtual InitconvertValue (UnsetInit *UI)
virtual InitconvertValue (BitInit *BI)
virtual InitconvertValue (BitsInit *BI)
virtual InitconvertValue (IntInit *II)
virtual InitconvertValue (StringInit *SI)
virtual InitconvertValue (ListInit *LI)
virtual InitconvertValue (UnOpInit *UI)
virtual InitconvertValue (BinOpInit *UI)
virtual InitconvertValue (TernOpInit *UI)
virtual InitconvertValue (VarBitInit *VB)
virtual InitconvertValue (DefInit *DI)
virtual InitconvertValue (DagInit *DI)
virtual InitconvertValue (TypedInit *TI)
virtual InitconvertValue (VarInit *VI)
virtual InitconvertValue (FieldInit *FI)
virtual bool baseClassOf (const RecTy *) const

Detailed Description

Definition at line 69 of file Record.h.


Member Enumeration Documentation

Subclass discriminator (for dyn_cast<> et al.)

Enumerator:
BitRecTyKind 
BitsRecTyKind 
IntRecTyKind 
StringRecTyKind 
ListRecTyKind 
DagRecTyKind 
RecordRecTyKind 

Definition at line 72 of file Record.h.


Constructor & Destructor Documentation

llvm::RecTy::RecTy ( RecTyKind  K) [inline]

Definition at line 90 of file Record.h.

virtual llvm::RecTy::~RecTy ( ) [inline, virtual]

Definition at line 91 of file Record.h.


Member Function Documentation

bool RecTy::baseClassOf ( const RecTy RHS) const [virtual]
virtual Init* llvm::RecTy::convertValue ( UnsetInit UI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( BitInit BI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( BitsInit BI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( IntInit II) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( StringInit SI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( ListInit LI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( UnOpInit UI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( BinOpInit UI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( TernOpInit UI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( VarBitInit VB) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( DefInit DI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( DagInit DI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( TypedInit TI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( VarInit VI) [inline, virtual]
virtual Init* llvm::RecTy::convertValue ( FieldInit FI) [inline, virtual]
void RecTy::dump ( ) const

Definition at line 90 of file Record.cpp.

References llvm::errs(), and print().

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

getListTy - Returns the type representing list<this>.

Definition at line 92 of file Record.cpp.

Referenced by llvm::ListRecTy::get().

void llvm::RecTy::print ( raw_ostream OS) const [inline]

Definition at line 94 of file Record.h.

References getAsString().

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

virtual bool llvm::RecTy::typeIsConvertibleTo ( const RecTy RHS) const [pure virtual]

typeIsConvertibleTo - Return true if all values of 'this' type can be converted to the specified type.

Implemented in llvm::RecordRecTy, llvm::DagRecTy, llvm::ListRecTy, llvm::StringRecTy, llvm::IntRecTy, llvm::BitsRecTy, and llvm::BitRecTy.

Referenced by llvm::BitsRecTy::convertValue(), llvm::IntRecTy::convertValue(), llvm::DagRecTy::convertValue(), and llvm::resolveTypes().


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