MLIR  19.0.0git
Classes | Namespaces | Functions
Mem2Reg.h File Reference
#include "mlir/Interfaces/MemorySlotInterfaces.h"
#include "llvm/ADT/Statistic.h"

Go to the source code of this file.

Classes

struct  mlir::Mem2RegStatistics
 Statistics collected while applying mem2reg. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 

Functions

LogicalResult mlir::tryToPromoteMemorySlots (ArrayRef< PromotableAllocationOpInterface > allocators, OpBuilder &builder, const DataLayout &dataLayout, DominanceInfo &dominance, Mem2RegStatistics statistics={})
 Attempts to promote the memory slots of the provided allocators. More...