xref: /llvm-project/mlir/include/mlir/Dialect/LLVMIR/Transforms/AddComdats.h (revision a6857156df9a73720fbd9633067d1a61c32dd74e)
1 //===- AddComdats.h - Add comdats to linkonce functions -*- 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 #ifndef MLIR_DIALECT_LLVMIR_TRANSFORMS_ADDCOMDATS_H
10 #define MLIR_DIALECT_LLVMIR_TRANSFORMS_ADDCOMDATS_H
11 
12 #include <memory>
13 
14 namespace mlir {
15 
16 class Pass;
17 
18 namespace LLVM {
19 
20 #define GEN_PASS_DECL_LLVMADDCOMDATS
21 #include "mlir/Dialect/LLVMIR/Transforms/Passes.h.inc"
22 
23 } // namespace LLVM
24 } // namespace mlir
25 
26 #endif // MLIR_DIALECT_LLVMIR_TRANSFORMS_ADDCOMDATS_H
27