2016-06-28 18:58:17 +00:00
|
|
|
// Copyright (c) 2016 Google Inc.
|
|
|
|
//
|
2016-09-01 19:33:59 +00:00
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
2016-06-28 18:58:17 +00:00
|
|
|
//
|
2016-09-01 19:33:59 +00:00
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
2016-06-28 18:58:17 +00:00
|
|
|
//
|
2016-09-01 19:33:59 +00:00
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
2016-06-28 18:58:17 +00:00
|
|
|
|
|
|
|
#ifndef LIBSPIRV_OPT_PASSES_H_
|
|
|
|
#define LIBSPIRV_OPT_PASSES_H_
|
|
|
|
|
2016-08-29 19:46:09 +00:00
|
|
|
// A single header to include all passes.
|
2016-06-28 18:58:17 +00:00
|
|
|
|
2017-11-08 17:40:02 +00:00
|
|
|
#include "aggressive_dead_code_elim_pass.h"
|
2017-06-07 21:28:53 +00:00
|
|
|
#include "block_merge_pass.h"
|
2017-12-05 16:39:25 +00:00
|
|
|
#include "ccp_pass.h"
|
2017-09-06 12:56:41 +00:00
|
|
|
#include "cfg_cleanup_pass.h"
|
2017-07-03 23:23:04 +00:00
|
|
|
#include "common_uniform_elim_pass.h"
|
2017-04-11 19:11:04 +00:00
|
|
|
#include "compact_ids_pass.h"
|
2017-06-02 19:23:20 +00:00
|
|
|
#include "dead_branch_elim_pass.h"
|
2018-01-27 00:05:33 +00:00
|
|
|
#include "dead_insert_elim_pass.h"
|
2017-10-20 16:17:41 +00:00
|
|
|
#include "dead_variable_elimination.h"
|
2016-08-29 19:46:09 +00:00
|
|
|
#include "eliminate_dead_constant_pass.h"
|
2017-11-08 17:40:02 +00:00
|
|
|
#include "eliminate_dead_functions_pass.h"
|
2017-04-01 20:10:16 +00:00
|
|
|
#include "flatten_decoration_pass.h"
|
2016-08-29 19:46:09 +00:00
|
|
|
#include "fold_spec_constant_op_and_composite_pass.h"
|
2017-11-08 17:40:02 +00:00
|
|
|
#include "freeze_spec_constant_value_pass.h"
|
2018-01-16 16:15:06 +00:00
|
|
|
#include "if_conversion.h"
|
2017-08-01 23:20:13 +00:00
|
|
|
#include "inline_exhaustive_pass.h"
|
2017-08-15 23:58:28 +00:00
|
|
|
#include "inline_opaque_pass.h"
|
2017-05-26 16:33:11 +00:00
|
|
|
#include "insert_extract_elim.h"
|
2018-01-29 10:39:55 +00:00
|
|
|
#include "licm_pass.h"
|
2017-11-08 17:40:02 +00:00
|
|
|
#include "local_access_chain_convert_pass.h"
|
2017-11-27 15:16:41 +00:00
|
|
|
#include "local_redundancy_elimination.h"
|
2017-05-18 20:51:55 +00:00
|
|
|
#include "local_single_block_elim_pass.h"
|
2017-05-19 23:31:28 +00:00
|
|
|
#include "local_single_store_elim_pass.h"
|
2017-06-16 21:37:31 +00:00
|
|
|
#include "local_ssa_elim_pass.h"
|
2018-02-14 17:03:12 +00:00
|
|
|
#include "loop_unroller.h"
|
2017-11-27 15:16:41 +00:00
|
|
|
#include "merge_return_pass.h"
|
2016-08-29 19:46:09 +00:00
|
|
|
#include "null_pass.h"
|
2017-12-11 18:10:24 +00:00
|
|
|
#include "private_to_local_pass.h"
|
2017-12-04 17:29:51 +00:00
|
|
|
#include "redundancy_elimination.h"
|
2017-12-08 20:33:19 +00:00
|
|
|
#include "remove_duplicates_pass.h"
|
2018-01-30 16:24:03 +00:00
|
|
|
#include "replace_invalid_opc.h"
|
2017-11-30 22:03:06 +00:00
|
|
|
#include "scalar_replacement_pass.h"
|
2016-08-30 18:57:56 +00:00
|
|
|
#include "set_spec_constant_default_value_pass.h"
|
2017-09-08 16:08:03 +00:00
|
|
|
#include "strength_reduction_pass.h"
|
2016-08-29 19:46:09 +00:00
|
|
|
#include "strip_debug_info_pass.h"
|
2016-08-17 21:19:48 +00:00
|
|
|
#include "unify_const_pass.h"
|
2018-01-17 19:57:37 +00:00
|
|
|
#include "workaround1209.h"
|
2016-06-28 18:58:17 +00:00
|
|
|
#endif // LIBSPIRV_OPT_PASSES_H_
|