MLIR  20.0.0git
Namespaces | Classes | Functions
mlir::pdll::ast Namespace Reference

Namespaces

 detail
 

Classes

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

Functions

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

Function Documentation

◆ hash_value()

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

◆ operator<<()

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

Definition at line 126 of file Types.h.

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