- Mar 26, 2012
-
-
Benjamin Kramer authored
This makes sense because chunk's ctor is also out of line and simplifies considerably when inlined with a constant parameter. Shrinks clang on i386-linux-Release+Asserts by 65k. llvm-svn: 153446
-
Douglas Gregor authored
typo correction to introduce a nested-name-specifier; we aren't prepared to handle it here. Fixes PR12297 / <rdar://problem/11075219>. llvm-svn: 153445
-
Alexey Samsonov authored
llvm-svn: 153444
-
Fariborz Jahanian authored
symbols. // rdar://11103982 llvm-svn: 153443
-
Douglas Gregor authored
InjectedClassNameType; otherwise, it won't be properly wired to the original (canonical) declaration when it is deserialized. Fixes <rdar://problem/11112464>. llvm-svn: 153442
-
Benjamin Kramer authored
Due to lack of move semantics we would create a temporary std::string from the string literal, copy it into the vector and discard the temporary. This leads to massive code bloat, optimizing it saves 50k on i386-linux-Release+Asserts. While there add a two-element overload for push_back, simplifying code a bit. llvm-svn: 153441
-
Hongbin Zheng authored
llvm-svn: 153440
-
Hongbin Zheng authored
llvm-svn: 153439
-
Benjamin Kramer authored
llvm-svn: 153438
-
Benjamin Kramer authored
std::list is expensive, but so is std::sorting a SmallVector of SmallVectors of heavyweight PartialDiagnostics. Saves ~30k in a i386-linux-Release+Asserts clang build. llvm-svn: 153437
-
Douglas Gregor authored
llvm-svn: 153436
-
Anton Korobeynikov authored
Patch by Sylvestre Ledru! llvm-svn: 153435
-
Benjamin Kramer authored
llvm-svn: 153433
-
Benjamin Kramer authored
llvm-svn: 153432
-
Evgeniy Stepanov authored
It's not available on Android. We only use this header to find out if _DYNAMIC is present; declaring it "extern void*" does the trick. llvm-svn: 153431
-
Alexey Samsonov authored
llvm-svn: 153430
-
Craig Topper authored
llvm-svn: 153429
-
Eric Christopher authored
llvm-svn: 153428
-
Richard Smith authored
templated functions. Build a redeclaration chain, and only instantiate the definition of the enum when visiting the defining declaration. llvm-svn: 153427
-
Richard Smith authored
enumerations in templates until the template is instantiated. llvm-svn: 153426
-
Eric Christopher authored
--enable-libcpp to projects/sample. Patch by Dmitri Shubin with additional fixes by me. llvm-svn: 153425
-
Eric Christopher authored
Fixes PR12050 llvm-svn: 153424
-
Rafael Espindola authored
instruction simplify that lets us remove an and when loding a boolean value. llvm-svn: 153423
-
Craig Topper authored
llvm-svn: 153422
-
Craig Topper authored
llvm-svn: 153421
-
Aaron Ballman authored
Since this change is generating a considerable amount of discussion (and possibly even a regression for known bad versions), I'm reverting it. llvm-svn: 153420
-
- Mar 25, 2012
-
-
Chandler Carruth authored
constant-offsets of a common base using the generic GEP-walking logic I added for computing pointer differences in the same situation. llvm-svn: 153419
-
Chandler Carruth authored
inbounds GEPs. This isn't really necessary for simplifying pointer differences, but I'm planning to re-use the same code to simplify pointer comparisons where it is necessary. Since real code almost exclusively uses inbounds GEPs, it doesn't seem worth it to support the extra complexity of turning it on and off. If anyone would like that back, feel free to shout. Note that instcombine will still catch any of these patterns. llvm-svn: 153418
-
Eric Christopher authored
if it's there and we may not have a cached die yet. This fixes a bunch of false positives on "die has no decl". llvm-svn: 153417
-
Eric Christopher authored
llvm-svn: 153416
-
Craig Topper authored
llvm-svn: 153415
-
Craig Topper authored
llvm-svn: 153414
-
Aaron Ballman authored
Patch thanks to Nikola Smiljanic llvm-svn: 153413
-
Eli Bendersky authored
llvm-svn: 153412
-
Rafael Espindola authored
Thanks Duncan. llvm-svn: 153411
-
Chandler Carruth authored
aggressively. There are lots of dire warnings about this being expensive that seem to predate switching to the TrackingVH-based value remapper that is automatically updated on RAUW. This makes it easy to not just prune single-entry PHIs, but to fully simplify PHIs, and to recursively simplify the newly inlined code to propagate PHINode simplifications. This introduces a bit of a thorny problem though. We may end up simplifying a branch condition to a constant when we fold PHINodes, and we would like to nuke any dead blocks resulting from this so that time isn't wasted continually analyzing them, but this isn't easy. Deleting basic blocks *after* they are fully cloned and mapped into the new function currently requires manually updating the value map. The last piece of the simplification-during-inlining puzzle will require either switching to WeakVH mappings or some other piece of refactoring. I've left a FIXME in the testcase about this. llvm-svn: 153410
-
Eli Bendersky authored
a very (*very*) old version of Python (2.4?) llvm-svn: 153409
-
Eli Bendersky authored
* Removed test/lib/llvm.exp - it is no longer needed * Deleted the dg.exp reading code from test/lit.cfg. There are no dg.exp files left in the test suite so this code is no longer required. test/lit.cfg is now much shorter and clearer * Removed a lot of duplicate code in lit.local.cfg files that need access to the root configuration, by adding a "root" attribute to the TestingConfig object. This attribute is dynamically computed to provide the same information as was previously provided by the custom getRoot functions. * Documented the config.root attribute in docs/CommandGuide/lit.pod llvm-svn: 153408
-
NAKAMURA Takumi authored
llvm-svn: 153407
-
NAKAMURA Takumi authored
evaluateAsBooleanConditionNoCache(S) might update the map and invalidate the iterator. llvm-svn: 153406
-