llvm-project/mlir/test/lib/Transforms
Ehsan Toosi 5c352e69e7 Providing buffer assignment for MLIR
We have provided a generic buffer assignment transformation ported from
TensorFlow. This generic transformation pass automatically analyzes the values
and their aliases (also in other blocks) and returns the valid positions for
Alloc and Dealloc operations. To find these positions, the algorithm uses the
block Dominator and Post-Dominator analyses. In our proposed algorithm, we have
considered aliasing, liveness, nested regions, branches, conditional branches,
critical edges, and independency to custom block terminators. This
implementation doesn't support block loops. However, we have considered this in
our design. For this purpose, it is only required to have a loop analysis to
insert Alloc and Dealloc operations outside of these loops in some special
cases.

Differential Revision: https://reviews.llvm.org/D78484
2020-04-28 10:17:59 +02:00
..
CMakeLists.txt Providing buffer assignment for MLIR 2020-04-28 10:17:59 +02:00
TestAllReduceLowering.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30
TestBufferPlacement.cpp Providing buffer assignment for MLIR 2020-04-28 10:17:59 +02:00
TestCallGraph.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestConstantFold.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestConvertGPUKernelToCubin.cpp Fix a warning building on my machine, NFC. warning: unused function 'compilePtxToCubinForTesting' 2020-03-23 11:16:55 -07:00
TestDominance.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestGpuMemoryPromotion.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestGpuParallelLoopMapping.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestInlining.cpp [mlir] Fix getTypes() support for result ranges. 2020-04-20 17:18:42 -07:00
TestLinalgMatmulToVector.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30
TestLinalgTransforms.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30
TestLiveness.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestLoopFusion.cpp [MLIR] NFC cleanup/modernize memref-dataflow-opt / getNestingDepth 2020-04-14 00:03:06 +05:30
TestLoopMapping.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestLoopParametricTiling.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestMemRefBoundCheck.cpp [llvm][ADT] Move TypeSwitch class from MLIR to LLVM 2020-04-14 15:14:41 -07:00
TestMemRefDependenceCheck.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestMemRefStrideCalculation.cpp [llvm][STLExtras] Move the algorithm `interleave*` methods from MLIR to LLVM 2020-04-14 15:14:40 -07:00
TestOpaqueLoc.cpp [mlir][Pass] Remove the use of CRTP from the Pass classes 2020-04-07 14:08:52 -07:00
TestVectorToLoopsConversion.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30
TestVectorTransforms.cpp [MLIR][NFC] applyPatternsGreedily -> applyPatternsAndFoldGreedily 2020-04-10 12:55:21 +05:30