SPIRV-Tools/include/spirv-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
..
libspirv.h Add support for SPV AMD extensions 2017-06-21 15:08:07 -04:00
libspirv.hpp Added option --preserve-numeric-ids to tools/spirv-as 2017-04-13 14:13:33 -04:00
markv.h Added compression tool tools/spirv-markv. Work in progress. 2017-06-30 12:22:48 -04:00
optimizer.hpp Create the dead function elimination pass 2017-09-26 11:18:06 -04:00