36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/ADT/SetVector.h
|
b937c55e93e9d52fa618b3488da04ff73182f3f9 |
|
20-Aug-2013 |
Jakub Staszak <kubastaszak@gmail.com> |
Make sure that pop_back_val() result is used. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188717 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
de2fae4c7bfaedb95705b272015592895e05fd9c |
|
03-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Third try at fixing this. ;] Go back to using std::remove_if, which has most of the behavior we want, but wrap the predicate in one which erases elements from the set if they pass the predicate. Oh what I wouldn't give for a lambda here. Let me know if the predicate wrapping is too much magic. ;] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165076 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
75eac5f0ebff4d0ffe10ce6bc8f2867c5f15315b |
|
03-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Switch the SetVector::remove_if implementation to use partition which preserves the values of the relocated entries, unlikely remove_if. This allows walking them and erasing them. Also flesh out the predicate we are using for this to support the various constraints actually imposed on a UnaryPredicate -- without this we can't compose it with std::not1. Thanks to Sean Silva for the review here and noticing the issue with std::remove_if. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165073 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
5c5b3cf5b8af06b8e9347f3f45e8c67438ffd446 |
|
03-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Teach the new SROA to handle cases where an alloca that has already been scheduled for processing on the worklist eventually gets deleted while we are processing another alloca, fixing the original test case in PR13990. To facilitate this, add a remove_if helper to the SetVector abstraction. It's not easy to use the standard abstractions for this because of the specifics of SetVectors types and implementation. Finally, a nice small test case is included. Thanks to Benjamin for the fantastic reduced test case here! All I had to do was delete some empty basic blocks! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165065 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
5d37976090df34f003e5128e39593b763be0ca71 |
|
03-Oct-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Clean up these doxygen comments to follow the proposed new style. This also makes it more consistent with Clang and several passes' doxygen style. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@165064 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
94c22716d60ff5edf6a98a3c67e0faa001be1142 |
|
27-Sep-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Revert 'Fix a typo 'iff' => 'if''. iff is an abreviation of if and only if. See: http://en.wikipedia.org/wiki/If_and_only_if Commit 164767 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164768 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
7e2c793a2b5c746344652b6579e958ee42fafdcc |
|
27-Sep-2012 |
Sylvestre Ledru <sylvestre@debian.org> |
Fix a typo 'iff' => 'if' git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@164767 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
f5c9bd07bca0a14afc37b7c28409736e001de96d |
|
20-Dec-2011 |
Chris Lattner <sabre@nondot.org> |
add a method to improve compatibility with SmallVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@146928 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
df046f078e95417f0ece761c92b8cc549f7ab105 |
|
23-Sep-2010 |
Dan Gohman <gohman@apple.com> |
Make SetVector's remove indicate whether it actually removed something. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114612 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
f2aac4db4ec4eb0f8b070a4f525801798157dfcf |
|
05-Jun-2010 |
Dan Gohman <gohman@apple.com> |
Implement operator== and operator!= for SetVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@105508 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
a2769a33c94f021a609a462b28ebea069eba6f74 |
|
20-Feb-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Fixed lint errors: * Alphabetized #includes * Removed trailing whitespace * Wrapped or shortened lines over 80 chars git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65181 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
3a54b3dc87a581c203b18050b4f787b4ca28a12c |
|
09-Jan-2009 |
Misha Brukman <brukman+llvm@gmail.com> |
Removed trailing whitespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@62000 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
7ed47a13356daed2a34cd2209a31f92552e3bdd8 |
|
29-Dec-2007 |
Chris Lattner <sabre@nondot.org> |
Don't attribute in file headers anymore. See llvmdev for the discussion of this change. Boy are my fingers tired. ;-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45411 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
5fcaf3ed141a3f0246e41f45077dbb7d7d0b11d3 |
|
04-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
Make SmallSetVector useful git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33854 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
337cde0d5ac8c28793b305d17c1ccfb5228eab11 |
|
04-Feb-2007 |
Chris Lattner <sabre@nondot.org> |
Convert SetVector to be a true adapter class and add SmallSetVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33846 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
cf48cab945f1cbdf637d7d970398cbe6d89135ee |
|
17-Jan-2007 |
Reid Spencer <rspencer@reidspencer.com> |
For PR1094: Make the SetVector::iterator be the vector's const_iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
9769ab22265b313171d201b5928688524a01bd87 |
|
21-Apr-2005 |
Misha Brukman <brukman+llvm@gmail.com> |
Remove trailing whitespace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21408 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
fbb719c7f026525d54a8332ef66c7514a0cf2383 |
|
13-Oct-2004 |
Chris Lattner <sabre@nondot.org> |
Use explicit std:: qualification to avoid relying on Koenig lookup, which VC++ does not do properly. Thanks to Morten Ofstad for the patch! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16955 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
70e2d38361b675ed8c3d874d091636c470795550 |
|
11-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Fix the replace method to assert if an item was erased from the set but not found in the vector. Previously, it just ignored this condition. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16296 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
0bdc620c16963908d74db498f79676e558f09e82 |
|
11-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Implement the remove method for deleting entries from the SetVector. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16283 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
551ccae044b0ff658fe629dd67edd5ffe75d10e8 |
|
02-Sep-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Changes For Bug 352 Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16137 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
3638e9918c632ab517066d79790601d25de568c9 |
|
29-Jul-2004 |
Brian Gaeke <gaeke@uiuc.edu> |
Fix typo in comment. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15318 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
f90fcaf5729f2987c9f4e91ca4e6ee4397ba0a8d |
|
25-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Add back() and pop_back() methods to SetVector Move clear to the end of the class Add assertions git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15203 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
5e8775425063e7067dde18e893977bb9cef0558e |
|
15-Jul-2004 |
Chris Lattner <sabre@nondot.org> |
Give SetVector range support git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14855 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
800473c8df8f0c9b566c9216bf124495451cb573 |
|
08-Jul-2004 |
Reid Spencer <rspencer@reidspencer.com> |
Get rid of some cruft in the insert method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14704 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|
4bb2867bc1faa2eedafc39b37bbf481ff4dcb725 |
|
08-Jul-2004 |
Reid Spencer <rspencer@reidspencer.com> |
First version of a vector with uniqueness constraints (or a set with deterministic, insertion-order iteration). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14702 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/SetVector.h
|