|
MLIR 22.0.0git
|
#include "mlir/Analysis/SliceAnalysis.h"
Public Types | |
| using | TransitiveFilter = std::function<bool(Operation *)> |
| Type of the condition to limit the propagation of transitive use-defs. | |
Public Member Functions | |
| SliceOptions () | |
| SliceOptions (TransitiveFilter filter) | |
Public Attributes | |
| TransitiveFilter | filter = nullptr |
| bool | inclusive = false |
| Include the top level op in the slice. | |
Definition at line 23 of file SliceAnalysis.h.
| using mlir::SliceOptions::TransitiveFilter = std::function<bool(Operation *)> |
Type of the condition to limit the propagation of transitive use-defs.
This can be used in particular to limit the propagation to a given Scope or to avoid passing through certain types of operation in a configurable manner.
Definition at line 28 of file SliceAnalysis.h.
|
inline |
Definition at line 35 of file SliceAnalysis.h.
|
inline |
Definition at line 36 of file SliceAnalysis.h.
References filter.
| TransitiveFilter mlir::SliceOptions::filter = nullptr |
Definition at line 29 of file SliceAnalysis.h.
Referenced by computeBackwardSlice(), dependsOnCarriedVals(), getOpToConvert(), and SliceOptions().
Include the top level op in the slice.
Definition at line 32 of file SliceAnalysis.h.
Referenced by computeBackwardSlice().