| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Serialize the NoReturn bit on FunctionTypes for precompiled headers | Douglas Gregor | 2009-12-22 | 4 | -4/+13 | |
| | | | | | llvm-svn: 91911 | |||||
| * | Remove target attribute break-sse-dep. Instead, do not fold load into sse ↵ | Evan Cheng | 2009-12-22 | 7 | -56/+25 | |
| | | | | | | | partial update instructions unless optimizing for size. llvm-svn: 91910 | |||||
| * | Enter the scope of an initializer for direct-initialization as well as | Douglas Gregor | 2009-12-22 | 2 | -0/+18 | |
| | | | | | | | for copy-initialization. llvm-svn: 91909 | |||||
| * | Include based on the current path, since we already -I the X86 target's ↵ | Douglas Gregor | 2009-12-22 | 1 | -1/+1 | |
| | | | | | | | path. Fixes CMake build llvm-svn: 91908 | |||||
| * | When transforming a C++ "new" expression that was not explicitly given | Douglas Gregor | 2009-12-22 | 2 | -0/+39 | |
| | | | | | | | | a size, check whether the transformed type is itself an array type. If so, take the major array bound as the size to allocate. Fixes PR5833. llvm-svn: 91907 | |||||
| * | Switch parameter-passing for calls via function pointers (where we | Douglas Gregor | 2009-12-22 | 3 | -18/+30 | |
| | | | | | | | don't have a FunctionDecl) over to InitializationSequence. llvm-svn: 91906 | |||||
| * | Switch InitializedEntity from TypeLoc down to just QualTypes, since we don't ↵ | Douglas Gregor | 2009-12-22 | 5 | -150/+60 | |
| | | | | | | | use the location information but we did spend a bunch of time building faked-up TypeLocs llvm-svn: 91905 | |||||
| * | While converting one of the operands to a memory operand, we need to check ↵ | Sanjiv Gupta | 2009-12-22 | 4 | -10/+60 | |
| | | | | | | | if it is Legal and does not result into a cyclic dep. llvm-svn: 91904 | |||||
| * | Move the implementation of ASTContext::getTypeSizeInChars() to the .cpp file to | Ken Dyck | 2009-12-22 | 3 | -7/+14 | |
| | | | | | | | avoid #including CharUnits.h in ASTContext.h. llvm-svn: 91903 | |||||
| * | Switch initialization of parameters in a call over to | Douglas Gregor | 2009-12-22 | 7 | -17/+43 | |
| | | | | | | | | | | | | InitializationSequence (when a FunctionDecl is present). This required a few small fixes to initialization sequences: - Make sure to use the adjusted parameter type for initialization of function parameters. - Implement transparent union calling semantics in C llvm-svn: 91902 | |||||
| * | specify what is invalid about it | Chris Lattner | 2009-12-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91901 | |||||
| * | specify a triple to use, fixing the test on non-x86-64 hosts. | Chris Lattner | 2009-12-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91900 | |||||
| * | reject invalid input with a caret, e.g.: | Chris Lattner | 2009-12-22 | 1 | -2/+2 | |
| | | | | | | | | | simple-tests.txt:16:1: error: invalid instruction 0xff 0xff ^ llvm-svn: 91898 | |||||
| * | Generalize SROA to allow the first index of a GEP to be non-zero. Add a | Bob Wilson | 2009-12-22 | 2 | -23/+57 | |
| | | | | | | | | | missing check that an array reference doesn't go past the end of the array, and remove some redundant checks for in-bound array and vector references that are no longer needed. llvm-svn: 91897 | |||||
| * | various cleanups, make the disassemble reject lines with too much | Chris Lattner | 2009-12-22 | 2 | -40/+50 | |
| | | | | | | | | | | | | data on them, for example: addb %al, (%rax) simple-tests.txt:11:5: error: excess data detected in input 0 0 0 0 0 ^ llvm-svn: 91896 | |||||
| * | If you thought that it didn't make sense for the disassembler | Chris Lattner | 2009-12-22 | 1 | -19/+15 | |
| | | | | | | | to not produce caret diagnostics, you were right! llvm-svn: 91895 | |||||
| * | rewrite the file parser for the disassembler, implementing support for | Chris Lattner | 2009-12-22 | 3 | -14/+45 | |
| | | | | | | | | comments. Also, check in a simple testcase for the disassembler, including a test for r91864 llvm-svn: 91894 | |||||
| * | Make sure that we mangle overloaded operators that are member functions ↵ | Anders Carlsson | 2009-12-22 | 3 | -10/+43 | |
| | | | | | | | | | correctly, giving them the correct arity. With this seemingly insignificant fix, we are now able to build and link clang using clang itself! (LLVM still has to be built with gcc for the time being). llvm-svn: 91893 | |||||
| * | don't crash on blank lines, rename some variables. | Chris Lattner | 2009-12-22 | 1 | -38/+31 | |
| | | | | | llvm-svn: 91892 | |||||
| * | Work around PR5514. | Anders Carlsson | 2009-12-22 | 1 | -1/+2 | |
| | | | | | llvm-svn: 91891 | |||||
| * | Implement PR5795 by merging duplicated return blocks. This could go further | Chris Lattner | 2009-12-22 | 2 | -0/+91 | |
| | | | | | | | | by merging all returns in a function into a single one, but simplifycfg currently likes to duplicate the return (an unfortunate choice!) llvm-svn: 91890 | |||||
| * | convert to filecheck | Chris Lattner | 2009-12-22 | 1 | -5/+15 | |
| | | | | | llvm-svn: 91889 | |||||
| * | fix a bug handling the gnu ?: extension. Patch by Storlek on IRC, | Chris Lattner | 2009-12-22 | 2 | -1/+2 | |
| | | | | | | | who prefers to be stealthy and mysterious. llvm-svn: 91888 | |||||
| * | When we simply return a retained member expression when instantiating, we ↵ | Anders Carlsson | 2009-12-22 | 2 | -1/+33 | |
| | | | | | | | must also mark the member decl as referenced. llvm-svn: 91887 | |||||
| * | don't run GVN at -O1, GCC doesn't do it's equivalent at that optimization level. | Chris Lattner | 2009-12-22 | 1 | -1/+2 | |
| | | | | | llvm-svn: 91886 | |||||
| * | The phi translated pointer can be computed when returning a partially cached ↵ | Chris Lattner | 2009-12-22 | 3 | -34/+52 | |
| | | | | | | | | | | | result instead of stored. This reduces memdep memory usage, and also eliminates a bunch of weakvh's. This speeds up gvn on gcc.c-torture/20001226-1.c from 23.9s to 8.45s (2.8x) on a different machine than earlier. llvm-svn: 91885 | |||||
| * | Zap CheckInitializerTypes. | Eli Friedman | 2009-12-22 | 2 | -116/+0 | |
| | | | | | llvm-svn: 91884 | |||||
| * | Switch default arguments over to InitializationSequence. | Eli Friedman | 2009-12-22 | 4 | -4/+8 | |
| | | | | | llvm-svn: 91883 | |||||
| * | Switch compound literals over to InitializationSequence. | Eli Friedman | 2009-12-22 | 2 | -3/+10 | |
| | | | | | llvm-svn: 91882 | |||||
| * | Switch file-scope assignment initialization over to InitializationSequence. | Eli Friedman | 2009-12-22 | 8 | -23/+30 | |
| | | | | | llvm-svn: 91881 | |||||
| * | Add more plumbing. This time in the LowerArguments and "get" functions which | Bill Wendling | 2009-12-22 | 12 | -58/+159 | |
| | | | | | | | | | return partial registers. This affected the back-end lowering code some. Also patch up some places I missed before in the "get" functions. llvm-svn: 91880 | |||||
| * | Changed REG_* to MODRM_REG_* to avoid conflicts | Sean Callanan | 2009-12-22 | 2 | -17/+21 | |
| | | | | | | | with symbols in AuroraUX's global namespace. llvm-svn: 91879 | |||||
| * | Fix some may-be-uninitialized var warnings. | Daniel Dunbar | 2009-12-22 | 1 | -3/+3 | |
| | | | | | llvm-svn: 91878 | |||||
| * | fix unit test that I broke. | Chris Lattner | 2009-12-22 | 1 | -1/+1 | |
| | | | | | llvm-svn: 91877 | |||||
| * | Add SDNode ordering to inlined asm and VA functions. | Bill Wendling | 2009-12-22 | 1 | -28/+78 | |
| | | | | | llvm-svn: 91876 | |||||
| * | Whitespace fixes. | Eric Christopher | 2009-12-22 | 1 | -4/+4 | |
| | | | | | llvm-svn: 91875 | |||||
| * | x86_64: Structures with no fields but which have padding should be classified as | Daniel Dunbar | 2009-12-22 | 3 | -2/+9 | |
| | | | | | | | | | integer. - This is consistent, but may not be correct. I will revisit x86_64 ABI handling for C++ as a whole at some point. - PR5831. llvm-svn: 91874 | |||||
| * | types don't need atomic inc/dec, they are local to an llvmcontext. | Chris Lattner | 2009-12-22 | 1 | -6/+3 | |
| | | | | | llvm-svn: 91873 | |||||
| * | Adding more assignment of ordering to SDNodes. This time in the "call" and | Bill Wendling | 2009-12-22 | 1 | -32/+66 | |
| | | | | | | | generic copy functions. llvm-svn: 91872 | |||||
| * | Fixed library dependencies between the X86 disassembler and | Sean Callanan | 2009-12-22 | 3 | -18/+5 | |
| | | | | | | | X86 codegen that were causing circular symbol dependencies. llvm-svn: 91871 | |||||
| * | Centralize the emission/suppression/delay of diagnostics describing runtime ↵ | Douglas Gregor | 2009-12-22 | 2 | -60/+53 | |
| | | | | | | | before in the new function Sema::DiagRuntimeBehavior, addressing one of Chris' comments. llvm-svn: 91870 | |||||
| * | avoid calling extractMallocCall when it's obvious we don't have | Chris Lattner | 2009-12-22 | 1 | -1/+2 | |
| | | | | | | | a call. This speeds up memdep ~1.5% llvm-svn: 91869 | |||||
| * | Stop diagnosing the use of inner classes as friends. ddunbar asked whether | John McCall | 2009-12-22 | 2 | -9/+4 | |
| | | | | | | | | | | this was useful, and on review Doug and I decided it was probably on the level of a bug in the standard and therefore not worth a warning even in -pedantic. If someone disagrees and urgently wants clang++ to warn about this in strict c++98 mode, we can talk about it. llvm-svn: 91868 | |||||
| * | comment fix: weakvh -> tracking vh | Chris Lattner | 2009-12-22 | 1 | -2/+2 | |
| | | | | | llvm-svn: 91867 | |||||
| * | Add ordering of SDNodes to LowerCallTo. | Bill Wendling | 2009-12-22 | 1 | -19/+44 | |
| | | | | | llvm-svn: 91866 | |||||
| * | Template code for rewrite of __block variables - wip. | Fariborz Jahanian | 2009-12-22 | 1 | -0/+7 | |
| | | | | | llvm-svn: 91865 | |||||
| * | print pcrel immediates as signed values instead of unsigned so that we | Chris Lattner | 2009-12-22 | 1 | -3/+5 | |
| | | | | | | | | | | | | | | | get things like this out of the disassembler: 0x100000ecb: callq -96 instead of: 0x100000ecb: callq 4294967200 rdar://7491123 llvm-svn: 91864 | |||||
| * | Now add ordering to SDNodes created by the massive intrinsic lowering function. | Bill Wendling | 2009-12-22 | 1 | -100/+183 | |
| | | | | | llvm-svn: 91863 | |||||
| * | Eliminate the ASTContext argument to CXXConstructorDecl::isCopyConstructor, ↵ | Douglas Gregor | 2009-12-22 | 9 | -17/+17 | |
| | | | | | | | since the context is available in the Decl llvm-svn: 91862 | |||||
| * | When converting from a type to itself or one of its base classes via a | Douglas Gregor | 2009-12-22 | 2 | -1/+16 | |
| | | | | | | | | | | constructor call, the conversion is only a standard conversion sequence if that constructor is a copy constructor. This fixes PR5834 in a semi-lame way, because the "real" fix will be to move over to InitializationSequence. That will happen "soonish", but not now. llvm-svn: 91861 | |||||

