| 1 |
# Copyright (c) 2016 Google Inc. |
| 2 |
# |
| 3 |
# Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 |
# you may not use this file except in compliance with the License. |
| 5 |
# You may obtain a copy of the License at |
| 6 |
# |
| 7 |
# http://www.apache.org/licenses/LICENSE-2.0 |
| 8 |
# |
| 9 |
# Unless required by applicable law or agreed to in writing, software |
| 10 |
# distributed under the License is distributed on an "AS IS" BASIS, |
| 11 |
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 |
# See the License for the specific language governing permissions and |
| 13 |
# limitations under the License. |
| 14 |
|
| 15 |
add_subdirectory(dominator_tree) |
| 16 |
add_subdirectory(loop_optimizations) |
| 17 |
|
| 18 |
add_spvtools_unittest(TARGET opt |
| 19 |
SRCS aggressive_dead_code_elim_test.cpp |
| 20 |
amd_ext_to_khr.cpp |
| 21 |
assembly_builder_test.cpp |
| 22 |
block_merge_test.cpp |
| 23 |
ccp_test.cpp |
| 24 |
cfg_cleanup_test.cpp |
| 25 |
cfg_test.cpp |
| 26 |
code_sink_test.cpp |
| 27 |
combine_access_chains_test.cpp |
| 28 |
compact_ids_test.cpp |
| 29 |
constants_test.cpp |
| 30 |
constant_manager_test.cpp |
| 31 |
convert_relaxed_to_half_test.cpp |
| 32 |
copy_prop_array_test.cpp |
| 33 |
dead_branch_elim_test.cpp |
| 34 |
dead_insert_elim_test.cpp |
| 35 |
dead_variable_elim_test.cpp |
| 36 |
debug_info_manager_test.cpp |
| 37 |
decompose_initialized_variables_test.cpp |
| 38 |
decoration_manager_test.cpp |
| 39 |
def_use_test.cpp |
| 40 |
desc_sroa_test.cpp |
| 41 |
eliminate_dead_const_test.cpp |
| 42 |
eliminate_dead_functions_test.cpp |
| 43 |
eliminate_dead_member_test.cpp |
| 44 |
feature_manager_test.cpp |
| 45 |
fix_storage_class_test.cpp |
| 46 |
flatten_decoration_test.cpp |
| 47 |
fold_spec_const_op_composite_test.cpp |
| 48 |
fold_test.cpp |
| 49 |
freeze_spec_const_test.cpp |
| 50 |
function_test.cpp |
| 51 |
generate_webgpu_initializers_test.cpp |
| 52 |
graphics_robust_access_test.cpp |
| 53 |
if_conversion_test.cpp |
| 54 |
inline_opaque_test.cpp |
| 55 |
inline_test.cpp |
| 56 |
insert_extract_elim_test.cpp |
| 57 |
inst_bindless_check_test.cpp |
| 58 |
inst_buff_addr_check_test.cpp |
| 59 |
inst_debug_printf_test.cpp |
| 60 |
instruction_list_test.cpp |
| 61 |
instruction_test.cpp |
| 62 |
ir_builder.cpp |
| 63 |
ir_context_test.cpp |
| 64 |
ir_loader_test.cpp |
| 65 |
iterator_test.cpp |
| 66 |
legalize_vector_shuffle_test.cpp |
| 67 |
line_debug_info_test.cpp |
| 68 |
local_access_chain_convert_test.cpp |
| 69 |
local_redundancy_elimination_test.cpp |
| 70 |
local_single_block_elim.cpp |
| 71 |
local_single_store_elim_test.cpp |
| 72 |
local_ssa_elim_test.cpp |
| 73 |
module_test.cpp |
| 74 |
module_utils.h |
| 75 |
optimizer_test.cpp |
| 76 |
pass_manager_test.cpp |
| 77 |
pass_merge_return_test.cpp |
| 78 |
pass_remove_duplicates_test.cpp |
| 79 |
pass_utils.cpp |
| 80 |
private_to_local_test.cpp |
| 81 |
propagator_test.cpp |
| 82 |
reduce_load_size_test.cpp |
| 83 |
redundancy_elimination_test.cpp |
| 84 |
register_liveness.cpp |
| 85 |
relax_float_ops_test.cpp |
| 86 |
replace_invalid_opc_test.cpp |
| 87 |
scalar_analysis.cpp |
| 88 |
scalar_replacement_test.cpp |
| 89 |
set_spec_const_default_value_test.cpp |
| 90 |
simplification_test.cpp |
| 91 |
split_invalid_unreachable_test.cpp |
| 92 |
strength_reduction_test.cpp |
| 93 |
strip_atomic_counter_memory_test.cpp |
| 94 |
strip_debug_info_test.cpp |
| 95 |
strip_reflect_info_test.cpp |
| 96 |
struct_cfg_analysis_test.cpp |
| 97 |
type_manager_test.cpp |
| 98 |
types_test.cpp |
| 99 |
unify_const_test.cpp |
| 100 |
upgrade_memory_model_test.cpp |
| 101 |
utils_test.cpp pass_utils.cpp |
| 102 |
value_table_test.cpp |
| 103 |
vector_dce_test.cpp |
| 104 |
workaround1209_test.cpp |
| 105 |
wrap_opkill_test.cpp |
| 106 |
LIBS SPIRV-Tools-opt |
| 107 |
PCH_FILE pch_test_opt |
| 108 |
) |