LLVM API Documentation
#include <Record.h>
Public Member Functions | |
unsigned | getNumBits () const |
Init * | convertValue (UnsetInit *UI) override |
Init * | convertValue (BitInit *UI) override |
Init * | convertValue (BitsInit *BI) override |
Init * | convertValue (IntInit *II) override |
Init * | convertValue (StringInit *SI) override |
Init * | convertValue (ListInit *LI) override |
Init * | convertValue (VarBitInit *VB) override |
Init * | convertValue (DefInit *DI) override |
Init * | convertValue (DagInit *DI) override |
Init * | convertValue (UnOpInit *UI) override |
Init * | convertValue (BinOpInit *UI) override |
Init * | convertValue (TernOpInit *UI) override |
Init * | convertValue (TypedInit *TI) override |
Init * | convertValue (VarInit *VI) override |
Init * | convertValue (FieldInit *FI) override |
std::string | getAsString () const override |
bool | typeIsConvertibleTo (const RecTy *RHS) const override |
bool | baseClassOf (const RecTy *) const override |
Static Public Member Functions | |
static bool | classof (const RecTy *RT) |
static BitsRecTy * | get (unsigned Sz) |
bool BitsRecTy::baseClassOf | ( | const RecTy * | RHS | ) | const [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 218 of file Record.cpp.
References llvm::RecTy::baseClassOf(), llvm::RecTy::BitRecTyKind, llvm::RecTy::getRecTyKind(), and llvm::RecTy::IntRecTyKind.
static bool llvm::BitsRecTy::classof | ( | const RecTy * | RT | ) | [inline, static] |
Definition at line 184 of file Record.h.
References llvm::RecTy::BitsRecTyKind, and llvm::RecTy::getRecTyKind().
Init * BitsRecTy::convertValue | ( | UnsetInit * | UI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 157 of file Record.cpp.
References get(), and llvm::UnsetInit::get().
Referenced by convertValue().
Init * BitsRecTy::convertValue | ( | BitInit * | UI | ) | [override, virtual] |
Init * BitsRecTy::convertValue | ( | BitsInit * | BI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 196 of file Record.cpp.
References llvm::BitsInit::getNumBits().
Init * BitsRecTy::convertValue | ( | IntInit * | II | ) | [override, virtual] |
convertValue from Int initializer to bits type: Split the integer up into the appropriate bits.
Reimplemented from llvm::RecTy.
Definition at line 182 of file Record.cpp.
References canFitInBitfield(), get(), llvm::BitInit::get(), and llvm::IntInit::getValue().
Init* llvm::BitsRecTy::convertValue | ( | StringInit * | SI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::BitsRecTy::convertValue | ( | ListInit * | LI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::BitsRecTy::convertValue | ( | VarBitInit * | VB | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::BitsRecTy::convertValue | ( | DefInit * | DI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::BitsRecTy::convertValue | ( | DagInit * | DI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::BitsRecTy::convertValue | ( | UnOpInit * | UI | ) | [inline, override, virtual] |
Init* llvm::BitsRecTy::convertValue | ( | BinOpInit * | UI | ) | [inline, override, virtual] |
Init* llvm::BitsRecTy::convertValue | ( | TernOpInit * | UI | ) | [inline, override, virtual] |
Init * BitsRecTy::convertValue | ( | TypedInit * | TI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 203 of file Record.cpp.
References get(), llvm::VarBitInit::get(), llvm::TypedInit::getType(), and llvm::RecTy::typeIsConvertibleTo().
Init* llvm::BitsRecTy::convertValue | ( | VarInit * | VI | ) | [inline, override, virtual] |
Init* llvm::BitsRecTy::convertValue | ( | FieldInit * | FI | ) | [inline, override, virtual] |
BitsRecTy * BitsRecTy::get | ( | unsigned | Sz | ) | [static] |
Definition at line 143 of file Record.cpp.
Referenced by convertValue().
std::string BitsRecTy::getAsString | ( | ) | const [override, virtual] |
unsigned llvm::BitsRecTy::getNumBits | ( | ) | const [inline] |
Definition at line 190 of file Record.h.
Referenced by llvm::TypedInit::convertInitializerBitRange().
bool llvm::BitsRecTy::typeIsConvertibleTo | ( | const RecTy * | RHS | ) | const [inline, override, virtual] |
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().