MLIR
20.0.0git
|
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 |
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.
using mlir::bufferization::OpFilter::Entry::FilterFn = std::function<bool(Operation *)> |
If the filter function evaluates to true
, the filter matches.
Definition at line 106 of file BufferizableOpInterface.h.
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 109 of file BufferizableOpInterface.h.
FilterFn mlir::bufferization::OpFilter::Entry::fn |
Definition at line 111 of file BufferizableOpInterface.h.
FilterType mlir::bufferization::OpFilter::Entry::type |
Definition at line 112 of file BufferizableOpInterface.h.