MLIR 22.0.0git
mlir::pdll::ast::AllResultsMemberAccessExpr Class Reference

This class represents an instance of MemberAccessExpr that references all results of an operation. More...

#include "mlir/Tools/PDLL/AST/Nodes.h"

Inheritance diagram for mlir::pdll::ast::AllResultsMemberAccessExpr:

Static Public Member Functions

static StringRef getMemberName ()
 Return the member name used for the "all-results" access.
static AllResultsMemberAccessExprcreate (Context &ctx, SMRange loc, const Expr *parentExpr, Type type)
static bool classof (const Node *node)
 Provide type casting support.
Static Public Member Functions inherited from mlir::pdll::ast::MemberAccessExpr
static MemberAccessExprcreate (Context &ctx, SMRange loc, const Expr *parentExpr, StringRef memberName, Type type)
Static Public Member Functions inherited from mlir::pdll::ast::Node::NodeBase< MemberAccessExpr, Expr >
static bool classof (const Node *node)
 Provide type casting support.
Static Public Member Functions inherited from mlir::pdll::ast::Expr
static bool classof (const Node *node)
 Provide type casting support.
Static Public Member Functions inherited from mlir::pdll::ast::Stmt
static bool classof (const Node *node)
 Provide type casting support.

Additional Inherited Members

Public Types inherited from mlir::pdll::ast::Node::NodeBase< MemberAccessExpr, Expr >
using Base
Public Member Functions inherited from mlir::pdll::ast::MemberAccessExpr
const ExprgetParentExpr () const
 Get the parent expression of this access.
StringRef getMemberName () const
 Return the name of the member being accessed.
Public Member Functions inherited from mlir::pdll::ast::Expr
Type getType () const
 Return the type of this expression.
Public Member Functions inherited from mlir::pdll::ast::Stmt
 Node (TypeID typeID, SMRange loc)
Public Member Functions inherited from mlir::pdll::ast::Node
TypeID getTypeID () const
 Return the type identifier of this node.
SMRange getLoc () const
 Return the location of this node.
void print (raw_ostream &os) const
 Print this node to the given stream.
void walk (function_ref< void(const Node *)> walkFn) const
 Walk all of the nodes including, and nested under, this node in pre-order.
template<typename WalkFnT, typename ArgT = typename llvm::function_traits< WalkFnT>::template arg_t<0>>
std::enable_if_t<!std::is_convertible< const Node *, ArgT >::value > walk (WalkFnT &&walkFn) const
Protected Member Functions inherited from mlir::pdll::ast::Node::NodeBase< MemberAccessExpr, Expr >
 NodeBase (SMRange loc, Args &&...args)
Protected Member Functions inherited from mlir::pdll::ast::Expr
 Expr (TypeID typeID, SMRange loc, Type type)
Protected Member Functions inherited from mlir::pdll::ast::Node
 Node (TypeID typeID, SMRange loc)

Detailed Description

This class represents an instance of MemberAccessExpr that references all results of an operation.

Definition at line 484 of file Nodes.h.

Member Function Documentation

◆ classof()

bool mlir::pdll::ast::AllResultsMemberAccessExpr::classof ( const Node * node)
inlinestatic

Provide type casting support.

Definition at line 496 of file Nodes.h.

References getMemberName(), and mlir::pdll::ast::MemberAccessExpr::getMemberName().

◆ create()

AllResultsMemberAccessExpr * mlir::pdll::ast::AllResultsMemberAccessExpr::create ( Context & ctx,
SMRange loc,
const Expr * parentExpr,
Type type )
inlinestatic

Definition at line 489 of file Nodes.h.

References mlir::pdll::ast::MemberAccessExpr::create(), and getMemberName().

◆ getMemberName()

StringRef mlir::pdll::ast::AllResultsMemberAccessExpr::getMemberName ( )
inlinestatic

Return the member name used for the "all-results" access.

Definition at line 487 of file Nodes.h.

Referenced by classof(), and create().


The documentation for this class was generated from the following file: