SPIRV-Tools/tools
Steven Perron e43c91046b Create the dead function elimination pass
Creates a pass called eliminate dead functions that looks for functions
that could never be called, and deletes them from the module.

To support this change a new function was added to the Pass class to
traverse the call trees from diffent starting points.

Includes a test to ensure that annotations are removed when deleting a
dead function.  They were not, so fixed that up as well.

Did some cleanup of the assembly for the test in pass_test.cpp.  Trying
to make them smaller and easier to read.
2017-09-26 11:18:06 -04:00
..
as spirv-as: Fail for unrecognized long option 2017-09-05 19:49:59 -04:00
cfg Add SPIR-V 1.2 support, for OpenCL 2.2 2017-05-15 17:10:07 -04:00
comp Added compression tool tools/spirv-markv. Work in progress. 2017-06-30 12:22:48 -04:00
dis Disassembler: Print colour codes only when writing to a terminal 2017-08-28 19:14:48 -04:00
emacs Define variable to skip installation 2017-07-04 12:24:44 -04:00
lesspipe Define variable to skip installation 2017-07-04 12:24:44 -04:00
opt Create the dead function elimination pass 2017-09-26 11:18:06 -04:00
stats Updated markv_autogen 2017-09-20 10:23:22 -04:00
val Add SPIR-V 1.2 support, for OpenCL 2.2 2017-05-15 17:10:07 -04:00
CMakeLists.txt Add SPIRV_SPIRV_COMPRESSION option to cmake 2017-09-25 14:37:08 -04:00
io.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00