The class represents an Operation constraint, and constrains a variable to be an Operation.
More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
|
std::optional< StringRef > | getName () const |
| Return the name of the operation, or std::nullopt if there isn't one. More...
|
|
const OpNameDecl * | getNameDecl () const |
| Return the declaration of the operation name. More...
|
|
The class represents an Operation constraint, and constrains a variable to be an Operation.
Definition at line 771 of file Nodes.h.
◆ OpConstraintDecl()
mlir::pdll::ast::OpConstraintDecl::OpConstraintDecl |
( |
SMRange |
loc, |
|
|
const OpNameDecl * |
nameDecl |
|
) |
| |
|
inlineexplicitprotected |
◆ create()
◆ getName()
std::optional< StringRef > OpConstraintDecl::getName |
( |
| ) |
const |
◆ getNameDecl()
const OpNameDecl* mlir::pdll::ast::OpConstraintDecl::getNameDecl |
( |
| ) |
const |
|
inline |
◆ nameDecl
const OpNameDecl* mlir::pdll::ast::OpConstraintDecl::nameDecl |
|
protected |
The documentation for this class was generated from the following files: