- Jun 19, 2013
-
-
Bill Wendling authored
Access the TargetLoweringInfo from the TargetMachine object instead of caching it. The TLI may change between functions. No functionality change. llvm-svn: 184352
-
Aaron Ballman authored
Modified the implementation of fs::GetUniqueID on Windows such that it actually finds a unique identifier for a file. Also adds unit tests for GetUniqueID. llvm-svn: 184351
-
Michael Gottesman authored
This is the first patch in a series of patches to rename isNormal => isFiniteNonZero and isIEEENormal => isNormal. In order to prevent careless errors on my part the overall plan is: 1. Add the isFiniteNonZero predicate with tests. I can do this in a method independent of isNormal. (This step is this patch). 2. Convert all references to isNormal with isFiniteNonZero. My plan is to comment out isNormal locally and continually convert isNormal references => isFiniteNonZero until llvm/clang compiles. 3. Remove old isNormal and rename isIEEENormal to isNormal. 4. Look through all of said references from patch 2 and see if we can simplify them by using the new isNormal. llvm-svn: 184350
-
Bill Wendling authored
Access the TargetLoweringInfo from the TargetMachine object instead of caching it. The TLI may change between functions. No functionality change. llvm-svn: 184349
-
Bill Wendling authored
llvm-svn: 184348
-
John Thompson authored
llvm-svn: 184347
-
Bill Wendling authored
llvm-svn: 184346
-
Michael Gottesman authored
I have had several requests to expose these two methods as public for various potential optimizations. llvm-svn: 184345
-
Ahmed Bougacha authored
llvm-svn: 184344
-
Matt Arsenault authored
Register it with PassManager llvm-svn: 184343
-
Andy Gibbs authored
llvm-svn: 184342
-
Quentin Colombet authored
Prior to this change, the considered addressing modes may be invalid since the maximum and minimum offsets were not taking into account. This was causing an assertion failure. The added test case exercices that behavior. <rdar://problem/14199725> Assertion failed: (CurScaleCost >= 0 && "Legal addressing mode has an illegal cost!") llvm-svn: 184341
-
Alexander Kornienko authored
Summary: A trailing block comment having multiple lines would cause extremely high penalties if the summary length of its lines is more than the column limit. Fixed by always considering only the last line of a multi-line block comment. Removed a long-standing FIXME from relevant tests and added a motivating test modelled after problem cases from real code. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1010 llvm-svn: 184340
-
Ashok Thirumurthi authored
Updated the LLDB download page to reflect Debian package locations for 3.3 as well as the incremental 3.4 releases. llvm-svn: 184339
-
Bill Wendling authored
llvm-svn: 184338
-
Rafael Espindola authored
This matches GNU ar behavior. Also remove the now unused getFileStatus method. Not sure how to add a test, it would have to run ls -l or something like that. llvm-svn: 184337
-
rdar://problem/14005652Enrico Granata authored
Fixing a bug with the NSString data formatter where some strings would be truncated llvm-svn: 184336
-
Andy Gibbs authored
The 'register' keyword is now deprecated in C++11, so ignore the warning when compiling lldb with clang since python headers commonly use the keyword. llvm-svn: 184335
-
Andy Gibbs authored
llvm-svn: 184334
-
Andy Gibbs authored
llvm-svn: 184333
-
Eli Friedman authored
llvm-svn: 184332
-
Samuel Benzaquen authored
Added ASTNodeKind as a standalone way to represent node kinds and their hierarchy. This change is to support ongoing work on D815. Reviewers: klimek CC: cfe-commits llvm-svn: 184331
-
Stephen Lin authored
Corrections to r184205 ('this'-return optimization) due to the wrong version of the patch being committed originally. 1) Removed useless return value of CGCXXABI::EmitConstructorCall and CGCXXABI::EmitVirtualDestructorCall and implementations 2) Corrected last portion of CodeGenCXX/constructor-destructor-return-this to correctly test for non-'this'-return of virtual destructor calls llvm-svn: 184330
-
Fariborz Jahanian authored
class templates; and similarly, @function works for function templates. // rdar://14124702 llvm-svn: 184329
-
Rafael Espindola authored
llvm-svn: 184328
-
Rui Ueyama authored
Reviewers: shankarke CC: llvm-commits Differential Revision: http://llvm-reviews.chandlerc.com/D998 llvm-svn: 184327
-
Edwin Vane authored
llvm-svn: 184326
-
Nadav Rotem authored
llvm-svn: 184325
-
Renato Golin authored
This reverts commit 312e51ca484976c2b1254952ff23d5162ca8edc2. llvm-svn: 184324
-
Renato Golin authored
Now, with a comma. Patch by İsmail Dönmez llvm-svn: 184323
-
Edwin Vane authored
sys::fs::make_absolute was turning '.' into '<path>/.' which broke prefix comparison logic. Stripping these extra chars fixes the problem. llvm-svn: 184322
-
Reid Kleckner authored
CGCleanup.h isn't meant to be included by all of CodeGen according to John. llvm-svn: 184321
-
Rafael Espindola authored
llvm-svn: 184320
-
Reid Kleckner authored
This fixes an issue when parsing atlbase.h. Patch by Will Wilson! llvm-svn: 184319
-
Rafael Espindola authored
llvm-svn: 184318
-
Nadav Rotem authored
The type <3 x i8> is a common in graphics and we want to be able to vectorize it. This changes accelerates bullet by 12% and 471_omnetpp by 5%. llvm-svn: 184317
-
Rafael Espindola authored
llvm-svn: 184316
-
Rafael Espindola authored
llvm-svn: 184315
-
Manuel Klimek authored
llvm-svn: 184314
-
Manuel Klimek authored
This is in preparation for the backwards references to bound nodes, which will expose a lot more about how matches occur. Main changes: - instead of building the tree of bound nodes, we build a "set" of bound nodes and explode all possible match combinations while running through the matchers; this will allow us to also implement matchers that filter down the current set of matches, like "equalsBoundNode" - take the set of bound nodes at the start of the match into consideration when doing memoization; as part of that, reevaluated that memoization gives us benefits that are large enough (it still does - the effect on common match patterns is up to an order of magnitude) - reset the bound nodes when a node does not match, thus never leaking information from partial sub-matcher matches for failing matchers Effects: - we can now correctly "explode" combinatorial matches, for example: allOf(forEachDescendant(...bind("a")), forEachDescendant(...bind("b"))) will now trigger matches for all combinations of matching "a" and "b"s. - we now never expose bound nodes from partial matches in matchers that did not match in the end - this fixes a long-standing issue FIXMEs: - rename BoundNodesTreeBuilder to BoundNodesBuilder or BoundNodesSetBuilder, as we don't build a tree any more; this is out of scope for this change, though - we're seeing some performance regressions (around 10%), but I expect some performance tuning will get that back, and it's easily worth the increase in expressiveness for now llvm-svn: 184313
-