MLIR  19.0.0git
Public Member Functions | Public Attributes | List of all members
mlir::BackwardSliceOptions Struct Reference

#include "mlir/Analysis/SliceAnalysis.h"

+ Inheritance diagram for mlir::BackwardSliceOptions:

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

Detailed Description

Definition at line 43 of file SliceAnalysis.h.

Member Function Documentation

◆ SliceOptions() [1/2]

mlir::SliceOptions::SliceOptions
inline

Definition at line 36 of file SliceAnalysis.h.

◆ SliceOptions() [2/2]

mlir::SliceOptions::SliceOptions
inline

Definition at line 37 of file SliceAnalysis.h.

Member Data Documentation

◆ omitBlockArguments

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.


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