LLVM API Documentation
#include <Record.h>
Public Member Functions | |
Record * | getRecord () const |
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 (UnOpInit *UI) override |
Init * | convertValue (BinOpInit *UI) override |
Init * | convertValue (TernOpInit *UI) override |
Init * | convertValue (DefInit *DI) override |
Init * | convertValue (DagInit *DI) override |
Init * | convertValue (TypedInit *VI) 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 RecordRecTy * | get (Record *R) |
Friends | |
class | Record |
RecordRecTy - '[classname]' - Represent an instance of a class, such as: (R32 X = EAX).
bool RecordRecTy::baseClassOf | ( | const RecTy * | RHS | ) | const [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 371 of file Record.cpp.
References llvm::dyn_cast(), getRecord(), llvm::Record::getSuperClasses(), llvm::Record::isSubClassOf(), and llvm::PPCISD::SC.
static bool llvm::RecordRecTy::classof | ( | const RecTy * | RT | ) | [inline, static] |
Definition at line 377 of file Record.h.
References llvm::RecTy::getRecTyKind(), and llvm::RecTy::RecordRecTyKind.
Init* llvm::RecordRecTy::convertValue | ( | UnsetInit * | UI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 385 of file Record.h.
Referenced by convertValue().
Init* llvm::RecordRecTy::convertValue | ( | BitInit * | BI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::RecordRecTy::convertValue | ( | BitsInit * | BI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::RecordRecTy::convertValue | ( | IntInit * | II | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::RecordRecTy::convertValue | ( | StringInit * | SI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::RecordRecTy::convertValue | ( | ListInit * | LI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::RecordRecTy::convertValue | ( | VarBitInit * | VB | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init* llvm::RecordRecTy::convertValue | ( | UnOpInit * | UI | ) | [inline, override, virtual] |
Init* llvm::RecordRecTy::convertValue | ( | BinOpInit * | UI | ) | [inline, override, virtual] |
Init* llvm::RecordRecTy::convertValue | ( | TernOpInit * | UI | ) | [inline, override, virtual] |
Init * RecordRecTy::convertValue | ( | DefInit * | DI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 355 of file Record.cpp.
References llvm::DefInit::getDef(), and llvm::Record::isSubClassOf().
Init* llvm::RecordRecTy::convertValue | ( | DagInit * | DI | ) | [inline, override, virtual] |
Reimplemented from llvm::RecTy.
Init * RecordRecTy::convertValue | ( | TypedInit * | VI | ) | [override, virtual] |
Reimplemented from llvm::RecTy.
Definition at line 362 of file Record.cpp.
References getRecord(), and llvm::TypedInit::getType().
Init* llvm::RecordRecTy::convertValue | ( | VarInit * | VI | ) | [inline, override, virtual] |
Init* llvm::RecordRecTy::convertValue | ( | FieldInit * | FI | ) | [inline, override, virtual] |
RecordRecTy * RecordRecTy::get | ( | Record * | R | ) | [static] |
Definition at line 347 of file Record.cpp.
References llvm::dyn_cast(), llvm::Record::getDefInit(), and llvm::TypedInit::getType().
Referenced by llvm::resolveTypes().
std::string RecordRecTy::getAsString | ( | ) | const [override, virtual] |
Implements llvm::RecTy.
Definition at line 351 of file Record.cpp.
References llvm::Record::getName().
Record* llvm::RecordRecTy::getRecord | ( | ) | const [inline] |
Definition at line 383 of file Record.h.
Referenced by baseClassOf(), and convertValue().
bool llvm::RecordRecTy::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 403 of file Record.h.
References llvm::RecTy::baseClassOf().