LLVM API Documentation
#include <Record.h>
Public Member Functions | |
Init * | convertValue (UnsetInit *UI) override |
Init * | convertValue (BitInit *BI) 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 IntRecTy * | get () |
IntRecTy - 'int' - Represent an integer value of no particular size
bool IntRecTy::baseClassOf | ( | const RecTy * | RHS | ) | const [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 246 of file Record.cpp.
References llvm::RecTy::BitRecTyKind, llvm::RecTy::BitsRecTyKind, llvm::RecTy::getRecTyKind(), and llvm::RecTy::IntRecTyKind.
static bool llvm::IntRecTy::classof | ( | const RecTy * | RT | ) | [inline, static] |
Definition at line 223 of file Record.h.
References llvm::RecTy::getRecTyKind(), and llvm::RecTy::IntRecTyKind.
Init* llvm::IntRecTy::convertValue | ( | UnsetInit * | UI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 229 of file Record.h.
Referenced by convertValue().
Init * IntRecTy::convertValue | ( | BitInit * | BI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 225 of file Record.cpp.
References get(), and llvm::BitInit::getValue().
Init * IntRecTy::convertValue | ( | BitsInit * | BI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 229 of file Record.cpp.
References llvm::tgtok::Bit, get(), llvm::BitsInit::getBit(), and llvm::BitsInit::getNumBits().
Init* llvm::IntRecTy::convertValue | ( | IntInit * | II | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::IntRecTy::convertValue | ( | StringInit * | SI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::IntRecTy::convertValue | ( | ListInit * | LI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::IntRecTy::convertValue | ( | VarBitInit * | VB | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::IntRecTy::convertValue | ( | DefInit * | DI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::IntRecTy::convertValue | ( | DagInit * | DI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::IntRecTy::convertValue | ( | UnOpInit * | UI | ) | [inline, override, virtual] |
Init* llvm::IntRecTy::convertValue | ( | BinOpInit * | UI | ) | [inline, override, virtual] |
Init* llvm::IntRecTy::convertValue | ( | TernOpInit * | UI | ) | [inline, override, virtual] |
Init * IntRecTy::convertValue | ( | TypedInit * | TI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 240 of file Record.cpp.
References llvm::TypedInit::getType(), and llvm::RecTy::typeIsConvertibleTo().
Init* llvm::IntRecTy::convertValue | ( | VarInit * | VI | ) | [inline, override, virtual] |
Init* llvm::IntRecTy::convertValue | ( | FieldInit * | FI | ) | [inline, override, virtual] |
static IntRecTy* llvm::IntRecTy::get | ( | ) | [inline, static] |
Definition at line 227 of file Record.h.
Referenced by convertValue(), llvm::BinOpInit::Fold(), llvm::TernOpInit::Fold(), and llvm::TernOpInit::resolveReferences().
std::string llvm::IntRecTy::getAsString | ( | ) | const [inline, override, virtual] |
Implements llvm::RecTy.
bool llvm::IntRecTy::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 247 of file Record.h.
References llvm::RecTy::baseClassOf().