summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ELF: Make Target's member function names shorter.Rui Ueyama2016-01-295-219/+203
| | | | llvm-svn: 259147
* Fix some -Wstring-conversion warningsDavid Blaikie2016-01-291-6/+6
| | | | | | | I don't seem to see these locally, maybe just need to update my compiler, or we haven't turned them on for LLVM's build and we should... llvm-svn: 259146
* [GVN] Add clarifying assert [NFCI]Philip Reames2016-01-291-0/+5
| | | | | | Just adding an assert which makes invariants between AnalyzeLoadsFromClobberingLoads and GetLoadValueForLoad slightly more clear. llvm-svn: 259145
* Rename includeInDynamicSymtab -> includeInDynsym.Rui Ueyama2016-01-292-3/+3
| | | | llvm-svn: 259144
* ELF: Report multiple errors from the driver.Rui Ueyama2016-01-297-28/+59
| | | | | | | | | This patch let the driver keep going until it parses all command line options. http://reviews.llvm.org/D16645 llvm-svn: 259143
* Rename DynamicSymbolTableIndex -> DynsymIndex.Rui Ueyama2016-01-292-12/+10
| | | | | | This is the index in .dynsym, so the new name should make sense. llvm-svn: 259142
* ELF: Remove accessors from Target.Rui Ueyama2016-01-295-109/+99
| | | | | | These accessors do not provide values. We can simply make the variables public. llvm-svn: 259141
* Remove unused variable.Rui Ueyama2016-01-292-4/+0
| | | | llvm-svn: 259140
* Minor code cleanup. NFC.Junmo Park2016-01-291-1/+1
| | | | llvm-svn: 259139
* Add the clang debug info test directory to .gitignore as it's managed ↵Eric Christopher2016-01-291-0/+2
| | | | | | separately. llvm-svn: 259138
* Use a consistent spelling for vtables.Eric Christopher2016-01-299-26/+26
| | | | llvm-svn: 259137
* Merge identical strings.Rafael Espindola2016-01-299-103/+88
| | | | | | | | | | | This avoids the need to have reserve and addString in sync. We avoid hashing the global symbols again. This means that we don't merge a global symbol that has the same name as some other string, but that doesn't seem very common. The string table size is the same in clang an scylladb with or without hashing global symbols again. llvm-svn: 259136
* Fix a bug where type <formatter> list would ignore the -w argumentEnrico Granata2016-01-292-0/+7
| | | | | | rdar://24379879 llvm-svn: 259135
* [AArch64] Fix i64 nontemporal high-half extraction.Ahmed Bougacha2016-01-292-4/+4
| | | | | | | | | | | | Since we only have pair - not single - nontemporal store instructions, we have to extract the high part into a separate register to be able to use them. When the initial nontemporal codegen support was added, I wrote the extract using the nonsensical UBFX [0,32[. Use the correct LSR form instead. llvm-svn: 259134
* [RS4GC] Minor cleanups enabled by the previous change; NFCSanjoy Das2016-01-291-14/+6
| | | | llvm-svn: 259133
* [RS4GC] Delete code that is dead due to r259129; NFCSanjoy Das2016-01-291-83/+36
| | | | llvm-svn: 259132
* Fix a bug where LLDB would not print the name of the function that a ↵Enrico Granata2016-01-297-3/+109
| | | | | | | | scripted summary is bound to rdar://24380076 llvm-svn: 259131
* Reland "[CodeView] Use assembler directives for line tables"Reid Kleckner2016-01-2926-777/+1105
| | | | | | | | This reverts commit r259126 and relands r259117. This time with updated library dependencies. llvm-svn: 259130
* [RS4GC] Clamp UseDeoptBundles to true and update testsSanjoy Das2016-01-2965-2657/+533
| | | | | | | | | | | | | | | | The full diff for the test directory may be hard to read because of the filename clash; so here's all that happened as far as the tests are concerned: ``` cd test/Transforms/RewriteStatepointsForGC git rm *ll git mv deopt-bundles/* ./ rmdir deopt-bundles find . -name '*.ll' | xargs gsed -i 's/-rs4gc-use-deopt-bundles //g' ``` llvm-svn: 259129
* Rename isTlsOptimized -> canRelaxTls.Rui Ueyama2016-01-295-17/+16
| | | | | | | | This function is a predicate that a given relocation can be relaxed. The previous name implied that it returns true if a given relocation has already been optimized away. llvm-svn: 259128
* Update comments.Rui Ueyama2016-01-291-7/+5
| | | | llvm-svn: 259127
* Revert "[CodeView] Use assembler directives for line tables"Reid Kleckner2016-01-2925-1113/+779
| | | | | | | | | This reverts commit r259117. The LineInfo constructor is defined in the codeview library and we have to link against it now. Doing that isn't trivial, so reverting for now. llvm-svn: 259126
* [RS4GC] Port three tests to the deopt bundles directorySanjoy Das2016-01-293-0/+72
| | | | | | | | two-invokes-one-landingpad.ll was only moved (and not "ported"), but having everything in the `deopt-bundles` directory will make later changes more obvious. llvm-svn: 259125
* Add missing raw_ostream includeReid Kleckner2016-01-291-0/+1
| | | | | | | | Prior to r259115 this was coming via LTOModule.h and MCContext.h. Apparently this target is not built by 'check'. =( llvm-svn: 259124
* Silence gcc warning about ternary and enumerationsReid Kleckner2016-01-283-300/+304
| | | | llvm-svn: 259123
* [CUDA] Generate CUDA's printf alloca in its function's entry block.Justin Lebar2016-01-282-72/+41
| | | | | | | | | | | | | | | Summary: This is necessary to prevent llvm from generating stacksave intrinsics around this alloca. NVVM doesn't have a stack, and we don't handle said intrinsics. Reviewers: rnk, echristo Subscribers: cfe-commits, jhen, tra Differential Revision: http://reviews.llvm.org/D16664 llvm-svn: 259122
* [PlaceSafepoints] Use DEBUG() instead of TraceLSPSanjoy Das2016-01-281-11/+3
| | | | | | DEBUG() is the more idiomatic LLVM style. llvm-svn: 259121
* Lower inlining threshold when the caller has minsize attribute.Easwaran Raman2016-01-282-9/+20
| | | | | | | | | | | | When the caller has optsize attribute, we reduce the inlinining threshold to OptSizeThreshold (=75) if it is not already lower than that. We don't do the same for minsize and I suspect it was not intentional. This also addresses a FIXME regarding checking optsize attribute explicitly instead of using the right wrapper. Differential Revision: http://reviews.llvm.org/D16493 llvm-svn: 259120
* Class Property: change PropertyMap to include isClassProperty.Manman Ren2016-01-284-24/+41
| | | | | | | | | | | | | | PropertyMap used to map IdentifierInfo (name of the property) to ObjcPropertyDecl *. Now that a class property can have the same name as an instance property, we change PropertyMap to map a pair <IdentifierInfo *, unsigned> to ObjcPropertyDecl *. Also update a few places from iterating over instance_properties to iterating over all properties. rdar://23891898 llvm-svn: 259119
* [analyzer] NullabilityChecker: Remove unused isReturnSelf() function.Devin Coughlin2016-01-281-16/+0
| | | | | | | Remove the now-unused isReturnSelf() function so we don't get a compiler warning. Apologies for not doing this in r259099. llvm-svn: 259118
* [CodeView] Use assembler directives for line tablesReid Kleckner2016-01-2825-779/+1113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adds a new family of .cv_* directives to LLVM's variant of GAS syntax: - .cv_file: Similar to DWARF .file directives - .cv_loc: Similar to the DWARF .loc directive, but starts with a function id. CodeView line tables are emitted by function instead of by compilation unit, so we needed an extra field to communicate this. Rather than overloading the .loc direction further, we decided it was better to have our own directive. - .cv_stringtable: Emits the codeview string table at the current position. Currently this just contains the filenames as null-terminated strings. - .cv_filechecksums: Emits the file checksum table for all files used with .cv_file so far. There is currently no support for emitting actual checksums, just filenames. This moves the line table emission code down into the assembler. This is in preparation for implementing the inlined call site line table format. The inline line table format encoding algorithm requires knowing the absolute code offsets, so it must run after the assembler has laid out the code. David Majnemer collaborated on this patch. llvm-svn: 259117
* Check for frontend errors after releasing the Builder.Manman Ren2016-01-282-3/+34
| | | | | | | | | | | | | Frontend can emit errors when releaseing the Builder. If there are errors before or when releasing the Builder, we reset the module to stop here before invoking the backend. Before this commit, clang will continue to invoke the backend and backend can crash. Differential Revision: http://reviews.llvm.org/D16564 llvm-svn: 259116
* Remove unused MC includes from LTOModule.hReid Kleckner2016-01-281-2/+0
| | | | llvm-svn: 259115
* fix up missing header from change r259084.Todd Fiala2016-01-281-0/+1
| | | | llvm-svn: 259114
* Fix task dependency performance problemJonathan Peyton2016-01-282-10/+22
| | | | | | | | | | | | | | | | | | In: http://lists.llvm.org/pipermail/openmp-dev/2015-August/000858.html, a performance issue was found with libomp's task dependencies. The task dependencies hash table has an issue with collisions. The current table size is a power of two. This combined with the current hash function causes a large number of collisions to occurr. Also, the current size (64) is too small for larger applications so the table size is increased. This patch creates a two level hash table approach for task dependencies. The implicit task is considered the "master" or "top-level" task which has a large static sized hash table (997), and nested tasks will have smaller hash tables (97). Prime numbers were chosen to help reduce collisions. Differential Revision: http://reviews.llvm.org/D16640 llvm-svn: 259113
* [PlaceSafepoints] Misc. minor cleanups; NFCSanjoy Das2016-01-281-111/+89
| | | | | | | | | | | | These changes are aimed at bringing PlaceSafepoints up to code with the LLVM coding guidelines: - Fix variable naming - Use DenseSet instead of std::set - Remove dead code - Minor local code simplifications llvm-svn: 259112
* [PlaceSafepoints] Remvoe unused headers, and sort #includes; NFCSanjoy Das2016-01-281-19/+4
| | | | llvm-svn: 259111
* [PlaceSafepoints] Eliminate dead code; NFCSanjoy Das2016-01-281-238/+0
| | | | | | | Now that NoStatepoints is a constant `true`, we can get rid of a bunch of dead code. llvm-svn: 259110
* Update for llvm change.Rafael Espindola2016-01-281-1/+1
| | | | llvm-svn: 259108
* ELF: Report more than one undefined symbols if exist.Rui Ueyama2016-01-282-5/+14
| | | | | | http://reviews.llvm.org/D16643 llvm-svn: 259107
* Don't mention a command line option in an error.Rafael Espindola2016-01-281-2/+1
| | | | | | | | The program using this code may not have it. Patch by Wilfred Hughes. llvm-svn: 259106
* [RuntimeDyld][MachO] Fix handling of empty eh-frame sections.Lang Hames2016-01-282-2/+9
| | | | | | | | | | This patch switches from an unguarded to a guarded loop for eh-frame record fixups. In the unguarded version we would always make at least one call to processFDE, which would then crash trying to fix up a frame that didn't exist. Fixes <rdar://problem/24301582> llvm-svn: 259103
* add back an Xcode-specific Makefile for header installationTodd Fiala2016-01-281-0/+23
| | | | llvm-svn: 259102
* [X86][AVX] Added more thorough 256-bit vector consecutive load tests.Simon Pilgrim2016-01-281-0/+419
| | | | llvm-svn: 259100
* [analyzer] Suppress nullability warnings in copy, mutableCopy, and init ↵Devin Coughlin2016-01-282-13/+62
| | | | | | | | | | | | | | families. There are multiple, common idioms of defensive nil-checks in copy, mutableCopy, and init methods in ObjC. The analyzer doesn't currently have the capability to distinguish these idioms from true positives, so suppress all warnings about returns in those families. This is a pretty blunt suppression that we should improve later. rdar://problem/24395811 llvm-svn: 259099
* Remove autoconf support from source directories.Eugene Zelenko2016-01-28104-2252/+0
| | | | | | Differential revision: http://reviews.llvm.org/D16662 llvm-svn: 259098
* [RS4GC] Change opt %s to opt < %s; NFCSanjoy Das2016-01-2820-20/+20
| | | | | | | | This is as per http://llvm.org/docs/TestingGuide.html#fragile-tests. I didn't touch the tests outside deopt-bundles/ since they'll be gone soon. llvm-svn: 259097
* [PlaceSafepoints] Clamp NoStatepoints to trueSanjoy Das2016-01-2815-119/+81
| | | | | | | | | This change permanently clamps -spp-no-statepoints to true (the code deletion will come later). Tests that specifically tested PlaceSafepoint's ability to wrap calls in gc.statepoint have been moved to RS4GC's test suite. llvm-svn: 259096
* Implementation of PS4 ABI, Round 1Sunil Srivastava2016-01-281-1/+10
| | | | | | | | Added a test to safeguard linux ABI. Differential Revision: http://reviews.llvm.org/D16607 llvm-svn: 259095
* Bring back the test-suite export in test-release without bringing back the ↵Daniel Sanders2016-01-281-7/+19
| | | | | | | | | | | | | | | | | build failures. Summary: r257791 disabled the test-suite export since the addition of CMakeLists.txt was causing build failures. This patch exports the test-suite again but does so outside the source tree so that it isn't included in the Phase[123] builds. Reviewers: hans Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D16679 llvm-svn: 259094
OpenPOWER on IntegriCloud