[JSON][PM] Port json import/export over to new pm
[polly-mirror.git] / include / polly / RegisterPasses.h
blobdc2aa251445ad9491c75926ea093efd65afad5e7
1 //===------ polly/RegisterPasses.h - Register the Polly passes *- C++ -*-===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 //
10 // Functions to register the Polly passes in a LLVM pass manager.
12 //===----------------------------------------------------------------------===//
14 #ifndef POLLY_REGISTER_PASSES_H
15 #define POLLY_REGISTER_PASSES_H
17 #include "llvm/IR/LegacyPassManager.h"
19 namespace llvm {
20 namespace legacy {
21 class PassManagerBase;
22 } // namespace legacy
23 } // namespace llvm
25 namespace polly {
26 void initializePollyPasses(llvm::PassRegistry &Registry);
27 void registerPollyPasses(llvm::legacy::PassManagerBase &PM);
28 } // namespace polly
29 #endif