MLIR  17.0.0git
mlir::bufferization::OpFilter::Entry Struct Reference

An op filter entry. More...

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

Collaboration diagram for mlir::bufferization::OpFilter::Entry:

## 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...

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 100 of file BufferizableOpInterface.h.

## ◆ FilterFn

 using mlir::bufferization::OpFilter::Entry::FilterFn = std::function

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

Definition at line 102 of file BufferizableOpInterface.h.

## ◆ FilterType

 enum mlir::bufferization::OpFilter::Entry::FilterType : int8_t

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

Enumerator
DENY
ALLOW

Definition at line 105 of file BufferizableOpInterface.h.

## ◆ fn

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

Definition at line 107 of file BufferizableOpInterface.h.

## ◆ type

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

Definition at line 108 of file BufferizableOpInterface.h.

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