LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::RecordRecTy Class Reference

#include <Record.h>

Inheritance diagram for llvm::RecordRecTy:
Inheritance graph
[legend]
Collaboration diagram for llvm::RecordRecTy:
Collaboration graph
[legend]

Public Member Functions

RecordgetRecord () const
 
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 (VarBitInit *VB)
 
virtual InitconvertValue (UnOpInit *UI)
 
virtual InitconvertValue (BinOpInit *UI)
 
virtual InitconvertValue (TernOpInit *UI)
 
virtual InitconvertValue (DefInit *DI)
 
virtual InitconvertValue (DagInit *DI)
 
virtual InitconvertValue (TypedInit *VI)
 
virtual InitconvertValue (VarInit *VI)
 
virtual InitconvertValue (FieldInit *FI)
 
virtual std::string getAsString () const
 
virtual bool typeIsConvertibleTo (const RecTy *RHS) const
 
virtual bool baseClassOf (const RecTy *) const
 
- Public Member Functions inherited from llvm::RecTy
RecTyKind getRecTyKind () const
 
 RecTy (RecTyKind K)
 
virtual ~RecTy ()
 
void print (raw_ostream &OS) const
 
void dump () const
 
ListRecTygetListTy ()
 getListTy - Returns the type representing list<this>. More...
 

Static Public Member Functions

static bool classof (const RecTy *RT)
 
static RecordRecTyget (Record *R)
 

Friends

class Record
 

Additional Inherited Members

- Public Types inherited from llvm::RecTy
enum  RecTyKind {
  BitRecTyKind, BitsRecTyKind, IntRecTyKind, StringRecTyKind,
  ListRecTyKind, DagRecTyKind, RecordRecTyKind
}
 Subclass discriminator (for dyn_cast<> et al.) More...
 

Detailed Description

RecordRecTy - '[classname]' - Represent an instance of a class, such as: (R32 X = EAX).

Definition at line 369 of file Record.h.

Member Function Documentation

bool RecordRecTy::baseClassOf ( const RecTy RHS) const
virtual
static bool llvm::RecordRecTy::classof ( const RecTy RT)
inlinestatic

Definition at line 374 of file Record.h.

References llvm::RecTy::getRecTyKind(), and llvm::RecTy::RecordRecTyKind.

virtual Init* llvm::RecordRecTy::convertValue ( UnsetInit UI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 382 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( BitInit BI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 383 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( BitsInit BI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 384 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( IntInit II)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 385 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( StringInit SI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 386 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( ListInit LI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 387 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( VarBitInit VB)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 388 of file Record.h.

virtual Init* llvm::RecordRecTy::convertValue ( UnOpInit UI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 389 of file Record.h.

References llvm::RecTy::convertValue().

virtual Init* llvm::RecordRecTy::convertValue ( BinOpInit UI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 390 of file Record.h.

References llvm::RecTy::convertValue().

virtual Init* llvm::RecordRecTy::convertValue ( TernOpInit UI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 391 of file Record.h.

References llvm::RecTy::convertValue().

Init * RecordRecTy::convertValue ( DefInit DI)
virtual

Reimplemented from llvm::RecTy.

Definition at line 342 of file Record.cpp.

References llvm::DefInit::getDef(), and llvm::Record::isSubClassOf().

virtual Init* llvm::RecordRecTy::convertValue ( DagInit DI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 393 of file Record.h.

Init * RecordRecTy::convertValue ( TypedInit VI)
virtual

Reimplemented from llvm::RecTy.

Definition at line 349 of file Record.cpp.

References getRecord(), and llvm::TypedInit::getType().

virtual Init* llvm::RecordRecTy::convertValue ( VarInit VI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 395 of file Record.h.

References llvm::RecTy::convertValue().

virtual Init* llvm::RecordRecTy::convertValue ( FieldInit FI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 396 of file Record.h.

References llvm::RecTy::convertValue().

RecordRecTy * RecordRecTy::get ( Record R)
static

Definition at line 334 of file Record.cpp.

References llvm::dyn_cast(), llvm::Record::getDefInit(), and llvm::TypedInit::getType().

Referenced by llvm::resolveTypes().

std::string RecordRecTy::getAsString ( ) const
virtual

Implements llvm::RecTy.

Definition at line 338 of file Record.cpp.

References llvm::Record::getName().

Record* llvm::RecordRecTy::getRecord ( ) const
inline

Definition at line 380 of file Record.h.

Referenced by baseClassOf(), and convertValue().

virtual bool llvm::RecordRecTy::typeIsConvertibleTo ( const RecTy RHS) const
inlinevirtual

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

Implements llvm::RecTy.

Definition at line 400 of file Record.h.

References llvm::RecTy::baseClassOf().

Friends And Related Function Documentation

friend class Record
friend

Definition at line 372 of file Record.h.


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