MLIR
19.0.0git
|
#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... | |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
Functions | |
LogicalResult | mlir::tryToPromoteMemorySlots (ArrayRef< PromotableAllocationOpInterface > allocators, RewriterBase &rewriter, const DataLayout &dataLayout, Mem2RegStatistics statistics={}) |
Attempts to promote the memory slots of the provided allocators. More... | |