Loop invariant code motion initial implementation
[platform/upstream/SPIRV-Tools.git] / source / opt / passes.h
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 "aggressive_dead_code_elim_pass.h"
21 #include "block_merge_pass.h"
22 #include "ccp_pass.h"
23 #include "cfg_cleanup_pass.h"
24 #include "common_uniform_elim_pass.h"
25 #include "compact_ids_pass.h"
26 #include "dead_branch_elim_pass.h"
27 #include "dead_insert_elim_pass.h"
28 #include "dead_variable_elimination.h"
29 #include "eliminate_dead_constant_pass.h"
30 #include "eliminate_dead_functions_pass.h"
31 #include "flatten_decoration_pass.h"
32 #include "fold_spec_constant_op_and_composite_pass.h"
33 #include "freeze_spec_constant_value_pass.h"
34 #include "if_conversion.h"
35 #include "inline_exhaustive_pass.h"
36 #include "inline_opaque_pass.h"
37 #include "insert_extract_elim.h"
38 #include "licm_pass.h"
39 #include "local_access_chain_convert_pass.h"
40 #include "local_redundancy_elimination.h"
41 #include "local_single_block_elim_pass.h"
42 #include "local_single_store_elim_pass.h"
43 #include "local_ssa_elim_pass.h"
44 #include "merge_return_pass.h"
45 #include "null_pass.h"
46 #include "private_to_local_pass.h"
47 #include "redundancy_elimination.h"
48 #include "remove_duplicates_pass.h"
49 #include "replace_invalid_opc.h"
50 #include "scalar_replacement_pass.h"
51 #include "set_spec_constant_default_value_pass.h"
52 #include "strength_reduction_pass.h"
53 #include "strip_debug_info_pass.h"
54 #include "unify_const_pass.h"
55 #include "workaround1209.h"
56
57 #endif  // LIBSPIRV_OPT_PASSES_H_