LLVM  3.7.0
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::ListRecTy Class Reference

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

#include <Record.h>

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

Public Member Functions

RecTygetElementType () const
 
std::string getAsString () const override
 
bool typeIsConvertibleTo (const RecTy *RHS) const override
 typeIsConvertibleTo - Return true if all values of 'this' type can be converted to the specified type. More...
 
- 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 155 of file Record.h.

Member Function Documentation

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

Definition at line 161 of file Record.h.

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

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

Definition at line 165 of file Record.h.

References llvm::RecTy::getListTy().

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

Implements llvm::RecTy.

Definition at line 140 of file Record.cpp.

References llvm::RecTy::getAsString().

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

Definition at line 166 of file Record.h.

bool ListRecTy::typeIsConvertibleTo ( const RecTy RHS) const
overridevirtual

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

Reimplemented from llvm::RecTy.

Definition at line 144 of file Record.cpp.

References llvm::RecTy::typeIsConvertibleTo().

Friends And Related Function Documentation


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