SPIRV-Tools/source/reduce
Alastair Donaldson 2992386ebe
spirv-reduce: Remove unused uniforms and similar (#3321)
Extends the pass for removing unused instructions so that it can
remove global declarations (such as types and variables) that are only
used by decorations with which they are intimately connected, such as
descriptor set and binding decorations.
2020-05-13 22:08:40 +01:00
..
change_operand_reduction_opportunity.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
change_operand_reduction_opportunity.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
change_operand_to_undef_reduction_opportunity.cpp spirv-reduce: add OperandToUndefReductionPass (#2200) 2018-12-19 13:25:56 +00:00
change_operand_to_undef_reduction_opportunity.h spirv-reduce: add OperandToUndefReductionPass (#2200) 2018-12-19 13:25:56 +00:00
CMakeLists.txt spirv-reduce: Remove unused uniforms and similar (#3321) 2020-05-13 22:08:40 +01:00
conditional_branch_to_simple_conditional_branch_opportunity_finder.cpp reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00
conditional_branch_to_simple_conditional_branch_opportunity_finder.h reduce: Add two branch reduction passes (#2507) 2019-04-15 19:54:36 +01:00
conditional_branch_to_simple_conditional_branch_reduction_opportunity.cpp reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00
conditional_branch_to_simple_conditional_branch_reduction_opportunity.h reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00
merge_blocks_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
merge_blocks_reduction_opportunity_finder.h Merge blocks in reducer (#2353) 2019-02-01 14:56:54 +00:00
merge_blocks_reduction_opportunity.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
merge_blocks_reduction_opportunity.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
operand_to_const_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
operand_to_const_reduction_opportunity_finder.h Fixed names in ifdefs and GetName functions that had been forgotten in a previous refactoring. Also shortened names of test files as those files test both the new 'finder' classes introduced in the refactoring, as well as the 'reduction pass' class; the shorter names capture both. (#2336) 2019-01-25 11:37:03 -05:00
operand_to_dominating_id_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
operand_to_dominating_id_reduction_opportunity_finder.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
operand_to_undef_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
operand_to_undef_reduction_opportunity_finder.h Fixed names in ifdefs and GetName functions that had been forgotten in a previous refactoring. Also shortened names of test files as those files test both the new 'finder' classes introduced in the refactoring, as well as the 'reduction pass' class; the shorter names capture both. (#2336) 2019-01-25 11:37:03 -05:00
pch_source_reduce.cpp Fix the missing pch files in spirv-reduce (#2097) 2018-11-22 18:00:08 -05:00
pch_source_reduce.h spirv-reduce: Remove unused uniforms and similar (#3321) 2020-05-13 22:08:40 +01:00
reducer.cpp spirv-reduce: Remove unused uniforms and similar (#3321) 2020-05-13 22:08:40 +01:00
reducer.h reduce: improve remove unref instr pass (#2945) 2019-10-08 13:02:34 +01:00
reduction_opportunity_finder.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
reduction_opportunity.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
reduction_opportunity.h spirv-reduce: add OperandToUndefReductionPass (#2200) 2018-12-19 13:25:56 +00:00
reduction_pass.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
reduction_pass.h Improve reducer algorithm and other changes (#2472) 2019-03-26 13:22:31 +00:00
reduction_util.cpp reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00
reduction_util.h reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00
remove_block_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_block_reduction_opportunity_finder.h reduce: remove unreferenced blocks pass (#2398) 2019-03-21 13:32:21 +00:00
remove_block_reduction_opportunity.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_block_reduction_opportunity.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_function_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_function_reduction_opportunity_finder.h Fixes #2358. Added to the reducer the ability to remove a function t… (#2361) 2019-02-08 16:20:29 +00:00
remove_function_reduction_opportunity.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_function_reduction_opportunity.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_instruction_reduction_opportunity.cpp spirv-reduce: Remove unused uniforms and similar (#3321) 2020-05-13 22:08:40 +01:00
remove_instruction_reduction_opportunity.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
remove_selection_reduction_opportunity_finder.cpp Implement WebGPU->Vulkan initializer conversion for 'Function' variables (#2513) 2019-04-16 14:31:36 -04:00
remove_selection_reduction_opportunity_finder.h reduce: add remove_selection_reduction_opportunity (#2485) 2019-04-02 16:50:15 +01:00
remove_selection_reduction_opportunity.cpp reduce: add remove_selection_reduction_opportunity (#2485) 2019-04-02 16:50:15 +01:00
remove_selection_reduction_opportunity.h reduce: add remove_selection_reduction_opportunity (#2485) 2019-04-02 16:50:15 +01:00
remove_unused_instruction_reduction_opportunity_finder.cpp spirv-reduce: Remove unused uniforms and similar (#3321) 2020-05-13 22:08:40 +01:00
remove_unused_instruction_reduction_opportunity_finder.h spirv-reduce: Remove unused uniforms and similar (#3321) 2020-05-13 22:08:40 +01:00
simple_conditional_branch_to_branch_opportunity_finder.cpp reduce: Add two branch reduction passes (#2507) 2019-04-15 19:54:36 +01:00
simple_conditional_branch_to_branch_opportunity_finder.h reduce: Add two branch reduction passes (#2507) 2019-04-15 19:54:36 +01:00
simple_conditional_branch_to_branch_reduction_opportunity.cpp reduce: Add two branch reduction passes (#2507) 2019-04-15 19:54:36 +01:00
simple_conditional_branch_to_branch_reduction_opportunity.h reduce: Add two branch reduction passes (#2507) 2019-04-15 19:54:36 +01:00
structured_loop_to_selection_reduction_opportunity_finder.cpp reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
structured_loop_to_selection_reduction_opportunity_finder.h reduce: miscellaneous fixes (#2494) 2019-04-08 19:37:17 +01:00
structured_loop_to_selection_reduction_opportunity.cpp reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00
structured_loop_to_selection_reduction_opportunity.h reduce: add large tests and fix (#2947) 2019-10-10 17:12:42 +01:00