| //===------ polly/RegisterPasses.h - Register the Polly passes *- C++ -*-===// |
| // |
| // The LLVM Compiler Infrastructure |
| // |
| // This file is distributed under the University of Illinois Open Source |
| // License. See LICENSE.TXT for details. |
| // |
| //===----------------------------------------------------------------------===// |
| // |
| // Functions to register the Polly passes in a LLVM pass manager. |
| // |
| //===----------------------------------------------------------------------===// |
| |
| #ifndef POLLY_REGISTER_PASSES_H |
| #define POLLY_REGISTER_PASSES_H |
| |
| #include "llvm/IR/LegacyPassManager.h" |
| |
| namespace llvm { |
| namespace legacy { |
| class PassManagerBase; |
| } // namespace legacy |
| } // namespace llvm |
| |
| namespace polly { |
| void initializePollyPasses(llvm::PassRegistry &Registry); |
| void registerPollyPasses(llvm::legacy::PassManagerBase &PM); |
| } // namespace polly |
| #endif |