History log of /external/llvm/unittests/Support/IntegersSubsetTest.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5a88dda4be791426ab4d20a6a6c9c65d66614a27 04-Dec-2012 Chandler Carruth <chandlerc@gmail.com> Sort the #include lines for unittest/...

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169250 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
c723eb1aef817d47feec620933ee1ec6005cdd14 03-Jul-2012 Eric Christopher <echristo@apple.com> Revert "IntRange:" as it appears to be breaking self hosting.

This reverts commit b2833d9dcba88c6f0520cad760619200adc0442c.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159618 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
b2833d9dcba88c6f0520cad760619200adc0442c 02-Jul-2012 Stepan Dyatkovskiy <stpworld@narod.ru> IntRange:
- Changed isSingleNumber method behaviour. Now this flag is calculated on demand.
IntegersSubsetMapping
- Optimized diff operation.
- Replaced type of Items field from std::list with std::map.
- Added new methods:
bool isOverlapped(self &RHS)
void add(self& RHS, SuccessorClass *S)
void detachCase(self& NewMapping, SuccessorClass *Succ)
void removeCase(SuccessorClass *Succ)
SuccessorClass *findSuccessor(const IntTy& Val)
const IntTy* getCaseSingleNumber(SuccessorClass *Succ)
IntegersSubsetTest
- DiffTest: Added checks for successors.
SimplifyCFG
Updated SwitchInst usage (now it is case-ragnes compatible) for
- SimplifyEqualityComparisonWithOnlyPredecessor
- FoldValueComparisonIntoPredecessors



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159527 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
0e20eb496ef65988023ab439259010cac82cd1ca 26-Jun-2012 Stepan Dyatkovskiy <stpworld@narod.ru> IntegersSubsetTest: Due to compilation failure with -std=c11, replaced -1UL with NOT_A_NUMBER constant (0xffff).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159207 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
b787d41959163f6104af7b34a5ce719210dfb72f 26-Jun-2012 Stepan Dyatkovskiy <stpworld@narod.ru> IntegersSubsetMapping: implemented "diff" operation. Operation allows at the same time perform up to three operations:
- LHS exclude RHS
- LHS intersect RHS (LHS successors will keeped)
- RHS exclude LHS
The complexity is N+M, where
N is size of LHS
M is size of RHS.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159201 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
0f7a7bcd4820eee293f9300769e1ef4c1cbc1c7c 26-Jun-2012 Stepan Dyatkovskiy <stpworld@narod.ru> IntegersSubsetMapping: removed exclude operation, it will replaced with more universal "diff" operation in next commit.
Changes was separated onto two commits for better readability.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159200 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
5d59b0b38ea2b6f1860fe1e741fbaf1d7457c0b8 05-Jun-2012 Stepan Dyatkovskiy <stpworld@narod.ru> IntegersSubsetMapping: added exclude operation, that allows to exclude subset of integers from current mapping.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157989 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
20cb4919cd01967b11b0b468fd43167b263ed028 05-Jun-2012 Stepan Dyatkovskiy <stpworld@narod.ru> IntegersSubsetMapping:
Changed type of Items collection: from std::vector to std::list.
Also some small fixes made in IntegersSubset.h, IntegersSubsetMapping.h and IntegersSubsetTest.cpp.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157987 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp
31219d2cec17dca632b6d047a15e86dc92b76e18 02-Jun-2012 Stepan Dyatkovskiy <stpworld@narod.ru> Added unittests for IntegersSubset and IntegersSubsetMapping.
- Fixed IntegersSubsetGeneric copy/assignment behaviour.
- Fixed IntegersSubsetGeneric::getSize/getSingleValue methods.
- Fixed IntegersSubsetGeneric::verify method.

Also IntegersSubset.h and IntegersSubsetMapping.h headers was fixed.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157887 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/unittests/Support/IntegersSubsetTest.cpp