summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove a nonsense friend declaration.Richard Smith2014-07-281-2/+0
| | | | llvm-svn: 214136
* IR: Optimize size of use-list order shuffle vectorsDuncan P. N. Exon Smith2014-07-282-8/+54
| | | | | | | | | Since we're storing lots of these, save two-pointers per vector with a custom type rather than using the relatively heavy `SmallVector`. Part of PR5680. llvm-svn: 214135
* [PECOFF] Fix failing test.Rui Ueyama2014-07-281-6/+0
| | | | | | This should be covered by the Driver's unit tests. llvm-svn: 214134
* [Debug Info] add DISubroutineType and its creation takes DITypeArray.Manman Ren2014-07-282-10/+11
| | | | | | | This is the last patch to unique the type array of a subroutine type. This is the paired commit with llvm r214132. llvm-svn: 214133
* [Debug Info] add DISubroutineType and its creation takes DITypeArray. Manman Ren2014-07-2812-23/+283
| | | | | | | | | | | DITypeArray is an array of DITypeRef, at its creation, we will create DITypeRef (i.e use the identifier if the type node has an identifier). This is the last patch to unique the type array of a subroutine type. rdar://17628609 llvm-svn: 214132
* Update LLVM version: 3.5 => 3.6Hans Wennborg2014-07-284-5/+5
| | | | | | | | | | | | | We branched 3.5, it's now time to work on 3.6. This is Sylvestre's patch from [1] plus regenerated configure file by me, and minus the release notes reset, which Sean pointed out [2] should happen later. 1. http://reviews.llvm.org/D4660 2. http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20140721/111137.html llvm-svn: 214131
* Exclude ASM from CompilerRT languages as an attempt to fix CMake failure in ↵Alexey Samsonov2014-07-281-1/+1
| | | | | | standalone mode llvm-svn: 214130
* Regenerate autoconf, previous updates to the configury haven'tEric Christopher2014-07-282-680/+108
| | | | | | been updating configure. llvm-svn: 214129
* llvm-uselistorder: Get it building in configure+make after r214125Duncan P. N. Exon Smith2014-07-282-2/+2
| | | | | | | Somehow this wasn't being built before (only noticed now since the test was XFAILed). llvm-svn: 214128
* Bitcode: Serialize (and recover) use-list orderDuncan P. N. Exon Smith2014-07-289-104/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Predict and serialize use-list order in bitcode. This makes the option `-preserve-bc-use-list-order` work *most* of the time, but this is still experimental. - Builds a full value-table up front in the writer, sets up a list of use-list orders to write out, and discards the table. This is a simpler first step than determining the order from the various overlapping IDs of values on-the-fly. - The shuffles stored in the use-list order list have an unnecessarily large memory footprint. - `blockaddress` expressions cause functions to be materialized out-of-order. For now I've ignored this problem, so use-list orders will be wrong for constants used by functions that have block addresses taken. There are a couple of ways to fix this, but I don't have a concrete plan yet. - When materializing functions lazily, the use-lists for constants will not be correct. This use case is out of scope: what should the use-list order be, if it's incomplete? This is part of PR5680. llvm-svn: 214125
* [modules] PR20475: merging support for alias template declarations.Richard Smith2014-07-283-0/+7
| | | | llvm-svn: 214124
* llvm-uselistorder: Add -save-temps optionDuncan P. N. Exon Smith2014-07-281-1/+4
| | | | | | This is part of PR5680. llvm-svn: 214123
* llvm-uselistorder: Check the correct flag for assemblyDuncan P. N. Exon Smith2014-07-281-1/+1
| | | | | | This is part of PR5680. llvm-svn: 214122
* IR: Expose Module::rbegin() and rend()Duncan P. N. Exon Smith2014-07-281-0/+9
| | | | | | | A follow-up commit for PR5680 needs to visit functions in reverse order. Expose iterators to allow that. llvm-svn: 214121
* Change __INTx_TYPE__ to be always signed. This changes the value forJoerg Sonnenberger2014-07-284-158/+158
| | | | | | | | | | char-based types from "char" to "signed char". Adjust stdint.h to use __INTx_TYPE__ directly without prefixing it with signed and to use __UINTx_TYPE__ for unsigned ones. The value of __INTx_TYPE__ now matches GCC. llvm-svn: 214119
* [MCJIT] Remove extraneous parentheses in test case.Lang Hames2014-07-281-2/+2
| | | | llvm-svn: 214117
* Test the linker plugin handling of llvm.used.Rafael Espindola2014-07-281-1/+13
| | | | llvm-svn: 214116
* [Debug Info] add a template class DITypedArray.Manman Ren2014-07-284-19/+35
| | | | | | | | | | | | Typedef DIArray to DITypedArray<DIDescriptor>. Also typedef DITypeArray as DITypedArray<DITypeRef>. This is the third of a series of patches to handle type uniqueing of the type array for a subroutine type. This commit should have no functionality change. llvm-svn: 214115
* Fix linking with just-built libc++abi (added in r214037).Alexey Samsonov2014-07-281-5/+8
| | | | | | | | Pass target name ("cxxabi") to target_link_libraries(cxx ...) to ensure that linker is able to locate just-built libc++abi in the build tree, instead of relying on "-lc++abi" linker flag. llvm-svn: 214114
* [Debug Info] rename getTypeArray to getElements, setTypeArray to setArrays.Manman Ren2014-07-281-6/+6
| | | | | | This is the paired commit with llvm r214112. llvm-svn: 214113
* [Debug Info] rename getTypeArray to getElements, setTypeArray to setArrays.Manman Ren2014-07-285-14/+14
| | | | | | | | | | | | | | | This is the second of a series of patches to handle type uniqueing of the type array for a subroutine type. For vector and array types, getElements returns the array of subranges, so it is a better name than getTypeArray. Even for class, struct and enum types, getElements returns the members, which can be subprograms. setArrays can set up to two arrays, the second is the templates. This commit should have no functionality change. llvm-svn: 214112
* [Debug Info] replace DIUnspecifiedParameter with DITrivialType.Manman Ren2014-07-284-28/+54
| | | | | | | | | | | | | This is the first of a series of patches to handle type uniqueing of the type array for a subroutine type. This commit makes sure unspecified_parameter is a DIType to enable converting the type array for a subroutine type to an array of DITypes. This commit should have no functionality change. With this commit, we may change unspecified type to be a DITrivialType instead of a DIType. llvm-svn: 214111
* Add another keyword-selection flag to CorrectionCandidateCallback.Kaelyn Takata2014-07-283-5/+25
| | | | | | | | | | The new flag, WantFunctionLikeCasts, covers a subset of the keywords covered by WantTypeSpecifiers that can be used in casts that look like function calls, e.g. "return long(5);", while excluding the keywords like "enum" and "const" that would be included when WantTypeSpecifiers is true but cannot be used in something that looks like a function call. llvm-svn: 214109
* R600: Modernize testMatt Arsenault2014-07-281-22/+23
| | | | llvm-svn: 214108
* llvm-cov: move the gcov code into a separate file.Alex Lorenz2014-07-283-135/+158
| | | | | | | | The gcov compatible code is moved to its own file and llvm-cov is updated to be a wrapper that always calls the gcov main function. llvm-svn: 214107
* R600/SI: Fix return type for isMIMG / isSMRDMatt Arsenault2014-07-282-4/+4
| | | | | | All the others use bool, so these should too. llvm-svn: 214106
* [SDAG] Add DEBUG logging to the legalizer, fixing a "bug" found byChandler Carruth2014-07-282-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | inspection in the proccess, and shuffle the logging in the DAG combiner around a bit. With this it is much easier to follow what the legalizer is doing. It should even accurately present most of the strange legalization operations where a single node is replaced by multiple nodes, etc. There is still some information lost (we log SDNodes not SDValues so we don't log which result is used for which thing), but I think this is much closer to a usable system. Notably, this will make it *much* more apparant when legalization is actually happening inside the combiner, or when there is a cycle caused by interactions of the legalizer and the combiner. The "bug" I fixed here I'm not sure is remotely possible to trigger. We were only adding one of the nodes in a replacement to the updated set rather than all of the nodes in the replacement. Realistically, the worst result of this are nodes not getting back onto the worklist in the DAG combiner. I doubt it is possible to trigger this today, and I certainly don't have any ideas about how, but this at least brings the code into alignment with the principled operation of the routine. llvm-svn: 214105
* R600/SI: Implement getOptimalMemOpTypeMatt Arsenault2014-07-283-0/+384
| | | | | | | The default guess uses i32. This needs an address space argument to really do the right thing in all cases. llvm-svn: 214104
* Fix MSVC warnings about falling off the end of a non-void functionReid Kleckner2014-07-281-0/+1
| | | | llvm-svn: 214103
* Add tests for the various emit-llvm plugin options.Rafael Espindola2014-07-281-0/+18
| | | | llvm-svn: 214102
* R600/SI: Make argument loads invariantMatt Arsenault2014-07-281-9/+17
| | | | llvm-svn: 214101
* Update commentMatt Arsenault2014-07-281-1/+1
| | | | llvm-svn: 214100
* [AVX512] Add non-masking FP store intrinsicsAdam Nemet2014-07-282-0/+52
| | | | | | Part of <rdar://problem/17688758> llvm-svn: 214099
* [AVX512] Add FP add/sub/mul intrinsicsAdam Nemet2014-07-282-0/+64
| | | | | | Part of <rdar://problem/17688758> llvm-svn: 214098
* [AVX512] Reorder functions in avx512fintrin.hAdam Nemet2014-07-281-335/+353
| | | | | | | | | There is no functional change here. The idea is to have a similar order and categories of functions that we have in avxintrin.h. llvm-svn: 214097
* [AVX512] Bring the formatting of avx512fintrin.h closer to avxintrin.hAdam Nemet2014-07-281-60/+60
| | | | llvm-svn: 214096
* [AVX512] Add CHECK-LABELs to test/CodeGen/avx512f-builtins.cAdam Nemet2014-07-281-0/+4
| | | | llvm-svn: 214095
* Teach LLDB about Windows processes.Zachary Turner2014-07-286-0/+330
| | | | | | | | | This patch creates a simple ProcessWindows process plugin. The only thing it knows how to do currently is create processes. Differential Revision: http://reviews.llvm.org/D4681 llvm-svn: 214094
* Use llvm Support functions to get the user's home directory.Zachary Turner2014-07-284-4/+36
| | | | | | | | | | | Assuming that the user's home directory is at ~ is incorrect on Windows. This patch delegates the request to LLVM's support library, which already provides a cross-platform implementation of this function. Differential Revision: http://reviews.llvm.org/D4674 llvm-svn: 214093
* Fix supported architectures on PlatformWindows.Zachary Turner2014-07-285-23/+80
| | | | | | | | | | i386, i486, i486sx, and i686 are all indistinguishable as far as PE/COFF files are concerned. This patch adds support for all of these architectures to PlatformWindows. Differential Revision: http://reviews.llvm.org/D4658 llvm-svn: 214092
* Fix the MSVC build. MSVC does not support constexpr.Zachary Turner2014-07-281-1/+1
| | | | llvm-svn: 214091
* Objective-C. Improve diagnostic when property isFariborz Jahanian2014-07-286-6/+6
| | | | | | | not auto synthesized in current implementation. rdar://17774815 llvm-svn: 214090
* Thread Safety Analysis: Replace the old and broken SExpr with the newDeLesley Hutchins2014-07-2810-877/+817
| | | | | | | | til::SExpr. This is a large patch, with many small changes to pretty printing and expression lowering to make the new SExpr representation equivalent in functionality to the old. llvm-svn: 214089
* Fix PR#20471. Add a cast in __align_it to ensure that the bit twiddling is ↵Marshall Clow2014-07-281-1/+1
| | | | | | done at the correct size. A better solution, IMHO, would be to declare vector<bool>::__bits_per_word as 'size_type', rather than 'unsigned', but that's a possible ABI change. llvm-svn: 214088
* Test the mcpu option.Rafael Espindola2014-07-281-1/+8
| | | | llvm-svn: 214087
* [TEST] Improve tests for #pragma clang optimize off/onDario Domizioli2014-07-283-1/+53
| | | | | | | | Added coverage for: * More than one "off region" in the same file * An "off region" falling off the end of an included file llvm-svn: 214086
* [Mips] Remove redundant REQUIRES clause.Simon Atanasyan2014-07-281-2/+0
| | | | | | The exe-got.test test case is target independent. llvm-svn: 214085
* clang-format: [proto] Improve formatting of text-proto options.Daniel Jasper2014-07-283-5/+27
| | | | | | Initial patch and tests by Kaushik Sridharan, thank you! llvm-svn: 214084
* tsan: add a useful debug checkDmitry Vyukov2014-07-281-0/+1
| | | | llvm-svn: 214082
* [SKX] Enabling mask logic instructions: encoding, loweringRobert Khasanov2014-07-288-15/+147
| | | | | | | | Instructions: KAND{BWDQ}, KANDN{BWDQ}, KOR{BWDQ}, KXOR{BWDQ}, KXNOR{BWDQ} Reviewed by Elena Demikhovsky <elena.demikhovsky@intel.com> llvm-svn: 214081
OpenPOWER on IntegriCloud