MLIR  19.0.0git
Public Attributes | List of all members
mlir::SROAStatistics Struct Reference

Statistics collected while applying SROA. More...

#include "mlir/Transforms/SROA.h"

Public Attributes

llvm::Statistic * destructuredAmount = nullptr
 Total amount of memory slots destructured. More...
 
llvm::Statistic * slotsWithMemoryBenefit = nullptr
 Total amount of memory slots in which the destructured size was smaller than the total size after eliminating unused fields. More...
 
llvm::Statistic * maxSubelementAmount = nullptr
 Maximal number of sub-elements a successfully destructured slot initially had. More...
 

Detailed Description

Statistics collected while applying SROA.

Definition at line 19 of file SROA.h.

Member Data Documentation

◆ destructuredAmount

llvm::Statistic* mlir::SROAStatistics::destructuredAmount = nullptr

Total amount of memory slots destructured.

Definition at line 21 of file SROA.h.

Referenced by destructureSlot().

◆ maxSubelementAmount

llvm::Statistic* mlir::SROAStatistics::maxSubelementAmount = nullptr

Maximal number of sub-elements a successfully destructured slot initially had.

Definition at line 27 of file SROA.h.

Referenced by destructureSlot().

◆ slotsWithMemoryBenefit

llvm::Statistic* mlir::SROAStatistics::slotsWithMemoryBenefit = nullptr

Total amount of memory slots in which the destructured size was smaller than the total size after eliminating unused fields.

Definition at line 24 of file SROA.h.

Referenced by destructureSlot().


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