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

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

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

+ Collaboration diagram for mlir::LoopNestStats:

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 128 of file LoopFusionUtils.h.

Member Data Documentation

◆ loopMap

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

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

Definition at line 130 of file LoopFusionUtils.h.

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

◆ opCountMap

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

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

Definition at line 132 of file LoopFusionUtils.h.

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

◆ tripCountMap

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

Map from AffineForOp to its constant trip count.

Definition at line 134 of file LoopFusionUtils.h.

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


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