OSDN Git Service

Added ability to generate last-value of linear induction.
authorAart Bik <ajcbik@google.com>
Fri, 9 Sep 2016 17:33:50 +0000 (10:33 -0700)
committerAart Bik <ajcbik@google.com>
Thu, 15 Sep 2016 15:59:36 +0000 (08:59 -0700)
commit16d3a65a25f03a7e447cafc7ab8fbdb52807cae6
treecb22e0f7109b75dee3df0eb57939eb2a5004d854
parent32772cbdbcb35f5475b01f31314a3c7289bdb589
Added ability to generate last-value of linear induction.
Also added utility to update fetches in induction nodes.

Rationale:
This is a first step towards the larger CL that introduces
a new loop optimization framework in the optimizing compiler
(see https://android-review.googlesource.com/#/c/271392/3).

Change-Id: Ibecd674c8146d9665340e68718c498555646129a
Tests: induction_var_range_test
compiler/optimizing/bounds_check_elimination.cc
compiler/optimizing/induction_var_range.cc
compiler/optimizing/induction_var_range.h
compiler/optimizing/induction_var_range_test.cc