|
MLIR 22.0.0git
|
#include "mlir/TableGen/AttrOrTypeDef.h"
Static Public Member Functions | |
| static bool | classof (const AttrOrTypeParameter *param) |
Additional Inherited Members | |
| Public Member Functions inherited from mlir::tblgen::AttrOrTypeParameter | |
| AttrOrTypeParameter (const llvm::DagInit *def, unsigned index) | |
| bool | isAnonymous () const |
| Returns true if the parameter is anonymous (has no name). | |
| StringRef | getName () const |
| Get the parameter name. | |
| std::string | getAccessorName () const |
| Get the parameter accessor name. | |
| std::optional< StringRef > | getAllocator () const |
| If specified, get the custom allocator code for this parameter. | |
| bool | hasCustomComparator () const |
| Return true if user defined comparator is specified. | |
| StringRef | getComparator () const |
| Get the custom comparator code for this parameter or fallback to the default. | |
| StringRef | getCppType () const |
| Get the C++ type of this parameter. | |
| StringRef | getCppAccessorType () const |
| Get the C++ accessor type of this parameter. | |
| StringRef | getCppStorageType () const |
| Get the C++ storage type of this parameter. | |
| StringRef | getConvertFromStorage () const |
| Get the C++ code to convert from the storage type to the parameter type. | |
| std::optional< StringRef > | getParser () const |
| Get an optional C++ parameter parser. | |
| std::optional< Constraint > | getConstraint () const |
| If this is a type constraint, return it. | |
| std::optional< StringRef > | getPrinter () const |
| Get an optional C++ parameter printer. | |
| std::optional< StringRef > | getSummary () const |
| Get a description of this parameter for documentation purposes. | |
| StringRef | getSyntax () const |
| Get the assembly syntax documentation. | |
| bool | isOptional () const |
| Returns true if the parameter is optional. | |
| std::optional< StringRef > | getDefaultValue () const |
| Get the default value of the parameter if it has one. | |
| const llvm::Init * | getDef () const |
| Return the underlying def of this parameter. | |
| bool | operator== (const AttrOrTypeParameter &other) const |
| The parameter is pointer-comparable. | |
| bool | operator!= (const AttrOrTypeParameter &other) const |
Definition at line 140 of file AttrOrTypeDef.h.
|
static |
Definition at line 361 of file AttrOrTypeDef.cpp.
References mlir::tblgen::AttrOrTypeParameter::AttrOrTypeParameter(), and mlir::tblgen::AttrOrTypeParameter::getDef().