blob: 3a81e1ba7487d986b98d9632abdfd23709fbf569 [file] [log] [blame]
//===------ polly/RegisterPasses.h - Register the Polly passes *- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
//
// Functions to register the Polly passes in a LLVM pass manager.
//
//===----------------------------------------------------------------------===//
#ifndef POLLY_REGISTER_PASSES_H
#define POLLY_REGISTER_PASSES_H
namespace llvm {
class PassRegistry;
class PassBuilder;
struct PassPluginLibraryInfo;
namespace legacy {
class PassManagerBase;
} // namespace legacy
} // namespace llvm
namespace polly {
void initializePollyPasses(llvm::PassRegistry &Registry);
void registerPollyPasses(llvm::PassBuilder &PB);
} // namespace polly
llvm::PassPluginLibraryInfo getPollyPluginInfo();
#endif