MLIR
20.0.0git
|
This Decl represents a NamedAttribute, and contains a string name and attribute value. More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
Public Member Functions | |
const Name & | getName () const |
Return the name of the attribute. More... | |
Expr * | getValue () const |
Return value of the attribute. More... | |
Static Public Member Functions | |
static NamedAttributeDecl * | create (Context &ctx, const Name &name, Expr *value) |
Static Public Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
static bool | classof (const Node *node) |
Provide type casting support. More... | |
Additional Inherited Members | |
Public Types inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
using | Base = NodeBase< T, BaseT > |
Protected Member Functions inherited from mlir::pdll::ast::Node::NodeBase< T, BaseT > | |
template<typename... Args> | |
NodeBase (SMRange loc, Args &&...args) | |
This Decl represents a NamedAttribute, and contains a string name and attribute value.
|
static |
Definition at line 499 of file Nodes.cpp.
References mlir::pdll::ast::Context::getAllocator().
|
inline |
Return the name of the attribute.
Definition at line 998 of file Nodes.h.
References mlir::pdll::ast::Decl::getName().
|
inline |