- May 06, 2014
-
-
Rui Ueyama authored
llvm-svn: 208020
-
Nick Lewycky authored
llvm-svn: 208019
-
Alp Toker authored
This went AWOL in r207995. llvm-svn: 208018
-
Nick Lewycky authored
Improve 'tail' call marking in TRE. A bootstrap of clang goes from 375k calls marked tail in the IR to 470k, however this improvement does not carry into an improvement of the call/jmp ratio on x86. The most common pattern is a tail call + br to a block with nothing but a 'ret'. The number of tail call to loop conversions remains the same (1618 by my count). The new algorithm does a local scan over the use-def chains to identify local "alloca-derived" values, as well as points where the alloca could escape. Then, a visit over the CFG marks blocks as being before or after the allocas have escaped, and annotates the calls accordingly. llvm-svn: 208017
-
Eric Christopher authored
used via dragonegg for now. llvm-svn: 208016
-
David Blaikie authored
Build debug info for ObjC interface types at the end of the translation unit to ensure all ivars are included. This takes a different approach than the completedType/requiresCompleteType work which relies on AST callbacks to upgrade the type declaration to a definition. Instead, just defer constructing the definition to the end of the translation unit. This works because the definition is never needed by other debug info (so far as I know), whereas the definition of a struct may be needed by other debug info before the end of the translation unit (such as emitting the definition of a member function which must refer to that member function's declaration). If we had a callback for whenever an IVar was added to an ObjC interface we could use that, and remove the need for the ObjCInterfaceCache, which might be nice. (also would need a callback for when it was more than just a declaration so we could get properties, etc). A side benefit is that we also don't need the CompletedTypeCache anymore. Just rely on the declaration-ness of a type to decide whether its definition is yet to be emitted. There's still the PR19562 memory leak, but this should hopefully make that a bit easier to approach. llvm-svn: 208015
-
David Blaikie authored
llvm-svn: 208014
-
Yi Jiang authored
Reapply: Add slp vectorization to LTO passes. The bug it exposed has been fixed by r207983. <radar://16641956> llvm-svn: 208013
-
Eric Christopher authored
and inline it into its caller. llvm-svn: 208012
-
Richard Trieu authored
llvm-svn: 208011
-
Eric Christopher authored
a 0 as a default answer. llvm-svn: 208009
-
Argyrios Kyrtzidis authored
Needs llvm r208007. llvm-svn: 208008
-
Argyrios Kyrtzidis authored
[Support/MemoryBuffer] Introduce a boolean parameter (false by default) 'IsVolatile' for the open file functions. This provides a hint that the file may be changing often so mmap is avoided. llvm-svn: 208007
-
Eric Christopher authored
llvm-svn: 208006
-
Tom Stellard authored
llvm-svn: 208005
-
Ben Langmuir authored
Warn on non-modular includes in various contexts. -Wnon-modular-include -Wnon-modular-include-in-module -Wnon-modular-include-in-framework-module Where each group is a subgroup of those above it. llvm-svn: 208004
-
Eric Christopher authored
llvm-svn: 208002
-
Eric Christopher authored
llvm-svn: 208001
-
David Blaikie authored
Simplify replacement map by avoiding duplicate values and ensuring the values it does contain are necessary. Items were being redundantly added to the replacement map (both when the declaration was created, and then again when its definition was constructed) which caused extra handling to be required when walking the map (as elements may've already been replaced due to prior entries). By avoiding adding the duplicates, the checks in the replacement handling can be replaced with assertions. llvm-svn: 208000
-
Reid Kleckner authored
Currently, users get error messages about RTTI descriptor mangling with no useful source location. This addresses that. Another approach would be to disable C++ exceptions by default in the driver when using the Microsoft C++ ABI. However, this makes it impossible to parse system headers that use exception handling constructs. By delaying the error to IRgen, we can figure out if we actually need to emit code for this construct. Additionally, users who are only interested in building refactoring tools on Windows still get a correct AST without having to add flags. Finally, this is consistent with what we do for SEH. llvm-svn: 207999
-
Todd Fiala authored
Pushed gdbremote protocol sequence expectations into a separate class and defer matching of llgs/debugserver output to the sequence entry. Pre-step to adding regex matching and grouped content collecting. No longer require anything before the read/send packet portion of slurped-up log lines used for setting up gdb remote test sequences. Several packet logging options produce a wide range of content before the read/send packet. Added helpers to TestLldbGdbServer to clean up test setup and test expectations matching. llvm-svn: 207998
-
Rafael Espindola authored
Warn if an alias requests a section other than the aliasee section. llvm-svn: 207997
-
Rafael Espindola authored
llvm-svn: 207996
-
Alp Toker authored
This minified source code and artwork is copied from a commercial product and carries no license information: dbtree.js (7 kb), 25.03.2014 14:51:32 Purchase and download DBTree now for only $29.75 $9.75 It was used by a small TOC which looks fine now as a plain unordered list. llvm-svn: 207995
-
Alp Toker authored
llvm-svn: 207994
-
Filipe Cabecinhas authored
This reverts commit 207992. I misread the phab number on the LGTM. llvm-svn: 207993
-
Filipe Cabecinhas authored
Summary: Also ran clang-format on the function. The code added is the last else if block. Reviewers: nadav, craig.topper Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D3518 llvm-svn: 207992
-
Rafael Espindola authored
llvm-svn: 207991
-
Marek Olsak authored
Our OpenGL driver needs 22 SGPRs (16 user SGPRs + 6 streamout non-user SGPRs). Signed-off-by:Marek Olšák <marek.olsak@amd.com> llvm-svn: 207990
-
Rui Ueyama authored
Differential Revision: http://reviews.llvm.org/D3599 llvm-svn: 207989
-
David Majnemer authored
We would sometimes incorrectly give a thread-wrapper external linkage instead of internal linkage if we had only CodeGen'd it's declaration, not it's definition. This fixes PR19655. llvm-svn: 207988
-
Alexander Kornienko authored
defined in a macro. Summary: We shouldn't suggest replacements in macros anyway, as we can't see all usages of the macro and ensure the replacement is safe for all of them. Reviewers: klimek Reviewed By: klimek Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D3611 llvm-svn: 207987
-
Manuel Klimek authored
The assignment needs to be before the destruction of the temporary. This patch calls out to addStmt, which invokes VisitDeclStmt, which has all the correct logic for handling temporaries. llvm-svn: 207985
-
Michael Zolotukhin authored
llvm-svn: 207984
-
-
Joerg Sonnenberger authored
llvm-svn: 207982
-
Rafael Espindola authored
llvm-svn: 207981
-
Duncan P. N. Exon Smith authored
Visibility is meaningless when the linkage is local. Change `-internalize` to reset the visibility to `default`. <rdar://problem/16141113> llvm-svn: 207979
-
Duncan P. N. Exon Smith authored
No functionality change. llvm-svn: 207978
-
Rafael Espindola authored
This also add a release note about it. If this stays I will cleanup MC next week. llvm-svn: 207977
-