- Mar 01, 2012
-
-
Argyrios Kyrtzidis authored
llvm-svn: 151828
-
rdar://problem/10963899Greg Clayton authored
Allow debugserver to be built on a newer kernel and still allow debugging on older kernels. llvm-svn: 151827
-
Enrico Granata authored
(b) fixes and improvements to the formatters for NSDate and NSString (c) adding an introspection formatter for NSCountedSet (d) making the Objective-C formatters test cases pass on both 64 and 32 bit one of the test cases is marked as expected failure on i386 - support needs to be added to the LLDB core for it to pass llvm-svn: 151826
-
Chandler Carruth authored
r151822, sorry sorry. =[ We need 'git svn nothave' or some such... llvm-svn: 151824
-
Jim Ingham authored
and to print the total count & time in the header. llvm-svn: 151823
-
Chandler Carruth authored
of the proposed standard hashing interfaces (N3333), and to use a modified and tuned version of the CityHash algorithm. Some of the highlights of this change: -- Significantly higher quality hashing algorithm with very well distributed results, and extremely few collisions. Should be close to a checksum for up to 64-bit keys. Very little clustering or clumping of hash codes, to better distribute load on probed hash tables. -- Built-in support for reserved values. -- Simplified API that composes cleanly with other C++ idioms and APIs. -- Better scaling performance as keys grow. This is the fastest algorithm I've found and measured for moderately sized keys (such as show up in some of the uniquing and folding use cases) -- Support for enabling per-execution seeds to prevent table ordering or other artifacts of hashing algorithms to impact the output of LLVM. The seeding would make each run different and highlight these problems during bootstrap. This implementation was tested extensively using the SMHasher test suite, and pased with flying colors, doing better than the original CityHash algorithm even. I've included a unittest, although it is somewhat minimal at the moment. I've also added (or refactored into the proper location) type traits necessary to implement this, and converted users of GeneralHash over. My only immediate concerns with this implementation is the performance of hashing small keys. I've already started working to improve this, and will continue to do so. Currently, the only algorithms faster produce lower quality results, but it is likely there is a better compromise than the current one. Many thanks to Jeffrey Yasskin who did most of the work on the N3333 paper, pair-programmed some of this code, and reviewed much of it. Many thanks also go to Geoff Pike Pike and Jyrki Alakuijala, the original authors of CityHash on which this is heavily based, and Austin Appleby who created MurmurHash and the SMHasher test suite. Also thanks to Nadav, Tobias, Howard, Jay, Nick, Ahmed, and Duncan for all of the review comments! If there are further comments or concerns, please let me know and I'll jump on 'em. llvm-svn: 151822
-
Benjamin Kramer authored
llvm-svn: 151821
-
Greg Clayton authored
llvm-svn: 151820
-
Jean-Daniel Dupas authored
llvm-svn: 151819
-
Chad Rosier authored
llvm-svn: 151818
-
Chad Rosier authored
llvm-svn: 151816
-
Jim Grosbach authored
Allows us to de-virtualize the function and provides access to it in the instruction printer, which is useful for handling composite physical registers (e.g., ARM register lists). llvm-svn: 151815
-
Jim Grosbach authored
This reverts commit 151760. We want to move getSubReg() from TargetRegisterInfo into MCRegisterInfo, but to do that, the type of the lookup table needs to be the same for all targets. llvm-svn: 151814
-
Jim Grosbach authored
Make darwin bots happier. llvm-svn: 151813
-
Peter Collingbourne authored
llvm-svn: 151812
-
Jia Liu authored
llvm-svn: 151811
-
Tobias Grosser authored
Found-By: Christian Lengauer llvm-svn: 151810
-
Jean-Daniel Dupas authored
llvm-svn: 151809
-
Alexander Potapenko authored
llvm-svn: 151808
-
James Molloy authored
Fix a codegen fault in which log2 or exp2 could be dead-code eliminated even though they could have sideeffects. Only allow log2/exp2 to be converted to an intrinsic if they are declared "readnone". llvm-svn: 151807
-
Benjamin Kramer authored
This allows us to make TRC non-polymorphic and value-initializable, eliminating a huge static initializer and a ton of cruft from the generated code. Shrinks ARMBaseRegisterInfo.o by ~100k. llvm-svn: 151806
-
Richard Smith authored
llvm-svn: 151805
-
Richard Smith authored
llvm-svn: 151804
-
Aaron Ballman authored
llvm-svn: 151803
-
Greg Clayton authored
llvm-svn: 151802
-
Enrico Granata authored
1) solving a bug where, after Jim's fixes to stack frames, synthetic children were not recalculated when necessary, causing them to get out of sync with live data 2) providing an updated list of tagged pointers values for the objc_runtime module - hopefully this one is final 3) changing ValueObject::DumpValueObject to use an Options class instead of providing a bulky list of parameters to pass around this change had been laid out previously, but some clients of DumpValueObject() were still using the old prototype and some arguments were treated in a special way and passed in directly instead of through the Options class 4) providing new GetSummaryAsCString() and GetValueAsCString() calls in ValueObject that are passed a formatter object and a destination string and fill the string by formatting themselves using the formatter argument instead of the default for the current ValueObject 5) removing the option to have formats and summaries stick to a variable for the current stoppoint after some debate, we are going with non-sticky: if you say frame variable --format hex foo, the hex format will only be applied to the current command execution and not stick when redisplaying foo the other option would be full stickiness, which means that foo would be formatted as hex for its whole lifetime we are open to suggestions on what feels "natural" in this regard llvm-svn: 151801
-
Aaron Ballman authored
llvm-svn: 151800
-
Greg Clayton authored
llvm-svn: 151799
-
Aaron Ballman authored
llvm-svn: 151798
-
Eli Friedman authored
Implement "optimization" for lambda-to-block conversion which inlines the generated block literal for lambdas which are immediately converted to block pointer type. This simplifies the AST, avoids an unnecessary copy of the lambda and makes it much easier to avoid copying the result onto the heap. Note that this transformation has a substantial semantic effect outside of ARC: it gives the converted lambda lifetime semantics similar to a block literal. With ARC, the effect is much less obvious because the lifetime of blocks is already managed. llvm-svn: 151797
-
Jason Molenda authored
which require a valid CFA address to create a stack frame. On connecting to just-starting-up hardware we may have a stack pointer/frame pointer of 0 but we should still create a stack frame so other code in lldb can retrieve register values via a stackframe. llvm-svn: 151796
-
NAKAMURA Takumi authored
llvm-svn: 151795
-
Richard Smith authored
improve the diagnostics for some attempts to use initializer lists in expressions. llvm-svn: 151794
-
Jim Ingham authored
llvm-svn: 151793
-
Benjamin Kramer authored
llvm-svn: 151792
-
Richard Smith authored
than an attribute name. Patch by Michel Morin! llvm-svn: 151791
-
Sean Callanan authored
of Objective-C classes in header files are correctly resolved in the final type. llvm-svn: 151790
-
Sean Callanan authored
allocations by section. We install these sections in the target process and inform the JIT of their new locations. Also removed some unused variable warnings. llvm-svn: 151789
-
Akira Hatanaka authored
objects for big endian and little endian targets. Patch by Jack Carter. llvm-svn: 151788
-
Jakob Stoklund Olesen authored
Simply treat bundles as instructions. Spill code is inserted between bundles, never inside a bundle. Rewrite all operands in a bundle at once. Don't attempt and memory operand folding inside bundles. llvm-svn: 151787
-