Move delinearization from SCEVAddRecExpr to ScalarEvolution
authorTobias Grosser <tobias@grosser.es>
Mon, 29 Jun 2015 14:42:48 +0000 (14:42 +0000)
committerTobias Grosser <tobias@grosser.es>
Mon, 29 Jun 2015 14:42:48 +0000 (14:42 +0000)
commit032d56baf20ec5ec5ec3f186ea3bb51e128ecbef
treec053d0991c6a740d92841c58c8d1c3131b93e647
parent9a6c9023325b44115e5559098c4e01914d13ee82
Move delinearization from SCEVAddRecExpr to ScalarEvolution

The expressions we delinearize do not necessarily have to have a SCEVAddRecExpr
at the outermost level. At this moment, the additional flexibility  is not
exploited in LLVM itself, but in Polly we will soon soonish use this
functionality. For LLVM, this change should not affect existing functionality
(which is covered by test/Analysis/Delinearization/)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240952 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ScalarEvolution.h
include/llvm/Analysis/ScalarEvolutionExpressions.h
lib/Analysis/Delinearization.cpp
lib/Analysis/DependenceAnalysis.cpp
lib/Analysis/ScalarEvolution.cpp