MLIR 22.0.0git
mlir::pdll::ast Namespace Reference

Namespaces

namespace  detail

Classes

class  AllResultsMemberAccessExpr
 This class represents an instance of MemberAccessExpr that references all results of an operation. More...
class  AttrConstraintDecl
 The class represents an Attribute constraint, and constrains a variable to be an Attribute. More...
class  AttributeExpr
 This expression represents a literal MLIR Attribute, and contains the textual assembly format of that attribute. More...
class  AttributeType
 This class represents a PDLL type that corresponds to an mlir::Attribute. More...
class  CallableDecl
 This decl represents a shared interface for all callable decls. More...
class  CallExpr
 This expression represents a call to a decl, such as a UserConstraintDecl/UserRewriteDecl. More...
class  CompoundStmt
 This statement represents a compound statement, which contains a collection of other statements. More...
class  ConstraintDecl
 This class represents the base of all AST Constraint decls. More...
struct  ConstraintRef
 This class represents a reference to a constraint, and contains a constraint and the location of the reference. More...
class  ConstraintType
 This class represents a PDLL type that corresponds to a constraint. More...
class  Context
 This class represents the main context of the PDLL AST. More...
class  CoreConstraintDecl
 This class represents the base of all "core" constraints. More...
class  Decl
 This class represents the base Decl node. More...
class  DeclRefExpr
 This expression represents a reference to a Decl node. More...
class  DeclScope
 This class represents a scope for named AST decls. More...
class  Diagnostic
 This class provides a simple implementation of a PDLL diagnostic. More...
class  DiagnosticEngine
 This class manages the construction and emission of PDLL diagnostics. More...
class  EraseStmt
 This statement represents the erase statement in PDLL. More...
class  Expr
 This class represents a base AST Expression node. More...
class  InFlightDiagnostic
 This class represents a diagnostic that is inflight and set to be reported. More...
class  LetStmt
 This statement represents a let statement in PDLL. More...
class  MemberAccessExpr
 This expression represents a named member or field access of a given parent expression. More...
class  Module
 This class represents a top-level AST module. More...
struct  Name
 This class provides a convenient API for interacting with source names. More...
class  NamedAttributeDecl
 This Decl represents a NamedAttribute, and contains a string name and attribute value. More...
class  Node
 This class represents a base AST node. More...
class  OpConstraintDecl
 The class represents an Operation constraint, and constrains a variable to be an Operation. More...
class  OperationExpr
 This expression represents the structural form of an MLIR Operation. More...
class  OperationType
 This class represents a PDLL type that corresponds to an mlir::Operation. More...
class  OpNameDecl
 This Decl represents an OperationName. More...
class  OpRewriteStmt
 This class represents a base operation rewrite statement. More...
class  PatternDecl
 This Decl represents a single Pattern. More...
class  RangeExpr
 This expression builds a range from a set of element values (which may be ranges themselves). More...
class  RangeType
 This class represents a PDLL type that corresponds to a range of elements with a given element type. More...
class  ReplaceStmt
 This statement represents the replace statement in PDLL. More...
class  ReturnStmt
 This statement represents a return from a "callable" like decl, e.g. More...
class  RewriteStmt
 This statement represents an operation rewrite that contains a block of nested rewrite commands. More...
class  RewriteType
 This class represents a PDLL type that corresponds to a rewrite reference. More...
class  Stmt
 This class represents a base AST Statement node. More...
class  TupleExpr
 This expression builds a tuple from a set of element values. More...
class  TupleType
 This class represents a PDLL tuple type, i.e. More...
class  Type
class  TypeConstraintDecl
 The class represents a Type constraint, and constrains a variable to be a Type. More...
class  TypeExpr
 This expression represents a literal MLIR Type, and contains the textual assembly format of that type. More...
class  TypeRangeConstraintDecl
 The class represents a TypeRange constraint, and constrains a variable to be a TypeRange. More...
class  TypeRangeType
 This class represents a PDLL type that corresponds to an mlir::TypeRange. More...
class  TypeType
 This class represents a PDLL type that corresponds to an mlir::Type. More...
class  UserConstraintDecl
 This decl represents a user defined constraint. More...
class  UserRewriteDecl
 This decl represents a user defined rewrite. More...
class  ValueConstraintDecl
 The class represents a Value constraint, and constrains a variable to be a Value. More...
class  ValueRangeConstraintDecl
 The class represents a ValueRange constraint, and constrains a variable to be a ValueRange. More...
class  ValueRangeType
 This class represents a PDLL type that corresponds to an mlir::ValueRange. More...
class  ValueType
 This class represents a PDLL type that corresponds to an mlir::Value. More...
class  VariableDecl
 This Decl represents the definition of a PDLL variable. More...

Functions

llvm::hash_code hash_value (Type type)
raw_ostreamoperator<< (raw_ostream &os, Type type)

Function Documentation

◆ hash_value()

llvm::hash_code mlir::pdll::ast::hash_value ( Type type)
inline

Definition at line 93 of file Types.h.

References mlir::pdll::ast::Type::getImpl().

◆ operator<<()

raw_ostream & mlir::pdll::ast::operator<< ( raw_ostream & os,
Type type )
inline

Definition at line 97 of file Types.h.

References mlir::pdll::ast::Type::print().