dce4a407a24b04eebc6a376f8e62b41aaa7b071f |
|
29-May-2014 |
Stephen Hines <srhines@google.com> |
Update LLVM for 3.5 rebase (r209712). Change-Id: I149556c940fb7dc92d075273c87ff584f400941f
/external/llvm/include/llvm/ADT/STLExtras.h
|
36b56886974eae4f9c5ebc96befd3e7bfe5de338 |
|
24-Apr-2014 |
Stephen Hines <srhines@google.com> |
Update to LLVM 3.5a. Change-Id: Ifadecab779f128e62e430c2b4f6ddd84953ed617
/external/llvm/include/llvm/ADT/STLExtras.h
|
0d293e45b66c742fdbc3998209bb20ed6c5806bf |
|
22-Sep-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Provide basic type safety for array_pod_sort comparators. This makes using array_pod_sort significantly safer. The implementation relies on function pointer casting but that should be safe as we're dealing with void* here. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191175 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
0b6962f4be35aca7054ff68ef9bbbb2e03617d31 |
|
24-Aug-2013 |
Benjamin Kramer <benny.kra@googlemail.com> |
Add a function object to compare the first or second component of a std::pair. Replace instances of this scattered around the code base. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189169 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
d5227545359a4816e52fd100b225ae140ec9b03a |
|
16-Nov-2012 |
Andrew Trick <atrick@apple.com> |
typo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@168202 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
305b515c2787f47adecbe120e4b4bef55c5e5525 |
|
20-Jun-2012 |
Chandler Carruth <chandlerc@gmail.com> |
Remove 'static' from inline functions defined in header files. There is a pretty staggering amount of this in LLVM's header files, this is not all of the instances I'm afraid. These include all of the functions that (in my build) are used by a non-static inline (or external) function. Specifically, these issues were caught by the new '-Winternal-linkage-in-inline' warning. I'll try to just clean up the remainder of the clearly redundant "static inline" cases on functions (not methods!) defined within headers if I can do so in a reliable way. There were even several cases of a missing 'inline' altogether, or my personal favorite "static bool inline". Go figure. ;] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158800 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
c0ccb8bb17028fe0dda139c0972c0125d10e6053 |
|
20-Apr-2012 |
Andrew Trick <atrick@apple.com> |
SparseSet: Add support for key-derived indexes and arbitrary key types. This nicely handles the most common case of virtual register sets, but also handles anticipated cases where we will map pointers to IDs. The goal is not to develop a completely generic SparseSet template. Instead we want to handle the expected uses within llvm without any template antics in the client code. I'm adding a bit of template nastiness here, and some assumption about expected usage in order to make the client code very clean. The expected common uses cases I'm designing for: - integer keys that need to be reindexed, and may map to additional data - densely numbered objects where we want pointer keys because no number->object map exists. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155227 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
c30a38f34bdfecb99ce49e3ffa479039c9bf0209 |
|
21-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
move tier out of an anonymous namespace, it doesn't make sense to for it to be an an anon namespace and be in a header. Eliminate some extraenous uses of tie. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135669 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
2027362e8d99df1780ba604cff624b116a4e6ecf |
|
30-Aug-2010 |
Eric Christopher <echristo@apple.com> |
Kill a couple of unused variables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@112498 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
5c213dc78cc717c30908212049e35cfdb950fa24 |
|
12-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Free DbgScopes in DwarfDebug::endFunction(). Also increased the const-ness of several fields to make it easier to figure out where bugs might be creeping in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@98358 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
1ddcf35b68a4c326c548272134611ce54b1afd25 |
|
08-Mar-2010 |
Douglas Gregor <dgregor@apple.com> |
Revert r97917, which was causing Clang Debug self-host failures. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97932 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
9467f0e3bd2b0fece0d50a6d92f996b4f3952096 |
|
07-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Roll r97906 forward again, without double-deleting CompileUnit::IndexTyDie. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97917 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
8c42ca937453bd216b68baff1f32b47430d5b374 |
|
07-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
_2_ gcc crashes, ah, ah, ah... (Rolling back r97906.) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
f7399bf929f401d4e1aa40f4f7a2265e2cdedc39 |
|
07-Mar-2010 |
Jeffrey Yasskin <jyasskin@google.com> |
Avoid leaking CompileUnits and DbgScopes from DwarfDebug. Leaks found by Valgrind! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97906 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
90c583fff0535d441717425ad4428d85eb2a00a9 |
|
19-Nov-2009 |
Benjamin Kramer <benny.kra@googlemail.com> |
cstdlib is not automatically included with StringRef anymore. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89359 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
9806f833a6697b835f1c795a1bd2f26a84d49d3c |
|
15-Nov-2009 |
Chris Lattner <sabre@nondot.org> |
add a version of array_pod_sort that takes a custom comparator function. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@88861 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
f0891be8bdbeeadb39da5575273b6645755fa383 |
|
27-Aug-2009 |
Gabor Greif <ggreif@gmail.com> |
Clean up the minor mess I caused with removing iterator.h. I shall take care of 80-col violations and the FIXME later. (Thanks goodness that I live in another continent, so the monkeypox did not strike me :-) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80224 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
094da67bd781708e76ab37c76e7a87d86404be05 |
|
09-Aug-2009 |
Daniel Dunbar <daniel@zuster.org> |
STLExtras: Add less_ptr. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78521 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.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/STLExtras.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/STLExtras.h
|
d68a07650cdb2e18f18f362ba533459aa10e01b6 |
|
05-Jan-2009 |
Dan Gohman <gohman@apple.com> |
Tidy up #includes, deleting a bunch of unnecessary #includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61715 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
ccc776fd83b4d200f54cd84af71888e9a740f8fd |
|
02-Jan-2009 |
Nick Lewycky <nicholas@mxc.ca> |
Fix typo. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@61554 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
c65fc3bd27a84281da9819b5fe89a01535a14ecf |
|
01-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
reenable array_pod_sort, this time hopefully happy on 64-bit and big endian systems. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60371 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
7b6113c6e2f23f3bf8b2505bf13bc15b4995c82a |
|
01-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
don't #include <algorithm> into the llvm namespace. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60365 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
de5debfb580bb750af8cda1f87cdd4f70fec7a2b |
|
01-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
switch to std::sort until I have time to sort this out. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60354 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
545fc87454aabbc8ef8720811ab5dbd5588b537b |
|
01-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
define array_pod_sort in terms of operator< instead of my brain damaged approximation. This should fix it on big endian platforms and on 64-bit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60352 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
4329c428404981fb752b51eaec54b451de83a5b0 |
|
01-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
don't assume iterators implicitly convert to pointers. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60336 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
99d0015735f8e2aee1a4b99e39ffdaadc8a1dba8 |
|
01-Dec-2008 |
Chris Lattner <sabre@nondot.org> |
Introduce a new array_pod_sort function and switch LSR to use it instead of std::sort. This shrinks the release-asserts LSR.o file by 1100 bytes of code on my system. We should start using array_pod_sort where possible. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60335 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
3d4227bec59358199c7d53fad8f03fd075723fcf |
|
16-Oct-2008 |
Dan Gohman <gohman@apple.com> |
Fix several places that called mapped_iterator's constructor without passing in a function object. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@57615 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
f1787008295aa274490a5723d5556b3c92045604 |
|
07-Jul-2008 |
Dan Gohman <gohman@apple.com> |
Don't use std::advance just to increment or decrement by one. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@53189 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
43d1fd449f1a0ac9d9dafa0b9569bb6b2e976198 |
|
29-May-2008 |
Anton Korobeynikov <asl@math.spbu.ru> |
For PR1338: rename include/llvm/ADT/ilist and friends to end with ".h" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@51687 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.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/STLExtras.h
|
718cb665ca6ce2bc4d8e8479f46a45db91b49f86 |
|
07-Sep-2007 |
Owen Anderson <resistor@mac.com> |
Add lengthof and endof templates that hide a lot of sizeof computations. Patch by Sterling Stein! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41758 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
82493289e0234e0172313e845fb87306cf3687ac |
|
03-May-2007 |
Chris Lattner <sabre@nondot.org> |
This is a patch to fix a compile error in STLExtras.h, and a bug in GraphWriter.cpp. Patch by Florian Brandner git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36684 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.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/STLExtras.h
|
6c2997f5b90449b00387d0635ce9acf0874b8383 |
|
23-Feb-2005 |
Chris Lattner <sabre@nondot.org> |
remove some more dead templates and a dead macro. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20279 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
127a8a7764d417405aa0d16c244c48a517eb70ae |
|
23-Feb-2005 |
Chris Lattner <sabre@nondot.org> |
Remove a bunch of dead templates. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20275 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.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/STLExtras.h
|
7b32639362c4cbb438d71492897d9f84c89d9e57 |
|
21-Jul-2004 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Add greater_ptr functor. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15070 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
1da7e8e0b3cfc1d3c399da4cdd7dc5c087c9f0d3 |
|
30-May-2004 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Add comparator useful for natural comparisons on collections with pointers to objects. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13909 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
c50879dfe600c199fef2038cd13fef86db73a771 |
|
24-Feb-2004 |
Chris Lattner <sabre@nondot.org> |
Noone cares about similarity to boost git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11783 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
bc79471be19e412eed4d270908db7ac945be10ca |
|
14-Feb-2004 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Add next() and prior() iterator utility functions. Unlike std::advance they do not modify the passed iterator but return a copy. next(myIt) returns copy of myIt incremented once next(myIt, n) returns copy of myIt incremented n times prior(myIt) returns copy of myIt decremented once prior(myIt, n) returns copy of myIt decremented n times While at it remove obsolete implementation of mapped_iterator. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11429 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
9bb2188b0e196d2724e128152ef4d4b581adf3bc |
|
23-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
A better way to get std::pair into the compiler's little, walnut-sized brain. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10174 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
6de98f242a6e7103de3f880c31f7e6b4e3650da8 |
|
23-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
This is a hack to make this file compile under g++-3.0.x; otherwise it can't decide what std::pair is. It seemed relatively harmless. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10173 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
a3f5f80f2bfdd966bbacf0d036f2350bf9051b12 |
|
13-Nov-2003 |
Chris Lattner <sabre@nondot.org> |
Remove needless dependence on boost git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9961 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
d0fde30ce850b78371fd1386338350591f9ff494 |
|
11-Nov-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Put all LLVM code into the llvm namespace, as per bug 109. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9903 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
e292da29bfeb2faad71a568e9cbb706affd5f330 |
|
05-Nov-2003 |
Alkis Evlogimenos <alkis@evlogimenos.com> |
Add std::pair tier. This is a much simplified version of boost::tie that works only for std::pair. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9723 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
b2109ce97881269a610fa4afbcbca350e975174d |
|
20-Oct-2003 |
John Criswell <criswell@uiuc.edu> |
Added LLVM notice. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9300 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
48486893f46d2e12e926682a3ecb908716bc66c4 |
|
30-Sep-2003 |
Chris Lattner <sabre@nondot.org> |
Standardize header file comments git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8782 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
a9f6e4ae0eaea69949755807b7207177f256eace |
|
17-Jun-2003 |
Brian Gaeke <gaeke@uiuc.edu> |
Regularize the names of #include-guards. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6732 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
df6f5835e9390cace8df16796b583f5ce581212e |
|
27-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
Add neccesary #include git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4294 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
d063725c3c6e36b711106f06e0cab11a1283f349 |
|
13-Oct-2002 |
Chris Lattner <sabre@nondot.org> |
disable the unused "pointer" member git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4144 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
876509614b608f1af885d978c7d2a1e34f807e33 |
|
28-Apr-2002 |
Chris Lattner <sabre@nondot.org> |
Remove obsolete namespace from example git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2368 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
697954c15da58bd8b186dbafdedd8b06db770201 |
|
20-Jan-2002 |
Chris Lattner <sabre@nondot.org> |
Changes to build successfully with GCC 3.02 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1503 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|
cee8f9ae67104576b2028125b56e9ba4856a1d66 |
|
27-Nov-2001 |
Chris Lattner <sabre@nondot.org> |
Create a new #include "Support/..." directory structure to move things from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1400 91177308-0d34-0410-b5e6-96231b3b80d8
/external/llvm/include/llvm/ADT/STLExtras.h
|