OSDN Git Service

[SCEV] Extends the SCEVInitRewriter
authorSerguei Katkov <serguei.katkov@azul.com>
Mon, 26 Feb 2018 07:08:56 +0000 (07:08 +0000)
committerSerguei Katkov <serguei.katkov@azul.com>
Mon, 26 Feb 2018 07:08:56 +0000 (07:08 +0000)
commitf7e09e372b5a5a1a0fe2484decfb534cbdb3f234
treee3b23f116920b50df01f7a0455424d9606a0e2b7
parent6c409226e672c0b4371e1cd9248589df849fcf0d
[SCEV] Extends the SCEVInitRewriter

The patch introduces an additional parameter IgnoreOtherLoops to SCEVInitRewriter.
if it is equal to true then rewriter will not invalidate result in case
SCEV depends on other loops then specified during creation.

The patch does not change the default behavior.
This is a preparation for re-writing isKnownPredicate utility as
described in https://reviews.llvm.org/D42417.

Reviewers: sanjoy, mkazantsev, reames
Reviewed By: sanjoy
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D43498

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@326067 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/ScalarEvolution.cpp