MLIR
20.0.0git
|
This class provides an ODS representation of a specific operation attribute. More...
#include "mlir/Tools/PDLL/ODS/Operation.h"
Public Member Functions | |
StringRef | getName () const |
Return the name of this operand. More... | |
bool | isOptional () const |
Return true if this attribute is optional. More... | |
const AttributeConstraint & | getConstraint () const |
Return the constraint of this attribute. More... | |
Friends | |
class | Operation |
Allow access to the private constructor. More... | |
This class provides an ODS representation of a specific operation attribute.
This includes the name, optionality, and more.
Definition at line 39 of file Operation.h.
|
inline |
Return the constraint of this attribute.
Definition at line 48 of file Operation.h.
Referenced by mlir::pdll::ods::Context::print().
|
inline |
Return the name of this operand.
Definition at line 42 of file Operation.h.
Referenced by mlir::pdll::ods::Context::print().
|
inline |
Return true if this attribute is optional.
Definition at line 45 of file Operation.h.
Referenced by mlir::pdll::ods::Context::print().
Allow access to the private constructor.
Definition at line 65 of file Operation.h.