MLIR
20.0.0git
|
Checks whether two accesses to the same memref access the same element. More...
#include "mlir/Dialect/Affine/Analysis/AffineAnalysis.h"
Public Types | |
enum | ResultEnum { HasDependence , NoDependence , Failure } |
Public Member Functions | |
DependenceResult (ResultEnum v) | |
Public Attributes | |
enum mlir::affine::DependenceResult::ResultEnum | value |
Checks whether two accesses to the same memref access the same element.
Each access is specified using the MemRefAccess structure, which contains the operation, indices and memref associated with the access. Returns 'NoDependence' if it can be determined conclusively that the accesses do not access the same memref element. If 'allowRAR' is true, will consider read-after-read dependences (typically used by applications trying to optimize input reuse).
Definition at line 161 of file AffineAnalysis.h.
Enumerator | |
---|---|
HasDependence | |
NoDependence | |
Failure |
Definition at line 162 of file AffineAnalysis.h.
|
inline |
Definition at line 167 of file AffineAnalysis.h.
enum mlir::affine::DependenceResult::ResultEnum mlir::affine::DependenceResult::value |