1 // Copyright (c) 2016 Google Inc.
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
7 // http://www.apache.org/licenses/LICENSE-2.0
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.
15 #ifndef LIBSPIRV_OPT_PASSES_H_
16 #define LIBSPIRV_OPT_PASSES_H_
18 // A single header to include all passes.
20 #include "aggressive_dead_code_elim_pass.h"
21 #include "block_merge_pass.h"
22 #include "cfg_cleanup_pass.h"
23 #include "common_uniform_elim_pass.h"
24 #include "compact_ids_pass.h"
25 #include "dead_branch_elim_pass.h"
26 #include "dead_variable_elimination.h"
27 #include "eliminate_dead_constant_pass.h"
28 #include "eliminate_dead_functions_pass.h"
29 #include "flatten_decoration_pass.h"
30 #include "fold_spec_constant_op_and_composite_pass.h"
31 #include "freeze_spec_constant_value_pass.h"
32 #include "inline_exhaustive_pass.h"
33 #include "inline_opaque_pass.h"
34 #include "insert_extract_elim.h"
35 #include "local_access_chain_convert_pass.h"
36 #include "local_single_block_elim_pass.h"
37 #include "local_single_store_elim_pass.h"
38 #include "local_ssa_elim_pass.h"
39 #include "null_pass.h"
40 #include "set_spec_constant_default_value_pass.h"
41 #include "strength_reduction_pass.h"
42 #include "strip_debug_info_pass.h"
43 #include "unify_const_pass.h"
44 #include "eliminate_dead_functions_pass.h"
45 #include "merge_return_pass.h"
47 #endif // LIBSPIRV_OPT_PASSES_H_