blob: 01ded900bcc08e5d0d8f045ed8feee9bd93a53b6 [file] [log] [blame]
//===------ polly/CodeGeneration.h - The Polly code generator *- C++ -*-===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
//===----------------------------------------------------------------------===//
#ifndef POLLY_CODEGENERATION_H
#define POLLY_CODEGENERATION_H
#include "polly/Config/config.h"
#include "polly/ScopPass.h"
#include "isl/map.h"
#include "isl/set.h"
namespace polly {
enum VectorizerChoice {
VECTORIZER_NONE,
VECTORIZER_STRIPMINE,
VECTORIZER_POLLY,
};
extern VectorizerChoice PollyVectorizerChoice;
struct CodeGenerationPass : public PassInfoMixin<CodeGenerationPass> {
PreservedAnalyses run(Scop &S, ScopAnalysisManager &SAM,
ScopStandardAnalysisResults &AR, SPMUpdater &U);
};
} // namespace polly
#endif // POLLY_CODEGENERATION_H