[Polly][NewPM] Port ScopDetection to the new PassManager
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Fri, 12 May 2017 14:37:29 +0000 (14:37 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Fri, 12 May 2017 14:37:29 +0000 (14:37 +0000)
commit5cc87e3ab3912a601fa33c7019f4284d141cee19
tree16e10fe8c44adcccf5889990d4b7b9cbc2331270
parentb0fdf57543253fec07a9d315b3cea71e87b513ba
[Polly][NewPM] Port ScopDetection to the new PassManager

Summary: This is a proof of concept of how to port polly-passes to the new PassManager architecture.  This approach works ootb for Function-Passes, but might not be directly applicable to Scop/Region-Passes. While we could just run the Analyses/Transforms over functions instead, we'd surrender the nice pipelining behaviour we have now.

Reviewers: Meinersbur, grosser

Reviewed By: grosser

Subscribers: pollydev, sanjoy, nemanjai, llvm-commits

Tags: #polly

Differential Revision: https://reviews.llvm.org/D31459

llvm-svn: 302902
polly/include/polly/LinkAllPasses.h
polly/include/polly/ScopDetection.h
polly/include/polly/ScopInfo.h
polly/lib/Analysis/ScopDetection.cpp
polly/lib/Analysis/ScopGraphPrinter.cpp
polly/lib/Analysis/ScopInfo.cpp
polly/lib/CodeGen/CodeGeneration.cpp
polly/lib/CodeGen/PPCGCodeGeneration.cpp
polly/lib/Support/RegisterPasses.cpp