LLVM API Documentation

Public Member Functions | Static Public Member Functions | Friends
llvm::RecordRecTy Class Reference

#include <Record.h>

Inheritance diagram for llvm::RecordRecTy:
Inheritance graph
[legend]
Collaboration diagram for llvm::RecordRecTy:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

RecordRecTy - '[classname]' - Represent an instance of a class, such as: (R32 X = EAX).

Definition at line 371 of file Record.h.


Member Function Documentation

bool RecordRecTy::baseClassOf ( const RecTy *  RHS) const [override, virtual]
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.

Definition at line 386 of file Record.h.

Init* llvm::RecordRecTy::convertValue ( BitsInit *  BI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 387 of file Record.h.

Init* llvm::RecordRecTy::convertValue ( IntInit *  II) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 388 of file Record.h.

Init* llvm::RecordRecTy::convertValue ( StringInit *  SI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 389 of file Record.h.

Init* llvm::RecordRecTy::convertValue ( ListInit *  LI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 390 of file Record.h.

Init* llvm::RecordRecTy::convertValue ( VarBitInit *  VB) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 391 of file Record.h.

Init* llvm::RecordRecTy::convertValue ( UnOpInit *  UI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 392 of file Record.h.

References convertValue().

Init* llvm::RecordRecTy::convertValue ( BinOpInit *  UI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 393 of file Record.h.

References convertValue().

Init* llvm::RecordRecTy::convertValue ( TernOpInit *  UI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 394 of file Record.h.

References convertValue().

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.

Definition at line 396 of file Record.h.

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]

Reimplemented from llvm::RecTy.

Definition at line 398 of file Record.h.

References convertValue().

Init* llvm::RecordRecTy::convertValue ( FieldInit *  FI) [inline, override, virtual]

Reimplemented from llvm::RecTy.

Definition at line 399 of file Record.h.

References convertValue().

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().


Friends And Related Function Documentation

friend class Record [friend]

Definition at line 374 of file Record.h.


The documentation for this class was generated from the following files: