148779d Vendor import of llvm trunk r302069:

Authored and Committed by Dimitry Andric 7 years ago
222 files changed. 5550 lines added. 2527 lines removed.
CMakeLists.txt
file modified
+2 -0
docs/LangRef.rst
file modified
+10 -10
include/llvm/ADT/APInt.h
file modified
+69 -66
include/llvm/CodeGen/CommandFlags.h
file modified
+11 -19
include/llvm/DebugInfo/CodeView/CVRecord.h
file modified
+1 -1
include/llvm/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.h
file modified
+10 -6
include/llvm/DebugInfo/CodeView/ModuleDebugFragmentRecord.h
file modified
+5 -3
include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h
file modified
+10 -7
include/llvm/DebugInfo/CodeView/ModuleDebugLineFragment.h
file modified
+10 -4
include/llvm/DebugInfo/CodeView/StringTable.h
file added
+75
include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
file modified
+3 -1
include/llvm/DebugInfo/DWARF/DWARFContext.h
file modified
+3 -0
include/llvm/DebugInfo/DWARF/DWARFDebugLine.h
file modified
+7 -3
include/llvm/DebugInfo/DWARF/DWARFUnit.h
file modified
+3 -3
include/llvm/DebugInfo/DWARF/DWARFVerifier.h
file added
+98
include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h
file modified
+1 -1
include/llvm/DebugInfo/PDB/Native/DbiStream.h
file modified
+2 -2
include/llvm/DebugInfo/PDB/Native/PDBFile.h
file modified
+4 -4
include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h
file modified
+6 -4
include/llvm/DebugInfo/PDB/Native/PDBStringTable.hinclude/llvm/DebugInfo/PDB/Native/StringTable.h
file renamed
+24 -16
include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.hinclude/llvm/DebugInfo/PDB/Native/StringTableBuilder.h
file renamed
+24 -9
include/llvm/DebugInfo/PDB/Native/RawTypes.h
file modified
+5 -5
include/llvm/IR/Attributes.h
file modified
+11 -12
include/llvm/IR/CallSite.h
file modified
+11 -5
include/llvm/IR/Function.h
file modified
+16 -31
include/llvm/IR/Instructions.h
file modified
+18 -10
include/llvm/IR/Intrinsics.h
file modified
+22 -4
include/llvm/IR/Intrinsics.td
file modified
+22 -19
include/llvm/IR/IntrinsicsX86.td
file modified
+23 -0
include/llvm/Support/BinaryStreamArray.h
file modified
+146 -88
include/llvm/Support/BinaryStreamReader.h
file modified
+24 -4
include/llvm/Support/BinaryStreamRef.h
file modified
+3 -0
include/llvm/Support/BinaryStreamWriter.h
file modified
+4 -2
include/llvm/Support/DataExtractor.h
file modified
+22 -0
include/llvm/Support/ELFRelocs/Hexagon.def
file modified
+5 -0
include/llvm/Target/TargetLowering.h
file modified
+8 -0
lib/Analysis/CFLGraph.h
file modified
+1 -1
lib/Analysis/InstructionSimplify.cpp
file modified
+20 -29
lib/Analysis/ModuleSummaryAnalysis.cpp
file modified
+0 -6
lib/Analysis/ValueTracking.cpp
file modified
+3 -60
lib/Bitcode/Writer/BitcodeWriter.cpp
file modified
+23 -141
lib/CodeGen/GlobalISel/CallLowering.cpp
file modified
+3 -3
lib/CodeGen/PrologEpilogInserter.cpp
file modified
+3 -0
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
file modified
+52 -0
lib/DebugInfo/CodeView/CMakeLists.txt
file modified
+1 -0
lib/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.cpp
file modified
+14 -9
lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp
file modified
+16 -9
lib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp
file modified
+10 -4
lib/DebugInfo/CodeView/StringTable.cpp
file added
+71
lib/DebugInfo/CodeView/SymbolDumper.cpp
file modified
+13 -12
lib/DebugInfo/DWARF/CMakeLists.txt
file modified
+1 -0
lib/DebugInfo/DWARF/DWARFContext.cpp
file modified
+236 -84
lib/DebugInfo/DWARF/DWARFDebugLine.cpp
file modified
+155 -25
lib/DebugInfo/DWARF/DWARFVerifier.cpp
file added
+277
lib/DebugInfo/PDB/CMakeLists.txt
file modified
+2 -2
lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
file modified
+8 -0
lib/DebugInfo/PDB/Native/DbiStream.cpp
file modified
+1 -1
lib/DebugInfo/PDB/Native/PDBFile.cpp
file modified
+8 -7
lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp
file modified
+17 -8
lib/DebugInfo/PDB/Native/PDBStringTable.cpp
file added
+134
lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpplib/DebugInfo/PDB/Native/StringTableBuilder.cpp
file renamed
+68 -43
lib/DebugInfo/PDB/Native/StringTable.cpp
file removed
-109
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
file modified
+32 -0
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h
file modified
+3 -0
lib/IR/Attributes.cpp
file modified
+19 -28
lib/IR/AutoUpgrade.cpp
file modified
+24 -1
lib/IR/Function.cpp
file modified
+35 -28
lib/IR/IRBuilder.cpp
file modified
+6 -2
lib/IR/Instructions.cpp
file modified
+24 -8
lib/IR/LLVMContextImpl.h
file modified
+2 -2
lib/MC/MCObjectFileInfo.cpp
file modified
+4 -0
lib/Support/APInt.cpp
file modified
+144 -145
lib/Support/BinaryStreamReader.cpp
file modified
+13 -0
lib/Support/BinaryStreamWriter.cpp
file modified
+13 -0
lib/Support/DataExtractor.cpp
file modified
+10 -0
lib/Support/Host.cpp
file modified
+1 -0
lib/Support/Triple.cpp
file modified
+3 -1
lib/Target/AArch64/AArch64CallLowering.cpp
file modified
+1 -1
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
file modified
+8 -1
lib/Target/ARM/ARM.td
file modified
+1 -0
lib/Target/ARM/ARMCallLowering.cpp
file modified
+1 -1
lib/Target/ARM/ARMISelDAGToDAG.cpp
file modified
+4 -0
lib/Target/AVR/AVRFrameLowering.cpp
file modified
+2 -3
lib/Target/AVR/AVRRegisterInfo.cpp
file modified
+12 -6
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp
file modified
+5 -5
lib/Target/Hexagon/HexagonAsmPrinter.cpp
file modified
+1 -1
lib/Target/Hexagon/HexagonISelLowering.cpp
file modified
+6 -1
lib/Target/Hexagon/HexagonInstrFormats.td
file modified
+0 -16
lib/Target/Hexagon/HexagonInstrFormatsV60.td
file modified
+0 -8
lib/Target/Hexagon/HexagonInstrInfo.cpp
file modified
+91 -37
lib/Target/Hexagon/HexagonInstrInfo.h
file modified
+1 -1
lib/Target/Hexagon/HexagonMCInstLower.cpp
file modified
+1 -1
lib/Target/Hexagon/HexagonOperands.td
file modified
+2 -2
lib/Target/Hexagon/HexagonPseudo.td
file modified
+9 -6
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
file modified
+24 -9
lib/Target/Hexagon/HexagonVLIWPacketizer.h
file modified
+4 -0
lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp
file modified
+14 -1
lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h
file modified
+0 -4
lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp
file modified
+10 -0
lib/Target/Hexagon/MCTargetDesc/HexagonFixupKinds.h
file modified
+5 -0
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp
file modified
+132 -42
lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h
file modified
+5 -4
lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp
file modified
+19 -4
lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp
file modified
+4 -4
lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h
file modified
+3 -3
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp
file modified
+61 -31
lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h
file modified
+25 -5
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp
file modified
+15 -75
lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h
file modified
+2 -2
lib/Target/Mips/Mips16HardFloat.cpp
file modified
+4 -5
lib/Target/PowerPC/PPCISelLowering.h
file modified
+8 -0
lib/Target/SystemZ/SystemZTargetTransformInfo.cpp
file modified
+4 -3
lib/Target/X86/X86.td
file modified
+6 -0
lib/Target/X86/X86FastISel.cpp
file modified
+9 -0
lib/Target/X86/X86ISelLowering.cpp
file modified
+47 -16
lib/Target/X86/X86ISelLowering.h
file modified
+3 -0
lib/Target/X86/X86InstrInfo.cpp
file modified
+6 -0
lib/Target/X86/X86InstrInfo.td
file modified
+59 -0
lib/Target/X86/X86RegisterInfo.cpp
file modified
+8 -1
lib/Target/X86/X86Schedule.td
file modified
+1 -0
lib/Target/X86/X86Subtarget.cpp
file modified
+1 -0
lib/Target/X86/X86Subtarget.h
file modified
+4 -0
lib/Target/X86/X86WinEHState.cpp
file modified
+1 -1
lib/Transforms/Coroutines/CoroSplit.cpp
file modified
+3 -5
lib/Transforms/IPO/ArgumentPromotion.cpp
file modified
+4 -4
lib/Transforms/IPO/FunctionAttrs.cpp
file modified
+3 -3
lib/Transforms/IPO/PartialInlining.cpp
file modified
+10 -0
lib/Transforms/InstCombine/InstCombineCalls.cpp
file modified
+1 -1
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
file modified
+16 -23
lib/Transforms/Instrumentation/InstrProfiling.cpp
file modified
+2 -2
lib/Transforms/Instrumentation/MemorySanitizer.cpp
file modified
+2 -7
lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h
file modified
+1 -1
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
file modified
+1 -1
lib/Transforms/Scalar/GuardWidening.cpp
file modified
+4 -4
lib/Transforms/Scalar/LoopDeletion.cpp
file modified
+90 -14
lib/Transforms/Scalar/NewGVN.cpp
file modified
+4 -7
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
file modified
+5 -5
lib/Transforms/Scalar/SpeculativeExecution.cpp
file modified
+1 -42
lib/Transforms/Utils/BuildLibCalls.cpp
file modified
+181 -176
lib/Transforms/Utils/LoopUnrollRuntime.cpp
file modified
+10 -0
lib/Transforms/Utils/SimplifyLibCalls.cpp
file modified
+1 -1
test/Analysis/CostModel/X86/masked-intrinsic-cost.ll
file modified
+19 -19
test/Analysis/CostModel/X86/vector_gep.ll
file modified
+2 -2
test/Assembler/auto_upgrade_intrinsics.ll
file modified
+17 -0
test/CodeGen/AMDGPU/promote-alloca-calling-conv.lltest/CodeGen/AMDGPU/promote-alloca-shaders.ll
file renamed
+45 -0
test/CodeGen/ARM/build-attributes.ll
file modified
+4 -1
test/CodeGen/ARM/load-arm.ll
file added
+28
test/CodeGen/AVR/brind.ll
file modified
+0 -2
test/CodeGen/AVR/dynalloca.ll
file modified
+2 -2
test/CodeGen/AVR/inline-asm/inline-asm.ll
file modified
+1 -0
test/CodeGen/BPF/reloc.ll
file added
+43
test/CodeGen/Hexagon/adjust-latency-stackST.ll
file added
+81
test/CodeGen/Hexagon/multi-cycle.ll
file added
+103
test/CodeGen/Hexagon/plt-rel.ll
file added
+37
test/CodeGen/PowerPC/shift_mask.ll
file modified
+0 -39
test/CodeGen/X86/addcarry.ll
file modified
+2 -2
test/CodeGen/X86/lwp-intrinsics-x86_64.ll
file added
+49
test/CodeGen/X86/lwp-intrinsics.ll
file added
+121
test/CodeGen/X86/masked_gather_scatter.ll
file modified
+71 -71
test/CodeGen/X86/stack-folding-lwp.ll
file added
+49
test/CodeGen/X86/version_directive.ll
file modified
+1 -0
test/CodeGen/X86/x86-32-intrcc.ll
file modified
+16 -16
test/CodeGen/X86/x86-64-intrcc.ll
file modified
+26 -25
test/CodeGen/X86/x86-no_caller_saved_registers-preserve.ll
file added
+54
test/CodeGen/X86/x86-no_caller_saved_registers.ll
file added
+31
test/DebugInfo/Inputs/dwarfdump-header.elf-x86-64
file modified
+0 -0
test/DebugInfo/Inputs/dwarfdump-header.s
file modified
+111 -3
test/DebugInfo/dwarfdump-header.test
file modified
+33 -3
test/Feature/intrinsics.ll
file modified
+1 -1
test/MC/AArch64/arm32-large-relocs.s
file removed
-31
test/MC/AArch64/arm32-tls-relocs.s
file removed
-290
test/MC/AArch64/elf-reloc-pcreladdressing-ilp32.s
file removed
-17
test/MC/AArch64/lp64-diagnostics.s
file removed
-13
test/MC/Disassembler/X86/x86-32.txt
file modified
+18 -0
test/MC/Disassembler/X86/x86-64.txt
file modified
+24 -0
test/MC/Hexagon/PacketRules/endloop_branches.s
file added
+12
test/MC/Hexagon/PacketRules/restrict_ax.s
file added
+4
test/MC/Hexagon/dealloc-return-jump.s
file added
+7
test/MC/Hexagon/endloop.s
file removed
-19
test/MC/Hexagon/iconst.s
file modified
+1 -1
test/MC/Hexagon/plt-rel.s
file added
+13
test/MC/Hexagon/solo-axok.s
file added
+9
test/MC/X86/lwp-x86_64.s
file added
+25
test/MC/X86/lwp.s
file added
+32
test/Transforms/BBVectorize/simple-int.ll
file modified
+1 -1
test/Transforms/CodeExtractor/PartialInlineOptRemark.ll
file modified
+19 -0
test/Transforms/DeadArgElim/2010-04-30-DbgInfo.ll
file modified
+1 -1
test/Transforms/FunctionAttrs/readattrs.ll
file modified
+5 -4
test/Transforms/FunctionImport/unnamed-globals.ll
file removed
-10
test/Transforms/GVN/2016-08-30-MaskedScatterGather.ll
file modified
+8 -8
test/Transforms/InstCombine/intrinsics.ll
file modified
+2 -2
test/Transforms/InstCombine/masked_intrinsics.ll
file modified
+4 -4
test/Transforms/InstCombine/pow-sqrt.ll
file modified
+6 -3
test/Transforms/InstCombine/sub-xor.ll
file modified
+1 -1
test/Transforms/LoopDeletion/unreachable-loops.ll
file added
+336
test/Transforms/LoopVectorize/X86/consecutive-ptr-uniforms.ll
file modified
+1 -1
test/Transforms/LoopVectorize/X86/gather_scatter.ll
file modified
+198 -8
test/Transforms/LoopVectorize/X86/scatter_crash.ll
file modified
+2 -2
test/Transforms/NewGVN/2016-08-30-MaskedScatterGather.ll
file modified
+8 -8
test/Transforms/ObjCARC/basic.ll
file modified
+1 -1
test/Transforms/ObjCARC/ensure-that-exception-unwind-path-is-visited.ll
file modified
+1 -1
test/Transforms/SLPVectorizer/X86/call.ll
file modified
+1 -1
test/Transforms/SpeculativeExecution/spec-other.ll
file added
+32
test/Transforms/SpeculativeExecution/spec-vector.ll
file added
+73
test/Verifier/scatter_gather.ll
file added
+122
tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp
file modified
+1 -1
tools/llvm-pdbdump/Diff.cpp
file modified
+21 -7
tools/llvm-pdbdump/LLVMOutputStyle.cpp
file modified
+16 -10
tools/llvm-pdbdump/YAMLOutputStyle.cpp
file modified
+6 -3
tools/llvm-pdbdump/llvm-pdbdump.cpp
file modified
+14 -41
tools/llvm-readobj/COFFDumper.cpp
file modified
+39 -41
tools/llvm-readobj/llvm-readobj.h
file modified
+5 -0
tools/llvm-shlib/CMakeLists.txt
file modified
+4 -0
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
file modified
+293 -59
unittests/DebugInfo/PDB/ErrorChecking.h
file modified
+12 -0
unittests/DebugInfo/PDB/StringTableBuilderTest.cpp
file modified
+13 -12
unittests/ExecutionEngine/Orc/IndirectionUtilsTest.cpp
file modified
+9 -11
unittests/IR/AttributesTest.cpp
file modified
+1 -1
unittests/Support/BinaryStreamTest.cpp
file modified
+7 -7
utils/TableGen/IntrinsicEmitter.cpp
file modified
+14 -7
utils/lit/lit/main.py
file modified
+5 -1
utils/lit/lit/run.py
file modified
+20 -10
    Vendor import of llvm trunk r302069:
    https://llvm.org/svn/llvm-project/llvm/trunk@302069
    
        
file modified
+2 -0
file modified
+10 -10
file modified
+69 -66
include/llvm/DebugInfo/PDB/Native/PDBStringTable.h include/llvm/DebugInfo/PDB/Native/StringTable.h
file renamed
+24 -16
include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h include/llvm/DebugInfo/PDB/Native/StringTableBuilder.h
file renamed
+24 -9
file modified
+11 -12
file modified
+11 -5
file modified
+16 -31
file modified
+18 -10
file modified
+22 -4
file modified
+22 -19
file modified
+1 -1
lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp lib/DebugInfo/PDB/Native/StringTableBuilder.cpp
file renamed
+68 -43
file modified
+19 -28
file modified
+24 -1
file modified
+35 -28
file modified
+6 -2
file modified
+24 -8
file modified
+2 -2
file modified
+4 -0
file modified
+144 -145
file modified
+10 -0
file modified
+1 -0
file modified
+3 -1
file modified
+1 -0
file modified
+6 -0
test/CodeGen/AMDGPU/promote-alloca-calling-conv.ll test/CodeGen/AMDGPU/promote-alloca-shaders.ll
file renamed
file modified
+0 -2
file modified
+2 -2
file modified
+1 -1
file modified
+1 -1
file added
+32
file modified
+21 -7
file modified
+5 -1
file modified
+20 -10