1/* Copyright 2021 The TensorFlow Authors. All Rights Reserved.
2
3Licensed under the Apache License, Version 2.0 (the "License");
4you may not use this file except in compliance with the License.
5You may obtain a copy of the License at
6
7 http://www.apache.org/licenses/LICENSE-2.0
8
9Unless required by applicable law or agreed to in writing, software
10distributed under the License is distributed on an "AS IS" BASIS,
11WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12See the License for the specific language governing permissions and
13limitations under the License.
14==============================================================================*/
15
16#ifndef TENSORFLOW_CORE_TRANSFORMS_PASS_REGISTRATION_H_
17#define TENSORFLOW_CORE_TRANSFORMS_PASS_REGISTRATION_H_
18
19#include <memory>
20
21#include "tensorflow/core/transforms/cf_sink/pass.h"
22#include "tensorflow/core/transforms/consolidate_attrs/pass.h"
23#include "tensorflow/core/transforms/const_dedupe_hoist/pass.h"
24#include "tensorflow/core/transforms/constant_folding/pass.h"
25#include "tensorflow/core/transforms/cse/pass.h"
26#include "tensorflow/core/transforms/drop_unregistered_attribute/pass.h"
27#include "tensorflow/core/transforms/eliminate_passthrough_iter_args/pass.h"
28#include "tensorflow/core/transforms/func_to_graph/pass.h"
29#include "tensorflow/core/transforms/functional_to_region/pass.h"
30#include "tensorflow/core/transforms/graph_compactor/pass.h"
31#include "tensorflow/core/transforms/graph_to_func/pass.h"
32#include "tensorflow/core/transforms/legacy_call/pass.h"
33#include "tensorflow/core/transforms/region_to_functional/pass.h"
34#include "tensorflow/core/transforms/remapper/pass.h"
35#include "tensorflow/core/transforms/shape_inference/pass.h"
36#include "tensorflow/core/transforms/toposort/pass.h"
37
38namespace mlir {
39namespace tfg {
40
41// Generate the code for registering passes for command-line parsing.
42#define GEN_PASS_REGISTRATION
43#include "tensorflow/core/transforms/passes.h.inc"
44
45} // namespace tfg
46} // namespace mlir
47
48#endif // TENSORFLOW_CORE_TRANSFORMS_PASS_REGISTRATION_H_
49