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-06-07 21:28:53 +00:00
|
|
|
#include "block_merge_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"
|
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-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-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"
|
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"
|
2016-08-29 19:46:09 +00:00
|
|
|
#include "freeze_spec_constant_value_pass.h"
|
2017-05-12 23:27:21 +00:00
|
|
|
#include "local_access_chain_convert_pass.h"
|
2017-06-08 16:37:21 +00:00
|
|
|
#include "aggressive_dead_code_elim_pass.h"
|
2016-08-29 19:46:09 +00:00
|
|
|
#include "null_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"
|
2017-09-19 14:12:13 +00:00
|
|
|
#include "eliminate_dead_functions_pass.h"
|
2016-06-28 18:58:17 +00:00
|
|
|
|
|
|
|
#endif // LIBSPIRV_OPT_PASSES_H_
|