summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Migrate the AArch64 TargetRegisterInfo to its TargetMachineEric Christopher2015-03-128-48/+52
| | | | | | | implementation. This requires a bit of scaffolding and a few fixups that'll go away once all of the ports have been migrated. llvm-svn: 232103
* Remove unused headers.Eric Christopher2015-03-121-2/+0
| | | | llvm-svn: 232102
* Sema: Make BoundTypeDiagnoser a variadic templateBenjamin Kramer2015-03-121-128/+31
| | | | llvm-svn: 232101
* Add -polly-vectorizer=stripmineTobias Grosser2015-03-123-6/+11
| | | | | | | By strip-mining outer loops to the innermost level we can enable LLVM's loop vectorizer to vectorize outer loops. llvm-svn: 232100
* Drop option to prepare code for the BB vectorizerTobias Grosser2015-03-124-7/+3
| | | | | | | | The BB vectorizer is deprecated and there is no point in generating code for it any more. This option was introduced when there was not yet any loop vectorizer in sight. Now being matured, Polly should target the loop vectorizer. llvm-svn: 232099
* Unxfail passing test on HexagonKrzysztof Parzyszek2015-03-121-1/+0
| | | | | | test/CodeGen/Generic/2008-02-20-MatchingMem.ll llvm-svn: 232098
* Make the atom_iterator copy assignableDavid Blaikie2015-03-121-6/+5
| | | | | | | | | This makes it a bit more like a 'real' iterator though I still haven't gone through to make sure it meets the full requirements. Copy assignability seems to be required by MSVC's std::find_if, which is its right. llvm-svn: 232097
* Update copyright year to 2015.Renato Golin2015-03-121-1/+1
| | | | llvm-svn: 232096
* Update copyright year to 2015.Renato Golin2015-03-121-1/+1
| | | | llvm-svn: 232095
* Update copyright year to 2015.Renato Golin2015-03-121-1/+1
| | | | llvm-svn: 232094
* Revert "r232027 - Add infrastructure for support of multiple memory constraints"Hal Finkel2015-03-1218-107/+44
| | | | | | | | | | | | | | | | | | | | | | | | This (r232027) has caused PR22883; so it seems those bits might be used by something else after all. Reverting until we can figure out what else to do. Original commit message: The operand flag word for ISD::INLINEASM nodes now contains a 15-bit memory constraint ID when the operand kind is Kind_Mem. This constraint ID is a numeric equivalent to the constraint code string and is converted with a target specific hook in TargetLowering. This patch maps all memory constraints to InlineAsm::Constraint_m so there is no functional change at this point. It just proves that using these previously unused bits in the encoding of the flag word doesn't break anything. The next patch will make each target preserve the current mapping of everything to Constraint_m for itself while changing the target independent implementation of the hook to return Constraint_Unknown appropriately. Each target will then be adapted in separate patches to use appropriate Constraint_* values. llvm-svn: 232093
* XFAIL TestAbbreviations on Linux, improve testVince Harron2015-03-121-1/+8
| | | | | | | | It was failing on gcc 4.8, only passing accidentally on clang 3.5 This patch improves the checking to make sure if fails in all cases and then XFAILS llvm-svn: 232092
* Test that software breakpoints aren't visible in disassemblyVince Harron2015-03-123-0/+93
| | | | | | | | | Linux lldb-server Handle_m doesn't properly replace software breakpoints with the original instructions. This test is added with expectedFailureLinux Differential Revision: http://reviews.llvm.org/D8191 llvm-svn: 232091
* [autoconf] Fix the build failure by quoting the strings.Logan Chien2015-03-122-20/+20
| | | | llvm-svn: 232090
* Update copyright year to 2015.Alexey Samsonov2015-03-121-2/+2
| | | | llvm-svn: 232089
* Rephrase find loop to use std::find_ifDavid Blaikie2015-03-122-15/+14
| | | | | | Avoids the need for an assert-only variable, among other benefits. llvm-svn: 232088
* Fix grammar in a comment, wrap to 80 columns. No behavior change.Nico Weber2015-03-121-2/+3
| | | | llvm-svn: 232087
* Remove duplicate "the". N+1 redundancy is not useful here.Nico Weber2015-03-121-1/+1
| | | | llvm-svn: 232086
* [X86] Fix a regression introduced by r223641.Quentin Colombet2015-03-124-6/+17
| | | | | | | | | | | | | The permps and permd instructions have their operands swapped compared to the intrinsic definition. Therefore, they do not fall into the INTR_TYPE_2OP category. I did not create a new category for those two, as they are the only one AFAICT in that case. <rdar://problem/20108262> llvm-svn: 232085
* [Mips] Make `readAddend` a virtual member function to escape explicitSimon Atanasyan2015-03-123-28/+27
| | | | | | | | template class instantiation No functional changes. llvm-svn: 232081
* Reapply "[dsymutil] Gather function ranges during DIE selection."Frederic Riss2015-03-121-4/+47
| | | | | | | | This reverts commit r231967 which reinstates r231957. Now that IntervalMap uses explicitely aligned storage, it should be safe. llvm-svn: 232080
* [ADT] IntervalMap: use AlignedCharArrayUnion.Frederic Riss2015-03-121-14/+4
| | | | | | | | | | Currently IntervalMap would assert when used with keys bigger than host pointers. This patch uses the AlignedCharArrayUnion functionality to overcome that limitation. Differential Revision: http://reviews.llvm.org/D8268 llvm-svn: 232079
* Add missing include guards.Yaron Keren2015-03-121-0/+5
| | | | llvm-svn: 232078
* Add -p and -r options to lldb-mi command -file-exec-file-and-symbols to ↵Hafiz Abid Qadeer2015-03-123-2/+43
| | | | | | | | | | support iOS debugging on macOS. The patch adds 2 options which are not present in the GDB MI. Those have been described in MIExtensions.txt. Patch from Chuck Ries. llvm-svn: 232077
* Fix comment formatting.Eric Christopher2015-03-121-2/+1
| | | | llvm-svn: 232076
* Make ModuleCache::Get to return instantiated ModuleSP instance so already ↵Oleksiy Vyalov2015-03-124-48/+46
| | | | | | | | created in-memory instance can be returned instead of creating a new one. http://reviews.llvm.org/D8270 llvm-svn: 232075
* [Tsan] Do not declare std_suppressions when not usedViktor Kutuzov2015-03-121-1/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D8288 llvm-svn: 232074
* [Tsan] Adjust SA_SIGINFO and SIG_SETMASK values on FreeBSD.Viktor Kutuzov2015-03-121-4/+7
| | | | | | Differential Revision: http://reviews.llvm.org/D8176 llvm-svn: 232073
* [Sanitizers] Fix sanitizers to build on FreeBSD.Viktor Kutuzov2015-03-121-0/+1
| | | | | | Differential Revision: http://reviews.llvm.org/D8175 llvm-svn: 232072
* Remove the need to cache the subtarget in the X86 TargetRegisterInfoEric Christopher2015-03-123-24/+23
| | | | | | | classes. Use a Triple instead and simplify a lot of the querying logic to use lookups on the Triple. llvm-svn: 232071
* MS ABI: Allow a nullptr_t exception to be caught by void * catch handlerDavid Majnemer2015-03-122-0/+16
| | | | | | | | | A nullptr exception object can be caught by any pointer type catch handler. However, it is not possible to express this in the exception info for the MS ABI. As a middle ground, allow such exception objects to be caught with pointer-to-void catch handlers. llvm-svn: 232069
* Avoid a failing test case by fixing things so the compiler generates a line ↵Greg Clayton2015-03-121-2/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | table entry for line the very start of the printf() before any values have been loaded into registers. The issue was the previous code tried to stop on the following code in main.c: 21 // Stop here and set values 22 printf ("Val - %d Mine - %d, %d, %llu. Ptr - %d, %d, %llu\n", 23 val, 24 mine.first_val, mine.second_val, mine.third_val, 25 ptr->first_val, ptr->second_val, ptr->third_val); We we set a source regex breakpoint on "// Stop here and set values" we would set a breakpoint on line 22 as expected. The problem is the most recent clang compiler generates a line table like this 0x1000: main.c:23 // Loading of "val" into a register 0x1010: main.c:24 // Load mine.first_val, mine.second_val, mine.third_val values into registers or on the stack 0x1020: main.c:25 // Load ptr->first_val, ptr->second_val, ptr->third_val values into registers or on the stack 0x1030: main.c:22 // Call to printf In this test, we run to line 22, then we use python to modify the value of "val" and then continue to another breakpoint and try to read the STDOUT from the printf to verify the values changed correctly. With the above line table the value for "val" had already been loaded into a register so the string from printf would be incorrect. Doing an easy fix for now by changing the code to: 21 // Stop here and set values 22 printf ("Val - %d Mine - %d, %d, %llu. Ptr - %d, %d, %llu\n", val, 23 mine.first_val, mine.second_val, mine.third_val, 24 ptr->first_val, ptr->second_val, ptr->third_val); Now we get a line table entry for line 22 that is before any locals are read from the stack into registers. I need to follow up with the compiler guys and see if we can get a fix for this as anyone setting file + line breeakpoints might be very surprised to have code from lines below the current line already have had their code run. llvm-svn: 232068
* Refactoring CMake CrossCompile module.Chris Bieneman2015-03-123-35/+57
| | | | | | | | | * put most of the cross-compiling support into a function llvm_create_cross_target_internal. * when CrossCompile is included it still generates a NATIVE target. * llvm_create_cross_target function takes a target_name which should match a toolchain. * llvm_create_cross_target can now be used to target more than one cross-compilation target. llvm-svn: 232067
* [docs] Update the doxygen configuration file.Logan Chien2015-03-125-1217/+1790
| | | | | | | | | | Update the doxygen configuration file and the Makefile build rules to provide better output (simply use the default stylesheet and template from the Doxygen distribution.) This CL has upgrade doxygen.cfg.in to Doxygen 1.8.6. llvm-svn: 232066
* [docs] Replace the doxygen qch option properly.Logan Chien2015-03-121-4/+11
| | | | llvm-svn: 232065
* [docs] Update the doxygen configuration file.Logan Chien2015-03-125-1292/+1527
| | | | | | | | | | Update the doxygen configuration file and Makefile build rules to provide better output (simply use the default stylesheet and template from the Doxygen distribution.) This CL has upgrade doxygen.cfg.in to Doxygen 1.8.6. llvm-svn: 232064
* [autoconf] Regenerate autoconf configure script.Logan Chien2015-03-121-7/+311
| | | | llvm-svn: 232063
* [autoconf] Refine doxygen document options.Logan Chien2015-03-122-6/+141
| | | | | | | This CL adds --enable-doxygen-search to enable doxygen search engine and --enable-doxygen-qt-help to enable the Qt help file generation. llvm-svn: 232062
* Replace second (hopefully unused) access of macro input argument with zero ↵Sanjay Patel2015-03-121-3/+3
| | | | | | | | | | vector to be safer. Suggested by Craig Topper in D8275. This is a follow-on to r232052. llvm-svn: 232061
* Remove unused FileSpec variable from Target::GetSharedModuleIlia K2015-03-121-1/+0
| | | | llvm-svn: 232060
* Clean up includes in source/lldb.cpp (1 was unused, 1 duplicated)Ilia K2015-03-121-2/+0
| | | | llvm-svn: 232059
* Fixing CMake developer warning.Chris Bieneman2015-03-121-1/+4
| | | | | | LLDUnitTests target doesn't exist unless LLVM_INCLUDE_TESTS is On. llvm-svn: 232058
* Remove unused complex patterns for addressing modes on Hexagon.Krzysztof Parzyszek2015-03-128-611/+217
| | | | llvm-svn: 232057
* make an array of constants explicitly constSanjay Patel2015-03-121-1/+1
| | | | | | | | Suggested by Craig Topper in D8184. This goes with r232047. llvm-svn: 232056
* ASTMatchers: Add an explicit dependency on libclangBasic.Benjamin Kramer2015-03-121-0/+1
| | | | | | | In a static build the dependency is picked up implictly, but not in a shared library build. This is needed for the new ObjC matchers that reference Selector. llvm-svn: 232055
* Doing some cleanup to the iOS toolchain.Chris Bieneman2015-03-121-9/+23
| | | | | | | * There is no reason to require SDKROOT as an environment variable because we can derive it from xcrun * Setting CMAKE_RANLIB makes our static archives usable llvm-svn: 232053
* [X86, AVX] replace vextractf128 intrinsics with generic shufflesSanjay Patel2015-03-125-26/+70
| | | | | | | | | | | This is very much like D8088 (checked in at r231792). Now that we've replaced the vinsertf128 intrinsics, do the same for their extract twins. Differential Revision: http://reviews.llvm.org/D8275 llvm-svn: 232052
* Add support for a few Objective-C matchers.Manuel Klimek2015-03-125-4/+193
| | | | | | | | | | | Add some matchers for Objective-C selectors and messages to ASTMatchers.h. Minor mods to ASTMatchersTest.h to allow test files with ".m" extension in addition to ".cpp". New tests added to ASTMatchersTest.c. Patch by Dean Sutherland. llvm-svn: 232051
* Also enable the default rune table on CloudABI.Ed Schouten2015-03-121-1/+1
| | | | | | CloudABI does not expose a table on its own. llvm-svn: 232050
* Add option to disable access to the global filesystem namespace.Ed Schouten2015-03-1215-0/+104
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Systems like FreeBSD's Capsicum and Nuxi CloudABI apply the concept of capability-based security on the way processes can interact with the filesystem API. It is no longer possible to interact with the VFS through calls like open(), unlink(), rename(), etc. Instead, processes are only allowed to interact with files and directories to which they have been granted access. The *at() functions can be used for this purpose. This change adds a new config switch called _LIBCPP_HAS_NO_GLOBAL_FILESYSTEM_NAMESPACE. If set, all functionality that requires the global filesystem namespace will be disabled. More concretely: - fstream's open() function will be removed. - cstdio will no longer pull in fopen(), rename(), etc. - The test suite's get_temp_file_name() will be removed. This will cause all tests that use the global filesystem namespace to break, but will at least make all the other tests run (as get_temp_file_name will not build anyway). It is important to mention that this change will make fstream rather useless on those systems for now. Still, I'd rather not have fstream disabled entirely, as it is of course possible to come up with an extension for fstream that would allow access to local filesystem namespaces (e.g., by adding an openat() member function). Differential revision: http://reviews.llvm.org/D8194 Reviewed by: jroelofs (thanks!) llvm-svn: 232049
OpenPOWER on IntegriCloud