ee2f195 Vendor import of llvm trunk r304222:

Authored and Committed by Dimitry Andric 7 years ago
163 files changed. 16569 lines added. 1355 lines removed.
docs/Proposals/VectorizationPlan.rst
file added
+182
docs/Vectorizers.rst
file modified
+11 -0
docs/index.rst
file modified
+3 -0
include/llvm/Analysis/ScalarEvolution.h
file modified
+1 -2
include/llvm/CodeGen/DIE.h
file modified
+2 -2
include/llvm/DebugInfo/CodeView/CodeView.h
file modified
+21 -1
include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.hinclude/llvm/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.h
file renamed
+20 -17
include/llvm/DebugInfo/CodeView/DebugFrameDataSubsection.h
file added
+59
include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.hinclude/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h
file renamed
+18 -19
include/llvm/DebugInfo/CodeView/DebugLinesSubsection.hinclude/llvm/DebugInfo/CodeView/ModuleDebugLineFragment.h
file renamed
+16 -16
include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.hinclude/llvm/DebugInfo/CodeView/StringTable.h
file renamed
+25 -14
include/llvm/DebugInfo/CodeView/DebugSubsection.hinclude/llvm/DebugInfo/CodeView/ModuleDebugFragment.h
file renamed
+17 -13
include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.hinclude/llvm/DebugInfo/CodeView/ModuleDebugFragmentRecord.h
file renamed
+18 -21
include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.hinclude/llvm/DebugInfo/CodeView/ModuleDebugFragmentVisitor.h
file renamed
+16 -18
include/llvm/DebugInfo/CodeView/DebugSymbolsSubsection.h
file added
+53
include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.hinclude/llvm/DebugInfo/CodeView/ModuleDebugUnknownFragment.h
file renamed
+5 -6
include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h
file modified
+2 -2
include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h
file modified
+11 -12
include/llvm/DebugInfo/PDB/Native/DbiStream.h
file modified
+1 -3
include/llvm/DebugInfo/PDB/Native/ModuleDebugStream.h
file modified
+3 -4
include/llvm/DebugInfo/PDB/Native/PDBStringTable.h
file modified
+2 -2
include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h
file modified
+6 -4
include/llvm/MC/ConstantPools.h
file modified
+2 -1
include/llvm/Support/ManagedStatic.h
file modified
+9 -11
include/llvm/TableGen/Record.h
file modified
+9 -9
include/llvm/Transforms/Scalar/GVNExpression.h
file modified
+10 -1
lib/Analysis/ScalarEvolution.cpp
file modified
+3 -4
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
file modified
+8 -9
lib/CodeGen/AsmPrinter/CodeViewDebug.h
file modified
+1 -1
lib/CodeGen/GlobalISel/Localizer.cpp
file modified
+1 -1
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
file modified
+2 -1
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
file modified
+0 -5
lib/CodeGen/TargetLoweringBase.cpp
file modified
+1 -0
lib/DebugInfo/CodeView/CMakeLists.txt
file modified
+9 -7
lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpplib/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.cpp
file renamed
+17 -16
lib/DebugInfo/CodeView/DebugFrameDataSubsection.cpp
file added
+44
lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpplib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp
file renamed
+19 -19
lib/DebugInfo/CodeView/DebugLinesSubsection.cpplib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp
file renamed
+25 -27
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpplib/DebugInfo/CodeView/StringTable.cpp
file renamed
+17 -10
lib/DebugInfo/CodeView/DebugSubsection.cpplib/DebugInfo/CodeView/ModuleDebugFragment.cpp
file renamed
+4 -4
lib/DebugInfo/CodeView/DebugSubsectionRecord.cpplib/DebugInfo/CodeView/ModuleDebugFragmentRecord.cpp
file renamed
+27 -30
lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpplib/DebugInfo/CodeView/ModuleDebugFragmentVisitor.cpp
file renamed
+16 -16
lib/DebugInfo/CodeView/DebugSymbolsSubsection.cpp
file added
+34
lib/DebugInfo/CodeView/EnumTables.cpp
file modified
+14 -14
lib/DebugInfo/CodeView/SymbolDumper.cpp
file modified
+3 -3
lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp
file modified
+9 -9
lib/MC/MCCodeView.cpp
file modified
+3 -3
lib/Support/APFloat.cpp
file modified
+2 -0
lib/Support/Timer.cpp
file modified
+9 -4
lib/TableGen/Record.cpp
file modified
+11 -17
lib/Target/AArch64/AArch64FrameLowering.cpp
file modified
+30 -5
lib/Target/AArch64/AArch64ISelLowering.cpp
file modified
+0 -3
lib/Target/AMDGPU/AMDGPUSubtarget.h
file modified
+1 -1
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
file modified
+3 -0
lib/Target/AMDGPU/SIFoldOperands.cpp
file modified
+4 -3
lib/Target/AMDGPU/SIPeepholeSDWA.cpp
file modified
+35 -14
lib/Target/ARM/ARMISelLowering.cpp
file modified
+0 -4
lib/Target/Hexagon/HexagonISelLowering.cpp
file modified
+1 -1
lib/Target/Mips/AsmParser/MipsAsmParser.cpp
file modified
+348 -39
lib/Target/Mips/MipsISelLowering.cpp
file modified
+0 -1
lib/Target/Mips/MipsInstrFPU.td
file modified
+23 -0
lib/Target/Mips/MipsRegisterInfo.td
file modified
+27 -0
lib/Target/PowerPC/PPCISelLowering.cpp
file modified
+0 -3
lib/Target/SystemZ/SystemZ.td
file modified
+2 -0
lib/Target/SystemZ/SystemZFeatures.td
file modified
+13 -1
lib/Target/SystemZ/SystemZISelLowering.cpp
file modified
+41 -19
lib/Target/SystemZ/SystemZInstrDFP.td
file added
+231
lib/Target/SystemZ/SystemZInstrFP.td
file modified
+10 -9
lib/Target/SystemZ/SystemZInstrFormats.td
file modified
+88 -9
lib/Target/SystemZ/SystemZInstrHFP.td
file added
+240
lib/Target/SystemZ/SystemZScheduleZ13.td
file modified
+232 -0
lib/Target/SystemZ/SystemZScheduleZ196.td
file modified
+219 -0
lib/Target/SystemZ/SystemZScheduleZEC12.td
file modified
+225 -0
lib/Target/SystemZ/SystemZSubtarget.cpp
file modified
+2 -0
lib/Target/SystemZ/SystemZSubtarget.h
file modified
+8 -0
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp
file modified
+2 -2
lib/Target/X86/X86ISelLowering.cpp
file modified
+79 -2
lib/Transforms/Scalar/NewGVN.cpp
file modified
+20 -35
lib/Transforms/Vectorize/LoopVectorize.cpp
file modified
+6 -15
test/CodeGen/AArch64/reg-scavenge-frame.mir
file added
+52
test/CodeGen/AMDGPU/add.v2i16.ll
file modified
+15 -15
test/CodeGen/AMDGPU/bfe-combine.ll
file modified
+9 -1
test/CodeGen/AMDGPU/commute-compares.ll
file modified
+1 -1
test/CodeGen/AMDGPU/commute_modifiers.ll
file modified
+1 -1
test/CodeGen/AMDGPU/copy-illegal-type.ll
file modified
+1 -1
test/CodeGen/AMDGPU/cvt_f32_ubyte.ll
file modified
+0 -1
test/CodeGen/AMDGPU/fabs.f64.ll
file modified
+2 -2
test/CodeGen/AMDGPU/fabs.ll
file modified
+2 -2
test/CodeGen/AMDGPU/fadd.f16.ll
file modified
+9 -9
test/CodeGen/AMDGPU/fadd64.ll
file modified
+1 -1
test/CodeGen/AMDGPU/fcanonicalize.f16.ll
file modified
+11 -10
test/CodeGen/AMDGPU/fmul.f16.ll
file modified
+10 -8
test/CodeGen/AMDGPU/fneg-fabs.f16.ll
file modified
+12 -5
test/CodeGen/AMDGPU/fneg-fabs.f64.ll
file modified
+2 -2
test/CodeGen/AMDGPU/fneg-fabs.ll
file modified
+2 -2
test/CodeGen/AMDGPU/fneg.f16.ll
file modified
+5 -3
test/CodeGen/AMDGPU/fract.f64.ll
file modified
+3 -3
test/CodeGen/AMDGPU/fsub.f16.ll
file modified
+8 -10
test/CodeGen/AMDGPU/fsub64.ll
file modified
+1 -1
test/CodeGen/AMDGPU/immv216.ll
file modified
+37 -20
test/CodeGen/AMDGPU/insert_vector_elt.v2i16.ll
file modified
+22 -10
test/CodeGen/AMDGPU/llvm.amdgcn.div.fixup.f16.ll
file modified
+3 -3
test/CodeGen/AMDGPU/llvm.amdgcn.div.fmas.ll
file modified
+1 -1
test/CodeGen/AMDGPU/llvm.amdgcn.fcmp.ll
file modified
+2 -2
test/CodeGen/AMDGPU/llvm.amdgcn.fmul.legacy.ll
file modified
+1 -1
test/CodeGen/AMDGPU/llvm.amdgcn.s.barrier.ll
file modified
+1 -2
test/CodeGen/AMDGPU/llvm.fma.f16.ll
file modified
+3 -3
test/CodeGen/AMDGPU/llvm.fmuladd.f16.ll
file modified
+2 -2
test/CodeGen/AMDGPU/llvm.maxnum.f16.ll
file modified
+10 -8
test/CodeGen/AMDGPU/llvm.minnum.f16.ll
file modified
+9 -8
test/CodeGen/AMDGPU/mad24-get-global-id.ll
file modified
+1 -1
test/CodeGen/AMDGPU/madak.ll
file modified
+2 -2
test/CodeGen/AMDGPU/madmk.ll
file modified
+2 -2
test/CodeGen/AMDGPU/mul.ll
file modified
+4 -4
test/CodeGen/AMDGPU/scratch-simple.ll
file modified
+2 -4
test/CodeGen/AMDGPU/sdiv.ll
file modified
+1 -1
test/CodeGen/AMDGPU/sdwa-peephole.ll
file modified
+4 -1
test/CodeGen/AMDGPU/sdwa-scalar-ops.mir
file added
+410
test/CodeGen/AMDGPU/select.f16.ll
file modified
+6 -6
test/CodeGen/AMDGPU/shift-and-i128-ubfe.ll
file modified
+12 -9
test/CodeGen/AMDGPU/shift-and-i64-ubfe.ll
file modified
+26 -17
test/CodeGen/AMDGPU/sminmax.v2i16.ll
file modified
+3 -2
test/CodeGen/AMDGPU/srem.ll
file modified
+1 -1
test/CodeGen/AMDGPU/sub.v2i16.ll
file modified
+15 -15
test/CodeGen/AMDGPU/udiv.ll
file modified
+3 -3
test/CodeGen/AMDGPU/urem.ll
file modified
+1 -1
test/CodeGen/AMDGPU/use-sgpr-multiple-times.ll
file modified
+6 -6
test/CodeGen/AMDGPU/v_mac_f16.ll
file modified
+7 -4
test/CodeGen/AMDGPU/wqm.ll
file modified
+1 -1
test/CodeGen/WebAssembly/negative-base-reg.ll
file modified
+1 -1
test/CodeGen/X86/bitcast-and-setcc-128.ll
file added
+1155
test/CodeGen/X86/bitcast-and-setcc-256.ll
file added
+403
test/CodeGen/X86/mul-constant-i16.ll
file modified
+111 -30
test/CodeGen/X86/mul-constant-i32.ll
file modified
+1416 -173
test/CodeGen/X86/mul-constant-i64.ll
file modified
+1455 -157
test/CodeGen/X86/setcc-lowering.ll
file modified
+62 -3
test/CodeGen/X86/vector-sext.ll
file modified
+56 -0
test/CodeGen/X86/xchg-nofold.ll
file added
+37
test/MC/AArch64/ldr-pseudo.s
file modified
+12 -0
test/MC/Disassembler/SystemZ/insns-z13.txt
file modified
+108 -0
test/MC/Disassembler/SystemZ/insns.txt
file modified
+3218 -42
test/MC/Mips/macro-li.d.s
file added
+443
test/MC/Mips/macro-li.s.s
file added
+198
test/MC/SystemZ/insn-bad-z13.s
file modified
+146 -0
test/MC/SystemZ/insn-bad-z196.s
file modified
+368 -0
test/MC/SystemZ/insn-bad-zEC12.s
file modified
+166 -0
test/MC/SystemZ/insn-bad.s
file modified
+998 -0
test/MC/SystemZ/insn-good-z13.s
file modified
+80 -0
test/MC/SystemZ/insn-good-z196.s
file modified
+336 -0
test/MC/SystemZ/insn-good-zEC12.s
file modified
+80 -0
test/MC/SystemZ/insn-good.s
file modified
+2135 -0
test/Transforms/LoopVectorize/AArch64/no_vector_instructions.ll
file removed
-26
tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp
file modified
+7 -7
tools/llvm-pdbdump/C13DebugFragmentVisitor.h
file modified
+11 -11
tools/llvm-pdbdump/LLVMOutputStyle.cpp
file modified
+7 -7
tools/llvm-pdbdump/YAMLOutputStyle.cpp
file modified
+8 -8
tools/llvm-pdbdump/llvm-pdbdump.cpp
file modified
+6 -7
tools/llvm-readobj/COFFDumper.cpp
file modified
+56 -57
tools/llvm-readobj/CodeView.h
file removed
-54
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
file modified
+4 -8
unittests/Support/ManagedStatic.cpp
file modified
+41 -0
utils/TableGen/GlobalISelEmitter.cpp
file modified
+1 -1
utils/TableGen/X86FoldTablesEmitter.cpp
file modified
+8 -1
    Vendor import of llvm trunk r304222:
    https://llvm.org/svn/llvm-project/llvm/trunk@304222
    
        
