MLIR  19.0.0git
Public Member Functions | List of all members
mlir::tblgen::Type Class Reference

#include "mlir/TableGen/Type.h"

+ Inheritance diagram for mlir::tblgen::Type:

Public Member Functions

 Type (const llvm::Record *record)
Dialect getDialect () const
- Public Member Functions inherited from mlir::tblgen::TypeConstraint
 TypeConstraint (const llvm::DefInit *record)
bool isOptional () const
bool isVariadic () const
bool isVariadicOfVariadic () const
StringRef getVariadicOfVariadicSegmentSizeAttr () const
bool isVariableLength () const
std::optional< StringRef > getBuilderCall () const
std::string getCPPClassName () const
 Constraint (const llvm::Record *record, Kind kind)
 Constraint (const llvm::Record *record)
- Public Member Functions inherited from mlir::tblgen::Constraint
 Constraint (const llvm::Record *record, Kind kind)
 Constraint (const llvm::Record *record)
bool operator== (const Constraint &that)
 Constraints are pointer-comparable. More...
bool operator!= (const Constraint &that)
Pred getPredicate () const
std::string getConditionTemplate () const
StringRef getSummary () const
StringRef getDescription () const
StringRef getDefName () const
 Returns the name of the TablGen def of this constraint. More...
std::string getUniqueDefName () const
 Returns a unique name for the TablGen def of this constraint. More...
Kind getKind () const
const llvm::Record & getDef () const
 Return the underlying def. More...

Additional Inherited Members

- Public Types inherited from mlir::tblgen::Constraint
enum  Kind {
  CK_Attr , CK_Region , CK_Successor , CK_Type ,
- Static Public Member Functions inherited from mlir::tblgen::TypeConstraint
static bool classof (const Constraint *c)
- Protected Attributes inherited from mlir::tblgen::Constraint
const llvm::Record * def

Detailed Description

Definition at line 64 of file Type.h.

Constructor & Destructor Documentation

◆ Type()

Type::Type ( const llvm::Record *  record)

Definition at line 78 of file Type.cpp.

Member Function Documentation

◆ getDialect()

Dialect mlir::tblgen::Type::getDialect ( ) const

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