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::ListRecTy Class Reference

#include <Record.h>

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

Public Member Functions

RecTygetElementType () 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 (DefInit *DI)
 
virtual InitconvertValue (DagInit *DI)
 
virtual InitconvertValue (UnOpInit *UI)
 
virtual InitconvertValue (BinOpInit *UI)
 
virtual InitconvertValue (TernOpInit *UI)
 
virtual InitconvertValue (TypedInit *TI)
 
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 ListRecTyget (RecTy *T)
 

Friends

ListRecTyRecTy::getListTy ()
 

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

ListRecTy - 'list<Ty>' - Represent a list of values, all of which must be of the specified type.

Definition at line 293 of file Record.h.

Member Function Documentation

bool ListRecTy::baseClassOf ( const RecTy RHS) const
virtual

Reimplemented from llvm::RecTy.

Definition at line 299 of file Record.cpp.

static bool llvm::ListRecTy::classof ( const RecTy RT)
inlinestatic

Definition at line 298 of file Record.h.

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

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

Reimplemented from llvm::RecTy.

Definition at line 305 of file Record.h.

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

Reimplemented from llvm::RecTy.

Definition at line 306 of file Record.h.

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

Reimplemented from llvm::RecTy.

Definition at line 307 of file Record.h.

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

Reimplemented from llvm::RecTy.

Definition at line 308 of file Record.h.

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

Reimplemented from llvm::RecTy.

Definition at line 309 of file Record.h.

Init * ListRecTy::convertValue ( ListInit LI)
virtual
virtual Init* llvm::ListRecTy::convertValue ( VarBitInit VB)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 311 of file Record.h.

virtual Init* llvm::ListRecTy::convertValue ( DefInit DI)
inlinevirtual

Reimplemented from llvm::RecTy.

Definition at line 312 of file Record.h.

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

Reimplemented from llvm::RecTy.

Definition at line 313 of file Record.h.

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

Reimplemented from llvm::RecTy.

Definition at line 314 of file Record.h.

References llvm::RecTy::convertValue().

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

Reimplemented from llvm::RecTy.

Definition at line 315 of file Record.h.

References llvm::RecTy::convertValue().

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

Reimplemented from llvm::RecTy.

Definition at line 316 of file Record.h.

References llvm::RecTy::convertValue().

Init * ListRecTy::convertValue ( TypedInit TI)
virtual

Reimplemented from llvm::RecTy.

Definition at line 291 of file Record.cpp.

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

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

Reimplemented from llvm::RecTy.

Definition at line 318 of file Record.h.

References llvm::RecTy::convertValue().

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

Reimplemented from llvm::RecTy.

Definition at line 319 of file Record.h.

References llvm::RecTy::convertValue().

static ListRecTy* llvm::ListRecTy::get ( RecTy T)
inlinestatic

Definition at line 302 of file Record.h.

References llvm::RecTy::getListTy().

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

Implements llvm::RecTy.

Definition at line 270 of file Record.cpp.

References llvm::RecTy::getAsString().

RecTy* llvm::ListRecTy::getElementType ( ) const
inline

Definition at line 303 of file Record.h.

Referenced by convertValue(), and llvm::ListInit::Profile().

virtual bool llvm::ListRecTy::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 323 of file Record.h.

References llvm::RecTy::baseClassOf().

Friends And Related Function Documentation


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