SPIRV-Tools/include/spirv-tools
Shahbaz Youssefi 7564e142d6
spirv-dis: Add --nested-indent and --reorder-blocks (#5671)
With --nested-indent, the SPIR-V blocks are nested according to the
structured control flow.  Each OpLabel is nested that much with the
contents of the block nested a little more.  The blocks are separated by
a blank line for better visualization.

With --reorder-blocks, the SPIR-V blocks are reordered according to the
structured control flow.  This is particularly useful with
--nested-indent.

Note that with --nested-indent, the disassembly does not exactly show
the binary as-is, and the instructions may be reordered.
2024-06-17 09:54:18 -04:00
..
instrument.hpp opt: Remove bindless and buff addr instrumentation passes (#5657) 2024-05-02 18:52:17 -04:00
libspirv.h spirv-dis: Add --nested-indent and --reorder-blocks (#5671) 2024-06-17 09:54:18 -04:00
libspirv.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
linker.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
linter.hpp Add SPIRV_TOOLS_EXPORT to public C++ API (#5591) 2024-04-18 17:31:34 -04:00
optimizer.hpp opt: add OpExtInst forward ref fixup pass (#5708) 2024-06-13 02:09:58 -07:00