581a6d8 Vendor import of llvm release_40 branch r292009:

Authored and Committed by Dimitry Andric 7 years ago
484 files changed. 41208 lines added. 8497 lines removed.
CMakeLists.txt
file modified
+1 -1
LICENSE.TXT
file modified
+1 -1
cmake/modules/AddLLVM.cmake
file modified
+1 -0
cmake/modules/CheckLinkerFlag.cmake
file added
+8
cmake/modules/HandleLLVMOptions.cmake
file modified
+8 -0
docs/LangRef.rst
file modified
+3 -2
docs/ReleaseNotes.rst
file modified
+3 -5
include/llvm/ADT/PointerSumType.h
file modified
+1 -1
include/llvm/ADT/iterator.h
file modified
+26 -0
include/llvm/Analysis/AssumptionCache.h
file modified
+41 -0
include/llvm/Analysis/IVUsers.h
file modified
+3 -10
include/llvm/Analysis/LazyCallGraph.h
file modified
+1 -1
include/llvm/Analysis/LoopAccessAnalysis.h
file modified
+2 -12
include/llvm/Analysis/LoopAnalysisManager.h
file added
+155
include/llvm/Analysis/LoopInfo.h
file modified
+2 -11
include/llvm/Analysis/LoopPassManager.h
file removed
-149
include/llvm/Analysis/MemoryDependenceAnalysis.h
file modified
+7 -3
include/llvm/Analysis/TargetTransformInfo.h
file modified
+15 -4
include/llvm/Analysis/TargetTransformInfoImpl.h
file modified
+59 -1
include/llvm/Analysis/ValueTracking.h
file modified
+6 -2
include/llvm/CodeGen/BasicTTIImpl.h
file modified
+2 -1
include/llvm/CodeGen/DIE.h
file modified
+13 -1
include/llvm/CodeGen/GlobalISel/RegBankSelect.h
file modified
+14 -0
include/llvm/CodeGen/GlobalISel/RegisterBank.h
file modified
+2 -5
include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
file modified
+0 -29
include/llvm/CodeGen/ISDOpcodes.h
file modified
+0 -28
include/llvm/CodeGen/SelectionDAG.h
file modified
+0 -6
include/llvm/CodeGen/SelectionDAGNodes.h
file modified
+3 -23
include/llvm/DebugInfo/CodeView/CVTypeDumper.h
file added
+56
include/llvm/DebugInfo/CodeView/SymbolDumper.h
file modified
+4 -4
include/llvm/DebugInfo/CodeView/TypeDatabase.h
file added
+55
include/llvm/DebugInfo/CodeView/TypeDatabaseVisitor.h
file added
+53
include/llvm/DebugInfo/CodeView/TypeDumpVisitor.hinclude/llvm/DebugInfo/CodeView/TypeDumper.h
file renamed
+10 -51
include/llvm/DebugInfo/CodeView/TypeDumperBase.h
file added
+0
include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h
file modified
+20 -9
include/llvm/DebugInfo/DWARF/DWARFDie.h
file modified
+0 -74
include/llvm/DebugInfo/DWARF/DWARFFormValue.h
file modified
+3 -0
include/llvm/DebugInfo/MSF/StreamArray.h
file modified
+16 -22
include/llvm/IR/DIBuilder.h
file modified
+27 -0
include/llvm/IR/DebugInfoMetadata.h
file modified
+12 -13
include/llvm/IR/GlobalObject.h
file modified
+30 -6
include/llvm/IR/Intrinsics.td
file modified
+2 -25
include/llvm/IR/IntrinsicsAArch64.td
file modified
+0 -6
include/llvm/IR/IntrinsicsARM.td
file modified
+0 -5
include/llvm/IR/ModuleSummaryIndex.h
file modified
+3 -3
include/llvm/IR/ModuleSummaryIndexYAML.h
file modified
+1 -1
include/llvm/Object/Decompressor.h
file added
+64
include/llvm/ObjectYAML/DWARFYAML.h
file modified
+73 -0
include/llvm/ObjectYAML/MachOYAML.h
file modified
+0 -1
include/llvm/Passes/PassBuilder.h
file modified
+1 -1
include/llvm/ProfileData/InstrProf.h
file modified
+9 -0
include/llvm/Support/CommandLine.h
file modified
+1 -1
include/llvm/Support/Dwarf.h
file modified
+1 -1
include/llvm/Support/FileOutputBuffer.h
file modified
+2 -1
include/llvm/Support/GenericDomTree.h
file modified
+34 -3
include/llvm/Target/TargetLowering.h
file modified
+86 -68
include/llvm/Target/TargetMachine.h
file modified
+9 -18
include/llvm/Target/TargetSelectionDAG.td
file modified
+0 -51
include/llvm/Target/TargetSubtargetInfo.h
file modified
+10 -10
include/llvm/Transforms/Scalar/IVUsersPrinter.h
file added
+30
include/llvm/Transforms/Scalar/IndVarSimplify.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LICM.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h
file added
+31
include/llvm/Transforms/Scalar/LoopDeletion.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopIdiomRecognize.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopInstSimplify.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopPassManager.h
file added
+363
include/llvm/Transforms/Scalar/LoopRotation.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopSimplifyCFG.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopStrengthReduce.h
file modified
+3 -2
include/llvm/Transforms/Scalar/LoopUnrollPass.h
file modified
+3 -2
include/llvm/Transforms/Utils/LoopUtils.h
file modified
+15 -10
include/llvm/Transforms/Utils/UnrollLoop.h
file modified
+6 -0
include/llvm/Transforms/Vectorize/LoopVectorize.h
file modified
+1 -1
include/llvm/XRay/Trace.h
file added
+71
include/llvm/XRay/XRayRecord.h
file added
+76
include/llvm/XRay/YAMLXRayRecord.h
file added
+99
lib/Analysis/AssumptionCache.cpp
file modified
+109 -0
lib/Analysis/CMakeLists.txt
file modified
+1 -1
lib/Analysis/CostModel.cpp
file modified
+4 -1
lib/Analysis/IVUsers.cpp
file modified
+4 -15
lib/Analysis/InlineCost.cpp
file modified
+19 -22
lib/Analysis/InstructionSimplify.cpp
file modified
+52 -28
lib/Analysis/LazyValueInfo.cpp
file modified
+1 -1
lib/Analysis/LoopAccessAnalysis.cpp
file modified
+8 -34
lib/Analysis/LoopAnalysisManager.cpp
file added
+160
lib/Analysis/LoopInfo.cpp
file modified
+1 -6
lib/Analysis/LoopPass.cpp
file modified
+6 -6
lib/Analysis/LoopPassManager.cpp
file removed
-59
lib/Analysis/MemoryDependenceAnalysis.cpp
file modified
+57 -10
lib/Analysis/ScalarEvolution.cpp
file modified
+27 -18
lib/Analysis/TargetTransformInfo.cpp
file modified
+3 -2
lib/Analysis/ValueTracking.cpp
file modified
+55 -21
lib/CMakeLists.txt
file modified
+1 -0
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
file modified
+7 -4
lib/CodeGen/AsmPrinter/DIE.cpp
file modified
+15 -1
lib/CodeGen/AsmPrinter/DwarfUnit.cpp
file modified
+2 -0
lib/CodeGen/GlobalISel/RegBankSelect.cpp
file modified
+32 -7
lib/CodeGen/GlobalISel/RegisterBank.cpp
file modified
+6 -3
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
file modified
+4 -105
lib/CodeGen/MachineInstr.cpp
file modified
+2 -1
lib/CodeGen/PeepholeOptimizer.cpp
file modified
+10 -1
lib/CodeGen/ScheduleDAG.cpp
file modified
+9 -9
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
file modified
+10 -17
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
file modified
+10 -30
lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp
file modified
+1 -29
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
file modified
+0 -16
lib/CodeGen/SelectionDAG/LegalizeTypes.h
file modified
+0 -5
lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp
file modified
+3 -110
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h
file modified
+16 -3
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
file modified
+2 -27
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
file modified
+0 -33
lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp
file modified
+1 -16
lib/CodeGen/SelectionDAG/TargetLowering.cpp
file modified
+44 -1
lib/DebugInfo/CodeView/CMakeLists.txt
file modified
+4 -1
lib/DebugInfo/CodeView/CVTypeDumper.cpp
file added
+73
lib/DebugInfo/CodeView/SymbolDumper.cpp
file modified
+23 -18
lib/DebugInfo/CodeView/TypeDatabase.cpp
file added
+114
lib/DebugInfo/CodeView/TypeDatabaseVisitor.cpp
file added
+289
lib/DebugInfo/CodeView/TypeDumpVisitor.cpplib/DebugInfo/CodeView/TypeDumper.cpp
file renamed
+72 -312
lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp
file modified
+28 -7
lib/DebugInfo/DWARF/DWARFContext.cpp
file modified
+12 -66
lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp
file modified
+1 -1
lib/DebugInfo/DWARF/DWARFDie.cpp
file modified
+4 -41
lib/DebugInfo/DWARF/DWARFFormValue.cpp
file modified
+3 -1
lib/DebugInfo/DWARF/DWARFUnit.cpp
file modified
+6 -4
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
file modified
+3 -0
lib/IR/AutoUpgrade.cpp
file modified
+10 -0
lib/IR/DIBuilder.cpp
file modified
+44 -0
lib/IR/Globals.cpp
file modified
+22 -4
lib/IR/LLVMContextImpl.h
file modified
+7 -0
lib/LTO/LTOBackend.cpp
file modified
+1 -1
lib/LTO/ThinLTOCodeGenerator.cpp
file modified
+34 -2
lib/Object/CMakeLists.txt
file modified
+1 -0
lib/Object/Decompressor.cpp
file added
+102
lib/ObjectYAML/DWARFYAML.cpp
file modified
+57 -10
lib/Passes/PassBuilder.cpp
file modified
+11 -3
lib/ProfileData/InstrProf.cpp
file modified
+43 -0
lib/Support/FileOutputBuffer.cpp
file modified
+44 -22
lib/Support/Host.cpp
file modified
+19 -0
lib/Support/TarWriter.cpp
file modified
+11 -6
lib/Target/AArch64/AArch64GenRegisterBankInfo.def
file modified
+126 -3
lib/Target/AArch64/AArch64ISelLowering.cpp
file modified
+2 -0
lib/Target/AArch64/AArch64InstrInfo.td
file modified
+1 -4
lib/Target/AArch64/AArch64RegisterBankInfo.cpp
file modified
+14 -19
lib/Target/AArch64/AArch64TargetTransformInfo.cpp
file modified
+12 -13
lib/Target/AArch64/AArch64TargetTransformInfo.h
file modified
+2 -1
lib/Target/AMDGPU/AMDGPUISelLowering.cpp
file modified
+236 -0
lib/Target/AMDGPU/AMDGPUISelLowering.h
file modified
+1 -0
lib/Target/AMDGPU/AMDGPUInstructions.td
file modified
+2 -1
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp
file modified
+1 -1
lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h
file modified
+2 -1
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
file modified
+87 -29
lib/Target/AMDGPU/EvergreenInstructions.td
file modified
+3 -1
lib/Target/AMDGPU/SIFoldOperands.cpp
file modified
+257 -142
lib/Target/AMDGPU/SIInstrInfo.td
file modified
+39 -3
lib/Target/AMDGPU/SIInstructions.td
file modified
+5 -0
lib/Target/AMDGPU/SIShrinkInstructions.cpp
file modified
+32 -4
lib/Target/AMDGPU/VOP1Instructions.td
file modified
+1 -1
lib/Target/AMDGPU/VOP2Instructions.td
file modified
+4 -4
lib/Target/AMDGPU/VOPCInstructions.td
file modified
+2 -2
lib/Target/ARM/ARMISelLowering.cpp
file modified
+163 -35
lib/Target/ARM/ARMISelLowering.h
file modified
+30 -11
lib/Target/ARM/ARMRegisterBankInfo.cpp
file modified
+29 -6
lib/Target/ARM/ARMTargetTransformInfo.cpp
file modified
+2 -1
lib/Target/ARM/ARMTargetTransformInfo.h
file modified
+2 -1
lib/Target/Lanai/LanaiTargetTransformInfo.h
file modified
+2 -1
lib/Target/Mips/MipsSEISelLowering.cpp
file modified
+143 -19
lib/Target/NVPTX/ManagedStringPool.h
file modified
+4 -3
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
file modified
+91 -61
lib/Target/NVPTX/NVPTXAsmPrinter.h
file modified
+41 -17
lib/Target/NVPTX/NVPTXISelLowering.cpp
file modified
+66 -52
lib/Target/NVPTX/NVPTXInstrInfo.td
file modified
+1 -1
lib/Target/NVPTX/NVPTXSection.h
file modified
+6 -4
lib/Target/NVPTX/NVPTXTargetMachine.cpp
file modified
+14 -23
lib/Target/NVPTX/NVPTXTargetObjectFile.h
file modified
+4 -6
lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp
file modified
+1 -1
lib/Target/NVPTX/NVPTXTargetTransformInfo.h
file modified
+2 -1
lib/Target/PowerPC/PPCTargetTransformInfo.cpp
file modified
+1 -1
lib/Target/PowerPC/PPCTargetTransformInfo.h
file modified
+2 -1
lib/Target/SystemZ/SystemZISelLowering.cpp
file modified
+20 -2
lib/Target/TargetMachine.cpp
file modified
+6 -3
lib/Target/WebAssembly/WebAssemblyFastISel.cpp
file modified
+3 -0
lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp
file modified
+12 -5
lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp
file modified
+1 -1
lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h
file modified
+2 -1
lib/Target/X86/X86.td
file modified
+39 -2
lib/Target/X86/X86ISelDAGToDAG.cpp
file modified
+0 -10
lib/Target/X86/X86ISelLowering.cpp
file modified
+306 -81
lib/Target/X86/X86InstrAVX512.td
file modified
+39 -0
lib/Target/X86/X86InstrSSE.td
file modified
+73 -1
lib/Target/X86/X86Subtarget.h
file modified
+1 -1
lib/Target/X86/X86TargetTransformInfo.cpp
file modified
+54 -3
lib/Target/X86/X86TargetTransformInfo.h
file modified
+2 -1
lib/Transforms/IPO/LowerTypeTests.cpp
file modified
+15 -15
lib/Transforms/InstCombine/InstCombineAddSub.cpp
file modified
+3 -9
lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
file modified
+6 -22
lib/Transforms/InstCombine/InstCombineCalls.cpp
file modified
+9 -10
lib/Transforms/InstCombine/InstCombineInternal.h
file modified
+13 -6
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
file modified
+17 -24
lib/Transforms/InstCombine/InstCombinePHI.cpp
file modified
+1 -1
lib/Transforms/InstCombine/InstCombineShifts.cpp
file modified
+2 -7
lib/Transforms/InstCombine/InstructionCombining.cpp
file modified
+13 -7
lib/Transforms/Instrumentation/AddressSanitizer.cpp
file modified
+3 -6
lib/Transforms/Instrumentation/InstrProfiling.cpp
file modified
+15 -1
lib/Transforms/Instrumentation/PGOInstrumentation.cpp
file modified
+13 -15
lib/Transforms/Scalar/CMakeLists.txt
file modified
+3 -0
lib/Transforms/Scalar/IVUsersPrinter.cpp
file added
+22
lib/Transforms/Scalar/IndVarSimplify.cpp
file modified
+8 -18
lib/Transforms/Scalar/LICM.cpp
file modified
+86 -38
lib/Transforms/Scalar/LoopAccessAnalysisPrinter.cpp
file added
+25
lib/Transforms/Scalar/LoopDeletion.cpp
file modified
+5 -10
lib/Transforms/Scalar/LoopDistribute.cpp
file modified
+10 -2
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
file modified
+5 -17
lib/Transforms/Scalar/LoopInstSimplify.cpp
file modified
+5 -15
lib/Transforms/Scalar/LoopPassManager.cpp
file added
+85
lib/Transforms/Scalar/LoopRotation.cpp
file modified
+7 -16
lib/Transforms/Scalar/LoopSimplifyCFG.cpp
file modified
+6 -12
lib/Transforms/Scalar/LoopSink.cpp
file modified
+4 -1
lib/Transforms/Scalar/LoopStrengthReduce.cpp
file modified
+9 -19
lib/Transforms/Scalar/LoopUnrollPass.cpp
file modified
+10 -28
lib/Transforms/Scalar/NewGVN.cpp
file modified
+96 -39
lib/Transforms/Scalar/StructurizeCFG.cpp
file modified
+1 -0
lib/Transforms/Utils/LoopUnroll.cpp
file modified
+33 -17
lib/Transforms/Utils/LoopUnrollRuntime.cpp
file modified
+5 -3
lib/Transforms/Utils/LoopUtils.cpp
file modified
+7 -2
lib/Transforms/Utils/SimplifyCFG.cpp
file modified
+4 -5
lib/Transforms/Utils/SimplifyLibCalls.cpp
file modified
+22 -1
lib/Transforms/Vectorize/LoopVectorize.cpp
file modified
+8 -6
lib/Transforms/Vectorize/SLPVectorizer.cpp
file modified
+0 -4
lib/XRay/CMakeLists.txt
file added
+13
lib/XRay/Trace.cpp
file added
+196
runtimes/CMakeLists.txt
file modified
+4 -0
test/Analysis/CostModel/AArch64/store.ll
file modified
+50 -8
test/Analysis/CostModel/X86/slm-arith-costs.ll
file added
+317
test/Analysis/CostModel/X86/strided-load-i16.ll
file modified
+113 -113
test/Analysis/CostModel/X86/strided-load-i32.ll
file modified
+110 -110
test/Analysis/CostModel/X86/strided-load-i64.ll
file modified
+81 -81
test/Analysis/CostModel/X86/strided-load-i8.ll
file modified
+117 -117
test/Analysis/CostModel/X86/vshift-ashr-cost.ll
file modified
+24 -3
test/Analysis/CostModel/X86/vshift-lshr-cost.ll
file modified
+22 -3
test/Analysis/CostModel/X86/vshift-shl-cost.ll
file modified
+20 -3
test/Analysis/ScalarEvolution/max-trip-count.ll
file modified
+81 -0
test/CodeGen/AArch64/arm64-neon-copy.ll
file modified
+6 -3
test/CodeGen/AArch64/arm64-nvcast.ll
file modified
+11 -7
test/CodeGen/AArch64/bitreverse.ll
file modified
+11 -24
test/CodeGen/AArch64/rbit.ll
file modified
+22 -0
test/CodeGen/AMDGPU/constant-fold-imm-immreg.mir
file added
+858
test/CodeGen/AMDGPU/fadd-fma-fmul-combine.ll
file added
+262
test/CodeGen/AMDGPU/fmul-2-combine-multi-use.ll
file modified
+6 -6
test/CodeGen/AMDGPU/fneg-combines.ll
file added
+1282
test/CodeGen/AMDGPU/fp16_to_fp.ll
file removed
-29
test/CodeGen/AMDGPU/fp16_to_fp32.ll
file added
+22
test/CodeGen/AMDGPU/fp16_to_fp64.ll
file added
+16
test/CodeGen/AMDGPU/fp32_to_fp16.ll
file modified
+11 -6
test/CodeGen/AMDGPU/insert_vector_elt.ll
file modified
+6 -2
test/CodeGen/AMDGPU/local-stack-slot-bug.ll
file modified
+5 -2
test/CodeGen/AMDGPU/mad-combine.ll
file modified
+8 -8
test/CodeGen/AMDGPU/select-fabs-fneg-extract-legacy.ll
file added
+46
test/CodeGen/AMDGPU/select-fabs-fneg-extract.ll
file added
+840
test/CodeGen/AMDGPU/select-opt.ll
file added
+161
test/CodeGen/AMDGPU/sext-in-reg.ll
file modified
+133 -0
test/CodeGen/AMDGPU/shrink-vop3-carry-out.mir
file added
+597
test/CodeGen/AMDGPU/v_mac.ll
file modified
+66 -0
test/CodeGen/ARM/fp16-promote.ll
file modified
+2 -2
test/CodeGen/ARM/fpcmp_ueq.ll
file modified
+5 -1
test/CodeGen/ARM/vdup.ll
file modified
+2 -1
test/CodeGen/ARM/vpadd.ll
file modified
+232 -16
test/CodeGen/ARM/vtrn.ll
file modified
+2 -2
test/CodeGen/Mips/llvm-ir/extractelement.ll
file modified
+2 -1
test/CodeGen/Mips/msa/immediates-bad.ll
file added
+1681
test/CodeGen/Mips/msa/immediates.ll
file added
+1276
test/CodeGen/Mips/msa/msa-nooddspreg.ll
file added
+55
test/CodeGen/NVPTX/fast-math.ll
file modified
+6 -11
test/CodeGen/PowerPC/change-no-infs.ll
file added
+67
test/CodeGen/PowerPC/variable_elem_vec_extracts.ll
file modified
+3 -3
test/CodeGen/WebAssembly/function-bitcasts.ll
file modified
+16 -0
test/CodeGen/X86/atom-bypass-slow-division-64.ll
file removed
-51
test/CodeGen/X86/atom-bypass-slow-division.ll
file removed
-112
test/CodeGen/X86/atomic-eflags-reuse.ll
file modified
+80 -0
test/CodeGen/X86/avx-cvt.ll
file modified
+22 -0
test/CodeGen/X86/avx-trunc.ll
file modified
+26 -0
test/CodeGen/X86/avx512-cvt.ll
file modified
+790 -598
test/CodeGen/X86/avx512-select.ll
file modified
+19 -0
test/CodeGen/X86/avx512-trunc.ll
file modified
+104 -6
test/CodeGen/X86/bypass-slow-division-32.ll
file added
+240
test/CodeGen/X86/bypass-slow-division-64.ll
file added
+78
test/CodeGen/X86/bypass-slow-division-tune.ll
file added
+55
test/CodeGen/X86/change-unsafe-fp-math.ll
file added
+56
test/CodeGen/X86/cmp.ll
file modified
+51 -1
test/CodeGen/X86/cpus.ll
file modified
+1 -0
test/CodeGen/X86/extractelement-index.ll
file modified
+16 -0
test/CodeGen/X86/extractelement-legalization-store-ordering.ll
file modified
+5 -5
test/CodeGen/X86/i64-mem-copy.ll
file modified
+2 -1
test/CodeGen/X86/implicit-null-checks.mir
file modified
+1 -1
test/CodeGen/X86/lzcnt-zext-cmp.ll
file modified
+2 -0
test/CodeGen/X86/peephole.mir
file added
+40
test/CodeGen/X86/slow-div.ll
file removed
-43
test/CodeGen/X86/slow-unaligned-mem.ll
file modified
+1 -0
test/CodeGen/X86/sse2-intrinsics-fast-isel.ll
file modified
+4 -9
test/CodeGen/X86/vec_ins_extract-1.ll
file modified
+16 -8
test/CodeGen/X86/vec_insert-4.ll
file modified
+4 -2
test/CodeGen/X86/vec_insert-8.ll
file modified
+11 -7
test/CodeGen/X86/vec_int_to_fp.ll
file modified
+60 -0
test/CodeGen/X86/vector-shift-ashr-128.ll
file modified
+112 -1
test/CodeGen/X86/vector-shift-ashr-256.ll
file modified
+199 -0
test/CodeGen/X86/vector-shift-ashr-512.ll
file modified
+91 -1032
test/CodeGen/X86/vector-shift-lshr-128.ll
file modified
+109 -0
test/CodeGen/X86/vector-shift-lshr-256.ll
file modified
+160 -0
test/CodeGen/X86/vector-shift-lshr-512.ll
file modified
+45 -1032
test/CodeGen/X86/vector-shift-shl-128.ll
file modified
+107 -0
test/CodeGen/X86/vector-shift-shl-256.ll
file modified
+154 -0
test/CodeGen/X86/vector-shift-shl-512.ll
file modified
+39 -1032
test/CodeGen/X86/vector-shuffle-avx512.ll
file added
+333
test/CodeGen/X86/vector-shuffle-combining-xop.ll
file modified
+14 -0
test/CodeGen/X86/vector-shuffle-variable-128.ll
file modified
+678 -506
test/CodeGen/X86/vector-shuffle-variable-256.ll
file modified
+230 -104
test/CodeGen/X86/x86-64-double-shifts-var.ll
file modified
+1 -0
test/DebugInfo/Generic/simplifycfg_sink_last_inst.ll
file modified
+40 -0
test/DebugInfo/Inputs/implicit-const-test.o
file added
+0
test/DebugInfo/dwarfdump-implicit-const.test
file added
+2
test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_BE-relocations.s
file modified
+4 -0
test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_relocations.s
file modified
+5 -1
test/FileCheck/match-full-lines.txt
file added
+53
test/FileCheck/strict-whitespace-match-full-lines.txt
file removed
-14
test/Instrumentation/AddressSanitizer/global_metadata_darwin.ll
file modified
+1 -1
test/MC/AMDGPU/vop_dpp.s
file modified
+31 -1
test/MC/AMDGPU/vop_sdwa.s
file modified
+36 -0
test/MC/ARM/directive-object_arch-2.s
file modified
+1 -1
test/MC/ARM/directive-object_arch.s
file modified
+1 -1
test/ObjectYAML/MachO/DWARF-debug_info.yaml
file modified
+52 -0
test/ObjectYAML/MachO/DWARF-debug_line.yaml
file added
+595
test/Other/loop-pass-ordering.ll
file modified
+6 -5
test/Other/new-pass-manager.ll
file modified
+14 -13
test/Other/pass-pipeline-parsing.ll
file modified
+4 -4
test/Transforms/GVN/assume-equal.ll
file modified
+3 -5
test/Transforms/GVN/invariant.group.ll
file modified
+38 -0
test/Transforms/InstCombine/fabs.ll
file modified
+47 -3
test/Transforms/InstCombine/fast-math.ll
file modified
+3 -5
test/Transforms/InstCombine/fdiv.ll
file modified
+18 -0
test/Transforms/InstCombine/pow-4.ll
file modified
+28 -28
test/Transforms/InstCombine/pow-sqrt.ll
file modified
+10 -1
test/Transforms/InstSimplify/floating-point-arithmetic.ll
file modified
+92 -0
test/Transforms/LICM/argmemonly-call.ll
file modified
+1 -1
test/Transforms/LICM/assume.ll
file modified
+1 -1
test/Transforms/LICM/atomics.ll
file modified
+1 -1
test/Transforms/LICM/basictest.ll
file modified
+1 -1
test/Transforms/LICM/constexpr.ll
file modified
+1 -1
test/Transforms/LICM/crash.ll
file modified
+1 -1
test/Transforms/LICM/debug-value.ll
file modified
+1 -1
test/Transforms/LICM/extra-copies.ll
file modified
+1 -1
test/Transforms/LICM/funclet.ll
file modified
+1 -1
test/Transforms/LICM/hoist-bitcast-load.ll
file modified
+1 -1
test/Transforms/LICM/hoist-deref-load.ll
file modified
+1 -1
test/Transforms/LICM/hoist-nounwind.ll
file modified
+1 -1
test/Transforms/LICM/hoist-round.ll
file modified
+1 -1
test/Transforms/LICM/hoisting.ll
file modified
+1 -1
test/Transforms/LICM/lcssa-ssa-promoter.ll
file modified
+1 -1
test/Transforms/LICM/no-preheader-test.ll
file modified
+1 -1
test/Transforms/LICM/opt-remarks-conditional-load.ll
file added
+47
test/Transforms/LICM/opt-remarks-intervening-store.ll
file added
+67
test/Transforms/LICM/opt-remarks.ll
file added
+81
test/Transforms/LICM/preheader-safe.ll
file modified
+1 -1
test/Transforms/LICM/promote-order.ll
file modified
+1 -1
test/Transforms/LICM/promote-tls.ll
file modified
+1 -1
test/Transforms/LICM/scalar-promote-memmodel.ll
file modified
+1 -1
test/Transforms/LICM/scalar_promote-unwind.ll
file modified
+1 -1
test/Transforms/LICM/scalar_promote.ll
file modified
+1 -1
test/Transforms/LICM/speculate.ll
file modified
+1 -1
test/Transforms/LICM/volatile-alias.ll
file modified
+1 -1
test/Transforms/LoopSimplify/preserve-scev.ll
file modified
+50 -11
test/Transforms/LoopUnroll/peel-loop-pgo.ll
file modified
+39 -0
test/Transforms/LoopVectorize/X86/mul_slm_16bit.ll
file added
+145
test/Transforms/LoopVectorize/pr31190.ll
file added
+64
test/Transforms/LowerTypeTests/Inputs/import-unsat.yaml
file modified
+1 -1
test/Transforms/LowerTypeTests/function.ll
file modified
+1 -1
test/Transforms/LowerTypeTests/import-unsat.ll
file modified
+1 -1
test/Transforms/LowerTypeTests/simple.ll
file modified
+3 -3
test/Transforms/NewGVN/assume-equal.ll
file modified
+3 -5
test/Transforms/NewGVN/invariant.group.ll
file modified
+39 -0
test/Transforms/NewGVN/pr31594.ll
file added
+119
test/Transforms/PGOProfile/Inputs/multiple_hash_profile.proftext
file added
+36
test/Transforms/PGOProfile/comdat_internal.ll
file modified
+4 -4
test/Transforms/PGOProfile/comdat_rename.ll
file modified
+4 -16
test/Transforms/PGOProfile/indirect_call_profile.ll
file modified
+1 -1
test/Transforms/PGOProfile/multiple_hash_profile.ll
file added
+36
test/Transforms/SLPVectorizer/X86/pr31599.ll
file added
+30
test/Transforms/StructurizeCFG/no-branch-to-entry.ll
file modified
+1 -1
test/tools/llvm-config/booleans.test
file added
+28
test/tools/llvm-xray/X86/Inputs/elf64-objcopied-instrmap.bin
file added
+0
test/tools/llvm-xray/X86/Inputs/elf64-sample-o2.bin
file added
+0
test/tools/llvm-xray/X86/Inputs/naive-log-simple.xray
file added
+0
test/tools/llvm-xray/X86/Inputs/simple-instrmap.yaml
file added
+10
test/tools/llvm-xray/X86/Inputs/simple-xray-instrmap.yaml
file added
+14
test/tools/llvm-xray/X86/account-deduce-tail-call.yaml
file added
+36
test/tools/llvm-xray/X86/account-keep-going.yaml
file added
+20
test/tools/llvm-xray/X86/account-simple-case.yaml
file added
+18
test/tools/llvm-xray/X86/account-simple-sorting.yaml
file added
+85
test/tools/llvm-xray/X86/bad-instrmap-sizes.txttest/tools/llvm-xray/X86/bad-instrmap-sizes.bin
file renamed
+0 -0
test/tools/llvm-xray/X86/convert-roundtrip.yaml
file added
+28
test/tools/llvm-xray/X86/convert-to-yaml.txt
file added
+23
test/tools/llvm-xray/X86/convert-with-debug-syms.txt
file added
+23
test/tools/llvm-xray/X86/convert-with-standalone-instrmap.txt
file added
+23
test/tools/llvm-xray/X86/convert-with-yaml-instrmap.txt
file added
+23
tools/dsymutil/DwarfLinker.cpp
file modified
+25 -16
tools/llvm-config/BuildVariables.inc.in
file modified
+5 -5
tools/llvm-config/CMakeLists.txt
file modified
+6 -5
tools/llvm-config/llvm-config.cpp
file modified
+7 -7
tools/llvm-pdbdump/CMakeLists.txt
file modified
+9 -9
tools/llvm-pdbdump/LLVMOutputStyle.cpp
file modified
+24 -13
tools/llvm-pdbdump/LLVMOutputStyle.h
file modified
+2 -2
tools/llvm-pdbdump/PrettyBuiltinDumper.cpptools/llvm-pdbdump/BuiltinDumper.cpp
file renamed
+2 -2
tools/llvm-pdbdump/PrettyBuiltinDumper.htools/llvm-pdbdump/BuiltinDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyClassDefinitionDumper.cpptools/llvm-pdbdump/ClassDefinitionDumper.cpp
file renamed
+7 -6
tools/llvm-pdbdump/PrettyClassDefinitionDumper.htools/llvm-pdbdump/ClassDefinitionDumper.h
file renamed
+4 -4
tools/llvm-pdbdump/PrettyCompilandDumper.cpptools/llvm-pdbdump/CompilandDumper.cpp
file renamed
+4 -4
tools/llvm-pdbdump/PrettyCompilandDumper.htools/llvm-pdbdump/CompilandDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyEnumDumper.cpptools/llvm-pdbdump/EnumDumper.cpp
file renamed
+3 -3
tools/llvm-pdbdump/PrettyEnumDumper.htools/llvm-pdbdump/EnumDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyExternalSymbolDumper.cpptools/llvm-pdbdump/ExternalSymbolDumper.cpp
file renamed
+2 -2
tools/llvm-pdbdump/PrettyExternalSymbolDumper.htools/llvm-pdbdump/ExternalSymbolDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyFunctionDumper.cpptools/llvm-pdbdump/FunctionDumper.cpp
file renamed
+3 -3
tools/llvm-pdbdump/PrettyFunctionDumper.htools/llvm-pdbdump/FunctionDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyTypeDumper.cpptools/llvm-pdbdump/TypeDumper.cpp
file renamed
+6 -6
tools/llvm-pdbdump/PrettyTypeDumper.htools/llvm-pdbdump/TypeDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyTypedefDumper.cpptools/llvm-pdbdump/TypedefDumper.cpp
file renamed
+4 -4
tools/llvm-pdbdump/PrettyTypedefDumper.htools/llvm-pdbdump/TypedefDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyVariableDumper.cpptools/llvm-pdbdump/VariableDumper.cpp
file renamed
+5 -5
tools/llvm-pdbdump/PrettyVariableDumper.htools/llvm-pdbdump/VariableDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/YAMLOutputStyle.h
file modified
+1 -1
tools/llvm-pdbdump/llvm-pdbdump.cpp
file modified
+5 -5
tools/llvm-readobj/COFFDumper.cpp
file modified
+17 -9
tools/llvm-xray/CMakeLists.txt
file modified
+8 -1
tools/llvm-xray/func-id-helper.cc
file added
+60
tools/llvm-xray/func-id-helper.h
file added
+49
tools/llvm-xray/xray-account.cc
file added
+485
tools/llvm-xray/xray-account.h
file added
+109
tools/llvm-xray/xray-converter.cc
file added
+202
tools/llvm-xray/xray-converter.h
file added
+39
tools/llvm-xray/xray-extract.cc
file modified
+57 -6
tools/llvm-xray/xray-record-yaml.h
file added
+102
tools/obj2yaml/dwarf2yaml.cpp
file modified
+127 -1
tools/opt/NewPMDriver.cpp
file modified
+1 -1
tools/yaml2obj/yaml2dwarf.cpp
file modified
+95 -0
tools/yaml2obj/yaml2macho.cpp
file modified
+2 -0
tools/yaml2obj/yaml2obj.h
file modified
+1 -0
unittests/Analysis/CMakeLists.txt
file modified
+0 -1
unittests/Analysis/LoopPassManagerTest.cpp
file removed
-209
unittests/DebugInfo/DWARF/DWARFDebugInfoTest.cpp
file modified
+116 -75
unittests/IR/DominatorTreeTest.cpp
file modified
+10 -0
unittests/IR/IRBuilderTest.cpp
file modified
+69 -0
unittests/Support/CMakeLists.txt
file modified
+2 -1
unittests/Support/TarWriterTest.cpp
file added
+88
unittests/Transforms/CMakeLists.txt
file modified
+1 -0
unittests/Transforms/Scalar/CMakeLists.txt
file added
+12
unittests/Transforms/Scalar/LoopPassManagerTest.cpp
file added
+1438
utils/release/build_llvm_package.bat
file modified
+4 -0
utils/unittest/CMakeLists.txt
file modified
+3 -0
utils/unittest/UnitTestMain/TestMain.cpp
file modified
+5 -2
utils/unittest/googlemock/LICENSE.txt
file added
+28
utils/unittest/googlemock/README.LLVM
file added
+17
utils/unittest/googlemock/include/gmock/gmock-actions.h
file added
+1205
utils/unittest/googlemock/include/gmock/gmock-cardinalities.h
file added
+147
utils/unittest/googlemock/include/gmock/gmock-generated-actions.h
file added
+2377
utils/unittest/googlemock/include/gmock/gmock-generated-function-mockers.h
file added
+1095
utils/unittest/googlemock/include/gmock/gmock-generated-matchers.h
file added
+2179
utils/unittest/googlemock/include/gmock/gmock-generated-nice-strict.h
file added
+397
utils/unittest/googlemock/include/gmock/gmock-matchers.h
file added
+4415
utils/unittest/googlemock/include/gmock/gmock-more-actions.h
file added
+246
utils/unittest/googlemock/include/gmock/gmock-more-matchers.h
file added
+58
utils/unittest/googlemock/include/gmock/gmock-spec-builders.h
file added
+1847
utils/unittest/googlemock/include/gmock/gmock.h
file added
+94
utils/unittest/googlemock/include/gmock/internal/custom/gmock-generated-actions.h
file added
+8
utils/unittest/googlemock/include/gmock/internal/custom/gmock-matchers.h
file added
+39
utils/unittest/googlemock/include/gmock/internal/custom/gmock-port.h
file added
+46
utils/unittest/googlemock/include/gmock/internal/gmock-generated-internal-utils.h
file added
+279
utils/unittest/googlemock/include/gmock/internal/gmock-internal-utils.h
file added
+511
utils/unittest/googlemock/include/gmock/internal/gmock-port.h
file added
+91
utils/unittest/googlemock/src/gmock-all.cc
file added
+47
utils/unittest/googlemock/src/gmock-cardinalities.cc
file added
+156
utils/unittest/googlemock/src/gmock-internal-utils.cc
file added
+174
utils/unittest/googlemock/src/gmock-matchers.cc
file added
+498
utils/unittest/googlemock/src/gmock-spec-builders.cc
file added
+823
utils/unittest/googlemock/src/gmock.cc
file added
+183
    Vendor import of llvm release_40 branch r292009:
    https://llvm.org/svn/llvm-project/llvm/branches/release_40@292009
    
        
file modified
+1 -1
file modified
+1 -1
file modified
+1 -0
file modified
+3 -2
file modified
+3 -5
file modified
+26 -0
file modified
+13 -1
include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h include/llvm/DebugInfo/CodeView/TypeDumper.h
file renamed
+10 -51
file modified
+27 -0
file modified
+2 -25
file modified
+1 -1
file modified
+1 -1
file modified
+4 -1
file modified
+4 -15
file modified
+19 -22
file modified
+1 -6
file modified
+6 -6
file modified
+55 -21
file modified
+1 -0
file modified
+2 -1
file modified
+9 -9
lib/DebugInfo/CodeView/TypeDumpVisitor.cpp lib/DebugInfo/CodeView/TypeDumper.cpp
file renamed
+72 -312
file modified
+10 -0
file modified
+44 -0
file modified
+22 -4
file modified
+7 -0
file modified
+1 -1
file modified
+1 -0
file modified
+57 -10
file modified
+11 -3
file modified
+43 -0
file modified
+19 -0
file modified
+11 -6
file modified
+6 -3
file modified
+39 -2
file modified
+73 -1
file modified
+86 -38
file added
+196
file modified
+4 -0
file modified
+22 -0
file modified
+66 -0
file modified
+2 -1
file modified
+232 -16
file modified
+2 -2
file modified
+22 -0
file modified
+26 -0
file modified
+790 -598
file modified
+51 -1
file modified
+1 -0
empty file added
file modified
+31 -1
file modified
+36 -0
file modified
+14 -13
test/tools/llvm-xray/X86/bad-instrmap-sizes.txt test/tools/llvm-xray/X86/bad-instrmap-sizes.bin
file renamed
file was renamed with no change to the file
file modified
+25 -16
tools/llvm-pdbdump/PrettyBuiltinDumper.cpp tools/llvm-pdbdump/BuiltinDumper.cpp
file renamed
+2 -2
tools/llvm-pdbdump/PrettyBuiltinDumper.h tools/llvm-pdbdump/BuiltinDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyClassDefinitionDumper.cpp tools/llvm-pdbdump/ClassDefinitionDumper.cpp
file renamed
+7 -6
tools/llvm-pdbdump/PrettyClassDefinitionDumper.h tools/llvm-pdbdump/ClassDefinitionDumper.h
file renamed
+4 -4
tools/llvm-pdbdump/PrettyCompilandDumper.cpp tools/llvm-pdbdump/CompilandDumper.cpp
file renamed
+4 -4
tools/llvm-pdbdump/PrettyCompilandDumper.h tools/llvm-pdbdump/CompilandDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyEnumDumper.cpp tools/llvm-pdbdump/EnumDumper.cpp
file renamed
+3 -3
tools/llvm-pdbdump/PrettyEnumDumper.h tools/llvm-pdbdump/EnumDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyExternalSymbolDumper.cpp tools/llvm-pdbdump/ExternalSymbolDumper.cpp
file renamed
+2 -2
tools/llvm-pdbdump/PrettyExternalSymbolDumper.h tools/llvm-pdbdump/ExternalSymbolDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyFunctionDumper.cpp tools/llvm-pdbdump/FunctionDumper.cpp
file renamed
+3 -3
tools/llvm-pdbdump/PrettyFunctionDumper.h tools/llvm-pdbdump/FunctionDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyTypeDumper.cpp tools/llvm-pdbdump/TypeDumper.cpp
file renamed
+6 -6
tools/llvm-pdbdump/PrettyTypeDumper.h tools/llvm-pdbdump/TypeDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyTypedefDumper.cpp tools/llvm-pdbdump/TypedefDumper.cpp
file renamed
+4 -4
tools/llvm-pdbdump/PrettyTypedefDumper.h tools/llvm-pdbdump/TypedefDumper.h
file renamed
+3 -3
tools/llvm-pdbdump/PrettyVariableDumper.cpp tools/llvm-pdbdump/VariableDumper.cpp
file renamed
+5 -5
tools/llvm-pdbdump/PrettyVariableDumper.h tools/llvm-pdbdump/VariableDumper.h
file renamed
+3 -3
file modified
+127 -1
file modified
+1 -1
file modified
+95 -0
file modified
+1 -0