SPIRV-Tools/test/opt
Steven Perron 28c415500d Create a local value numbering pass
Creates a pass that removes redundant instructions within the same basic
block.  This will be implemented using a hash based value numbering
algorithm.

Added a number of functions that check for the Vulkan descriptor types.
These are used to determine if we are variables are read-only or not.

Implemented a function to check if loads and variables are read-only.
Implemented kernel specific and shader specific versions.

A big change is that the Combinator analysis in ADCE is factored out
into the IRContext as an analysis. This was done because it is being
reused in the value number table.
2017-11-23 11:45:09 -05:00
..
aggressive_dead_code_elim_test.cpp ADCE: Dead if elimination 2017-10-31 11:51:30 -04:00
assembly_builder_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
assembly_builder.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
block_merge_test.cpp BlockMerge: Add BlockMergePass 2017-06-27 11:31:33 -04:00
cfg_cleanup_test.cpp The reviewed cfg_cleanup optimize pass 2017-10-19 15:28:09 -04:00
CMakeLists.txt Create a local value numbering pass 2017-11-23 11:45:09 -05:00
common_uniform_elim_test.cpp Fixed --eliminate-common-uniform so that it does not eliminate loads of volatile variables. 2017-10-24 11:17:33 -04:00
compact_ids_test.cpp Compact-ids pass should update the header ID bound 2017-10-03 11:24:28 -04:00
dead_branch_elim_test.cpp DeadBranchElim: Add dead case elimination 2017-10-12 11:44:05 -04:00
dead_variable_elim_test.cpp Add pass to remove dead variables at the module level. 2017-10-23 13:57:05 -04:00
def_use_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
eliminate_dead_const_test.cpp Provide friendly names for true and false 2017-01-11 16:33:45 -05:00
eliminate_dead_functions_test.cpp Create the dead function elimination pass 2017-09-26 11:18:06 -04:00
flatten_decoration_test.cpp Add FlattenDecoration transform 2017-04-06 11:19:56 -04:00
fold_spec_const_op_composite_test.cpp Provide friendly names for true and false 2017-01-11 16:33:45 -05:00
freeze_spec_const_test.cpp Provide friendly names for true and false 2017-01-11 16:33:45 -05:00
inline_opaque_test.cpp Opt: Create InlineOpaquePass 2017-08-18 18:04:30 -04:00
inline_test.cpp Fix decorations of inlined functions. 2017-11-13 12:49:25 -05:00
insert_extract_elim_test.cpp Optimize loads/stores on nested structs 2017-11-21 17:56:03 -05:00
instruction_list_test.cpp Change the sections in the module to use the InstructionList class. 2017-10-25 15:52:06 -04:00
instruction_test.cpp Create a local value numbering pass 2017-11-23 11:45:09 -05:00
ir_context_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
ir_loader_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
iterator_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
line_debug_info_test.cpp Add the IRContext (part 1) 2017-10-31 13:46:05 -04:00
local_access_chain_convert_test.cpp Optimize loads/stores on nested structs 2017-11-21 17:56:03 -05:00
local_redundancy_elimination_test.cpp Create a local value numbering pass 2017-11-23 11:45:09 -05:00
local_single_block_elim.cpp Add strength reduction; for now replace multiply by power of 2 2017-09-18 17:01:36 -04:00
local_single_store_elim_test.cpp Opt: Delete names and decorations of dead instructions 2017-07-26 18:36:41 -04:00
local_ssa_elim_test.cpp Opt: Fix HasLoads to not report decoration as load. 2017-11-07 17:39:58 -05:00
module_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
module_utils.h Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
optimizer_test.cpp Fix optimizer on when to write the binary 2017-04-03 15:48:50 -04:00
pass_fixture.h Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
pass_manager_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
pass_merge_return_test.cpp Initial implementation of merge return pass. 2017-11-15 10:27:04 -05:00
pass_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
pass_utils.cpp Relicense SPIRV-Tools under Apache 2.0 2016-09-02 10:00:29 -04:00
pass_utils.h Add strength reduction; for now replace multiply by power of 2 2017-09-18 17:01:36 -04:00
set_spec_const_default_value_test.cpp Update set_spec_const_default_value_test.cpp 2017-05-08 10:41:48 -04:00
strength_reduction_test.cpp Tests: Add optional dependency on Effcee stateful matcher 2017-11-13 11:34:21 -05:00
strip_debug_info_test.cpp Optimizer: OpModuleProcessed is in its own layout section 2017-10-23 10:46:37 -04:00
type_manager_test.cpp Adding an unique id to Instruction generated by IRContext 2017-11-20 17:49:10 -05:00
types_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
unify_const_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
utils_test.cpp Renaming test files to comply with Google style guide. 2016-11-07 14:41:51 -05:00
value_table_test.cpp Create a local value numbering pass 2017-11-23 11:45:09 -05:00