diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-02-17 19:28:04 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-02-17 19:28:04 +0000 |
commit | 9beefec2a9f5d34ab70fef06515c7987cb041f07 (patch) | |
tree | 2c5f6d4fe47c084406f08c50a939cc892320c301 /lib/CodeGen/ModuleBuilder.cpp | |
parent | eca69623c2c942fdb995cecc92a275a189fd731c (diff) |
Revised RangeConstraintManager based on several discussions with Ben Laurie and
Zhongxing Xu. The resultant code is less than 1/2 the size of the original.
Key highlights:
- All CouldBeXXX methods have been removed. Checking for feasibility is now just
done in the AddXXX methods.
- RangeSets now represent "all possible values" explicitly as the range set {
[min, max] } instead of the empty set. The empty set now represents "no
feasible values". This change consolidated much of the core algorithm to only
have one code path instead of alternate paths that considered the empty set to
represent "all possible falues."
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@64787 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions