class RecTy

Declaration

class RecTy { /* full declaration omitted */ };

Declared at: llvm/include/llvm/TableGen/Record.h:57

Member Variables

private llvm::RecTy::RecTyKind Kind
private llvm::RecordKeeper& RK
The RecordKeeper that uniqued this Type.
private llvm::ListRecTy* ListTy = nullptr
ListRecTy of the list that has elements of this type.

Method Overview

  • public RecTy(llvm::RecTy::RecTyKind K, llvm::RecordKeeper & RK)
  • public void dump() const
  • public virtual std::string getAsString() const
  • public llvm::ListRecTy * getListTy()
  • public llvm::RecTy::RecTyKind getRecTyKind() const
  • public llvm::RecordKeeper & getRecordKeeper() const
  • public void print(llvm::raw_ostream & OS) const
  • public virtual bool typeIsA(const llvm::RecTy * RHS) const
  • public virtual bool typeIsConvertibleTo(const llvm::RecTy * RHS) const
  • public virtual ~RecTy()

Methods

RecTy(llvm::RecTy::RecTyKind K,
      llvm::RecordKeeper& RK)

Declared at: llvm/include/llvm/TableGen/Record.h:78

Parameters

llvm::RecTy::RecTyKind K
llvm::RecordKeeper& RK

void dump() const

Declared at: llvm/include/llvm/TableGen/Record.h:88

virtual std::string getAsString() const

Declared at: llvm/include/llvm/TableGen/Record.h:86

llvm::ListRecTy* getListTy()

Description

Returns the type representing list <thistype >.

Declared at: llvm/include/llvm/TableGen/Record.h:99

llvm::RecTy::RecTyKind getRecTyKind() const

Declared at: llvm/include/llvm/TableGen/Record.h:81

llvm::RecordKeeper& getRecordKeeper() const

Description

Return the RecordKeeper that uniqued this Type.

Declared at: llvm/include/llvm/TableGen/Record.h:84

void print(llvm::raw_ostream& OS) const

Declared at: llvm/include/llvm/TableGen/Record.h:87

Parameters

llvm::raw_ostream& OS

virtual bool typeIsA(const llvm::RecTy* RHS) const

Description

Return true if 'this' type is equal to or a subtype of RHS. For example, a bit set is not an int, but they are convertible.

Declared at: llvm/include/llvm/TableGen/Record.h:96

Parameters

const llvm::RecTy* RHS

virtual bool typeIsConvertibleTo(
    const llvm::RecTy* RHS) const

Description

Return true if all values of 'this' type can be converted to the specified type.

Declared at: llvm/include/llvm/TableGen/Record.h:92

Parameters

const llvm::RecTy* RHS

virtual ~RecTy()

Declared at: llvm/include/llvm/TableGen/Record.h:79