CMakeLists.txt 1.3 KB

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