summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* R600/SI: Add compute support for CI v2Tom Stellard2013-10-297-16/+35
| | | | | | | | v2: - Fix LDS size calculation Reviewed-by: Michel Dänzer <michel.daenzer@amd.com> llvm-svn: 193621
* R600: Expand vector FSQRT opsTom Stellard2013-10-292-0/+55
| | | | llvm-svn: 193620
* DWARF parser: propery handle DW_FORM_ref_sig8 and fix Windows build.Alexey Samsonov2013-10-292-43/+42
| | | | | | Based on D2050 by Timur Iskhodzhanov. llvm-svn: 193619
* The asm printer has a mangler. Use it.Rafael Espindola2013-10-293-7/+4
| | | | llvm-svn: 193618
* The AsmPrinter has a Mangler. Use it.Rafael Espindola2013-10-293-8/+6
| | | | llvm-svn: 193617
* The asm printer has a mangler. Don't keep a second pointer to it.Rafael Espindola2013-10-291-10/+11
| | | | llvm-svn: 193616
* [asan] increase the max malloc size from 8Gb to 64GbKostya Serebryany2013-10-291-1/+1
| | | | llvm-svn: 193615
* clang-format: Option to control spacing in template argument lists.Daniel Jasper2013-10-294-3/+39
| | | | | | | | | | | Same as SpacesInParentheses, this option allows adding a space inside the '<' and '>' of a template parameter list. Patch by Christopher Olsen. This fixes llvm.org/PR17301. llvm-svn: 193614
* Resubmit "Refactor DynTypedMatcher into a value type class, just like ↵Samuel Benzaquen2013-10-2911-321/+305
| | | | | | | | | | | | | | Matcher<T>." Summary: This resubmits r193100, plus a fix for a breakage with MSVC. Reviewers: klimek, rnk CC: cfe-commits, revane Differential Revision: http://llvm-reviews.chandlerc.com/D2005 llvm-svn: 193613
* Support names like llvm-ar-3.4 and llvm-ranlib-3.4.Rafael Espindola2013-10-291-2/+2
| | | | | | | | | They are used in some packages. For example: http://packages.ubuntu.com/saucy/i386/llvm-3.4/filelist This fixes pr17721. llvm-svn: 193612
* Test cleanup for v8 instructionsBernard Ogden2013-10-293-7/+38
| | | | | | | Add some missing tests, factor out a test not specific to v8 into its own file. llvm-svn: 193611
* Fix an assertion when handling a custom case of virtual inheritance; also ↵Timur Iskhodzhanov2013-10-292-33/+27
| | | | | | reduce code duplication llvm-svn: 193610
* Clarify that GlobalVariables definitions must have an initializer.Rafael Espindola2013-10-292-6/+14
| | | | llvm-svn: 193609
* Add a missing lit-test expectation (forgotten to write initially?)Timur Iskhodzhanov2013-10-291-0/+1
| | | | llvm-svn: 193608
* Use LLVMLibsOptions intead of LDFLAGS when setting the libclang soname. This ↵Sylvestre Ledru2013-10-291-1/+1
| | | | | | allows 'make LDFLAGS=foo' to be set correctly (and matches the way it is done with libllvm and liblldb) llvm-svn: 193607
* ARM: fix AST for __builtin_arm_strex callTim Northover2013-10-292-1/+12
| | | | | | | | | | | The AST was constructed so that this builtin returned the default BoolTy and since I'd opted for custom SemaChecking, I should have set it properly at that point. This caused an assertion failure when the types didn't match up with what we generated. This makes it return an IntTy, which is as good as anything. llvm-svn: 193606
* clang-format: Fix overloaded operator for global-scoped conversions.Daniel Jasper2013-10-292-1/+2
| | | | | | | | | | Before: operator::A(); After: operator ::A(); llvm-svn: 193605
* Quick-fix DebugInfo build on WindowsTimur Iskhodzhanov2013-10-291-1/+3
| | | | | | | | | | | | | | | MSVC can't comprehend template<typename T, size_t N> ArrayRef<T> makeArrayRef(const T (&Arr)[N]) { return ArrayRef<T>(Arr); } if Arr is static const uint8_t sizes[]; declared in a templated and defined a few lines later. I'll send a proper fix (i.e. get rid of unnecessary templates) for review soon. llvm-svn: 193604
* Fix a typo in my family name. Tobias: ;) Sylvestre Ledru2013-10-291-1/+1
| | | | llvm-svn: 193603
* tsan/asan: support pthread_setname_np to set thread namesDmitry Vyukov2013-10-2910-4/+87
| | | | llvm-svn: 193602
* Teach the driver to not try to use 'lib32' multilib spellings on ARMChandler Carruth2013-10-2913-10/+59
| | | | | | | | | | | | | | | | | | | | | | | which doesn't use that multilib. As a consequence, fix Clang's support for cross compiling environments that were relying on this quirk to ensure the correct library search path ordering. This also re-instates the new test cases from Rafael's r193528 for cross-compiling to ARM on Ubuntu 13.10 without any of the changes to the existing test cases (they were no longer needed). This solution was the result of a lot of IRC debugging and trying to understand *exactly* what quirk was being relied upon. It took some time for me to figure out that it was the use of 'lib32' is a multilib that was throwing a wrench in the works. In case you are thinking that its silly to use a multilib of 'lib' at all, entertainingly, GCC does so as well (you can see it with the .../lib/../lib/crt1.o pattern it uses), and the 2-phase sequence of search paths (multilib followed by non-multilib) has observable (if dubious) consequences. =/ Yuck. llvm-svn: 193601
* ARM: Add -m[no-]crc to dis/enable CRC subtargetfeature from clangBernard Ogden2013-10-297-1/+41
| | | | | | | | Allow users to disable or enable CRC subtarget feature. Differential Revision: http://llvm-reviews.chandlerc.com/D2037 llvm-svn: 193600
* ARM: Add subtarget feature for CRCBernard Ogden2013-10-297-18/+40
| | | | | | | | Adds a subtarget feature for the CRC instructions (optional in v8-A) to the ARM (32-bit) backend. Differential Revision: http://llvm-reviews.chandlerc.com/D2036 llvm-svn: 193599
* Fix misapplied patch in r193597Anders Waldenborg2013-10-291-2/+2
| | | | | | Sorry Peter Zotov, entirely my fault. llvm-svn: 193598
* llvm-c: Make LLVM{Get,Set}Alignment work on {Load,Store}Inst tooAnders Waldenborg2013-10-292-6/+49
| | | | | | | | Patch by Peter Zotov Differential Revision: http://llvm-reviews.chandlerc.com/D1910 llvm-svn: 193597
* Doh, got this turned around. This is in fact the consistent ordering.Chandler Carruth2013-10-291-4/+0
| | | | llvm-svn: 193596
* Clean up the deeply misleading name of the "MultiLibSuffix". This isChandler Carruth2013-10-292-44/+50
| | | | | | | | actually a MIPS-only hack to shim in random ABI directory suffixes in numerous places throughout the toolchain's path search. It shouldn't appear to be anything more general or useful. llvm-svn: 193595
* Use Rewriter::overwriteChangedFiles() directlyAlp Toker2013-10-292-18/+2
| | | | | | | | | | | | | This replaces the custom code in RefactoringTool::saveRewrittenFiles() which lacked atomic file saving and error diagnostics, resolving an old FIXME from r157331. Landing this time with the proper return code, plus a very unhelpful comment cleared up. Rubber-stamped by Manuel Klimek. llvm-svn: 193594
* AArch64: add 'a' inline asm operand modifierTim Northover2013-10-292-0/+11
| | | | | | | This is used in the Linux kernel, and effectively just means "print an address". llvm-svn: 193593
* Revert "Use Rewriter::overwriteChangedFiles() directly"Alp Toker2013-10-291-1/+17
| | | | | | | | This wasn't ready for prime time yet, seems to break tools-extra. This reverts commit r193590. llvm-svn: 193592
* Remove obsolete RewriteBuffer commentAlp Toker2013-10-291-4/+0
| | | | | | | The string buffer in question was replaced with RewriteRope in r43884 back in 2007. llvm-svn: 193591
* Use Rewriter::overwriteChangedFiles() directlyAlp Toker2013-10-291-17/+1
| | | | | | | | | The old code in RefactoringTool::saveRewrittenFiles() lacked atomic moves and diagnostics and had FIXME to this effect. Rubber-stamped by Manuel Klimek. llvm-svn: 193590
* Debug Info: instead of calling addToContextOwner which constructs the contextManman Ren2013-10-2913-54/+66
| | | | | | | | | | | | after the DIE creation, we construct the context first. This touches creation of namespaces and global variables. The purpose is to handle all DIE creations similarly: constructs the context first, then creates the DIE and immediately adds the DIE to its parent. We use createAndAddDIE to wrap around "new DIE(". llvm-svn: 193589
* [FileToMutable] Garbage collect unused private memberShankar Easwaran2013-10-291-8/+5
| | | | llvm-svn: 193588
* [Sanitizer] Simplify StackTrace::PrintStack interface: prefer common flags ↵Alexey Samsonov2013-10-296-9/+9
| | | | | | to turn on/off the symbolization llvm-svn: 193587
* [test] Fix a test failure, this test is only applicable in debug modeShankar Easwaran2013-10-291-0/+2
| | | | llvm-svn: 193586
* [PassManager] add ReaderWriter{Native,YAML} to the Driver.Shankar Easwaran2013-10-2937-70/+297
| | | | | | | | | | | | | Enable this for the following flavors a) core b) gnu c) darwin Its disabled for the flavor PECOFF. Convenient markers are added with FIXME comments in the Driver that would be removed and code removed from each flavor. llvm-svn: 193585
* Fix spelling.Rui Ueyama2013-10-291-1/+1
| | | | llvm-svn: 193584
* Add missing attributes [[gnu::no_sanitize_address]] andNick Lewycky2013-10-292-1/+10
| | | | | | [[gnu::no_address_safety_analysis]]. llvm-svn: 193583
* Treat [[gnu::__const]] the same as [[gnu::const]]. GCC's tokenizer can't tellNick Lewycky2013-10-292-1/+10
| | | | | | the difference. llvm-svn: 193582
* [msan] Intercept shmat.Evgeniy Stepanov2013-10-296-5/+105
| | | | llvm-svn: 193581
* Add llvm/test/Transforms/SLPVectorizer/ARM/lit.local.cfg. Tests there ↵NAKAMURA Takumi2013-10-291-0/+3
| | | | | | require ARM in targets. llvm-svn: 193580
* Fix "existant" typosAlp Toker2013-10-294-5/+5
| | | | llvm-svn: 193579
* Fix "existant" typosAlp Toker2013-10-291-2/+2
| | | | llvm-svn: 193578
* Cleanup comments and braces. No functionality changed, just trying toChandler Carruth2013-10-291-4/+15
| | | | | | | | | record what is *actually* going on here as the comments existing in the code are confusing at best, and in places outright misleading. The API is even more misleading. Yay. llvm-svn: 193577
* Clean up.Richard Smith2013-10-291-4/+4
| | | | llvm-svn: 193576
* DWARFFormValue.cpp: Appease gcc to give explicit constructors.NAKAMURA Takumi2013-10-291-4/+4
| | | | | | error: conversion from `const uint8_t*' to non-scalar type `llvm::ArrayRef<unsigned char>' requested llvm-svn: 193575
* ARM cost model: Unaligned vectorized double stores are expensiveArnold Schwaighofer2013-10-293-9/+44
| | | | | | | | | Updated a test case that assumed that <2 x double> would vectorize to use <4 x float>. radar://15338229 llvm-svn: 193574
* ARM cost model: Account for zero cost scalar SROA instructionsArnold Schwaighofer2013-10-293-6/+85
| | | | | | | | | By vectorizing a series of srl, or, ... instructions we have obfuscated the intention so much that the backend does not know how to fold this code away. radar://15336950 llvm-svn: 193573
* SLPVectorizer: Use vector type for vectorized memory operationsArnold Schwaighofer2013-10-291-2/+2
| | | | | | | | | No test case, because with the current cost model we don't see a difference. An upcoming ARM memory cost model change will expose and test this bug. radar://15332579 llvm-svn: 193572
OpenPOWER on IntegriCloud