[Polly][NewPM] Port ScopDetection to the new PassManager
commit0459d7beaa53abfcb59e1c4d3af3bbac4402c5ee
authorPhilip Pfaffe <philip.pfaffe@gmail.com>
Fri, 12 May 2017 14:37:29 +0000 (12 14:37 +0000)
committerPhilip Pfaffe <philip.pfaffe@gmail.com>
Fri, 12 May 2017 14:37:29 +0000 (12 14:37 +0000)
tree4b90e1ba7352262bc58d2a903eba812c34eb0da2
parent16a66f34426549296f46e322c9cbefb318eb476e
[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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@302902 91177308-0d34-0410-b5e6-96231b3b80d8
include/polly/LinkAllPasses.h
include/polly/ScopDetection.h
include/polly/ScopInfo.h
lib/Analysis/ScopDetection.cpp
lib/Analysis/ScopGraphPrinter.cpp
lib/Analysis/ScopInfo.cpp
lib/CodeGen/CodeGeneration.cpp
lib/CodeGen/PPCGCodeGeneration.cpp
lib/Support/RegisterPasses.cpp