MLIR  20.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 104 of file BufferizableOpInterface.h.

Member Typedef Documentation

◆ FilterFn

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

Definition at line 106 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 109 of file BufferizableOpInterface.h.

Member Data Documentation

◆ fn

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

Definition at line 111 of file BufferizableOpInterface.h.

◆ type

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

Definition at line 112 of file BufferizableOpInterface.h.


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