- Jul 24, 2013
-
-
Rafael Espindola authored
Before this patch we would strdup each argument. If one was a response file, we would replace it with the response file contents, leaking the original strdup result. We now don't strdup the originals and let StringSaver free any memory it allocated. This also saves a bit of malloc traffic when response files are not used. Leak found by the valgrind build bot. llvm-svn: 187042
-
Guillaume Papin authored
With this change each transform now register a factory. The factories are registered using an llvm::Registry which makes them available globally. llvm-svn: 187041
-
Ed Maste authored
Also accomodate struct padding based on arch, for later i386 work. llvm-svn: 187040
-
Rafael Espindola authored
The Binary constructor takes ownership of the memory buffer. This is a fairly unfortunate interface, but for now make createObjectFile consistent with it by also deleting the buffer if it fails. Fixes a leak in llvm-ar found by the valgrind bots. llvm-svn: 187039
-
Guillaume Papin authored
llvm-svn: 187038
-
Ed Maste authored
llvm-svn: 187037
-
Ashok Thirumurthi authored
llvm-svn: 187036
-
Ashok Thirumurthi authored
llvm-svn: 187035
-
Rafael Espindola authored
llvm-svn: 187034
-
Daniel Jasper authored
This is far from implementing all the rules given by http://www.webkit.org/coding/coding-style.html The important new feature is the support for styles that don't have a column limit. For such styles, clang-format will (at the moment) simply respect the input's formatting decisions within statements. llvm-svn: 187033
-
Petar Jovanovic authored
Testing commit access credentials. llvm-svn: 187032
-
Chandler Carruth authored
schedule an alloca for another iteration in SROA. This only showed up with a mixture of promotable and unpromotable selects and phis. Added a test case for this. llvm-svn: 187031
-
Elena Demikhovsky authored
I'm starting to commit KNL backend. I'll push patches one-by-one. This patch includes support for the extended register set XMM16-31, YMM16-31, ZMM0-31. The full ISA you can see here: http://software.intel.com/en-us/intel-isa-extensions llvm-svn: 187030
-
Chandler Carruth authored
pending speculation for a phi node. The problem here is that we were using growth of the specluation set as an indicator of whether speculation would occur, and if the phi node is already in the set we don't see it grow. This is a symptom of the fact that this signal is a total hack. Unfortunately, I couldn't really come up with a non-hacky way of signaling that promotion remains valid *after* speculation occurs, such that we only speculate when all else looks good for promotion. In the end, I went with at least a much more explicit approach of doing the work of queuing inside the phi and select processing and setting a preposterously named flag to convey that we're in the special state of requiring speculating before promotion. Thanks to Richard Trieu and Nick Lewycky for the excellent work reducing a testcase for this from a pretty giant, nasty assert in a big application. =] The testcase was excellent. llvm-svn: 187029
-
David Fang authored
llvm-svn: 187027
-
Craig Topper authored
This removes the need to store the asm variant in each row of the single table that existed before. Shaves ~16K off the size of X86AsmParser.o. llvm-svn: 187026
-
Richard Smith authored
objects to be used once their lifetimes end. This completes the C++1y constexpr extensions. llvm-svn: 187025
-
Tobias Grosser authored
llvm-svn: 187024
-
Tobias Grosser authored
llvm-svn: 187023
-
Manuel Klimek authored
llvm-svn: 187022
-
Craig Topper authored
llvm-svn: 187021
-
Craig Topper authored
Fix aliases for shrd/shld to handle Intel syntax properly. Also suppress them from being used by the asm printer. llvm-svn: 187020
-
Akira Hatanaka authored
Similar to ARM change r182800, dynamic linker will read bits/addends from the original object rather than from the object that might have been patched previously. For the purpose of relocations for MCJIT stubs on MIPS, we internally use otherwise unused MIPS relocations. The change also enables MCJIT unit tests for MIPS (EL/BE), and the following two tests now pass: - MCJITTest.return_global and - MCJITTest.multiple_functions. These issues have been tracked as Bug 16250. Patch by Petar Jovanovic. llvm-svn: 187019
-
Eric Christopher authored
to assume we're replacing. Clarify comments. llvm-svn: 187018
-
Eric Christopher authored
llvm-svn: 187017
-
Manman Ren authored
llvm-svn: 187016
-
Eric Christopher authored
all enumerated cases. Reformat the rest of the existing constructors to match. llvm-svn: 187015
-
Eric Christopher authored
Move to a single constructor with a default argument and avoid the check and nullification. llvm-svn: 187014
-
Eric Christopher authored
llvm-svn: 187013
-
Eric Christopher authored
llvm-svn: 187012
-
Eric Christopher authored
llvm-svn: 187011
-
Eric Christopher authored
llvm-svn: 187010
-
Eric Christopher authored
llvm-svn: 187009
-
Fariborz Jahanian authored
instancetype of NSDictionary methods. llvm-svn: 187008
-
Tom Stellard authored
This commit also implements these functions for R600 and removes a test case that was relying on the buggy behavior. llvm-svn: 187007
-
Tom Stellard authored
These are really the same address space in hardware. The only difference is that CONSTANT_ADDRESS uses a special cache for faster access. When we are unable to use the constant kcache for some reason (e.g. smaller types or lack of indirect addressing) then the instruction selector must use GLOBAL_ADDRESS loads instead. llvm-svn: 187006
-
Nick Kledzik authored
llvm-svn: 187005
-
Fariborz Jahanian authored
instancetype methods. llvm-svn: 187004
-
Manman Ren authored
Improve the Finder to handle context of a DIVariable. If Scope is a DICompileUnit, add it to the list of CUs. llvm-svn: 187003
-
Manman Ren authored
llvm-svn: 187002
-