MLIR  16.0.0git
Public Member Functions | Static Public Member Functions | List of all members
mlir::tblgen::AttrConstraint Class Reference

#include "mlir/TableGen/Attribute.h"

+ Inheritance diagram for mlir::tblgen::AttrConstraint:
+ Collaboration diagram for mlir::tblgen::AttrConstraint:

Public Member Functions

bool isSubClassOf (StringRef className) const
 
- 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
 

Static Public Member Functions

static bool classof (const Constraint *c)
 

Additional Inherited Members

- Public Types inherited from mlir::tblgen::Constraint
enum  Kind {
  CK_Attr, CK_Region, CK_Successor, CK_Type,
  CK_Uncategorized
}
 
- Protected Attributes inherited from mlir::tblgen::Constraint
const llvm::Record * def
 

Detailed Description

Definition at line 33 of file Attribute.h.

Member Function Documentation

◆ classof()

static bool mlir::tblgen::AttrConstraint::classof ( const Constraint c)
inlinestatic

Definition at line 37 of file Attribute.h.

References mlir::tblgen::Constraint::getKind().

◆ isSubClassOf()

bool AttrConstraint::isSubClassOf ( StringRef  className) const

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