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:237
Inherits from: RecTy, FoldingSetBase::Node, TrailingObjects
Method Overview
- public void Profile(llvm::FoldingSetNodeID & ID) const
- 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(ArrayRef<llvm::Record *> Classes)
- 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 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:260
Parameters
¶RecordRecTy(const llvm::RecordRecTy&)
RecordRecTy(const llvm::RecordRecTy&)
Declared at: llvm/include/llvm/TableGen/Record.h:247
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:268
¶llvm::RecordRecTy::const_record_iterator
classes_end() const
llvm::RecordRecTy::const_record_iterator
classes_end() const
Declared at: llvm/include/llvm/TableGen/Record.h:269
¶static bool classof(const llvm::RecTy* RT)
static bool classof(const llvm::RecTy* RT)
Declared at: llvm/include/llvm/TableGen/Record.h:253
Parameters
- const llvm::RecTy* RT
¶static llvm::RecordRecTy* get(
ArrayRef<llvm::Record*> Classes)
static llvm::RecordRecTy* get(
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:258
Parameters
- ArrayRef<llvm::Record*> Classes
¶std::string getAsString() const
std::string getAsString() const
Declared at: llvm/include/llvm/TableGen/Record.h:271
¶ArrayRef<llvm::Record*> getClasses() const
ArrayRef<llvm::Record*> getClasses() const
Declared at: llvm/include/llvm/TableGen/Record.h:262
¶bool isSubClassOf(llvm::Record* Class) const
bool isSubClassOf(llvm::Record* Class) const
Declared at: llvm/include/llvm/TableGen/Record.h:273
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:276
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:274
Parameters
- const llvm::RecTy* RHS