MLIR 23.0.0git
MemorySlotUtils.h File Reference

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::memoryslot

Functions

void mlir::memoryslot::updateTerminator (Block *block, Value defaultReachingDef, const DenseMap< Block *, Value > &reachingAtBlockEnd)
 Appends the reaching definition for the given block as an operand to its terminator.
Operationmlir::memoryslot::replaceWithNewResults (RewriterBase &rewriter, Operation *op, TypeRange resultTypes)
 Creates a shallow copy of an operation with new result types, moving the regions out of the original operation and deleting the original operation.