MLIR
20.0.0git
|
This CRTP class provides several utilies when defining new AST nodes. More...
#include "mlir/Tools/PDLL/AST/Nodes.h"
Inherits BaseT.
Inherited by mlir::pdll::ast::AttrConstraintDecl, mlir::pdll::ast::AttributeExpr, mlir::pdll::ast::CallExpr, mlir::pdll::ast::CompoundStmt, mlir::pdll::ast::DeclRefExpr, mlir::pdll::ast::EraseStmt, mlir::pdll::ast::LetStmt, mlir::pdll::ast::MemberAccessExpr, mlir::pdll::ast::Module, mlir::pdll::ast::NamedAttributeDecl, mlir::pdll::ast::OpConstraintDecl, mlir::pdll::ast::OpNameDecl, mlir::pdll::ast::OperationExpr, mlir::pdll::ast::PatternDecl, mlir::pdll::ast::RangeExpr, mlir::pdll::ast::ReplaceStmt, mlir::pdll::ast::ReturnStmt, mlir::pdll::ast::RewriteStmt, mlir::pdll::ast::TupleExpr, mlir::pdll::ast::TypeConstraintDecl, mlir::pdll::ast::TypeExpr, mlir::pdll::ast::TypeRangeConstraintDecl, mlir::pdll::ast::UserConstraintDecl, mlir::pdll::ast::UserRewriteDecl, mlir::pdll::ast::ValueConstraintDecl, mlir::pdll::ast::ValueRangeConstraintDecl, and mlir::pdll::ast::VariableDecl.
Public Types | |
using | Base = NodeBase< T, BaseT > |
Static Public Member Functions | |
static bool | classof (const Node *node) |
Provide type casting support. More... | |
Protected Member Functions | |
template<typename... Args> | |
NodeBase (SMRange loc, Args &&...args) | |
This CRTP class provides several utilies when defining new AST nodes.
using mlir::pdll::ast::Node::NodeBase< T, BaseT >::Base = NodeBase<T, BaseT> |
|
inlineexplicitprotected |
|
inlinestatic |
Provide type casting support.
Definition at line 117 of file Nodes.h.
References mlir::pdll::ast::Node::getTypeID().