MLIR
20.0.0git
|
#include "mlir/Analysis/SliceAnalysis.h"
Public Member Functions | |
SliceOptions () | |
SliceOptions (TransitiveFilter filter) | |
Public Member Functions inherited from mlir::SliceOptions | |
SliceOptions () | |
SliceOptions (TransitiveFilter filter) | |
Public Attributes | |
bool | omitBlockArguments = false |
When omitBlockArguments is true, the backward slice computation omits traversing any block arguments. More... | |
bool | omitUsesFromAbove = true |
When omitUsesFromAbove is true, the backward slice computation omits traversing values that are captured from above. More... | |
Public Attributes inherited from mlir::SliceOptions | |
TransitiveFilter | filter = nullptr |
bool | inclusive = false |
Include the top level op in the slice. More... | |
Additional Inherited Members | |
Public Types inherited from mlir::SliceOptions | |
using | TransitiveFilter = std::function< bool(Operation *)> |
Type of the condition to limit the propagation of transitive use-defs. More... | |
Definition at line 43 of file SliceAnalysis.h.
|
inline |
Definition at line 36 of file SliceAnalysis.h.
|
inline |
Definition at line 37 of file SliceAnalysis.h.
bool mlir::BackwardSliceOptions::omitBlockArguments = false |
When omitBlockArguments is true, the backward slice computation omits traversing any block arguments.
When omitBlockArguments is false, the backward slice computation traverses block arguments and asserts that the parent op has a single region with a single block.
Definition at line 49 of file SliceAnalysis.h.
bool mlir::BackwardSliceOptions::omitUsesFromAbove = true |
When omitUsesFromAbove is true, the backward slice computation omits traversing values that are captured from above.
TODO: this should default to false
after users have been updated.
Definition at line 54 of file SliceAnalysis.h.