MLIR
20.0.0git
|
This class provides an ODS representation of a specific operation operand or result. More...
#include "mlir/Tools/PDLL/ODS/Operation.h"
Public Member Functions | |
StringRef | getName () const |
Return the name of this value. More... | |
bool | isVariableLength () const |
Returns true if this value is variable length, i.e. More... | |
bool | isVariadic () const |
Returns true if this value is variadic (Note this is false if the value is Optional). More... | |
VariableLengthKind | getVariableLengthKind () const |
Returns the variable length kind of this value. More... | |
const TypeConstraint & | getConstraint () const |
Return the constraint of this value. More... | |
Friends | |
class | Operation |
Allow access to the private constructor. More... | |
This class provides an ODS representation of a specific operation operand or result.
This includes the name, variable length flags, and more.
Definition at line 74 of file Operation.h.
|
inline |
Return the constraint of this value.
Definition at line 97 of file Operation.h.
Referenced by mlir::pdll::ods::Context::print().
|
inline |
Return the name of this value.
Definition at line 77 of file Operation.h.
Referenced by mlir::pdll::ods::Context::print().
|
inline |
Returns the variable length kind of this value.
Definition at line 92 of file Operation.h.
Referenced by mlir::pdll::ods::Context::print().
|
inline |
Returns true if this value is variable length, i.e.
if it is Variadic or Optional.
Definition at line 81 of file Operation.h.
References mlir::pdll::ods::Single.
|
inline |
Returns true if this value is variadic (Note this is false if the value is Optional).
Definition at line 87 of file Operation.h.
References mlir::pdll::ods::Variadic.
Allow access to the private constructor.
Definition at line 115 of file Operation.h.