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
54#include "mlir/IR/DialectRegistry.h"
55#include "mlir/Pass/Pass.h"
56#include "mlir/Pass/PassRegistry.h"
57
58namespace circt {
59
60// Generate pass declarations.
61#define GEN_PASS_DECL_CONVERTTOLLVM
62#include "circt/Conversion/Passes.h.inc"
63
64// Generate the code for registering conversion passes.
65#define GEN_PASS_REGISTRATION
66#include "circt/Conversion/Passes.h.inc"
67
68} // namespace circt
69
70#endif // CIRCT_CONVERSION_PASSES_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.