forked from OSchip/llvm-project
5c352e69e7
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 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestAllReduceLowering.cpp | ||
TestBufferPlacement.cpp | ||
TestCallGraph.cpp | ||
TestConstantFold.cpp | ||
TestConvertGPUKernelToCubin.cpp | ||
TestDominance.cpp | ||
TestGpuMemoryPromotion.cpp | ||
TestGpuParallelLoopMapping.cpp | ||
TestInlining.cpp | ||
TestLinalgMatmulToVector.cpp | ||
TestLinalgTransforms.cpp | ||
TestLiveness.cpp | ||
TestLoopFusion.cpp | ||
TestLoopMapping.cpp | ||
TestLoopParametricTiling.cpp | ||
TestMemRefBoundCheck.cpp | ||
TestMemRefDependenceCheck.cpp | ||
TestMemRefStrideCalculation.cpp | ||
TestOpaqueLoc.cpp | ||
TestVectorToLoopsConversion.cpp | ||
TestVectorTransforms.cpp |