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 |
Static Public Member Functions | |
| static bool | classof (const RecTy *RT) |
| static BitsRecTy * | get (unsigned Sz) |
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 get(), and llvm::UnsetInit::get().
Referenced by convertValue().
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(), get(), llvm::BitInit::get(), and llvm::IntInit::getValue().
| virtual Init* llvm::BitsRecTy::convertValue | ( | StringInit * | SI | ) | [inline, virtual] |
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
| virtual Init* llvm::BitsRecTy::convertValue | ( | VarBitInit * | VB | ) | [inline, virtual] |
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
Reimplemented from llvm::RecTy.
| virtual Init* llvm::BitsRecTy::convertValue | ( | TernOpInit * | UI | ) | [inline, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 190 of file Record.cpp.
References get(), llvm::VarBitInit::get(), llvm::TypedInit::getType(), and llvm::RecTy::typeIsConvertibleTo().
Definition at line 130 of file Record.cpp.
Referenced by convertValue().
| std::string BitsRecTy::getAsString | ( | ) | const [virtual] |
| unsigned llvm::BitsRecTy::getNumBits | ( | ) | const [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().