summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/python_api/section
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2016-02-02 03:15:40 +0000
committerPhilip Reames <listmail@philipreames.com>2016-02-02 03:15:40 +0000
commit44456b896391223fee699a802463b9843ffc9cdb (patch)
treeeaa3110a03fd0f62ae8830bd7eb33310b274751b /lldb/packages/Python/lldbsuite/test/python_api/section
parent909cc681636284063461f0b15413c33111d62d00 (diff)
downloadbcm5719-llvm-44456b896391223fee699a802463b9843ffc9cdb.tar.gz
bcm5719-llvm-44456b896391223fee699a802463b9843ffc9cdb.zip
[LVI] Introduce an intersect operation on lattice values
LVI has several separate sources of facts - edge local conditions, recursive queries, assumes, and control independent value facts - which all apply to the same value at the same location. The existing implementation was very conservative about exploiting all of these facts at once. This change introduces an "intersect" function specifically to abstract the action of picking a good set of facts from all of the separate facts given. At the moment, this function is relatively simple (i.e. mostly just reuses the bits which were already there), but even the minor additions reveal the inherent power. For example, JumpThreading is now capable of doing an inductive proof that a particular value is always positive and removing a half range check. I'm currently only using the new intersect function in one place. If folks are happy with the direction of the work, I plan on making a series of small changes without review to replace mergeIn with intersect at all the appropriate places. Differential Revision: http://reviews.llvm.org/D14476 llvm-svn: 259461
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/section')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud