summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GC HAVE_MACH_O_DYLD_H.Joerg Sonnenberger2016-09-292-4/+0
| | | | llvm-svn: 282771
* GC HAVE_UTIME_H.Joerg Sonnenberger2016-09-292-4/+0
| | | | llvm-svn: 282770
* GC HAVE_LIMITS_H.Joerg Sonnenberger2016-09-292-4/+0
| | | | llvm-svn: 282769
* Make HAVE_DECL_ARC4RANDOM always defined. Sort the entry correctly.Joerg Sonnenberger2016-09-292-5/+6
| | | | llvm-svn: 282768
* HAVE_UNWIND_BACKTRACE -> HAVE__UNWIND_BACKTRACEJoerg Sonnenberger2016-09-293-6/+6
| | | | | | Check for existance and not truth value. llvm-svn: 282767
* Next set of additional error checks for invalid Mach-O files for theKevin Enderby2016-09-294-0/+18
| | | | | | | | | load command that uses the MachO::entry_point_command type but not used in llvm libObject code but used in llvm tool code. This includes just the LC_MAIN load command. llvm-svn: 282766
* Remove LLVM_CONFIGTIME, left-overs from when reproducable builds whereJoerg Sonnenberger2016-09-293-8/+0
| | | | | | not the default. llvm-svn: 282765
* Rename "void check(Error)".Rui Ueyama2016-09-292-10/+10
| | | | | | | | | We have a few "check" functions in Error.h. All of them are to check for an error and strip an error object if there was no error, except "void check(Error E)", which doesn't return anything. This patch renames it and moves it to the .cpp file where it is used. llvm-svn: 282764
* Rename warning -> warn.Rui Ueyama2016-09-299-18/+18
| | | | | | It's better because it's a verb. llvm-svn: 282763
* Add FE_ALL_EXCEPT and FE_INEXACT detection macros forgotten on the cmakeJoerg Sonnenberger2016-09-291-0/+8
| | | | | | side of configuration. llvm-svn: 282762
* Clamp version number in S_COMPILE3 to avoid overflowing 16-bit field.Adrian McCarthy2016-09-291-5/+6
| | | | llvm-svn: 282761
* Use > and not >> to create the script.Rafael Espindola2016-09-291-1/+1
| | | | llvm-svn: 282760
* Revert "[LAA, LV] Port to new streaming interface for opt remarks. Update LV"Adam Nemet2016-09-294-78/+30
| | | | | | | | This reverts commit r282758. There are some clang failures I haven't seen. llvm-svn: 282759
* [LAA, LV] Port to new streaming interface for opt remarks. Update LVAdam Nemet2016-09-294-30/+78
| | | | | | | | | | OptimizationRemarkAnalysis directly takes the role of the report that is generated by LAA. Then we need the magic to be able to turn an LAA remark into an LV remark. This is done via a new OptimizationRemark ctor. llvm-svn: 282758
* [Myriad] Silently ignore -fno-split-dwarf-inliningDouglas Katzman2016-09-292-7/+10
| | | | llvm-svn: 282757
* [RegisterBankInfo] Change the default mapping for Copy and PHI.Quentin Colombet2016-09-292-54/+37
| | | | | | | | | | | | | | Instead of producing a mapping for all the operands, we only generate a mapping for the definition. Indeed, the other operands are not constrained by the instruction and thus, we should leave the choice to the actual definition to do the right thing. In pratice this is almost NFC, but with one advantage. We will have only one instance of OperandsMapping for each copy and phi that map to one register bank instead of one different instance for each different number of operands for each copy and phi. llvm-svn: 282756
* Generalize ArgList::AddAllArgs moreDouglas Katzman2016-09-292-5/+26
| | | | llvm-svn: 282755
* Fix an issue where, in i386 mode, the wrong values were being copied into ↵Enrico Granata2016-09-291-2/+2
| | | | | | | | the pair object for a single-entry NSDictionary Fixes rdar://28502335 llvm-svn: 282754
* [sanitizer-coverage] a bit more docsKostya Serebryany2016-09-291-1/+13
| | | | llvm-svn: 282752
* [sanitizer-coverage] more docsKostya Serebryany2016-09-291-0/+67
| | | | llvm-svn: 282751
* Don't error if we can't put the header in a PT_LOAD.Rafael Espindola2016-09-294-15/+36
| | | | | | | | | | If there is not sufficient address space, just give up and don't put the header in the PT_LOAD. This matches bfd behaviour and I found at least one script that depends on having a section at address 0. llvm-svn: 282750
* [sanitize-coverage] doc typoKostya Serebryany2016-09-291-1/+1
| | | | llvm-svn: 282749
* www: Add Loopy publicationTobias Grosser2016-09-291-0/+5
| | | | llvm-svn: 282747
* [LV] Port OptimizationRemarkAnalysisFPCommute andAdam Nemet2016-09-293-10/+50
| | | | | | OptimizationRemarkAnalysisAliasing to new streaming API for opt remarks llvm-svn: 282742
* To fix TestObjCMethods2/i386, allowed messaging nil ObjC objects as in x86_64.Sean Callanan2016-09-291-0/+3
| | | | llvm-svn: 282741
* [LV] Convert processLoop to new streaming API for opt remarksAdam Nemet2016-09-291-10/+10
| | | | llvm-svn: 282740
* [codeview] Use character types for all byte-sized integer typesReid Kleckner2016-09-292-10/+65
| | | | | | | | | | | | | | | The VS debugger doesn't appear to understand the 0x68 or 0x69 type indices, which were probably intended for use on a platform where a C 'int' is 8 bits. So, use the character types instead. Clang was already using the character types because '[u]int8_t' is usually defined in terms of 'char'. See the Rust issue for screenshots of what VS does: https://github.com/rust-lang/rust/issues/36646 Fixes PR30552 llvm-svn: 282739
* fix formatting; NFCSanjay Patel2016-09-291-11/+9
| | | | llvm-svn: 282737
* Next set of additional error checks for invalid Mach-O files for theKevin Enderby2016-09-294-0/+18
| | | | | | | | | load command that uses the Mach::source_version_command type but not used in llvm libObject code but used in llvm tool code. This includes just the LC_SOURCE_VERSION load command. llvm-svn: 282736
* [sanitizer-coverage/libFuzzer] make the guards for trace-pc 32-bit; create ↵Kostya Serebryany2016-09-297-81/+108
| | | | | | one array of guards per function, instead of one guard per BB. reorganize the code so that trace-pc-guard does not create unneeded globals llvm-svn: 282735
* [thinlto] Add cold-callsite import heuristicPiotr Padlewski2016-09-292-10/+30
| | | | | | | | | | | | | | Summary: Not tunned up heuristic, but with this small heuristic there is about +0.10% improvement on SPEC 2006 Reviewers: tejohnson, mehdi_amini, eraman Subscribers: mehdi_amini, llvm-commits Differential Revision: https://reviews.llvm.org/D24940 llvm-svn: 282733
* [X86] Avoid "unused" warnings if no assertsDouglas Katzman2016-09-291-2/+4
| | | | llvm-svn: 282732
* [LV] Move static createMissedAnalysis from anonymous to global namespaceAdam Nemet2016-09-291-26/+26
| | | | | | This is an attempt to fix a windows bot. llvm-svn: 282730
* [LV] Convert CostModel to use the new streaming opt remark APIAdam Nemet2016-09-291-21/+20
| | | | | | Here we can already remove the member function emitAnalysis. llvm-svn: 282729
* [LV] Split most of createMissedAnalysis into a static function. NFCAdam Nemet2016-09-291-15/+28
| | | | | | This will be shared between Legality and CostModel. llvm-svn: 282728
* [sancov] removing html report option test, the option doesn't exist anymoreMike Aizatsky2016-09-291-24/+0
| | | | llvm-svn: 282727
* [LV] Convert all but one opt remark in Legality to new streaming interfaceAdam Nemet2016-09-291-46/+72
| | | | | | | | The last one remaining after which emitAnalysis can be removed is when we convert the LAA's report to a vectorization report. This requires converting LAA to the new interface first. llvm-svn: 282726
* Simplify. NFC.Rafael Espindola2016-09-291-5/+4
| | | | llvm-svn: 282725
* Don't handle binary output differently.Rafael Espindola2016-09-291-1/+1
| | | | | | | It is not clear if we need a different layout, so for now handle them like regular ELF output. llvm-svn: 282724
* [LV] Convert emitRemark to new opt remark streaming interfaceAdam Nemet2016-09-293-15/+37
| | | | | | | Also renamed the function to emitRemarkWithHints to better reflect what the function actually does. llvm-svn: 282723
* Remove unnecessary explicitAdam Nemet2016-09-291-2/+2
| | | | llvm-svn: 282722
* [libFuzzer] initialize ValueBitMap::NumBitsKostya Serebryany2016-09-291-1/+1
| | | | llvm-svn: 282721
* [X86][SSE] Added common helper for shuffle mask constant pool decodes.Simon Pilgrim2016-09-291-164/+136
| | | | | | | | | | The shuffle mask decodes have a large amount of repeated code extracting/splitting mask values from Constant data. This patch pulls all of this duplicated code into a single helper function to identify undef elements and combine/split constant integer data into the requested shuffle mask elements. Updated PSHUFB/VPERMIL/VPERMIL2/VPPERM decoders to use it (VPERMV/VPERMV3 could be converted as well in the future). llvm-svn: 282720
* [X86] Add explicit test triple to make windows/msvc builds happierSimon Pilgrim2016-09-291-1/+1
| | | | llvm-svn: 282719
* [docs] Fix a broken URL in 'HowToAddABuilder'Dylan McKay2016-09-291-1/+1
| | | | llvm-svn: 282718
* Test commit. NFC.Volkan Keles2016-09-291-1/+1
| | | | llvm-svn: 282717
* [ELF][MIPS] Set GP0 value to zero in case of relocatable object generationSimon Atanasyan2016-09-294-8/+24
| | | | | | | | | | LLD does not update relocations addends when generate a relocatable object. That is why we should not write a non-zero GP0 value into the .reginfo and .MIPS.options sections. And we should not accept input object files with non-zero GP0 value because we cannot handle them properly. llvm-svn: 282716
* [ELF][MIPS] Do not use a binary input file in the test case. NFCSimon Atanasyan2016-09-294-22/+37
| | | | llvm-svn: 282715
* [ELF][MIPS] Setup STO_MIPS_PIC flag for PIC symbols when generate a ↵Simon Atanasyan2016-09-295-13/+87
| | | | | | | | | | relocatable object In case of linking PIC and non-PIC code together and generation of a relocatable object, all PIC symbols should have STO_MIPS_PIC flag in the symbol table of the ouput file. llvm-svn: 282714
* [docs] Fix typo in 'How to add a builder'Dylan McKay2016-09-291-1/+1
| | | | llvm-svn: 282713
OpenPOWER on IntegriCloud