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
16namespace llvm {
17class PassRegistry;
18class PassBuilder;
19struct PassPluginLibraryInfo;
20namespace legacy {
21class PassManagerBase;
22} // namespace legacy
23} // namespace llvm
24
25namespace polly {
26void initializePollyPasses(llvm::PassRegistry &Registry);
27void registerPollyPasses(llvm::PassBuilder &PB);
28} // namespace polly
29
30llvm::PassPluginLibraryInfo getPollyPluginInfo();
31
32#endif
33

source code of polly/include/polly/RegisterPasses.h