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 #ifndef LIBSPIRV_OPT_PASSES_H_ 16 #define LIBSPIRV_OPT_PASSES_H_ 17 18 // A single header to include all passes. 19 20 #include "block_merge_pass.h" 21 #include "compact_ids_pass.h" 22 #include "dead_branch_elim_pass.h" 23 #include "eliminate_dead_constant_pass.h" 24 #include "flatten_decoration_pass.h" 25 #include "fold_spec_constant_op_and_composite_pass.h" 26 #include "inline_pass.h" 27 #include "insert_extract_elim.h" 28 #include "local_single_block_elim_pass.h" 29 #include "local_single_store_elim_pass.h" 30 #include "local_ssa_elim_pass.h" 31 #include "freeze_spec_constant_value_pass.h" 32 #include "local_access_chain_convert_pass.h" 33 #include "aggressive_dead_code_elim_pass.h" 34 #include "null_pass.h" 35 #include "set_spec_constant_default_value_pass.h" 36 #include "strip_debug_info_pass.h" 37 #include "unify_const_pass.h" 38 39 #endif // LIBSPIRV_OPT_PASSES_H_ 40