• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright (c) 2017 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
16add_spvtools_unittest(TARGET opt_loops
17  SRCS ../function_utils.h
18       dependence_analysis.cpp
19       dependence_analysis_helpers.cpp
20       fusion_compatibility.cpp
21       fusion_illegal.cpp
22       fusion_legal.cpp
23       fusion_pass.cpp
24       hoist_all_loop_types.cpp
25       hoist_double_nested_loops.cpp
26       hoist_from_independent_loops.cpp
27       hoist_simple_case.cpp
28       hoist_single_nested_loops.cpp
29       hoist_without_preheader.cpp
30       lcssa.cpp
31       loop_descriptions.cpp
32       loop_fission.cpp
33       nested_loops.cpp
34       peeling.cpp
35       peeling_pass.cpp
36       unroll_assumptions.cpp
37       unroll_simple.cpp
38       unswitch.cpp
39  LIBS SPIRV-Tools-opt
40  PCH_FILE pch_test_opt_loop
41)
42