CIRCT 22.0.0git
Loading...
Searching...
No Matches
Passes.h
Go to the documentation of this file.
1//===- Passes.h - Conversion Pass Construction and Registration -*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This fle contains the declarations to register conversion passes.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CIRCT_CONVERSION_PASSES_H
14#define CIRCT_CONVERSION_PASSES_H
15
56#include "mlir/IR/DialectRegistry.h"
57#include "mlir/Pass/Pass.h"
58#include "mlir/Pass/PassRegistry.h"
59
60namespace circt {
61
62// Generate pass declarations.
63#define GEN_PASS_DECL_CONVERTTOLLVM
64#include "circt/Conversion/Passes.h.inc"
65
66// Generate the code for registering conversion passes.
67#define GEN_PASS_REGISTRATION
68#include "circt/Conversion/Passes.h.inc"
69
70} // namespace circt
71
72#endif // CIRCT_CONVERSION_PASSES_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.