llvm-project/mlir/lib/Dialect/SPIRV/Transforms
Lei Zhang 56f60a1ce7 [mlir][spirv] Use SingleBlock + NoTerminator for spv.module
This allows us to remove the `spv.mlir.endmodule` op and
all the code associated with it.

Along the way, tightened the APIs for `spv.module` a bit
by removing some aliases. Now we use `getRegion` to get
the only region, and `getBody` to get the region's only
block.

Reviewed By: mravishankar, hanchung

Differential Revision: https://reviews.llvm.org/D103265
2021-06-09 14:00:06 -04:00
..
CMakeLists.txt [mlir][spirv] NFC: Shuffle code around to better follow convention 2020-12-17 11:03:26 -05:00
DecorateCompositeTypeLayoutPass.cpp Rename FrozenRewritePatternList -> FrozenRewritePatternSet; NFC. 2021-03-22 17:40:45 -07:00
LowerABIAttributesPass.cpp [mlir][spirv] Use SingleBlock + NoTerminator for spv.module 2021-06-09 14:00:06 -04:00
PassDetail.h [mlir][spirv] NFC: Shuffle code around to better follow convention 2020-12-17 11:03:26 -05:00
RewriteInsertsPass.cpp [mlir][spirv] NFC: Shuffle code around to better follow convention 2020-12-17 11:03:26 -05:00
SPIRVConversion.cpp [mlir] Refactor the representation of function-like argument/result attributes. 2021-05-07 19:32:31 -07:00
UpdateVCEPass.cpp [mlir] hopefully final round of iwyu fixes after ba7a92c01e 2021-04-21 11:03:06 -04:00