file modified
+11 -0
file modified
+3 -0
file modified
+2 -2
include/llvm/DebugInfo/CodeView/DebugChecksumsSubsection.h include/llvm/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.h
file renamed
+20 -17
include/llvm/DebugInfo/CodeView/DebugInlineeLinesSubsection.h include/llvm/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.h
file renamed
+18 -19
include/llvm/DebugInfo/CodeView/DebugLinesSubsection.h include/llvm/DebugInfo/CodeView/ModuleDebugLineFragment.h
file renamed
+16 -16
include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h include/llvm/DebugInfo/CodeView/StringTable.h
file renamed
+25 -14
include/llvm/DebugInfo/CodeView/DebugSubsection.h include/llvm/DebugInfo/CodeView/ModuleDebugFragment.h
file renamed
+17 -13
include/llvm/DebugInfo/CodeView/DebugSubsectionRecord.h include/llvm/DebugInfo/CodeView/ModuleDebugFragmentRecord.h
file renamed
+18 -21
include/llvm/DebugInfo/CodeView/DebugSubsectionVisitor.h include/llvm/DebugInfo/CodeView/ModuleDebugFragmentVisitor.h
file renamed
+16 -18
include/llvm/DebugInfo/CodeView/DebugUnknownSubsection.h include/llvm/DebugInfo/CodeView/ModuleDebugUnknownFragment.h
file renamed
+5 -6
lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp lib/DebugInfo/CodeView/ModuleDebugFileChecksumFragment.cpp
file renamed
+17 -16
lib/DebugInfo/CodeView/DebugInlineeLinesSubsection.cpp lib/DebugInfo/CodeView/ModuleDebugInlineeLinesFragment.cpp
file renamed
+19 -19
lib/DebugInfo/CodeView/DebugLinesSubsection.cpp lib/DebugInfo/CodeView/ModuleDebugLineFragment.cpp
file renamed
+25 -27
lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp lib/DebugInfo/CodeView/StringTable.cpp
file renamed
+17 -10
lib/DebugInfo/CodeView/DebugSubsection.cpp lib/DebugInfo/CodeView/ModuleDebugFragment.cpp
file renamed
+4 -4
lib/DebugInfo/CodeView/DebugSubsectionRecord.cpp lib/DebugInfo/CodeView/ModuleDebugFragmentRecord.cpp
file renamed
+27 -30
lib/DebugInfo/CodeView/DebugSubsectionVisitor.cpp lib/DebugInfo/CodeView/ModuleDebugFragmentVisitor.cpp
file renamed
+16 -16
file modified
+3 -3
file modified
+2 -0
file modified
+9 -4
file modified
+11 -17
file modified
+2 -2
file modified
+37 -20
file modified
+2 -2
file modified
+2 -2
file modified
+4 -4
file modified
+1 -1
file modified
+1 -1
file modified
+3 -3
file modified
+1 -1
file modified
+1 -1
file modified
+12 -0
file modified
+146 -0
file modified
+368 -0
file modified
+998 -0
file modified
+2135 -0