My Project
Public Attributes | List of all members
mlir::LoopNestStats Struct Reference

#include <LoopFusionUtils.h>

Collaboration diagram for mlir::LoopNestStats:
Collaboration graph
[legend]

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.

Member Data Documentation

◆ loopMap

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

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

◆ opCountMap

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

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

◆ tripCountMap

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

Map from AffineForOp to its constant trip count.


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