#include "polly/CodePreparation.h"
#include "polly/LinkAllPasses.h"
#include "polly/Support/ScopHelper.h"
#include "llvm/Analysis/DominanceFrontier.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/RegionInfo.h"
#include "llvm/Analysis/ScalarEvolution.h"
#include "llvm/InitializePasses.h"
usingnamespacellvm;
usingnamespacepolly;
namespace {
class CodePreparation final : public FunctionPass { … };
}
PreservedAnalyses CodePreparationPass::run(Function &F,
FunctionAnalysisManager &FAM) { … }
void CodePreparation::clear() { … }
CodePreparation::~CodePreparation() { … }
void CodePreparation::getAnalysisUsage(AnalysisUsage &AU) const { … }
bool CodePreparation::runOnFunction(Function &F) { … }
void CodePreparation::releaseMemory() { … }
void CodePreparation::print(raw_ostream &OS, const Module *) const { … }
char CodePreparation::ID = …;
char &polly::CodePreparationID = …;
Pass *polly::createCodePreparationPass() { … }
INITIALIZE_PASS_BEGIN(CodePreparation, "polly-prepare",
"Polly - Prepare code for polly", false, false)
INITIALIZE_PASS_DEPENDENCY(LoopInfoWrapperPass)
INITIALIZE_PASS_END(CodePreparation, "polly-prepare",
"Polly - Prepare code for polly", false, false)