- Apr 18, 2012
-
-
Benjamin Kramer authored
DenseMap's hash function uses slightly more entropy and reduces hash collisions significantly. I also experimented with Hashing.h, but it didn't gave a lot of improvement while being much more expensive to compute. llvm-svn: 154996
-
Seth Cantrell authored
llvm-svn: 154971
-
David Blaikie authored
llvm-svn: 154962
-
- Apr 17, 2012
-
-
Seth Cantrell authored
llvm-svn: 154944
-
Manuel Klimek authored
llvm-svn: 154930
-
- Apr 16, 2012
-
-
Benjamin Kramer authored
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell, with a minor fix for mingw by me. llvm-svn: 154805
-
Argyrios Kyrtzidis authored
llvm-svn: 154802
-
Argyrios Kyrtzidis authored
To be used in printing unprintable source in clang diagnostics. Patch by Seth Cantrell! llvm-svn: 154800
-
- Apr 11, 2012
-
-
Sylvestre Ledru authored
Thanks to Pino Toscano for the patch llvm-svn: 154500
-
Benjamin Kramer authored
llvm-svn: 154496
-
- Apr 05, 2012
-
-
Argyrios Kyrtzidis authored
the caller requested a null-terminated one. When mapping the file there could be a racing issue that resulted in the file being larger than the FileSize passed by the caller. We already have an assertion for this in MemoryBuffer::init() but have a runtime guarantee that the buffer will be null-terminated, so do a copy that adds a null-terminator. Protects against crash of rdar://11161822. llvm-svn: 154082
-
- Apr 04, 2012
-
-
Benjamin Kramer authored
llvm-svn: 154004
-
Michael J. Spencer authored
llvm-svn: 153979
-
Michael J. Spencer authored
llvm-svn: 153977
-
- Apr 02, 2012
-
-
Hal Finkel authored
llvm-svn: 153882
-
- Mar 29, 2012
-
-
Eric Christopher authored
llvm-svn: 153691
-
- Mar 26, 2012
-
-
Anton Korobeynikov authored
Patch by Sylvestre Ledru! llvm-svn: 153435
-
- Mar 24, 2012
-
-
Jean-Daniel Dupas authored
llvm-svn: 153395
-
- Mar 22, 2012
-
-
Michael J. Spencer authored
som inputs. Bug found and fix proposed by Kal Conley! llvm-svn: 153225
-
- Mar 14, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152692
-
Benjamin Kramer authored
llvm-svn: 152688
-
- Mar 13, 2012
-
-
Argyrios Kyrtzidis authored
if the passed in FileSize is inaccurate. rdar://11034179 llvm-svn: 152662
-
- Mar 12, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152577
-
Duncan Sands authored
llvm-svn: 152553
-
- Mar 11, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152545
-
Michael J. Spencer authored
it would fail with {,u}int64_t on x86-64 Linux. This also removes code duplication. llvm-svn: 152517
-
- Mar 09, 2012
-
-
Anton Korobeynikov authored
Patch by Tom Stellard! llvm-svn: 152400
-
- Mar 08, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152346
-
Duncan Sands authored
buildbots. Original commit message: [ADT] Change the trivial FoldingSetNodeID::Add* methods to be inline, reapplied with a fix for the longstanding over-read of 32-bit pointer values. llvm-svn: 152304
-
Daniel Dunbar authored
with a fix for the longstanding over-read of 32-bit pointer values. llvm-svn: 152300
-
Daniel Dunbar authored
inline.", which is breaking the bots in a way I don't understand. llvm-svn: 152295
-
Daniel Dunbar authored
llvm-svn: 152288
-
- Mar 07, 2012
-
-
Benjamin Kramer authored
llvm-svn: 152254
-
Benjamin Kramer authored
This fixes a build failure in webkit. Copying all elements shouldn't be necessary, I'll look out for a better fix soon. llvm-svn: 152252
-
Andrew Trick authored
GV and XDOT paths are untested but should work the same. llvm-svn: 152179
-
- Mar 06, 2012
-
-
Benjamin Kramer authored
SmallPtrSet: Provide a more efficient implementation of swap than the default triple-copy std::swap. This currently assumes that both sets have the same SmallSize to keep the implementation simple, a limitation that can be lifted if someone cares. llvm-svn: 152143
-
- Mar 04, 2012
-
-
Chandler Carruth authored
new hash_value infrastructure, and replace their implementations using hash_combine. This removes a complete copy of Jenkin's lookup3 hash function (which is both significantly slower and lower quality than the one implemented in hash_combine) along with a somewhat scary xor-only hash function. Now that APInt and APFloat can be passed directly to hash_combine, simplify the rest of the LLVMContextImpl hashing to use the new infrastructure. llvm-svn: 152004
-
Chandler Carruth authored
llvm-svn: 152003
-
- Mar 02, 2012
-
-
Chandler Carruth authored
to do more invasive refactoring here to get FoldingSet to use size_t or even hash_code directly, but for now this is a good first step to remove Yet Another Hashing Algorithm from LLVM. llvm-svn: 151859
-
- Mar 01, 2012
-
-
Benjamin Kramer authored
BumpPtrAllocator: Make sure threshold cannot be initialized with a value smaller than the slab size. This replaces r151834 with a simpler fix. llvm-svn: 151842
-