MLIR  20.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
mlir::affine::DependenceResult Struct Reference

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
 

Detailed Description

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.

Member Enumeration Documentation

◆ ResultEnum

Enumerator
HasDependence 
NoDependence 
Failure 

Definition at line 162 of file AffineAnalysis.h.

Constructor & Destructor Documentation

◆ DependenceResult()

mlir::affine::DependenceResult::DependenceResult ( ResultEnum  v)
inline

Definition at line 167 of file AffineAnalysis.h.

Member Data Documentation

◆ value

enum mlir::affine::DependenceResult::ResultEnum mlir::affine::DependenceResult::value

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