- Jul 24, 2013
-
-
Manman Ren authored
Improve the Finder to handle context of a DIVariable used by DbgValueInst. Fix testing cases to make them pass the verifier. llvm-svn: 187052
-
Mark Seaborn authored
Before this change, Clang uses the x86 representation for C++ method pointers when generating code for PNaCl. However, the resulting code will assume that function pointers are 0 mod 2. This assumption is not safe for PNaCl, where function pointers could have any value (especially in future sandboxing models). So, switch to using the ARM representation for PNaCl code, which makes no assumptions about the alignment of function pointers. Since we're changing the "le32" target, this change also applies to Emscripten. The change is beneficial for Emscripten too. Emscripten has a workaround to make function pointers 0 mod 2. This change would allow the workaround to be removed. See: https://code.google.com/p/nativeclient/issues/detail?id=3450 llvm-svn: 187051
-
Benjamin Kramer authored
While there shrink a dangerously large SmallPtrSet. llvm-svn: 187050
-
Manman Ren authored
llvm-svn: 187049
-
Guillaume Papin authored
r187041 changed the way the transform are created and the order the transformed are applied "may" have changed as well (no specific constraints exist on the order). This produced a test failure on the Windows buildbot. Now the test use -std=c++11, so 'nullptr' is defined and the test is not anymore dependent on the order the transforms are applied. llvm-svn: 187048
-
Benjamin Kramer authored
No functionality change. llvm-svn: 187047
-
Rafael Espindola authored
Found by running the test with pipefail enabled. llvm-svn: 187046
-
Ed Maste authored
llvm-svn: 187045
-
Samuel Benzaquen authored
Summary: Add support for Adaptative matchers on the dynamic registry. Each adaptative matcher is created with a function template. We instantiate the function N times, one for each possible From type and apply the techniques used on argument overloaded and polymorphic matchers to add them to the registry. Reviewers: klimek CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D1201 llvm-svn: 187044
-
Ed Maste authored
llvm-svn: 187043
-
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
-