MLIR  19.0.0git
Classes | Namespaces | Functions
Mem2Reg.h File Reference
#include "mlir/IR/Dominance.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/PatternMatch.h"
#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...
 
class  mlir::Mem2RegPattern
 Pattern applying mem2reg to the regions of the operations on which it matches. More...
 

Namespaces

 mlir
 Include the generated interface declarations.
 

Functions

LogicalResult mlir::tryToPromoteMemorySlots (ArrayRef< PromotableAllocationOpInterface > allocators, RewriterBase &rewriter, Mem2RegStatistics statistics={})
 Attempts to promote the memory slots of the provided allocators. More...