MLIR  21.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::query::matcher::MatchFinder::MatchResult Struct Reference

A subclass which preserves the matching information. More...

#include "mlir/Query/Matcher/MatchFinder.h"

Public Member Functions

 MatchResult ()=default
 
 MatchResult (Operation *rootOp, std::vector< Operation * > matchedOps)
 

Public Attributes

OperationrootOp = nullptr
 
std::vector< Operation * > matchedOps
 Contains the matching environment. More...
 

Detailed Description

A subclass which preserves the matching information.

Each instance contains the rootOp along with the matching environment.

Definition at line 30 of file MatchFinder.h.

Constructor & Destructor Documentation

◆ MatchResult() [1/2]

mlir::query::matcher::MatchFinder::MatchResult::MatchResult ( )
default

◆ MatchResult() [2/2]

mlir::query::matcher::MatchFinder::MatchResult::MatchResult ( Operation rootOp,
std::vector< Operation * >  matchedOps 
)

Definition at line 16 of file MatchFinder.cpp.

Member Data Documentation

◆ matchedOps

std::vector<Operation *> mlir::query::matcher::MatchFinder::MatchResult::matchedOps

Contains the matching environment.

Definition at line 36 of file MatchFinder.h.

◆ rootOp

Operation* mlir::query::matcher::MatchFinder::MatchResult::rootOp = nullptr

Definition at line 34 of file MatchFinder.h.


The documentation for this struct was generated from the following files: