- Jun 25, 2013
-
-
Ulrich Weigand authored
[PowerPC] Add extended rotate/shift mnemonics This adds all missing extended rotate/shift mnemonics to the asm parser. llvm-svn: 184834
-
Ulrich Weigand authored
[PowerPC] Add rldcr/rldic instructions This adds pattern for the rldcr and rldic instructions (the last instruction from the rotate/shift family that were missing). They are currently used only by the asm parser. llvm-svn: 184833
-
Ulrich Weigand authored
[PowerPC] Add extended subtract mnemonics This adds support for the extended subtract mnemonics to the asm parser: subi subis subic subic. sub sub. subc subc. llvm-svn: 184832
-
Justin Holewinski authored
llvm-svn: 184831
-
Chandler Carruth authored
this code. These aren't technically standard predefines for the platform but apparantly lots of folks use them as they show up within LLVM's own codebase. ;] This may even fix some self host issues w/ the JIT!!! llvm-svn: 184830
-
Jason Molenda authored
for any reason, use debugserver own's cputype as a best guess when we reply to the debugger's qProcessInfo packet or when initializing our register tables. <rdar://problem/13406879> llvm-svn: 184829
-
Jason Molenda authored
support files for debugserver to fix a build failure for arm. Also remove some of the code used for software-driven single instruction stepping; this is slowly being yanked out and these particular bits overlap with the nub_break_t going away. llvm-svn: 184828
-
Nadav Rotem authored
llvm-svn: 184827
-
Rafael Espindola authored
llvm-svn: 184826
-
Rafael Espindola authored
Original message: Use the new PathV2 instead of implementing the logic in clang. llvm-svn: 184825
-
Rafael Espindola authored
llvm-svn: 184824
-
Andrew Trick authored
This reverts commit 98a9b72e8c56dc13a2617de84503a3d78352789c. llvm-svn: 184823
-
Tom Stellard authored
In reality, some unaligned memory accesses are legal for 32-bit types and smaller too, but it all depends on the address space. Allowing unaligned loads/stores for > 32-bit types is mainly to prevent the legalizer from splitting one load into multiple loads of smaller types. https://bugs.freedesktop.org/show_bug.cgi?id=65873 llvm-svn: 184822
-
Tom Stellard authored
Tested-By:Aaron Watry <awatry@gmail.com> llvm-svn: 184821
-
Tom Stellard authored
Tested-By:Aaron Watry <awatry@gmail.com> llvm-svn: 184820
-
Tom Stellard authored
This should only make a difference in programs that use a lot of the vector ALU instructions like BFI_INT and BIT_ALIGN. There is a slight improvement in the phatk bitcoin mining kernel with this patch on Evergreen (vector size == 1): Before: 1173 Instruction Groups / 9520 dwords After: 1167 Instruction Groups / 9510 dwords Reviewed-by: Reviewed-by: Vincent Lejeune<vljn at ovi.com> llvm-svn: 184819
-
Rafael Espindola authored
This reverts commit 184803 while I debug the failures on the bots. llvm-svn: 184818
-
Chandler Carruth authored
This test doesn't actually pass when run with llvm-lit for me or in a bot that actually always tries to run it. llvm-svn: 184817
-
Chandler Carruth authored
darwin. After talking with Jim Grosbach pretty extensively, he was OK with me punting on this to the Apple folks. We agreed that the correct fix is either to extend the fake SDK headers in compiler-rt to support the rest of libc needed by GCDAProfiling.c or to teach the make build to test for the existence of a suitable SDK on the system prior to building it. Both of these require someone with access to the SDK which I don't have, and the latter (my preferred solution) requires understanding the strange compiler-rt make build system. Punting to Dan Dunbar or one of the others who support this stuff on ios to write the appropriate fix, and we can let the build bots proceed in the mean time. llvm-svn: 184816
-
Jordan Rose authored
Re-apply r184511, reverted in r184561, with the trivial default constructor fast path removed -- it turned out not to be necessary here. Certain expressions can cause a constructor invocation to zero-initialize its object even if the constructor itself does no initialization. The analyzer now handles that before evaluating the call to the constructor, using the same "default binding" mechanism that calloc() uses, rather than simply ignoring the zero-initialization flag. <rdar://problem/14212563> llvm-svn: 184815
-
Jordan Rose authored
In order to make sure virtual base classes are always initialized once, the AST contains initializers for the base class in /all/ of its descendents, not just the immediate descendents. However, at runtime, the most-derived object is responsible for initializing all the virtual base classes; all the other initializers will be ignored. The analyzer now checks to see if it's being called from another base constructor, and if so does not perform virtual base initialization. <rdar://problem/14236851> llvm-svn: 184814
-
Eli Friedman authored
Specifically, CallExpr::getCalleeDecl() can return null, so make sure to handle that correctly. llvm-svn: 184813
-
Nick Lewycky authored
usage of clang as a library. llvm-svn: 184812
-
Richard Smith authored
numbers as we deserialize class template partial specializations. We can't assume that the old sequence numbers will work. The sequence numbers are still deterministic, but are now a lot less predictable for class template partial specializations in modules/PCH. llvm-svn: 184811
-
Eli Friedman authored
Using "delete" on a pointer to an incomplete type can't throw. While I'm here, clean up the signature of the canCalleeThrow() helper. llvm-svn: 184810
-
NAKAMURA Takumi authored
llvm-svn: 184809
-
Eric Christopher authored
when building llvm. This saves quite a bit of time and space when linking. Please report any problems via bugzilla. Caveats: a) This will only work on linux b) This requires a fairly new binutils c) This requires a fairly new gdb llvm-svn: 184808
-
Rafael Espindola authored
llvm-svn: 184807
-
Rafael Espindola authored
llvm-svn: 184806
-
Chandler Carruth authored
runtime in the Makefile build system as well. Sorry for the temporary fallout, it took me a while to find these bits. Bill, I'm not at all confident of the change for Darwin and iOS, but as discussed we're completely blocked on fixing this. Anyways, please review and let me know if this will work for you guys. If necessary, I can work with you to rig up an errno.h stub for Darwin, but I expect that to be... moderately challenging. llvm-svn: 184805
-
Nico Weber authored
llvm-svn: 184804
-
Rafael Espindola authored
llvm-svn: 184803
-
Rafael Espindola authored
This is really ugly, but it is no worse than what we have in clang right now and it is better to get it working first and clean/optimize it afterwards. Will be tested from clang in the next patch. llvm-svn: 184802
-
Eli Friedman authored
Use castAs<> where appropriate. Don't check conditionals which are always true. Delete a bit of dead code. Reindent a bunch of code which is no longer guarded by an if statement. llvm-svn: 184801
-
Eric Christopher authored
llvm-svn: 184800
-
Chandler Carruth authored
through Bill's patch: 1) Correctly test the file descriptor after the sceond attempt at creating the file. 2) Make the filename a global so that we can issue error messages from other routines. 3) Check errno in several places and print it out so that errors are easier to track down. I don't really expect any of these to fix the current failures I'm seeing, but I'm hopeful they'll at least let me debug them. llvm-svn: 184799
-
Chandler Carruth authored
We really need the C standard library to be available to implement the profiling runtime library reasonably, and replicating everything in the SDKs tree really isn't addressing any problems we have. Notably, all of the sanitizer runtimes take the same approach, and this isn't a library which could end up in a bootstrapping problem where the system headers aren't even available. This will hopefully prevent subsequent changes which start using various other bits of C standard library to make things more debuggable. llvm-svn: 184798
-
Sean Callanan authored
print to standard output as part of normal operation. <rdar://problem/14247606> llvm-svn: 184797
-
Nico Weber authored
llvm-svn: 184796
-
Eli Friedman authored
llvm-svn: 184795
-