summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* [llvm-objdump] Switch to a range loop. NFCI.Davide Italiano2016-09-301-5/+3
| | | | llvm-svn: 282982
* ScheduleDAGInstrs: Cleanup, use range based for; NFCMatthias Braun2016-09-301-61/+45
| | | | llvm-svn: 282979
* [libFuzzer] fix openssl fuzzer tests when running on a machine w/o openssl ↵Kostya Serebryany2016-09-302-2/+2
| | | | | | installed llvm-svn: 282972
* [libFuzzer] remove unused optionKostya Serebryany2016-09-307-20/+8
| | | | llvm-svn: 282971
* [SEH] Emit the parent frame offset label even if there are no funcletsReid Kleckner2016-09-302-19/+115
| | | | | | | | | This avoids errors about references to undefined local labels from unreferenced filter functions. Fixes (sort of) PR30431 llvm-svn: 282967
* [AArch64][RegisterBankInfo] Use the helper functions for the checksQuentin Colombet2016-09-301-29/+26
| | | | | | | | This makes sure the helper functions work as expected. NFC. llvm-svn: 282961
* [AArch64][RegisterBankInfo] Rename getValueMappingIdx to getValueMappingQuentin Colombet2016-09-302-9/+11
| | | | | | | | We don't return index, we return the actual ValueMapping. NFC. llvm-svn: 282960
* [AArch64][RegisterBankInfo] Compress the ValueMapping table a bit.Quentin Colombet2016-09-302-46/+38
| | | | | | | | | | We don't need to have singleton ValueMapping on their own, we can just reuse one of the elements of the 3-ops mapping. This allows even more code sharing. NFC. llvm-svn: 282959
* [AArch64][RegisterBankInfo] Refactor the code to access AArch64::ValMappingQuentin Colombet2016-09-302-24/+23
| | | | | | | | | Use a helper function to access ValMapping. This should make the code easier to understand and maintain. NFC. llvm-svn: 282958
* [AArch64][RegisterBankInfo] Rename getRegBankIdx to getRegBankIdxOffsetQuentin Colombet2016-09-302-17/+22
| | | | | | | | | The function name did not make it clear that the returned value was an offset to apply to a register bank index. NFC. llvm-svn: 282957
* [AArch64][RegisterBankInfo] Use the static opds mapping for alt mappingsQuentin Colombet2016-09-301-14/+7
| | | | | | | | Avoid to rely on the dynamically allocated operands mapping for the alternative mapping. NFC. llvm-svn: 282956
* [libFuzzer] move common parts of shell scripts into a separate fileKostya Serebryany2016-09-309-68/+58
| | | | llvm-svn: 282954
* [libfuzzer] sancov documentation updateMike Aizatsky2016-09-301-3/+4
| | | | llvm-svn: 282953
* NFC Add constPiotr Padlewski2016-09-301-3/+3
| | | | llvm-svn: 282952
* NFC fix class members initializationPiotr Padlewski2016-09-301-10/+9
| | | | llvm-svn: 282951
* NFC fix doxygen commentsPiotr Padlewski2016-09-304-37/+44
| | | | llvm-svn: 282950
* Do not pass a superblock to PDBFileBuilder.Rui Ueyama2016-09-306-16/+11
| | | | | | | | | | | | | | | | | | | | | When we create a PDB file using PDBFileBuilder, the information in the superblock, such as the size of the resulting file, is not available. Previously, PDBFileBuilder::initialize took a superblock assuming that all the members of the struct are correct. That is useful when you want to restore the exact information from a YAML file, but that's probably the only use case in which that is useful. When we are creating a PDB file on the fly, we have to backfill the members. This patch redefines PDBFileBuilder::initialize to take only a block size. Now all the other members are left as default values, so that they'll be updated when commit() is called. Differential Revision: https://reviews.llvm.org/D25108 llvm-svn: 282944
* Pass a filename instead of a msf::WritableStream to PDBFileBuilder::commit.Rui Ueyama2016-09-303-13/+13
| | | | | | | | | | | | | | | WritableStream needs the exact file size to open a file, but until we fix the final layout of a PDB file, we don't know the size of the file. This patch changes the parameter type of PDBFileBuilder::commit to solve that chiecken-and-egg problem. Now the function opens a file after fixing the layout, so it can create a file with the exact size. Differential Revision: https://reviews.llvm.org/D25107 llvm-svn: 282940
* Sort LLVM_VERSION_INFOJoerg Sonnenberger2016-09-301-3/+3
| | | | llvm-svn: 282939
* GC left-over from workarounds for missing pid_t and size_tJoerg Sonnenberger2016-09-301-6/+0
| | | | llvm-svn: 282938
* GC ENABLE_PICJoerg Sonnenberger2016-09-301-3/+0
| | | | llvm-svn: 282936
* GC HAVE___DSO_HANDLEJoerg Sonnenberger2016-09-301-3/+0
| | | | llvm-svn: 282935
* Correctly expand HOST_LINK_VERSION.Joerg Sonnenberger2016-09-301-1/+1
| | | | llvm-svn: 282934
* Fix expansion of HAVE_SYS_MMAN_HJoerg Sonnenberger2016-09-301-1/+1
| | | | llvm-svn: 282933
* GC HAVE_LINK_EXPORT_DYNAMIC.Joerg Sonnenberger2016-09-301-3/+0
| | | | llvm-svn: 282932
* GC HAVE_MMAP and HAVE_MMAP_FILEJoerg Sonnenberger2016-09-301-6/+0
| | | | llvm-svn: 282931
* Spell comment consistently with other library comments.Joerg Sonnenberger2016-09-301-1/+1
| | | | llvm-svn: 282930
* Sort LINK_POLLY_INTO_TOOLS.Joerg Sonnenberger2016-09-302-6/+6
| | | | llvm-svn: 282929
* GC STDC_HEADERS.Joerg Sonnenberger2016-09-301-3/+0
| | | | llvm-svn: 282928
* Deal with the (historic) MAP_ANONYMOUS vs MAP_ANON directly by using CPPJoerg Sonnenberger2016-09-302-6/+2
| | | | | | to check for the former, don't depend on (dangling) HAVE_MMAP_ANONYMOUS. llvm-svn: 282925
* Retire NEED_DEV_ZERO_FOR_MMAP. It should be needed only on outdatedJoerg Sonnenberger2016-09-302-20/+0
| | | | | | | systems. It wasn't even hooked up in cmake, so problems on such systems would be visible with 3.9 release already. llvm-svn: 282924
* HAVE_LINK_R is not the only reason why this needs config.h.Joerg Sonnenberger2016-09-301-1/+1
| | | | llvm-svn: 282923
* GC HAVE_LIBDL, HAVE_LIBM and HAVE_LIBOLE32Joerg Sonnenberger2016-09-301-9/+0
| | | | llvm-svn: 282922
* Sort HAVE_LIBEDIT.Joerg Sonnenberger2016-09-301-3/+3
| | | | llvm-svn: 282921
* X86: Allow conditional tail calls in Win64 "leaf" functions (PR26302)Hans Wennborg2016-09-303-8/+31
| | | | | | | | | | | We can't use Jcc to leave a Win64 function in general, because that confuses the unwinder. However, for "leaf" functions, that is, functions where the return address is always on top of the stack and which don't have unwind info, it's OK. Differential Revision: https://reviews.llvm.org/D24836 llvm-svn: 282920
* Turn ENABLE_CRASH_OVERRIDES into a 0/1 definition.Joerg Sonnenberger2016-09-302-3/+3
| | | | llvm-svn: 282919
* Convert ENABLE_BACKTRACES into a 0/1 definition.Joerg Sonnenberger2016-09-303-14/+14
| | | | llvm-svn: 282918
* GC TIME_WITH_SYS_TIME and TM_IN_SYS_TIMEJoerg Sonnenberger2016-09-301-6/+0
| | | | llvm-svn: 282917
* GC STAT_MACROS_BROKEN.Joerg Sonnenberger2016-09-301-3/+0
| | | | llvm-svn: 282915
* GC NEED_USCORE.Joerg Sonnenberger2016-09-301-3/+0
| | | | llvm-svn: 282914
* Turn LLVM_USE_OPROFILE into a 0/1 definition.Joerg Sonnenberger2016-09-303-3/+3
| | | | llvm-svn: 282909
* Turn LLVM_USE_INTEL_JITEVENTS into a 0/1 definition.Joerg Sonnenberger2016-09-303-3/+3
| | | | llvm-svn: 282908
* Turn LLVM_ENABLE_ABI_BREAKING_CHECKS into a 0/1 definition likeJoerg Sonnenberger2016-09-305-24/+24
| | | | | | | LLVM_ENABLE_THREADS. Include llvm-config.h explicitly in headers to make sure that the definition is available. llvm-svn: 282907
* [InstCombine] allow non-splat folds of select cond (ext X), CSanjay Patel2016-09-303-44/+38
| | | | llvm-svn: 282906
* Revert test change in r282894 as it's broken in some platforms.Dehao Chen2016-09-301-40/+2
| | | | llvm-svn: 282903
* [Coroutines] Part15c: Fix coro-split to correctly handle definitions between ↵Gor Nishanov2016-09-302-22/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | coro.save and coro.suspend Summary: In the case below, %Result.i19 is defined between coro.save and coro.suspend and used after coro.suspend. We need to correctly place such a value into the coroutine frame. ``` %save = call token @llvm.coro.save(i8* null) %Result.i19 = getelementptr inbounds %"struct.lean_future<int>::Awaiter", %"struct.lean_future<int>::Awaiter"* %ref.tmp7, i64 0, i32 0 %suspend = call i8 @llvm.coro.suspend(token %save, i1 false) switch i8 %suspend, label %exit [ i8 0, label %await.ready i8 1, label %exit ] await.ready: %val = load i32, i32* %Result.i19 ``` Reviewers: majnemer Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D24418 llvm-svn: 282902
* [InstCombine] add tests for non-splat select(ext)Sanjay Patel2016-09-301-0/+22
| | | | llvm-svn: 282901
* [Coroutines] Part15b: Fix dbg information handling in coro-split.Gor Nishanov2016-09-303-6/+132
| | | | | | | | | | | | | | | Summary: Without the fix, if there was a function inlined into the coroutine with debug information, CloneFunctionInto(NewF, &F, VMap, /*ModuleLevelChanges=*/true, Returns); would duplicate all of the debug information including the DICompileUnit. We know use VMap to indicate that debug metadata for a File, Unit and FunctionType should not be duplicated when we creating clones that will become f.resume, f.destroy and f.cleanup. Reviewers: majnemer Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D24417 llvm-svn: 282899
* [Coroutines] Part 15a: Lower coro.subfn.addr in CoroCleanupGor Nishanov2016-09-303-3/+44
| | | | | | | | | | | | Summary: Not all coro.subfn.addr intrinsics can be eliminated in CoroElide through devirtualization. Those that remain need to be lowered in CoroCleanup. Reviewers: majnemer Subscribers: llvm-commits, mehdi_amini Differential Revision: https://reviews.llvm.org/D24412 llvm-svn: 282897
* clean up tests and auto-generate checksSanjay Patel2016-09-301-56/+124
| | | | llvm-svn: 282896
OpenPOWER on IntegriCloud