summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rename attribute 'objc_suppress_protocol_methods' to ↵Ted Kremenek2013-12-106-105/+31
| | | | | | | | | | | | | | | 'objc_protocol_requires_explicit_implementation'. That's a mouthful, and not necessarily the final name. This also reflects a semantic change where this attribute is now on the protocol itself instead of a class. This attribute will require that a protocol, when adopted by a class, is explicitly implemented by the class itself (instead of walking the super class chain). Note that this attribute is not "done". This should be considered a WIP. llvm-svn: 196955
* Enhance attribute machinery to include ObjCProtocols as "subjects" in ↵Ted Kremenek2013-12-103-4/+8
| | | | | | attribute declarations. llvm-svn: 196954
* Add a triple to this IRgen test to unbreak the ARM bots.Richard Smith2013-12-101-1/+1
| | | | llvm-svn: 196953
* Add the "--unix-socket" opton back as it was being used.Greg Clayton2013-12-101-8/+90
| | | | | | <rdar://problem/15622900> llvm-svn: 196952
* Refactored a bunch of duplicated code in <ostream>. Made a new routine ↵Marshall Clow2013-12-101-218/+24
| | | | | | called __put_character_sequence, and made nine places call it. llvm-svn: 196951
* Improve on an objc_bridge_related diagnostic.Fariborz Jahanian2013-12-104-18/+19
| | | | | | // rdar://15499111 llvm-svn: 196950
* Fix autocompletion for multi-word commands.Greg Clayton2013-12-103-12/+20
| | | | | | <rdar://problem/14183288> llvm-svn: 196949
* Fix minor gcc warnings.Matt Arsenault2013-12-101-11/+11
| | | | | | | C++ style comments not allowed in C90, signed unsigned comparision. llvm-svn: 196948
* Fix gcc warnings.Matt Arsenault2013-12-102-0/+7
| | | | | | Unused variable and unused typedef in release build. llvm-svn: 196947
* Make the -via-file-asm an InternalDebugOptDavid Peixotto2013-12-101-1/+1
| | | | | | | | We do not need to expose this flag to the user. This commit makes the flag an interal debug option that will only display its help when printing with --help-hidden. llvm-svn: 196946
* [Driver] Rename '-objcmt-white-list-dir-path' option to ↵Argyrios Kyrtzidis2013-12-103-3/+5
| | | | | | '-objcmt-whitelist-dir-path' and add an alias for now. llvm-svn: 196944
* [objcmt] Add a modernization option to infer and suggest designated ↵Argyrios Kyrtzidis2013-12-106-1/+155
| | | | | | | | initializers. rdar://15509284 llvm-svn: 196943
* [AST] In ObjCInterfaceDecl::isDesignatedInitializer(), use getMethod() ↵Argyrios Kyrtzidis2013-12-101-3/+1
| | | | | | | | instead of lookupMethod(). lookupMethod also goes through categories, which we don't need there. llvm-svn: 196942
* test: Skip register test hanging on FreeBSD buildbotEd Maste2013-12-101-0/+1
| | | | llvm-svn: 196941
* Update clang MS inline asm tests for r196939Reid Kleckner2013-12-102-8/+9
| | | | llvm-svn: 196940
* Reland "Fix miscompile of MS inline assembly with stack realignment"Reid Kleckner2013-12-1010-35/+108
| | | | | | | | | | | This re-lands commit r196876, which was reverted in r196879. The tests have been fixed to pass on platforms with a stack alignment larger than 4. Update to clang side tests will land shortly. llvm-svn: 196939
* [analyzer] Misc. tidying in IdenticalExprChecker.Jordan Rose2013-12-101-18/+16
| | | | | | Some things I missed when this first went in. llvm-svn: 196938
* [analyzer] Extend IdenticalExprChecker to check ternary operator results.Jordan Rose2013-12-104-8/+269
| | | | | | | | | | Warn if both result expressions of a ternary operator (? :) are the same. Because only one of them will be executed, this warning will fire even if the expressions have side effects. Patch by Anders Rönnholm and Per Viberg! llvm-svn: 196937
* [AArch64] Refactor the redundant code in the EmitAArch64ScalarBuiltinExpr()Chad Rosier2013-12-101-206/+189
| | | | | | function. No functional change intended. llvm-svn: 196936
* Objective-C. Provide fixit's for objc_bride_relatedFariborz Jahanian2013-12-105-9/+64
| | | | | | | attributed CF to ObjC type conversions. // rdar://15499111 llvm-svn: 196935
* Make Triple's isOSBinFormatXXX functions partition triple-space.Tim Northover2013-12-108-26/+22
| | | | | | | | | | | Most users would be surprised if "isCOFF" and "isMachO" were simultaneously true, unless they'd put the compiler in a box with a gun attached to a photon detector. This makes sure precisely one of the three formats is true for any triple and simplifies some target logic based on that. llvm-svn: 196934
* As consistency, invoke python with /usr/bin/env (like it is done in the rest ↵Sylvestre Ledru2013-12-101-1/+1
| | | | | | of the file). Thanks to Xavier De Gaye for the patch llvm-svn: 196933
* Support: Update documentation for Program functionsAlp Toker2013-12-101-8/+13
| | | | | | | | | | The docstrings were describing an older interface that has been replaced with functions. Also describe the performance characteristics of FindProgramByName() and ExecuteAndWait() explaining when it's best to avoid them. llvm-svn: 196932
* [AArch64] Refactor the Neon vector/scalar floating-point convert intrinsics soChad Rosier2013-12-101-12/+11
| | | | | | that they use float/double rather than the vector equivalents when appropriate. llvm-svn: 196931
* [AArch64] Refactor the Neon vector/scalar floating-point convert intrinsics soChad Rosier2013-12-104-84/+103
| | | | | | that they use float/double rather than the vector equivalents when appropriate. llvm-svn: 196930
* Remove IndentBlocks, which sneaked winto the previous commitAlexander Kornienko2013-12-102-7/+0
| | | | llvm-svn: 196929
* Early attempts to format in GNU style.Alexander Kornienko2013-12-103-36/+35
| | | | | | | | | | | | | | | | Summary: This still misses a few important features, so there's no mention of this style in the help message, but a few style rules are implemented. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2371 llvm-svn: 196928
* [AArch64] Refactor the Neon vector/scalar floating-point convert implementation.Chad Rosier2013-12-101-24/+24
| | | | | | Specifically, reuse the ARM intrinsics when possible. llvm-svn: 196927
* [AArch64] Refactor the Neon vector/scalar floating-point convert implementation.Chad Rosier2013-12-104-152/+160
| | | | | | Specifically, reuse the ARM intrinsics when possible. llvm-svn: 196926
* Ensure that the backend no longer emits unnecessary vector insert instructionsAndrea Di Biagio2013-12-102-0/+435
| | | | | | | | | | | | | | | | | | | | | | immediately after SSE scalar fp instructions like addss or mulss. Added patterns to select SSE scalar fp arithmetic instructions from a scalar fp operation followed by a blend. For example, given the following code: __m128 foo(__m128 A, __m128 B) { A[0] += B[0]; return A; } previously we generated: addss %xmm0, %xmm1 movss %xmm1, %xmm0 now we generate: addss %xmm1, %xmm0 llvm-svn: 196925
* Use Field Lists for the types' "Overview", "Syntax" and "Examples".Rafael Espindola2013-12-101-56/+31
| | | | | | Thanks to Sean Silva for the suggestion. llvm-svn: 196924
* R600: Fix an infinite loop when trying to reorganize export/tex vector inputVincent Lejeune2013-12-102-5/+67
| | | | llvm-svn: 196923
* R600: Fix input modifiers lost for CaymanVincent Lejeune2013-12-102-0/+44
| | | | llvm-svn: 196922
* Next step in Mips16 prologue/epilogue cleanup.Reed Kotler2013-12-109-27/+159
| | | | | | | | Save S2(reg 18) only when we are calling floating point stubs that have a return value of float or complex. Some more work to make this better but this is the first step. llvm-svn: 196921
* test: FreeBSD calls the 64-bit x86 platform amd64Ed Maste2013-12-102-10/+11
| | | | | | Also add decorator for an issue that this uncovered: llvm.org/pr18200 llvm-svn: 196920
* test: Fix match string to work with st0 or stmm0Ed Maste2013-12-101-1/+1
| | | | llvm-svn: 196919
* AVX-512: changed intrinsics for mask operationsElena Demikhovsky2013-12-105-58/+78
| | | | llvm-svn: 196918
* clang-format-diff.py: Support -regex filter and more filename extensionsAlp Toker2013-12-102-10/+12
| | | | | | | | | | | | | Add support for more filename extensions based on the list in the clang plus JavaScript. Also adds a -regex option so users can override defaults if they have unusual file extensions or want to format everything in the diff. Keeping with tradition the flag is modelled on Unix conventions, this time matching the semantics of find(1). llvm-svn: 196917
* [CMake] Update target_link_libraries() and LLVM_LINK_COMPONENTS for each ↵NAKAMURA Takumi2013-12-1019-114/+106
| | | | | | CMakeLists.txt. llvm-svn: 196916
* Add ObjCARCOpts to LINK_COMPONENTS.NAKAMURA Takumi2013-12-102-2/+3
| | | | llvm-svn: 196915
* AVX-512: Changed intrinsics of VPCONFLICT to match GCC builtin formElena Demikhovsky2013-12-104-50/+66
| | | | llvm-svn: 196914
* Darwin: update clang test to new iOS default version (5.0)Tim Northover2013-12-101-4/+4
| | | | llvm-svn: 196913
* Darwin: update default iOS version to 5.0Tim Northover2013-12-102-10/+10
| | | | | | | | | | | | Defaulting to iOS 3.0 when LLVM has to guess the version is no longer a useful option and can give surprising results (like tail calls being disabled). 5.0 seems like a reasonable compromise as a platform that's still interesting to some people. rdar://problem/15567348 llvm-svn: 196912
* [CMake] Add MCDisassembler to tools/lto. (has been removed since r196908)NAKAMURA Takumi2013-12-101-0/+1
| | | | | | lto.exports really exports LLVM-C Disasm stuff. llvm-svn: 196911
* [mips][msa] Correct sld and sldi builtins.Daniel Sanders2013-12-106-86/+122
| | | | | | | | | | | | | Summary: The result register of these instructions is also the first operand. Reviewers: jacksprat, dsanders Reviewed By: dsanders Differential Revision: http://llvm-reviews.chandlerc.com/D2362 Differential Revision: http://llvm-reviews.chandlerc.com/D2363 llvm-svn: 196910
* Allow predefined styles to define different options for different languages.Alexander Kornienko2013-12-104-98/+188
| | | | | | | | | | | | | | | | | | | | | | | Summary: Allow predefined styles to define different options for different languages so that one can run: clang-format -style=google file1.cpp file2.js or use a single .clang-format file with "BasedOnStyle: Google" for both c++ and JS files. Added Google style for JavaScript with "BreakBeforeTernaryOperators" set to false. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2364 llvm-svn: 196909
* [CMake] Update LLVM_LINK_COMPONENTS for each CMakeLists.txt.NAKAMURA Takumi2013-12-1048-57/+291
| | | | llvm-svn: 196908
* Add JIT to LINK_COMPONENTS in MCJITTests/Makefile.NAKAMURA Takumi2013-12-101-1/+1
| | | | llvm-svn: 196907
* Add TargetLowering::prepareVolatileOrAtomicLoadRichard Sandiford2013-12-1015-73/+75
| | | | | | | | | | | | | | | | | One unusual feature of the z architecture is that the result of a previous load can be reused indefinitely for subsequent loads, even if a cache-coherent store to that location is performed by another CPU. A special serializing instruction must be used if you want to force a load to be reattempted. Since volatile loads are not supposed to be omitted in this way, we should insert a serializing instruction before each such load. The same goes for atomic loads. The patch implements this at the IR->DAG boundary, in a similar way to atomic fences. It is a no-op for targets other than SystemZ. llvm-svn: 196906
* Add TargetLowering::prepareVolatileOrAtomicLoadRichard Sandiford2013-12-1024-51/+106
| | | | | | | | | | | | | | | | | One unusual feature of the z architecture is that the result of a previous load can be reused indefinitely for subsequent loads, even if a cache-coherent store to that location is performed by another CPU. A special serializing instruction must be used if you want to force a load to be reattempted. Since volatile loads are not supposed to be omitted in this way, we should insert a serializing instruction before each such load. The same goes for atomic loads. The patch implements this at the IR->DAG boundary, in a similar way to atomic fences. It is a no-op for targets other than SystemZ. llvm-svn: 196905
OpenPOWER on IntegriCloud