MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::detail::AttrOpMatcher Struct Reference

The matcher that matches operations that have the specified attribute name. More...

#include "mlir/IR/Matchers.h"

Public Member Functions

 AttrOpMatcher (StringRef attrName)
 
bool match (Operation *op)
 

Public Attributes

StringRef attrName
 

Detailed Description

The matcher that matches operations that have the specified attribute name.

Definition at line 65 of file Matchers.h.

Constructor & Destructor Documentation

◆ AttrOpMatcher()

mlir::detail::AttrOpMatcher::AttrOpMatcher ( StringRef  attrName)
inline

Definition at line 66 of file Matchers.h.

Member Function Documentation

◆ match()

bool mlir::detail::AttrOpMatcher::match ( Operation op)
inline

Definition at line 67 of file Matchers.h.

Member Data Documentation

◆ attrName

StringRef mlir::detail::AttrOpMatcher::attrName

Definition at line 69 of file Matchers.h.


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