class RecordRecTy
Declaration
class RecordRecTy : public RecTy, public Node, public TrailingObjects { /* full declaration omitted */ };
Description
'[classname]' - Type of record values that have zero or more superclasses. The list of superclasses is non-redundant, i.e. only contains classes that are not the superclass of some other listed class.
Declared at: llvm/include/llvm/TableGen/Record.h:229
Inherits from: RecTy, FoldingSetBase::Node, TrailingObjects
Member Variables
- private unsigned int NumClasses
Method Overview
- public void Profile(llvm::FoldingSetNodeID & ID) const
- private RecordRecTy(llvm::RecordKeeper & RK, unsigned int Num)
- public RecordRecTy(const llvm::RecordRecTy &)
- public llvm::RecordRecTy::const_record_iterator classes_begin() const
- public llvm::RecordRecTy::const_record_iterator classes_end() const
- public static bool classof(const llvm::RecTy * RT)
- public static llvm::RecordRecTy * get(llvm::RecordKeeper & RK, ArrayRef<llvm::Record *> Classes)
- public static llvm::RecordRecTy * get(llvm::Record * Class)
- public std::string getAsString() const
- public ArrayRef<llvm::Record *> getClasses() const
- public bool isSubClassOf(llvm::Record * Class) const
- public bool typeIsA(const llvm::RecTy * RHS) const
- public bool typeIsConvertibleTo(const llvm::RecTy * RHS) const
Inherited from FoldingSetBase::Node:
Inherited from RecTy:
- public dump
- public getAsString
- public getListTy
- public getRecTyKind
- public getRecordKeeper
- public print
- public typeIsA
- public typeIsConvertibleTo
Methods
¶void Profile(llvm::FoldingSetNodeID& ID) const
void Profile(llvm::FoldingSetNodeID& ID) const
Declared at: llvm/include/llvm/TableGen/Record.h:254
Parameters
¶RecordRecTy(llvm::RecordKeeper& RK,
unsigned int Num)
RecordRecTy(llvm::RecordKeeper& RK,
unsigned int Num)
Declared at: llvm/include/llvm/TableGen/Record.h:236
Parameters
- llvm::RecordKeeper& RK
- unsigned int Num
¶RecordRecTy(const llvm::RecordRecTy&)
RecordRecTy(const llvm::RecordRecTy&)
Declared at: llvm/include/llvm/TableGen/Record.h:240
Parameters
- const llvm::RecordRecTy&
¶llvm::RecordRecTy::const_record_iterator
classes_begin() const
llvm::RecordRecTy::const_record_iterator
classes_begin() const
Declared at: llvm/include/llvm/TableGen/Record.h:262
¶llvm::RecordRecTy::const_record_iterator
classes_end() const
llvm::RecordRecTy::const_record_iterator
classes_end() const
Declared at: llvm/include/llvm/TableGen/Record.h:263
¶static bool classof(const llvm::RecTy* RT)
static bool classof(const llvm::RecTy* RT)
Declared at: llvm/include/llvm/TableGen/Record.h:246
Parameters
- const llvm::RecTy* RT
¶static llvm::RecordRecTy* get(
llvm::RecordKeeper& RK,
ArrayRef<llvm::Record*> Classes)
static llvm::RecordRecTy* get(
llvm::RecordKeeper& RK,
ArrayRef<llvm::Record*> Classes)
Description
Get the record type with the given non-redundant list of superclasses.
Declared at: llvm/include/llvm/TableGen/Record.h:251
Parameters
- llvm::RecordKeeper& RK
- ArrayRef<llvm::Record*> Classes
¶static llvm::RecordRecTy* get(llvm::Record* Class)
static llvm::RecordRecTy* get(llvm::Record* Class)
Declared at: llvm/include/llvm/TableGen/Record.h:252
Parameters
- llvm::Record* Class
¶std::string getAsString() const
std::string getAsString() const
Declared at: llvm/include/llvm/TableGen/Record.h:265
¶ArrayRef<llvm::Record*> getClasses() const
ArrayRef<llvm::Record*> getClasses() const
Declared at: llvm/include/llvm/TableGen/Record.h:256
¶bool isSubClassOf(llvm::Record* Class) const
bool isSubClassOf(llvm::Record* Class) const
Declared at: llvm/include/llvm/TableGen/Record.h:267
Parameters
- llvm::Record* Class
¶bool typeIsA(const llvm::RecTy* RHS) const
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:270
Parameters
- const llvm::RecTy* RHS
¶bool typeIsConvertibleTo(
const llvm::RecTy* RHS) const
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:268
Parameters
- const llvm::RecTy* RHS