Add caching to the SCEVAffinator
authorJohannes Doerfert <doerfert@cs.uni-saarland.de>
Wed, 12 Aug 2015 10:46:33 +0000 (10:46 +0000)
committerJohannes Doerfert <doerfert@cs.uni-saarland.de>
Wed, 12 Aug 2015 10:46:33 +0000 (10:46 +0000)
commit3f0a2a325ffc23143136376b56b6b3be976dd58d
treee9aa8169a871464eb72330d325fdc701f5ced5bc
parentf363bfb730aa27e6087868bb7348bebec1cd58b8
Add caching to the SCEVAffinator

  While the compile time is not affected by this patch much it will
  allow us to look at all translated expressions after the SCoP is build
  in a convenient way. Additionally, bigger SCoPs or SCoPs with
  repeating complicated expressions might benefit from the cache later
  on.

Reviewers: grosser, Meinersbur

Subscribers: #polly

Differential Revision: http://reviews.llvm.org/D11975

llvm-svn: 244734
polly/include/polly/Support/SCEVAffinator.h
polly/lib/Support/SCEVAffinator.cpp