llvm-project/mlir/lib/Transforms
Alexander Belyaev ed5363a674 [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait.
Many ops with this trait have `getBody()` and `getBodyBuilder()` methods defined in `extraClassDeclaration` in tablegen. `getBody()` implementation is the same accross all these ops, but `getBodyBuilder()` can return builders with varying insertion points set. In this PR, `getBody()` is moved into `SingleImplicitBlockTerminator` struct and `getBodyBuilder()` is replaced with `OpBuilder::atBlock(End|Terminator)(op.getBody);`.

Differential Revision: https://reviews.llvm.org/D78864
2020-04-27 21:48:52 +02:00
..
Utils [MLIR] Add getBody() method to SingleImplicitBlockTerminator op trait. 2020-04-27 21:48:52 +02:00
CMakeLists.txt [mlir][Transforms] Add pass to perform sparse conditional constant propagation 2020-04-21 02:59:25 -07:00
CSE.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
Canonicalizer.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30
DialectConversion.cpp [mlir][DialectConversion] Add support for properly tracking replaceUsesOfBlockArgument 2020-04-24 12:37:32 -07:00
Inliner.cpp Fix inlining multi-block callees with type conversion. 2020-04-20 16:54:01 -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][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
LoopFusion.cpp [MLIR] Improve support for 0-dimensional Affine Maps. 2020-04-15 14:15:02 -07:00
LoopInvariantCodeMotion.cpp [mlir][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07:00
MemRefDataFlowOpt.cpp [MLIR] NFC cleanup/modernize memref-dataflow-opt / getNestingDepth 2020-04-14 00:03:06 +05:30
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][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -07: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][SCCP] Add support for propagating constants across inter-region control flow. 2020-04-21 02:59:25 -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][Pass] Update the PassGen to generate base classes instead of utilities 2020-04-07 14:08:52 -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