LLVM 20.0.0git
Public Member Functions | Static Public Member Functions | List of all members
llvm::DagRecTy Class Reference

'dag' - Represent a dag fragment More...

#include "llvm/TableGen/Record.h"

Inheritance diagram for llvm::DagRecTy:
Inheritance graph
[legend]

Public Member Functions

std::string getAsString () const override
 
- Public Member Functions inherited from llvm::RecTy
 RecTy (RecTyKind K, RecordKeeper &RK)
 
virtual ~RecTy ()=default
 
RecTyKind getRecTyKind () const
 
RecordKeepergetRecordKeeper () const
 Return the RecordKeeper that uniqued this Type.
 
virtual std::string getAsString () const =0
 
void print (raw_ostream &OS) const
 
void dump () const
 
virtual bool typeIsConvertibleTo (const RecTy *RHS) const
 Return true if all values of 'this' type can be converted to the specified type.
 
virtual bool typeIsA (const RecTy *RHS) const
 Return true if 'this' type is equal to or a subtype of RHS.
 
const ListRecTygetListTy () const
 Returns the type representing list<thistype>.
 

Static Public Member Functions

static bool classof (const RecTy *RT)
 
static const DagRecTyget (RecordKeeper &RK)
 

Additional Inherited Members

- Public Types inherited from llvm::RecTy
enum  RecTyKind {
  BitRecTyKind , BitsRecTyKind , IntRecTyKind , StringRecTyKind ,
  ListRecTyKind , DagRecTyKind , RecordRecTyKind
}
 Subclass discriminator (for dyn_cast<> et al.) More...
 

Detailed Description

'dag' - Represent a dag fragment

Definition at line 212 of file Record.h.

Member Function Documentation

◆ classof()

static bool llvm::DagRecTy::classof ( const RecTy RT)
inlinestatic

Definition at line 218 of file Record.h.

References llvm::RecTy::DagRecTyKind, and llvm::RecTy::getRecTyKind().

◆ get()

const DagRecTy * DagRecTy::get ( RecordKeeper RK)
static

◆ getAsString()

std::string DagRecTy::getAsString ( ) const
overridevirtual

Implements llvm::RecTy.

Definition at line 227 of file Record.cpp.


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