LLVM API Documentation
#include <Record.h>
Public Member Functions | |
unsigned | getNumBits () const |
virtual Init * | convertValue (UnsetInit *UI) |
virtual Init * | convertValue (BitInit *UI) |
virtual Init * | convertValue (BitsInit *BI) |
virtual Init * | convertValue (IntInit *II) |
virtual Init * | convertValue (StringInit *SI) |
virtual Init * | convertValue (ListInit *LI) |
virtual Init * | convertValue (VarBitInit *VB) |
virtual Init * | convertValue (DefInit *DI) |
virtual Init * | convertValue (DagInit *DI) |
virtual Init * | convertValue (UnOpInit *UI) |
virtual Init * | convertValue (BinOpInit *UI) |
virtual Init * | convertValue (TernOpInit *UI) |
virtual Init * | convertValue (TypedInit *TI) |
virtual Init * | convertValue (VarInit *VI) |
virtual Init * | convertValue (FieldInit *FI) |
virtual std::string | getAsString () const |
virtual bool | typeIsConvertibleTo (const RecTy *RHS) const |
virtual bool | baseClassOf (const RecTy *) const |
![]() | |
RecTyKind | getRecTyKind () const |
RecTy (RecTyKind K) | |
virtual | ~RecTy () |
void | print (raw_ostream &OS) const |
void | dump () const |
ListRecTy * | getListTy () |
getListTy - Returns the type representing list<this>. More... | |
Static Public Member Functions | |
static bool | classof (const RecTy *RT) |
static BitsRecTy * | get (unsigned Sz) |
Additional Inherited Members | |
![]() | |
enum | RecTyKind { BitRecTyKind, BitsRecTyKind, IntRecTyKind, StringRecTyKind, ListRecTyKind, DagRecTyKind, RecordRecTyKind } |
Subclass discriminator (for dyn_cast<> et al.) More... | |
Reimplemented from llvm::RecTy.
Definition at line 205 of file Record.cpp.
References llvm::RecTy::baseClassOf(), llvm::RecTy::BitRecTyKind, llvm::RecTy::getRecTyKind(), and llvm::RecTy::IntRecTyKind.
Definition at line 184 of file Record.h.
References llvm::RecTy::BitsRecTyKind, and llvm::RecTy::getRecTyKind().
Reimplemented from llvm::RecTy.
Definition at line 144 of file Record.cpp.
References llvm::UnsetInit::get(), and llvm::BitsInit::get().
Reimplemented from llvm::RecTy.
Definition at line 153 of file Record.cpp.
References llvm::BitsInit::get().
Reimplemented from llvm::RecTy.
Definition at line 183 of file Record.cpp.
References llvm::BitsInit::getNumBits().
convertValue from Int initializer to bits type: Split the integer up into the appropriate bits.
Reimplemented from llvm::RecTy.
Definition at line 169 of file Record.cpp.
References canFitInBitfield(), llvm::BitInit::get(), llvm::BitsInit::get(), and llvm::IntInit::getValue().
|
inlinevirtual |
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
|
inlinevirtual |
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
Definition at line 201 of file Record.h.
References llvm::RecTy::convertValue().
Reimplemented from llvm::RecTy.
Definition at line 202 of file Record.h.
References llvm::RecTy::convertValue().
|
inlinevirtual |
Reimplemented from llvm::RecTy.
Definition at line 203 of file Record.h.
References llvm::RecTy::convertValue().
Reimplemented from llvm::RecTy.
Definition at line 190 of file Record.cpp.
References llvm::BitsInit::get(), llvm::VarBitInit::get(), llvm::TypedInit::getType(), and llvm::RecTy::typeIsConvertibleTo().
Reimplemented from llvm::RecTy.
Definition at line 205 of file Record.h.
References llvm::RecTy::convertValue().
Reimplemented from llvm::RecTy.
Definition at line 206 of file Record.h.
References llvm::RecTy::convertValue().
Definition at line 130 of file Record.cpp.
|
virtual |
|
inline |
Definition at line 190 of file Record.h.
Referenced by llvm::TypedInit::convertInitializerBitRange().
typeIsConvertibleTo - Return true if all values of 'this' type can be converted to the specified type.
Implements llvm::RecTy.
Definition at line 210 of file Record.h.
References llvm::RecTy::baseClassOf().