summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [docs] Make it pretty.Michael J. Spencer2012-06-151-5/+34
| | | | llvm-svn: 158561
* Fix the encoding of the armv7m (MClass) for MSR registers other than aspr,Kevin Enderby2012-06-153-31/+41
| | | | | | iaspr, espr and xpsr which also needed to have 0b10 in their mask encoding bits. llvm-svn: 158560
* Documentation cleanup:James Dennett2012-06-155-18/+17
| | | | | | | | * Escaped Objective-C @keywords in Doxygen comments; * Documented more accurate \params; * Exposed some more summaries using \brief. llvm-svn: 158559
* Add a missing initializer in ASTBitCodes.hDmitri Gribenko2012-06-151-1/+1
| | | | llvm-svn: 158558
* Documentation cleanup:James Dennett2012-06-151-27/+38
| | | | | | | * Escaped # characters in Doxygen comments; * Added Doxygen markup (\brief, \code, \file, \namespace). llvm-svn: 158557
* Don't dereference root in __parse_ctor_dtor_name unless it is known to not ↵Howard Hinnant2012-06-151-1/+1
| | | | | | be null. llvm-svn: 158556
* Documentation cleanup: fixed/created some /brief function summaries.James Dennett2012-06-151-8/+14
| | | | llvm-svn: 158555
* Documentation cleanup: escape # in a Doxygen comment.James Dennett2012-06-151-1/+1
| | | | llvm-svn: 158554
* Documentation cleanup:James Dennett2012-06-151-8/+7
| | | | | | | | | * Escaped the # of #define in Doxygen comments; * Formatting: Annotated __VA_ARGS__ with \c; * Converted docs to use \brief to provide summaries; * Fixed a typo: disbles -> disables. llvm-svn: 158553
* Documentation cleanup: escape backslashes in Doxygen comments.James Dennett2012-06-151-4/+5
| | | | llvm-svn: 158552
* ARM: optimization for sub+abs.Manman Ren2012-06-153-14/+27
| | | | | | | | | | | | | | This patch will optimize abs(x-y) FROM sub, movs, rsbmi TO subs, rsbmi For abs, we will use cmp instead of movs. This is necessary because we already have an existing peephole pass which optimizes away cmp following sub. rdar: 11633193 llvm-svn: 158551
* Documentation cleanup: delete doc comments from source files where they areJames Dennett2012-06-152-13/+0
| | | | | | broken duplicates of comments that are in the corresponding header files. llvm-svn: 158550
* Documentation cleanup: escape # in a Doxygen comment.James Dennett2012-06-151-1/+1
| | | | llvm-svn: 158549
* Documentation cleanup: escape @ in a Doxygen comment.James Dennett2012-06-151-2/+2
| | | | llvm-svn: 158548
* Add 'invalid' as a Reference Kind so that unknown/invalid kind strings can ↵Nick Kledzik2012-06-152-3/+24
| | | | | | return that fact to the caller for use in constructing an error message, rather that triggering an assertion. llvm-svn: 158547
* Documentation fix (cleaning up my own breakage): close <tt> with </tt>,James Dennett2012-06-151-1/+1
| | | | | | not with another <tt>. llvm-svn: 158546
* Stop referring to functions as methods in per-function fallthrough-checking.Alexis Hunt2012-06-154-15/+16
| | | | llvm-svn: 158545
* remove return statements after llvm_unreachable() as the compiler no longer ↵Nick Kledzik2012-06-152-13/+0
| | | | | | warns abot missing return values llvm-svn: 158544
* *fixed to separate mnemonic from operands with tabKay Tiong Khoo2012-06-151-4/+4
| | | | llvm-svn: 158543
* use llvm_unreachable() instead of assert(0) for invalid enum values in ↵Nick Kledzik2012-06-154-15/+16
| | | | | | switch statements llvm-svn: 158542
* Use ADT/StringSwitchNick Kledzik2012-06-151-73/+41
| | | | llvm-svn: 158541
* LSR: fix expansion of scaled reg in non-address type formulae.Andrew Trick2012-06-151-13/+17
| | | | | | | | | For non-address users, Base and Scaled registers are not specially associated to fit an address mode, so SCEVExpander should apply normal expansion rules. Otherwise we may sink computation into inner loops that have already been optimized. llvm-svn: 158537
* LSR fix: "Special" users are just like "Basic" users but allow -1 scale.Andrew Trick2012-06-151-2/+2
| | | | llvm-svn: 158536
* Remove assignments which aren't used afterwards.Bill Wendling2012-06-151-3/+1
| | | | llvm-svn: 158535
* Remove assignments which aren't used afterwards.Bill Wendling2012-06-151-2/+0
| | | | llvm-svn: 158534
* [completion] Add completions for @"..." and @(...), and tidy up @[] and @{}.Jordan Rose2012-06-153-6/+43
| | | | | | | | | | | | | Specifically, @[] and @{} didn't have a type associated with them; we now use "NSArray *" and "NSDictionary *", respectively. @"" has the type "NSString *". @(), unfortunately, has type "id", since it (currently) may be either an NSNumber or an NSString. Add a test for all the Objective-C at-expression completions. <rdar://problem/11507708&11507668&11507711> llvm-svn: 158533
* [analyzer] RetainCount: don't track objects init'd with a delegateJordan Rose2012-06-152-4/+27
| | | | | | | | | We already didn't track objects that have delegates or callbacks or objects that are passed through void * "context pointers". It's a not-uncommon pattern to release the object in its callback, and so the leak message we give is not very helpful. llvm-svn: 158532
* Warn when a static variable is referenced in a non-static inline function.Jordan Rose2012-06-153-0/+61
| | | | | | | | | | | | | This is explicitly forbidden in C99 6.7.4p3. This is /not/ forbidden in C++, probably because by default file-scope const/constexpr variables have internal linkage, while functions have external linkage. There's also the issue of anonymous namespaces to consider. Nevertheless, there should probably be a similar warning, since the semantics of inlining a function that references a variable with internal linkage do not seem well-defined. <rdar://problem/11577619> llvm-svn: 158531
* Test that -Wauto-var-id fires in value-dependent contexts.Jordan Rose2012-06-151-3/+9
| | | | | | | There was already a test that it did not fire in type-dependent contexts. This was already behaving correctly. llvm-svn: 158530
* Allow SROA to split up an array of vectors into multiple vectors, even when ↵Pete Cooper2012-06-152-3/+112
| | | | | | the vectors are dynamically indexed llvm-svn: 158529
* Some optimizations done by globalopt are safe only for internal linkage, notRafael Espindola2012-06-152-0/+15
| | | | | | | | linkonce linkage. For example, it is not valid to add unnamed_addr. This also fixes a crash in g++.dg/opt/static5.C. llvm-svn: 158528
* Preserve <undef> flags in ARMExpandPseudo.Jakob Stoklund Olesen2012-06-152-5/+14
| | | | | | This probably mostly shows up in bugpoint-generated code. llvm-svn: 158527
* Use regunit liveness in RegisterCoalescer when it is available.Jakob Stoklund Olesen2012-06-151-13/+21
| | | | | | | We only do very limited physreg coalescing now, but we still merge virtual registers into reserved registers. llvm-svn: 158526
* Check the parameter lists and return type of both blocks and lambdasDouglas Gregor2012-06-157-14/+72
| | | | | | | for unexpanded parameter packs. Fixes the crash-on-invalid in PR13117. llvm-svn: 158525
* [Sanitizer] Fix type for placement new on 32-bit MacAlexey Samsonov2012-06-151-6/+8
| | | | llvm-svn: 158524
* Factor macro argument parsing into helper methods and add support for .irp.Rafael Espindola2012-06-153-30/+133
| | | | | | | Patch extracted from a larger one by the PaX team. I added the testcases and tightened error handling a bit. llvm-svn: 158523
* [Sanitizer] Use ProcessMaps in symbolizer to get module name and offset for ↵Alexey Samsonov2012-06-153-43/+120
| | | | | | instruction address llvm-svn: 158522
* Headers/xopintrin.h: Try to fix r158492. Did you mean, mm256?NAKAMURA Takumi2012-06-151-4/+4
| | | | llvm-svn: 158521
* [Sanitizer] move all the rest re-implementations of libc functions from ASan ↵Alexey Samsonov2012-06-159-113/+105
| | | | | | runtime to common sanitizer runtime llvm-svn: 158519
* [Sanitizer] Use DEFINE_REAL macro in TSan runtime to call libc ↵Alexey Samsonov2012-06-1516-71/+46
| | | | | | implementations of functions. Move strchr to sanitizer_libc. llvm-svn: 158517
* Free the allocated filename. Found by clang static analyzer.Bill Wendling2012-06-151-0/+1
| | | | llvm-svn: 158514
* Free the allocated filename. Found by clang static analyzer.Bill Wendling2012-06-151-0/+1
| | | | llvm-svn: 158513
* Documentation fix: Add a missing parameter name for a \param commandJames Dennett2012-06-151-2/+2
| | | | llvm-svn: 158512
* Documentation fix: made the name given to \param match the code.James Dennett2012-06-151-1/+1
| | | | llvm-svn: 158511
* Documentation cleanup:James Dennett2012-06-151-24/+23
| | | | | | | | | * Converted comments to use \brief to provide summaries; * Fixed uses of \arg that should be \p; * Fixed \param [in] [out] to \param [in,out]; * Made minor formatting fixes. llvm-svn: 158510
* Documentation cleanup: use \p ParameterName when referring to a parameter,James Dennett2012-06-151-3/+3
| | | | | | | not \arg ParameterName (which should be used only when documenting that parameter, not when referring to it from elsewhere). llvm-svn: 158509
* Fix issues (infinite loop and/or crash) with self-referential instructions, forDuncan Sands2012-06-152-6/+39
| | | | | | | example degenerate phi nodes and binops that use themselves in unreachable code. Thanks to Charles Davis for the testcase that uncovered this can of worms. llvm-svn: 158508
* Fix a documentation typo: \\brief -> \briefJames Dennett2012-06-151-1/+1
| | | | llvm-svn: 158507
* Documentation cleanup: fix \params to match the code.James Dennett2012-06-151-3/+3
| | | | llvm-svn: 158506
* Documentation cleanup:James Dennett2012-06-151-26/+21
| | | | | | | | | * Escaped @ symbols that shouldn't be interpreted by Doxygen; * Deleted \param documentation for function parameters that no longer exist; * Fixed parameter names in \param Doxygen commands; * Fixed some broken formatting. llvm-svn: 158505
OpenPOWER on IntegriCloud