MLIR  19.0.0git
Public Types | Public Attributes | List of all members
mlir::bufferization::OpFilter::Entry Struct Reference

An op filter entry. More...

#include "mlir/Dialect/Bufferization/IR/BufferizableOpInterface.h"

Public Types

enum  FilterType : int8_t { DENY = 0 , ALLOW = 1 }
 Filter type: A filter can either be a DENY filter or an ALLOW filter. More...
 
using FilterFn = std::function< bool(Operation *)>
 If the filter function evaluates to true, the filter matches. More...
 

Public Attributes

FilterFn fn
 
FilterType type
 

Detailed Description

An op filter entry.

Filters can be used to specify which ops should be processed by the bufferization.

Definition at line 103 of file BufferizableOpInterface.h.

Member Typedef Documentation

◆ FilterFn

If the filter function evaluates to true, the filter matches.

Definition at line 105 of file BufferizableOpInterface.h.

Member Enumeration Documentation

◆ FilterType

Filter type: A filter can either be a DENY filter or an ALLOW filter.

Enumerator
DENY 
ALLOW 

Definition at line 108 of file BufferizableOpInterface.h.

Member Data Documentation

◆ fn

FilterFn mlir::bufferization::OpFilter::Entry::fn

Definition at line 110 of file BufferizableOpInterface.h.

◆ type

FilterType mlir::bufferization::OpFilter::Entry::type

Definition at line 111 of file BufferizableOpInterface.h.


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