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

LoopNestStats aggregates various per-loop statistics (eg. More...

#include "mlir/Dialect/Affine/LoopFusionUtils.h"

Public Attributes

DenseMap< Operation *, SmallVector< AffineForOp, 2 > > loopMap
 Map from AffineForOp to immediate child AffineForOps in its loop body. More...
 
DenseMap< Operation *, uint64_t > opCountMap
 Map from AffineForOp to count of operations in its loop body. More...
 
DenseMap< Operation *, uint64_t > tripCountMap
 Map from AffineForOp to its constant trip count. More...
 

Detailed Description

LoopNestStats aggregates various per-loop statistics (eg.

loop trip count and operation count) for a loop nest up until (and including) the innermost loop body.

Definition at line 125 of file LoopFusionUtils.h.

Member Data Documentation

◆ loopMap

DenseMap<Operation *, SmallVector<AffineForOp, 2> > mlir::affine::LoopNestStats::loopMap

Map from AffineForOp to immediate child AffineForOps in its loop body.

Definition at line 127 of file LoopFusionUtils.h.

Referenced by getComputeCostHelper(), and mlir::affine::getLoopNestStats().

◆ opCountMap

DenseMap<Operation *, uint64_t> mlir::affine::LoopNestStats::opCountMap

Map from AffineForOp to count of operations in its loop body.

Definition at line 129 of file LoopFusionUtils.h.

Referenced by getComputeCostHelper(), and mlir::affine::getLoopNestStats().

◆ tripCountMap

DenseMap<Operation *, uint64_t> mlir::affine::LoopNestStats::tripCountMap

Map from AffineForOp to its constant trip count.

Definition at line 131 of file LoopFusionUtils.h.

Referenced by getComputeCostHelper().


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