2018-11-21 19:03:09 +00:00
|
|
|
# Copyright (c) 2018 Google LLC
|
|
|
|
#
|
|
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
# you may not use this file except in compliance with the License.
|
|
|
|
# You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
|
|
|
|
add_spvtools_unittest(TARGET reduce
|
2019-04-15 18:54:36 +00:00
|
|
|
SRCS
|
|
|
|
merge_blocks_test.cpp
|
2019-02-01 14:56:54 +00:00
|
|
|
operand_to_constant_test.cpp
|
2019-01-25 16:37:03 +00:00
|
|
|
operand_to_undef_test.cpp
|
|
|
|
operand_to_dominating_id_test.cpp
|
2018-11-21 19:03:09 +00:00
|
|
|
reduce_test_util.cpp
|
|
|
|
reduce_test_util.h
|
|
|
|
reducer_test.cpp
|
2019-03-21 13:32:21 +00:00
|
|
|
remove_block_test.cpp
|
2019-02-08 16:20:29 +00:00
|
|
|
remove_function_test.cpp
|
2019-04-02 15:50:15 +00:00
|
|
|
remove_selection_test.cpp
|
2020-05-13 21:08:40 +00:00
|
|
|
remove_unused_instruction_test.cpp
|
2020-05-14 14:36:38 +00:00
|
|
|
remove_unused_struct_member_test.cpp
|
2019-01-25 16:37:03 +00:00
|
|
|
structured_loop_to_selection_test.cpp
|
2018-12-12 14:06:13 +00:00
|
|
|
validation_during_reduction_test.cpp
|
2019-04-15 18:54:36 +00:00
|
|
|
conditional_branch_to_simple_conditional_branch_test.cpp
|
|
|
|
simple_conditional_branch_to_branch_test.cpp
|
2018-11-21 19:03:09 +00:00
|
|
|
LIBS SPIRV-Tools-reduce
|
|
|
|
)
|
|
|
|
|