Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 1 | //===------ polly/RegisterPasses.h - Register the Polly passes *- 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 | // Functions to register the Polly passes in a LLVM pass manager. |
||
10 | // |
||
11 | //===----------------------------------------------------------------------===// |
||
12 | |||
13 | #ifndef POLLY_REGISTER_PASSES_H |
||
14 | #define POLLY_REGISTER_PASSES_H |
||
15 | |||
16 | namespace llvm { |
||
17 | class PassRegistry; |
||
18 | class PassBuilder; |
||
19 | struct PassPluginLibraryInfo; |
||
20 | namespace legacy { |
||
21 | class PassManagerBase; |
||
22 | } // namespace legacy |
||
23 | } // namespace llvm |
||
24 | |||
25 | namespace polly { |
||
26 | void initializePollyPasses(llvm::PassRegistry &Registry); |
||
27 | void registerPollyPasses(llvm::PassBuilder &PB); |
||
28 | } // namespace polly |
||
29 | |||
30 | llvm::PassPluginLibraryInfo getPollyPluginInfo(); |
||
31 | |||
32 | #endif |