• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- Passes.h - LLVM Pass Construction and Registration -----------------===//
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 #ifndef MLIR_DIALECT_LLVMIR_TRANSFORMS_PASSES_H
10 #define MLIR_DIALECT_LLVMIR_TRANSFORMS_PASSES_H
11 
12 #include "mlir/Dialect/LLVMIR/Transforms/LegalizeForExport.h"
13 #include "mlir/Pass/Pass.h"
14 
15 namespace mlir {
16 
17 namespace LLVM {
18 
19 /// Generate the code for registering conversion passes.
20 #define GEN_PASS_REGISTRATION
21 #include "mlir/Dialect/LLVMIR/Transforms/Passes.h.inc"
22 
23 } // namespace LLVM
24 } // namespace mlir
25 
26 #endif // MLIR_DIALECT_LLVMIR_TRANSFORMS_PASSES_H
27