MLIR  20.0.0git
Public Attributes | List of all members
mlir::affine::LoopReduction Struct Reference

A description of a (parallelizable) reduction in an affine loop. More...

#include "mlir/Dialect/Affine/Analysis/AffineAnalysis.h"

Public Attributes

arith::AtomicRMWKind kind
 Reduction kind. More...
 
unsigned iterArgPosition
 Position of the iteration argument that acts as accumulator. More...
 
Value value
 The value being reduced. More...
 

Detailed Description

A description of a (parallelizable) reduction in an affine loop.

Definition at line 35 of file AffineAnalysis.h.

Member Data Documentation

◆ iterArgPosition

unsigned mlir::affine::LoopReduction::iterArgPosition

Position of the iteration argument that acts as accumulator.

Definition at line 40 of file AffineAnalysis.h.

◆ kind

arith::AtomicRMWKind mlir::affine::LoopReduction::kind

Reduction kind.

Definition at line 37 of file AffineAnalysis.h.

Referenced by mlir::affine::affineParallelize().

◆ value

Value mlir::affine::LoopReduction::value

The value being reduced.

Definition at line 43 of file AffineAnalysis.h.

Referenced by mlir::affine::affineParallelize().


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