[Polly][NewPM] Port CodeGen to the new PM
[polly-mirror.git] / include / polly / CodeGen / CodeGeneration.h
blob01ded900bcc08e5d0d8f045ed8feee9bd93a53b6
1 //===------ polly/CodeGeneration.h - The Polly code generator *- 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 //===----------------------------------------------------------------------===//
12 #ifndef POLLY_CODEGENERATION_H
13 #define POLLY_CODEGENERATION_H
15 #include "polly/Config/config.h"
16 #include "polly/ScopPass.h"
17 #include "isl/map.h"
18 #include "isl/set.h"
20 namespace polly {
21 enum VectorizerChoice {
22 VECTORIZER_NONE,
23 VECTORIZER_STRIPMINE,
24 VECTORIZER_POLLY,
26 extern VectorizerChoice PollyVectorizerChoice;
28 struct CodeGenerationPass : public PassInfoMixin<CodeGenerationPass> {
29 PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
30 ScopStandardAnalysisResults &AR, SPMUpdater &U);
32 } // namespace polly
34 #endif // POLLY_CODEGENERATION_H