MLIR
20.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). More... | |
StringRef | getName () const |
Get the parameter name. More... | |
std::string | getAccessorName () const |
Get the parameter accessor name. More... | |
std::optional< StringRef > | getAllocator () const |
If specified, get the custom allocator code for this parameter. More... | |
StringRef | getComparator () const |
If specified, get the custom comparator code for this parameter. More... | |
StringRef | getCppType () const |
Get the C++ type of this parameter. More... | |
StringRef | getCppAccessorType () const |
Get the C++ accessor type of this parameter. More... | |
StringRef | getCppStorageType () const |
Get the C++ storage type of this parameter. More... | |
StringRef | getConvertFromStorage () const |
Get the C++ code to convert from the storage type to the parameter type. More... | |
std::optional< StringRef > | getParser () const |
Get an optional C++ parameter parser. More... | |
std::optional< Constraint > | getConstraint () const |
If this is a type constraint, return it. More... | |
std::optional< StringRef > | getPrinter () const |
Get an optional C++ parameter printer. More... | |
std::optional< StringRef > | getSummary () const |
Get a description of this parameter for documentation purposes. More... | |
StringRef | getSyntax () const |
Get the assembly syntax documentation. More... | |
bool | isOptional () const |
Returns true if the parameter is optional. More... | |
std::optional< StringRef > | getDefaultValue () const |
Get the default value of the parameter if it has one. More... | |
llvm::Init * | getDef () const |
Return the underlying def of this parameter. More... | |
bool | operator== (const AttrOrTypeParameter &other) const |
The parameter is pointer-comparable. More... | |
bool | operator!= (const AttrOrTypeParameter &other) const |
Definition at line 136 of file AttrOrTypeDef.h.
|
static |
Definition at line 351 of file AttrOrTypeDef.cpp.
References mlir::tblgen::AttrOrTypeParameter::getDef().