summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [clang-tidy] Switch to a more common way of customizing check behavior.Alexander Kornienko2016-05-204-9/+9
| | | | | | | This should have been done this way from the start, however I somehow missed r257177. llvm-svn: 270215
* Revert rL270207: "[LLDB][MIPS] Fix floating point handling in case of thread ↵Tamas Berghammer2016-05-206-229/+38
| | | | | | | | | | step-out" The CL causes a build breakage on platforms where sizeof(double) == sizeof(long double) and it incorrectly assumes that sizeof(double) and sizeof(long double) is the same on the host and the target. llvm-svn: 270214
* Reorganize locale extension fallbacks. NFCIBen Craig2016-05-205-207/+225
| | | | | | | | | | | | | | | | | | | | | | | The various _l locale extension functions originate from very different places. Some come from POSIX, some are BSD extensions, and some are shared BSD and GLIBC extensions. This patch tries to group the local extension reimplementations by source. This should make it easier to make libcxx work with POSIX compliant C libraries that lack these extensions. The fallback locale functions are also useful on their own for other lightweight platforms. Putting these fallback implementations in support/xlocale should enable code sharing. I have no access to a newlib system or an android system to build and test with. I _do_ have access to a system without any of the _l locale extensions though, and I was able to ensure that the new __posix_l_fallback.h and __strtonum_fallback.h didn't have any massive problems. http://reviews.llvm.org/D17416 llvm-svn: 270213
* [X86][AVX] Added _mm256_extract_epi64 testSimon Pilgrim2016-05-201-0/+7
| | | | llvm-svn: 270212
* [find-all-symbols] Some cleanups in unittest.Haojian Wu2016-05-201-6/+0
| | | | llvm-svn: 270211
* [X86][AVX] Full set of AVX intrinsics testsSimon Pilgrim2016-05-201-51/+1312
| | | | | | llvm/test/CodeGen/X86/avx-intrinsics-fast-isel.ll will be synced to this llvm-svn: 270210
* Refactor X86 symbol access classification.Rafael Espindola2016-05-205-156/+132
| | | | | | | | | | | | This refactors the logic in X86 to avoid code duplication. It also splits it in two steps: it first decides if a symbol is local to the DSO and then uses that information to decide how to access it. The first part is implemented by shouldAssumeDSOLocal. It is not in any way specific to X86. In a followup patch I intend to move it to somewhere common and reused it in other backends. llvm-svn: 270209
* [LLDB][MIPS] Fix Floating point Registers EncodingSagar Thakur2016-05-202-8/+18
| | | | | | | | | | | Patch by Nitesh Jain. Summary: Currently floating point regsiters has eEncodingUint encoding. Hence register write '1.25' will failed. This patch add eEncodingIEEE754 encoding for floating point registers( - ). This patch will fix test_fp_register_write in TestRegisters.py Reviewers: clayborg, sagar Subscribers: mohit.bhakkad, jaydeep, bhushan, sdardis, lldb-commits Differential: D18853 llvm-svn: 270208
* [LLDB][MIPS] Fix floating point handling in case of thread step-outSagar Thakur2016-05-206-38/+229
| | | | | | | | | | | Patch by Nitesh Jain. Summary: These patch fix thread step-out for hard and soft float. Reviewers: clayborg, bhushan, jaydeep Subscribers: mohit.bhakkad, sagar, sdardis Differential: D20416 llvm-svn: 270207
* [find-all-symbol] Ignore inline namespace context.Haojian Wu2016-05-202-4/+9
| | | | | | | | | | Reviewers: bkramer Subscribers: cfe-commits, ioeric Differential Revision: http://reviews.llvm.org/D20465 llvm-svn: 270206
* Simplify handling of hidden stubs on PowerPC.Rafael Espindola2016-05-204-42/+7
| | | | | | | We now handle them just like non hidden ones. This was already the case on x86 (r207518) and arm (r207517). llvm-svn: 270205
* clang-rename: fix renaming members when referenced as macro argumentsMiklos Vajna2016-05-202-1/+28
| | | | | | | | | | The second check failed, FOO(C.X) wasn't renamed to FOO(C.Y). Reviewers: klimek Differential Revision: http://reviews.llvm.org/D20446 llvm-svn: 270204
* clang-format: [JS] sort ES6 imports.Martin Probst2016-05-2012-781/+1608
| | | | | | | | | | | | | | | | | | Summary: This change automatically sorts ES6 imports and exports into four groups: absolute imports, parent imports, relative imports, and then exports. Exports are sorted in the same order, but not grouped further. To keep JS import sorting out of Format.cpp, this required extracting the TokenAnalyzer infrastructure to separate header and implementation files. Reviewers: djasper Subscribers: cfe-commits, klimek Differential Revision: http://reviews.llvm.org/D20198 llvm-svn: 270203
* [find-all-symbols] fix failing unittest for Windows build bot.Eric Liu2016-05-201-3/+2
| | | | llvm-svn: 270202
* Work around android-arm NDK bug exposed by rL269992Tamas Berghammer2016-05-201-1/+11
| | | | | | | | In the android-arm ndk there is a duplicated typedef in link.h and in unwind.h causing build erros. This CL introduces a HACK to prevent LLVM from finding unwind.h to fix the issue. llvm-svn: 270201
* SparcISelLowering.cpp: Add missing StringSwitch.hNAKAMURA Takumi2016-05-201-0/+1
| | | | llvm-svn: 270200
* [find-all-symbol] Try to fix the failure windows unittest.Haojian Wu2016-05-201-1/+7
| | | | llvm-svn: 270199
* [Sparc] Implement getRegisterByName.Chris Dewhurst2016-05-202-0/+24
| | | | | | Allows Sparc registers to be specifically referred to in inline assembly. llvm-svn: 270198
* [clang-tidy] Add more descriptive comments and examples in ↵Haojian Wu2016-05-201-8/+41
| | | | | | | | | | | | misc-definitions-in-headers check. Reviewers: alexfh Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D20463 llvm-svn: 270197
* [find-all-symbols] fixed FindAllMacros compilation error.Eric Liu2016-05-201-1/+1
| | | | llvm-svn: 270196
* [ProfileData] Thread unique_ptr through the summary builder to avoid leaks.Benjamin Kramer2016-05-206-14/+14
| | | | llvm-svn: 270195
* [Coverage] Fix an issue where improper coverage mapping data could be loaded ↵Igor Kudrin2016-05-206-18/+152
| | | | | | | | | | | | | | for an inline function. If an inline function is observed but unused in a translation unit, dummy coverage mapping data with zero hash is stored for this function. If such a coverage mapping section came earlier than real one, the latter was ignored. As a result, llvm-cov was unable to show coverage information for those functions. Differential Revision: http://reviews.llvm.org/D20286 llvm-svn: 270194
* [find-all-symbols] make HeaderMapCollector optional in FindAllSymbols and ↵Eric Liu2016-05-206-19/+22
| | | | | | FindAllMacros. llvm-svn: 270193
* [Sparc] Enable more inline assembly constraints.Chris Dewhurst2016-05-203-0/+21
| | | | | | | | Note: This is specifically to allow GCC's test pr44707 to pass. Trivial change, not put for differential revision. Test included. llvm-svn: 270192
* [clang-tidy] Handle using-decls with more than one shadow decl.Haojian Wu2016-05-203-35/+59
| | | | | | | | | | Reviewers: alexfh Subscribers: cfe-commits, djasper Differential Revision: http://reviews.llvm.org/D20429 llvm-svn: 270191
* Fix some comment typos in SelectionDAGBuilder. NFCDiana Picus2016-05-201-3/+3
| | | | llvm-svn: 270190
* [find-all-symbol] Add macro support.Haojian Wu2016-05-2010-29/+193
| | | | | | | | | | Reviewers: bkramer Subscribers: cfe-commits, ioeric Differential Revision: http://reviews.llvm.org/D20420 llvm-svn: 270189
* clang-format: [JS] Treat "for" as a reserved word after a ".".Daniel Jasper2016-05-202-0/+4
| | | | | | | | Otherwise, clang-format can get confused with statements like: x.for = 1; llvm-svn: 270188
* Use C-style comment.Sean Silva2016-05-201-1/+1
| | | | | | | I think we allow use of C99 for libprofile, but use a C-style comment for consistency. llvm-svn: 270187
* Fix bot failureXinliang David Li2016-05-201-1/+1
| | | | llvm-svn: 270186
* [profile] PROF_ERR, PROF_WARNXinliang David Li2016-05-204-9/+11
| | | | | | | | 1) Move common prefix to the macro def 2) Introduced PROF_WARN 3) Make error message unconditionally printed out. llvm-svn: 270185
* Target: move enum back into MCSaleem Abdulrasool2016-05-202-9/+9
| | | | | | | Move the enumeration back to avoid the layering violation. Should repair the modules build. llvm-svn: 270184
* [X86] Run the AVX/AVX2 intrinsic tests in AVX512VL mode too just to make ↵Craig Topper2016-05-203-1901/+4168
| | | | | | sure we don't break any older intrinsics. llvm-svn: 270183
* [X86] Fix another AVX pattern to only be disable if VLX and BWI are supported.Craig Topper2016-05-201-1/+1
| | | | llvm-svn: 270182
* [profile] Remove anther malloc useXinliang David Li2016-05-201-2/+6
| | | | llvm-svn: 270181
* CodeGen: address -Wcast-qual warningSaleem Abdulrasool2016-05-201-1/+1
| | | | | | Add a const_cast rather than the C-style cast. NFC. llvm-svn: 270180
* Add #include for PS4 getenv shim.Sean Silva2016-05-201-0/+1
| | | | llvm-svn: 270179
* Target: move the EH enumeration and add optionSaleem Abdulrasool2016-05-202-14/+20
| | | | | | | | | Move the ExceptionHandling enumeration into TargetOptions and introduce a field to track the desired exception model. This will allow us to set the exception model from the frontend (needed to optionally use SjLj EH on other targets where zero-cost is available and preferred). llvm-svn: 270178
* Small typo and whitespace fix.Sean Silva2016-05-201-2/+2
| | | | llvm-svn: 270177
* [lanai] Use Optional<Reloc> in LanaiTargetMachine.Jacques Pienaar2016-05-204-12/+17
| | | | | | Follow r269988 and use Optional<Reloc>. llvm-svn: 270176
* Revert accidental commit of a test command line addition.Craig Topper2016-05-201-1/+0
| | | | llvm-svn: 270175
* [X86] Fix some AVX patterns to only be disabled if VLX and BWI are ↵Craig Topper2016-05-202-20/+25
| | | | | | supported. Without this we get isel failures on the avx-intrinsics-x86.ll test in AVX512VL. llvm-svn: 270174
* [LibFuzzer] Fix implementation of ``GetPeakRSSMb()`` on Mac OSX.Dan Liew2016-05-201-1/+9
| | | | | | | | On Linux ``rusage.ru_maxrss`` is in KiB but on Mac OSX it is in bytes. Differential Revision: http://reviews.llvm.org/D20410 llvm-svn: 270173
* [LibFuzzer] Fix ``NumberOfCpuCores()`` on Mac OSX.Dan Liew2016-05-201-4/+29
| | | | | | | | | | | | | | | The ``nprocs`` command does not exist under Mac OSX so use ``sysctl`` instead on that platform. Whilst I'm here * Use ``pclose()`` instead of ``fclose()`` which the ``popen()`` documentation says should be used. * Check for errors that were previously unhandled. Differential Revision: http://reviews.llvm.org/D20409 llvm-svn: 270172
* Add AVRTargetStreamersDylan McKay2016-05-205-0/+147
| | | | | | Reviewed by Matt Arsenault in http://reviews.llvm.org/D16311 llvm-svn: 270171
* Re-alphabetize this file list.Richard Smith2016-05-201-10/+10
| | | | llvm-svn: 270170
* Revert incorrect module map changes in r269907 and replace them with theRichard Smith2016-05-201-4/+1
| | | | | | appropriate changes. llvm-svn: 270169
* [RegBankSelect] Refactor the code to split the repairing and mapping ofQuentin Colombet2016-05-202-140/+247
| | | | | | | | | | | an instruction. Use the previously introduced RepairingPlacement class to split the code computing the repairing placement from the code doing the actual placement. That way, we will be able to consider different placement and then, only apply the best one. llvm-svn: 270168
* [RegBankSelect] Add helper class for repairing code placement.Quentin Colombet2016-05-202-1/+511
| | | | | | | | | | | | | | | | | | | | When assigning the register banks we may have to insert repairing code to move already assigned values accross register banks. Introduce a few helper classes to keep track of what is involved in the repairing of an operand: - InsertPoint and its derived classes record the positions, in the CFG, where repairing has to be inserted. - RepairingPlacement holds all the insert points for the repairing of an operand plus the kind of action that is required to do the repairing. This is going to be used to keep track of how the repairing should be done, while comparing different solutions for an instruction. Indeed, we will need the repairing placement to capture the cost of a solution and we do not want to compute it a second time when we do the actual repairing. llvm-svn: 270167
* [RegBankSelect] Refactor assignmentMatch to avoid testing the currentQuentin Colombet2016-05-202-5/+15
| | | | | | | | | | | | | | register bank twice. Prior to this change, we were checking if the assignment for the current machine operand was matching, then we would check if the mismatch requires to insert repair code. We actually already have this information from the first check, so just pass it along. NFCI. llvm-svn: 270166
OpenPOWER on IntegriCloud