1 | //===- bolt/Rewrite/MetadataRewriters.h -------------------------*- 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 BOLT_REWRITE_METADATA_REWRITERS_H |
10 | #define BOLT_REWRITE_METADATA_REWRITERS_H |
11 | |
12 | #include <memory> |
13 | |
14 | namespace llvm { |
15 | namespace bolt { |
16 | |
17 | class MetadataRewriter; |
18 | class BinaryContext; |
19 | |
20 | // The list of rewriter build functions. |
21 | |
22 | std::unique_ptr<MetadataRewriter> createLinuxKernelRewriter(BinaryContext &); |
23 | |
24 | std::unique_ptr<MetadataRewriter> createPseudoProbeRewriter(BinaryContext &); |
25 | |
26 | std::unique_ptr<MetadataRewriter> createSDTRewriter(BinaryContext &); |
27 | |
28 | } // namespace bolt |
29 | } // namespace llvm |
30 | |
31 | #endif // BOLT_REWRITE_METADATA_REWRITERS_H |
32 | |