SPIRV-Tools/source/reduce
Alastair Donaldson 5dcb576b69
spirv-reduce: Support reducing a specific function (#3774)
Motivated by integrating spirv-reduce into spirv-fuzz, so that an
added function can be made smaller during shrinking, this adds support
in spirv-reduce for asking reduction to be restricted to the
instructions of a single specified function.
2020-09-11 06:29:43 +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: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
conditional_branch_to_simple_conditional_branch_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
conditional_branch_to_simple_conditional_branch_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
conditional_branch_to_simple_conditional_branch_reduction_opportunity.cpp spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +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 spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
merge_blocks_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
merge_blocks_reduction_opportunity.cpp spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +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 spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
operand_to_const_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
operand_to_dominating_id_reduction_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
operand_to_dominating_id_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
operand_to_undef_reduction_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
operand_to_undef_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01: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: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
reducer.h reduce: improve remove unref instr pass (#2945) 2019-10-08 13:02:34 +01:00
reduction_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +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 spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
reduction_pass.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
reduction_util.cpp spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +01:00
reduction_util.h spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +01:00
remove_block_reduction_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_block_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_block_reduction_opportunity.cpp spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +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 spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_function_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01: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 spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_selection_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +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_struct_member_reduction_opportunity.cpp spirv-reduce: Remove unused struct members (#3329) 2020-05-14 15:36:38 +01:00
remove_struct_member_reduction_opportunity.h spirv-reduce: Remove unused struct members (#3329) 2020-05-14 15:36:38 +01:00
remove_unused_instruction_reduction_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_unused_instruction_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_unused_struct_member_reduction_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
remove_unused_struct_member_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
simple_conditional_branch_to_branch_opportunity_finder.cpp spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
simple_conditional_branch_to_branch_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
simple_conditional_branch_to_branch_reduction_opportunity.cpp spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +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 spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
structured_loop_to_selection_reduction_opportunity_finder.h spirv-reduce: Support reducing a specific function (#3774) 2020-09-11 06:29:43 +01:00
structured_loop_to_selection_reduction_opportunity.cpp spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +01:00
structured_loop_to_selection_reduction_opportunity.h spirv-reduce: Refactoring (#3793) 2020-09-10 22:03:40 +01:00