llvm-project/mlir/lib/Transforms
Alex Zinenko df48026b4c [mlir] DialectConversion: support erasing blocks
PatternRewriter has support for erasing a Block from its parent region, but
this feature has not been implemented for ConversionPatternRewriter that needs
to keep track of and be able to undo block actions. Introduce support for
undoing block erasure in the ConversionPatternRewriter by marking all the ops
it contains for erasure and by detaching the block from its parent region. The
detached block is stored in the action description and is not actually deleted
until the rewrites are applied.

Differential Revision: https://reviews.llvm.org/D80135
2020-05-20 16:12:05 +02:00
..
Utils [MLIR] Continue renaming of "SideEffects" 2020-05-15 14:37:09 -07:00
BufferPlacement.cpp [MLIR] Update the FunctionAndBlockSignatureConverter and NonVoidToVoidReturnOpConverter of Buffer Assignment 2020-05-19 17:04:59 +02:00
CMakeLists.txt [mlir] NFC: Rename LoopOps dialect to SCF (Structured Control Flow) 2020-05-11 15:04:27 +02:00
CSE.cpp [MLIR] Move Verifier and Dominance Analysis from /Analysis to /IR 2020-05-01 20:01:46 -07:00
Canonicalizer.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30
DialectConversion.cpp [mlir] DialectConversion: support erasing blocks 2020-05-20 16:12:05 +02:00
Inliner.cpp [MLIR] Continue renaming of "SideEffects" 2020-05-15 14:37:09 -07:00
LocationSnapshot.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
LoopCoalescing.cpp [mlir] NFC: Rename LoopOps dialect to SCF (Structured Control Flow) 2020-05-11 15:04:27 +02:00
LoopFusion.cpp [mlir][Affine] Introduce affine memory interfaces 2020-05-19 17:32:50 -07:00
LoopInvariantCodeMotion.cpp [MLIR] Continue renaming of "SideEffects" 2020-05-15 14:37:09 -07:00
MemRefDataFlowOpt.cpp [MLIR] Move Verifier and Dominance Analysis from /Analysis to /IR 2020-05-01 20:01:46 -07:00
OpStats.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
ParallelLoopCollapsing.cpp [mlir] NFC: Rename LoopOps dialect to SCF (Structured Control Flow) 2020-05-11 15:04:27 +02:00
PassDetail.h [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
PipelineDataTransfer.cpp [MLIR] Improve support for 0-dimensional Affine Maps. 2020-04-15 14:15:02 -07:00
SCCP.cpp [MLIR] Continue renaming of "SideEffects" 2020-05-15 14:37:09 -07:00
StripDebugInfo.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
SymbolDCE.cpp [mlir][Symbol] Change Symbol from a Trait into an OpInterface. 2020-04-27 13:04:49 -07:00
ViewOpGraph.cpp [mlir][NFC] Remove the STLExtras.h header file now that it has been merged into LLVM. 2020-04-14 15:14:41 -07:00
ViewRegionGraph.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00