summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix APInt::rotl and APInt::rotr so that they work correctly. Found while ↵Eli Friedman2011-12-221-12/+4
| | | | | | writing some code that tried to use them. llvm-svn: 147134
* Move the Mips only bits of the ELF writer to lib/Target/Mips.Rafael Espindola2011-12-226-145/+146
| | | | llvm-svn: 147133
* Make the virtual methods in ARMELFObjectWriter public.Rafael Espindola2011-12-221-7/+6
| | | | llvm-svn: 147132
* Speculatively revert r146578 to determine if it is the cause of a number ofChad Rosier2011-12-224-395/+11
| | | | | | | | | | | performance regressions (both execution-time and compile-time) on our nightly testers. Original commit message: Fix for bug #11429: Wrong behaviour for switches. Small improvement for code size heuristics. llvm-svn: 147131
* Add more merging/coalescing test cases and make core linking work for themNick Kledzik2011-12-2214-30/+189
| | | | llvm-svn: 147130
* Move the MBlaze ELF writer bits to lib/Target/MBlaze.Rafael Espindola2011-12-226-71/+86
| | | | llvm-svn: 147129
* PR11614: Mark defaulted special constructors as constexpr if their implicitRichard Smith2011-12-2212-77/+511
| | | | | | definition would satisfy the constexpr requirements. llvm-svn: 147128
* Hoisted some loop invariant smallvector lookups out of a MachineLICM loopPete Cooper2011-12-221-1/+3
| | | | llvm-svn: 147127
* Fix cmake.Rafael Espindola2011-12-221-0/+1
| | | | llvm-svn: 147126
* Changed MachineLICM to use a worklist list MachineCSE instead of recursion.Pete Cooper2011-12-221-44/+125
| | | | | | Fixes <rdar://problem/10584116> llvm-svn: 147125
* Move PPC bits to lib/Target/PowerPC.Rafael Espindola2011-12-226-94/+123
| | | | llvm-svn: 147124
* When deserializing an Objective-C class, check whether we have anotherDouglas Gregor2011-12-226-29/+280
| | | | | | | | | | | | | | | | declaration of that same class that either came from some other module or occurred in the translation unit loading the module. In this case, we need to merge the two redeclaration chains immediately so that all such declarations have the same canonical declaration in the resulting AST (even though they don't in the module files we've imported). Focusing on Objective-C classes until I'm happy with the design, then I'll both (1) extend this notion to other kinds of declarations, and (2) optimize away this extra checking when we're not dealing with modules. For now, doing this checking for PCH files/preambles gives us better testing coverage. llvm-svn: 147123
* Enhance AnalysisDeclContext::getReferencedBlockVars() to understand ↵Ted Kremenek2011-12-223-6/+16
| | | | | | | | PseudoObjExprs. It turns out that the information collected by this method is a super set of the captured variables in BlockDecl. llvm-svn: 147122
* Hopefully fix the cmake build.Rafael Espindola2011-12-221-0/+1
| | | | llvm-svn: 147121
* PR11637: implement special-case constant evaluation for char arrays initializedRichard Smith2011-12-222-0/+40
| | | | | | by string literals. llvm-svn: 147120
* Fix name in comments.Rafael Espindola2011-12-221-1/+1
| | | | llvm-svn: 147119
* Local dynamic TLS model for direct object output. Create the correct TLS MIPSAkira Hatanaka2011-12-227-1/+85
| | | | | | | | ELF relocations. Patch by Jack Carter. llvm-svn: 147118
* Unbreak cmake build after r147115.Richard Smith2011-12-221-0/+1
| | | | llvm-svn: 147117
* Fix regression in LiveVariables when reasoning about variables captured by ↵Ted Kremenek2011-12-222-6/+17
| | | | | | blocks. llvm-svn: 147116
* Move the ARM specific parts of the ELF writer to Target/ARM.Rafael Espindola2011-12-227-275/+316
| | | | llvm-svn: 147115
* getEFlags is const.Rafael Espindola2011-12-222-5/+5
| | | | llvm-svn: 147114
* Fixed typo.Lang Hames2011-12-221-1/+1
| | | | llvm-svn: 147113
* Fix a silly mistake in this test that somehow slipped into my last commit.Eli Friedman2011-12-221-1/+1
| | | | llvm-svn: 147112
* Fix a failure (which led to a crash) in constant emission code with vector ↵Eli Friedman2011-12-222-3/+5
| | | | | | compound literals. llvm-svn: 147111
* Updated spec.html regarding __cxa_uncaught_exception.Howard Hinnant2011-12-221-3/+2
| | | | llvm-svn: 147110
* ARM NEON mnemonic aliase for vrecpeq.Jim Grosbach2011-12-211-0/+3
| | | | llvm-svn: 147109
* Forgot to increment uncaughtExceptions in __cxa_rethrow_primary_exceptionHoward Hinnant2011-12-211-0/+1
| | | | llvm-svn: 147108
* Made IRForTarget error out correctly when it can'tSean Callanan2011-12-211-1/+2
| | | | | | complete the result type, preventing crashes later. llvm-svn: 147107
* Added __cxa_increment_exception_refcount, ↵Howard Hinnant2011-12-213-46/+128
| | | | | | __cxa_decrement_exception_refcount, __cxa_current_primary_exception, __cxa_rethrow_primary_exception llvm-svn: 147106
* Cleaned up Atom attribues some more. Added lots of doxygen commentsNick Kledzik2011-12-217-76/+203
| | | | llvm-svn: 147105
* ARM VFP optional data type on VMOV GPR<-->SPR.Jim Grosbach2011-12-212-3/+39
| | | | llvm-svn: 147104
* ARM NEON optional data type on VSWP instructions.Jim Grosbach2011-12-211-0/+6
| | | | llvm-svn: 147103
* ARM NEON mnemonic aliases for vzipq and vswpq.Jim Grosbach2011-12-211-0/+3
| | | | llvm-svn: 147102
* Revert patch from 147090. There is not point to make code less readable if weJakub Staszak2011-12-211-43/+45
| | | | | | don't get any serious benefit there. llvm-svn: 147101
* ARM asm parser should be more lenient w/ .thumb_func directive.Jim Grosbach2011-12-211-8/+17
| | | | | | | | | | Rather than require the symbol to be explicitly an argument of the directive, allow it to look ahead and grab the symbol from the next non-whitespace line. rdar://10611140 llvm-svn: 147100
* The "desired result type" code in the expressionSean Callanan2011-12-2118-39/+125
| | | | | | | | | | | | | | | | | | | | | | parser has hitherto been an implementation waiting for a use. I have now tied the '-o' option for the expression command -- which indicates that the result is an Objective-C object and needs to be printed -- to the ExpressionParser, which communicates the desired type to Clang. Now, if the result of an expression is determined by an Objective-C method call for which there is no type information, that result is implicitly cast to id if and only if the -o option is passed to the expression command. (Otherwise if there is no explicit cast Clang will issue an error. This behavior is identical to what happened before r146756.) Also added a testcase for -o enabled and disabled. llvm-svn: 147099
* Fix a copy+pasto. No testcase, because the symptoms of dereferencingDan Gohman2011-12-211-1/+1
| | | | | | an invalid iterator aren't reproducible. rdar://10614085. llvm-svn: 147098
* I accidentally committed some changes to theSean Callanan2011-12-214-26/+8
| | | | | | | Xcode workspace that aren't actually desirable. Reverted. llvm-svn: 147097
* Thumb2 assembly parsing of 'mov rd, rn, rrx'.Jim Grosbach2011-12-212-2/+5
| | | | | | | | Maps to the RRX instruction. Missed this case earlier. rdar://10615373 llvm-svn: 147096
* Fix 80-column violations.Chad Rosier2011-12-211-6/+6
| | | | llvm-svn: 147095
* Thumb2 assembly parsing of 'mov(register shifted register)' aliases.Jim Grosbach2011-12-213-0/+66
| | | | | | | | These map to the ASR, LSR, LSL, ROR instruction definitions. rdar://10615373 llvm-svn: 147094
* Continue counting intrinsics as instructions (except when they aren't, such asNick Lewycky2011-12-211-3/+17
| | | | | | debug info) and for being vector operations. Fixes regression from r147037. llvm-svn: 147093
* Fix typo and spacing, no functionality change.Nick Lewycky2011-12-211-2/+2
| | | | llvm-svn: 147092
* In Lexer::getCharAndSizeSlow[NoWarn] make sure we don't go over the end of ↵Argyrios Kyrtzidis2011-12-212-0/+10
| | | | | | | | | | the buffer when the end of the buffer is immediately after an escaped newline. Fixes http://llvm.org/PR10153. llvm-svn: 147091
* - Change a few operator[] to lookup which is cheaper.Jakub Staszak2011-12-211-45/+43
| | | | | | - Add some constantness. llvm-svn: 147090
* Oops - LiveIntervalUnion.cpp file does use std::find. Moving STL header ↵Lang Hames2011-12-211-0/+2
| | | | | | include to LiveIntervalUnion.cpp file. llvm-svn: 147089
* Remove disused STL header include.Lang Hames2011-12-211-2/+0
| | | | llvm-svn: 147088
* Switch from WriteEFlags to getEFlags in preparation for moving itRafael Espindola2011-12-212-9/+8
| | | | | | to Target/. llvm-svn: 147087
* Fix wrong test method name.Johnny Chen2011-12-211-1/+1
| | | | llvm-svn: 147072
* Move common code into an MRI function.Jakob Stoklund Olesen2011-12-214-25/+16
| | | | llvm-svn: 147071
OpenPOWER on IntegriCloud