aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2018-07-28 10:51:19 +0000
committerDimitry Andric <dim@FreeBSD.org>2018-07-28 10:51:19 +0000
commiteb11fae6d08f479c0799db45860a98af528fa6e7 (patch)
tree44d492a50c8c1a7eb8e2d17ea3360ec4d066f042
parentb8a2042aa938069e862750553db0e4d82d25822c (diff)
downloadsrc-eb11fae6d08f479c0799db45860a98af528fa6e7.tar.gz
src-eb11fae6d08f479c0799db45860a98af528fa6e7.zip
Vendor import of llvm trunk r338150:vendor/llvm/llvm-trunk-r338150
Notes
Notes: svn path=/vendor/llvm/dist/; revision=336809 svn path=/vendor/llvm/llvm-trunk-r338150/; revision=336814; tag=vendor/llvm/llvm-trunk-r338150
-rw-r--r--.arcconfig1
-rw-r--r--.gitattributes7
-rw-r--r--CMakeLists.txt64
-rw-r--r--CODE_OWNERS.TXT15
-rw-r--r--CREDITS.TXT30
-rw-r--r--LICENSE.TXT2
-rw-r--r--README.txt3
-rw-r--r--RELEASE_TESTERS.TXT5
-rw-r--r--bindings/go/README.txt8
-rw-r--r--bindings/go/llvm/DIBuilderBindings.cpp234
-rw-r--r--bindings/go/llvm/DIBuilderBindings.h134
-rw-r--r--bindings/go/llvm/IRBindings.cpp16
-rw-r--r--bindings/go/llvm/IRBindings.h7
-rw-r--r--bindings/go/llvm/dibuilder.go109
-rw-r--r--bindings/go/llvm/ir.go72
-rw-r--r--bindings/go/llvm/ir_test.go7
-rw-r--r--bindings/go/llvm/transforms_scalar.go1
-rw-r--r--bindings/ocaml/llvm/llvm.mli2
-rw-r--r--bindings/ocaml/llvm/llvm_ocaml.c1
-rw-r--r--bindings/ocaml/transforms/vectorize/llvm_vectorize.ml3
-rw-r--r--bindings/ocaml/transforms/vectorize/llvm_vectorize.mli5
-rw-r--r--bindings/ocaml/transforms/vectorize/vectorize_ocaml.c6
-rw-r--r--bindings/python/llvm/core.py3
-rwxr-xr-xcmake/config-ix.cmake110
-rwxr-xr-xcmake/modules/AddLLVM.cmake98
-rw-r--r--cmake/modules/CMakeLists.txt6
-rw-r--r--cmake/modules/CrossCompile.cmake3
-rw-r--r--cmake/modules/FindLibpfm.cmake23
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake67
-rw-r--r--cmake/modules/HandleLLVMStdlib.cmake6
-rwxr-xr-xcmake/modules/LLVM-Config.cmake2
-rw-r--r--cmake/modules/LLVMConfig.cmake.in7
-rw-r--r--cmake/modules/LLVMExternalProjectUtils.cmake51
-rw-r--r--cmake/modules/LLVMInstallSymlink.cmake2
-rw-r--r--cmake/modules/LLVMProcessSources.cmake20
-rw-r--r--cmake/platforms/iOS.cmake47
-rw-r--r--docs/AMDGPUAsmGFX7.rst1255
-rw-r--r--docs/AMDGPUAsmGFX8.rst1672
-rw-r--r--docs/AMDGPUAsmGFX9.rst1906
-rw-r--r--docs/AMDGPUOperandSyntax.rst1055
-rw-r--r--docs/AMDGPUUsage.rst1050
-rw-r--r--docs/AdvancedBuilds.rst2
-rw-r--r--docs/AliasAnalysis.rst33
-rw-r--r--docs/BitCodeFormat.rst20
-rw-r--r--docs/Bugpoint.rst16
-rw-r--r--docs/CFIVerify.rst8
-rw-r--r--docs/CMake.rst32
-rw-r--r--docs/CodeGenerator.rst4
-rw-r--r--docs/CodingStandards.rst94
-rw-r--r--docs/CommandGuide/FileCheck.rst59
-rw-r--r--docs/CommandGuide/dsymutil.rst26
-rw-r--r--docs/CommandGuide/index.rst2
-rw-r--r--docs/CommandGuide/lit.rst4
-rw-r--r--docs/CommandGuide/llc.rst2
-rw-r--r--docs/CommandGuide/llvm-cov.rst21
-rw-r--r--docs/CommandGuide/llvm-exegesis-analysis.pngbin0 -> 34817 bytes
-rw-r--r--docs/CommandGuide/llvm-exegesis.rst186
-rw-r--r--docs/CommandGuide/llvm-mca.rst551
-rw-r--r--docs/CommandGuide/llvm-nm.rst4
-rw-r--r--docs/CommandGuide/opt.rst2
-rw-r--r--docs/CommandGuide/tblgen.rst13
-rw-r--r--docs/CommandLine.rst8
-rw-r--r--docs/CompilerWriterInfo.rst2
-rw-r--r--docs/Contributing.rst127
-rw-r--r--docs/Coroutines.rst26
-rw-r--r--docs/Docker.rst58
-rw-r--r--docs/ExceptionHandling.rst65
-rw-r--r--docs/Extensions.rst204
-rw-r--r--docs/GarbageCollection.rst18
-rw-r--r--docs/GettingStarted.rst18
-rw-r--r--docs/GoldPlugin.rst57
-rw-r--r--docs/HowToSubmitABug.rst2
-rw-r--r--docs/LangRef.rst1455
-rw-r--r--docs/Lexicon.rst6
-rw-r--r--docs/LibFuzzer.rst14
-rw-r--r--docs/MIRLangRef.rst81
-rw-r--r--docs/MemorySSA.rst2
-rw-r--r--docs/OptBisect.rst2
-rw-r--r--docs/PDB/MsfFile.rst82
-rw-r--r--docs/Passes.rst38
-rw-r--r--docs/Phabricator.rst18
-rw-r--r--docs/ProgrammersManual.rst53
-rw-r--r--docs/Proposals/VectorizationPlan.rst2
-rw-r--r--docs/ReleaseNotes.rst107
-rw-r--r--docs/ReleaseProcess.rst139
-rw-r--r--docs/ScudoHardenedAllocator.rst72
-rw-r--r--docs/SourceLevelDebugging.rst181
-rw-r--r--docs/SpeculativeLoadHardening.md1099
-rw-r--r--docs/SystemLibrary.rst9
-rw-r--r--docs/TableGen/BackEnds.rst137
-rw-r--r--docs/TableGen/LangIntro.rst100
-rw-r--r--docs/TableGen/LangRef.rst110
-rw-r--r--docs/TableGen/index.rst16
-rw-r--r--docs/TestingGuide.rst5
-rw-r--r--docs/Vectorizers.rst9
-rw-r--r--docs/XRay.rst139
-rw-r--r--docs/XRayExample.rst34
-rw-r--r--docs/XRayFDRFormat.rst12
-rw-r--r--docs/YamlIO.rst2
-rw-r--r--docs/conf.py4
-rw-r--r--docs/doxygen.cfg.in2
-rw-r--r--docs/index.rst6
-rw-r--r--docs/speculative_load_hardening_microbenchmarks.pngbin0 -> 112926 bytes
-rw-r--r--docs/tutorial/BuildingAJIT1.rst5
-rw-r--r--docs/tutorial/BuildingAJIT2.rst7
-rw-r--r--docs/tutorial/BuildingAJIT3.rst5
-rw-r--r--docs/tutorial/LangImpl02.rst12
-rw-r--r--docs/tutorial/LangImpl03.rst2
-rw-r--r--docs/tutorial/LangImpl04.rst10
-rw-r--r--docs/tutorial/LangImpl05.rst14
-rw-r--r--docs/tutorial/LangImpl06.rst2
-rw-r--r--docs/tutorial/LangImpl08.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl1.rst2
-rw-r--r--examples/BrainF/BrainFDriver.cpp2
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h56
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h74
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h78
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h143
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h147
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp9
-rw-r--r--examples/Kaleidoscope/Chapter4/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/Chapter4/toy.cpp5
-rw-r--r--examples/Kaleidoscope/Chapter5/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/Chapter5/toy.cpp7
-rw-r--r--examples/Kaleidoscope/Chapter6/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/Chapter6/toy.cpp7
-rw-r--r--examples/Kaleidoscope/Chapter7/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/Chapter7/toy.cpp8
-rw-r--r--examples/Kaleidoscope/Chapter8/toy.cpp4
-rw-r--r--examples/Kaleidoscope/Chapter9/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/Chapter9/toy.cpp2
-rw-r--r--examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp6
-rw-r--r--examples/Kaleidoscope/include/KaleidoscopeJIT.h59
-rw-r--r--examples/ModuleMaker/ModuleMaker.cpp2
-rw-r--r--include/llvm-c/Comdat.h75
-rw-r--r--include/llvm-c/Core.h369
-rw-r--r--include/llvm-c/DataTypes.h90
-rw-r--r--include/llvm-c/DebugInfo.h924
-rw-r--r--include/llvm-c/Disassembler.h147
-rw-r--r--include/llvm-c/DisassemblerTypes.h160
-rw-r--r--include/llvm-c/ExecutionEngine.h7
-rw-r--r--include/llvm-c/Initialization.h1
-rw-r--r--include/llvm-c/OrcBindings.h59
-rw-r--r--include/llvm-c/Support.h2
-rw-r--r--include/llvm-c/TargetMachine.h12
-rw-r--r--include/llvm-c/Transforms/InstCombine.h43
-rw-r--r--include/llvm-c/Transforms/Scalar.h12
-rw-r--r--include/llvm-c/Transforms/Utils.h50
-rw-r--r--include/llvm-c/Transforms/Vectorize.h3
-rw-r--r--include/llvm-c/Types.h19
-rw-r--r--include/llvm-c/lto.h36
-rw-r--r--include/llvm/ADT/APFloat.h2
-rw-r--r--include/llvm/ADT/APInt.h352
-rw-r--r--include/llvm/ADT/APSInt.h6
-rw-r--r--include/llvm/ADT/Any.h150
-rw-r--r--include/llvm/ADT/ArrayRef.h30
-rw-r--r--include/llvm/ADT/BitVector.h11
-rw-r--r--include/llvm/ADT/CachedHashString.h1
-rw-r--r--include/llvm/ADT/DenseMapInfo.h7
-rw-r--r--include/llvm/ADT/DepthFirstIterator.h2
-rw-r--r--include/llvm/ADT/EpochTracker.h13
-rw-r--r--include/llvm/ADT/FunctionExtras.h293
-rw-r--r--include/llvm/ADT/GraphTraits.h20
-rw-r--r--include/llvm/ADT/Hashing.h62
-rw-r--r--include/llvm/ADT/ImmutableList.h4
-rw-r--r--include/llvm/ADT/ImmutableMap.h5
-rw-r--r--include/llvm/ADT/ImmutableSet.h4
-rw-r--r--include/llvm/ADT/MapVector.h32
-rw-r--r--include/llvm/ADT/None.h2
-rw-r--r--include/llvm/ADT/Optional.h176
-rw-r--r--include/llvm/ADT/PackedVector.h2
-rw-r--r--include/llvm/ADT/PointerUnion.h6
-rw-r--r--include/llvm/ADT/SCCIterator.h10
-rw-r--r--include/llvm/ADT/STLExtras.h215
-rw-r--r--include/llvm/ADT/ScopeExit.h16
-rw-r--r--include/llvm/ADT/SetVector.h56
-rw-r--r--include/llvm/ADT/SmallPtrSet.h2
-rw-r--r--include/llvm/ADT/SmallSet.h118
-rw-r--r--include/llvm/ADT/SmallVector.h241
-rw-r--r--include/llvm/ADT/SparseMultiSet.h2
-rw-r--r--include/llvm/ADT/SparseSet.h3
-rw-r--r--include/llvm/ADT/Statistic.h59
-rw-r--r--include/llvm/ADT/StringExtras.h55
-rw-r--r--include/llvm/ADT/StringMap.h24
-rw-r--r--include/llvm/ADT/StringRef.h42
-rw-r--r--include/llvm/ADT/StringSwitch.h188
-rw-r--r--include/llvm/ADT/TinyPtrVector.h6
-rw-r--r--include/llvm/ADT/Triple.h30
-rw-r--r--include/llvm/ADT/UniqueVector.h8
-rw-r--r--include/llvm/ADT/VariadicFunction.h2
-rw-r--r--include/llvm/ADT/edit_distance.h2
-rw-r--r--include/llvm/ADT/ilist.h25
-rw-r--r--include/llvm/ADT/ilist_node.h8
-rw-r--r--include/llvm/ADT/ilist_node_options.h1
-rw-r--r--include/llvm/ADT/iterator.h10
-rw-r--r--include/llvm/ADT/iterator_range.h11
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h51
-rw-r--r--include/llvm/Analysis/AliasAnalysisEvaluator.h2
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h35
-rw-r--r--include/llvm/Analysis/AssumptionCache.h36
-rw-r--r--include/llvm/Analysis/BasicAliasAnalysis.h47
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfo.h16
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfoImpl.h139
-rw-r--r--include/llvm/Analysis/BranchProbabilityInfo.h30
-rw-r--r--include/llvm/Analysis/CFG.h73
-rw-r--r--include/llvm/Analysis/CFLAndersAliasAnalysis.h10
-rw-r--r--include/llvm/Analysis/CFLSteensAliasAnalysis.h8
-rw-r--r--include/llvm/Analysis/CGSCCPassManager.h72
-rw-r--r--include/llvm/Analysis/CallGraph.h89
-rw-r--r--include/llvm/Analysis/CaptureTracking.h2
-rw-r--r--include/llvm/Analysis/CodeMetrics.h34
-rw-r--r--include/llvm/Analysis/ConstantFolding.h22
-rw-r--r--include/llvm/Analysis/DOTGraphTraitsPass.h6
-rw-r--r--include/llvm/Analysis/DemandedBits.h6
-rw-r--r--include/llvm/Analysis/DependenceAnalysis.h15
-rw-r--r--include/llvm/Analysis/DivergenceAnalysis.h15
-rw-r--r--include/llvm/Analysis/DominanceFrontier.h9
-rw-r--r--include/llvm/Analysis/DominanceFrontierImpl.h1
-rw-r--r--include/llvm/Analysis/EHPersonalities.h29
-rw-r--r--include/llvm/Analysis/IndirectCallPromotionAnalysis.h2
-rw-r--r--include/llvm/Analysis/InlineCost.h22
-rw-r--r--include/llvm/Analysis/IteratedDominanceFrontier.h12
-rw-r--r--include/llvm/Analysis/LazyBlockFrequencyInfo.h8
-rw-r--r--include/llvm/Analysis/LazyBranchProbabilityInfo.h10
-rw-r--r--include/llvm/Analysis/LazyValueInfo.h9
-rw-r--r--include/llvm/Analysis/Lint.h4
-rw-r--r--include/llvm/Analysis/LoopAccessAnalysis.h186
-rw-r--r--include/llvm/Analysis/LoopAnalysisManager.h2
-rw-r--r--include/llvm/Analysis/LoopInfo.h50
-rw-r--r--include/llvm/Analysis/LoopInfoImpl.h84
-rw-r--r--include/llvm/Analysis/LoopIterator.h19
-rw-r--r--include/llvm/Analysis/LoopUnrollAnalyzer.h6
-rw-r--r--include/llvm/Analysis/MemoryBuiltins.h20
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h8
-rw-r--r--include/llvm/Analysis/MemoryLocation.h20
-rw-r--r--include/llvm/Analysis/MemorySSA.h185
-rw-r--r--include/llvm/Analysis/MemorySSAUpdater.h89
-rw-r--r--include/llvm/Analysis/MustExecute.h64
-rw-r--r--include/llvm/Analysis/ObjCARCAliasAnalysis.h2
-rw-r--r--include/llvm/Analysis/ObjCARCAnalysisUtils.h27
-rw-r--r--include/llvm/Analysis/ObjCARCInstKind.h22
-rw-r--r--include/llvm/Analysis/ObjectUtils.h42
-rw-r--r--include/llvm/Analysis/OptimizationRemarkEmitter.h16
-rw-r--r--include/llvm/Analysis/OrderedBasicBlock.h12
-rw-r--r--include/llvm/Analysis/PHITransAddr.h2
-rw-r--r--include/llvm/Analysis/Passes.h8
-rw-r--r--include/llvm/Analysis/PhiValues.h143
-rw-r--r--include/llvm/Analysis/PostDominators.h15
-rw-r--r--include/llvm/Analysis/ProfileSummaryInfo.h36
-rw-r--r--include/llvm/Analysis/PtrUseVisitor.h44
-rw-r--r--include/llvm/Analysis/RegionInfo.h127
-rw-r--r--include/llvm/Analysis/RegionInfoImpl.h15
-rw-r--r--include/llvm/Analysis/RegionIterator.h12
-rw-r--r--include/llvm/Analysis/RegionPass.h14
-rw-r--r--include/llvm/Analysis/RegionPrinter.h8
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h133
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpander.h3
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h4
-rw-r--r--include/llvm/Analysis/SparsePropagation.h21
-rw-r--r--include/llvm/Analysis/SyntheticCountsUtils.h52
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.def63
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h238
-rw-r--r--include/llvm/Analysis/TargetTransformInfoImpl.h27
-rw-r--r--include/llvm/Analysis/TypeMetadataUtils.h4
-rw-r--r--include/llvm/Analysis/Utils/Local.h91
-rw-r--r--include/llvm/Analysis/ValueLattice.h125
-rw-r--r--include/llvm/Analysis/ValueTracking.h73
-rw-r--r--include/llvm/Analysis/VectorUtils.h28
-rw-r--r--include/llvm/AsmParser/Parser.h106
-rw-r--r--include/llvm/BinaryFormat/COFF.h19
-rw-r--r--include/llvm/BinaryFormat/Dwarf.def54
-rw-r--r--include/llvm/BinaryFormat/Dwarf.h115
-rw-r--r--include/llvm/BinaryFormat/DynamicTags.def216
-rw-r--r--include/llvm/BinaryFormat/ELF.h355
-rw-r--r--include/llvm/BinaryFormat/ELFRelocs/PowerPC64.def14
-rw-r--r--include/llvm/BinaryFormat/ELFRelocs/WebAssembly.def8
-rw-r--r--include/llvm/BinaryFormat/MachO.h4
-rw-r--r--include/llvm/BinaryFormat/Magic.h7
-rw-r--r--include/llvm/BinaryFormat/Wasm.h154
-rw-r--r--include/llvm/BinaryFormat/WasmRelocs.def2
-rw-r--r--include/llvm/Bitcode/BitcodeWriter.h10
-rw-r--r--include/llvm/Bitcode/BitcodeWriterPass.h12
-rw-r--r--include/llvm/Bitcode/BitstreamReader.h2
-rw-r--r--include/llvm/Bitcode/BitstreamWriter.h4
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h32
-rw-r--r--include/llvm/CodeGen/AccelTable.h434
-rw-r--r--include/llvm/CodeGen/Analysis.h4
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h70
-rw-r--r--include/llvm/CodeGen/AtomicExpandUtils.h4
-rw-r--r--include/llvm/CodeGen/BasicTTIImpl.h107
-rw-r--r--include/llvm/CodeGen/CalcSpillWeights.h12
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h2
-rw-r--r--include/llvm/CodeGen/CommandFlags.def366
-rw-r--r--include/llvm/CodeGen/CommandFlags.inc394
-rw-r--r--include/llvm/CodeGen/CostTable.h4
-rw-r--r--include/llvm/CodeGen/DIE.h8
-rw-r--r--include/llvm/CodeGen/DwarfStringPoolEntry.h2
-rw-r--r--include/llvm/CodeGen/ExecutionDepsFix.h230
-rw-r--r--include/llvm/CodeGen/ExecutionDomainFix.h213
-rw-r--r--include/llvm/CodeGen/FastISel.h156
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h13
-rw-r--r--include/llvm/CodeGen/GCStrategy.h6
-rw-r--r--include/llvm/CodeGen/GlobalISel/CallLowering.h6
-rw-r--r--include/llvm/CodeGen/GlobalISel/Combiner.h43
-rw-r--r--include/llvm/CodeGen/GlobalISel/CombinerHelper.h44
-rw-r--r--include/llvm/CodeGen/GlobalISel/CombinerInfo.h48
-rw-r--r--include/llvm/CodeGen/GlobalISel/ConstantFoldingMIRBuilder.h134
-rw-r--r--include/llvm/CodeGen/GlobalISel/IRTranslator.h133
-rw-r--r--include/llvm/CodeGen/GlobalISel/InstructionSelector.h122
-rw-r--r--include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h280
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizationArtifactCombiner.h45
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizerHelper.h14
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizerInfo.h821
-rw-r--r--include/llvm/CodeGen/GlobalISel/Localizer.h2
-rw-r--r--include/llvm/CodeGen/GlobalISel/MIPatternMatch.h338
-rw-r--r--include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h545
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegBankSelect.h2
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBank.h2
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h2
-rw-r--r--include/llvm/CodeGen/GlobalISel/Utils.h25
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h18
-rw-r--r--include/llvm/CodeGen/LatencyPriorityQueue.h9
-rw-r--r--include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h8
-rw-r--r--include/llvm/CodeGen/LiveInterval.h12
-rw-r--r--include/llvm/CodeGen/LiveIntervalUnion.h2
-rw-r--r--include/llvm/CodeGen/LiveIntervals.h6
-rw-r--r--include/llvm/CodeGen/LivePhysRegs.h17
-rw-r--r--include/llvm/CodeGen/LiveRangeEdit.h16
-rw-r--r--include/llvm/CodeGen/LiveRegMatrix.h7
-rw-r--r--include/llvm/CodeGen/LiveRegUnits.h33
-rw-r--r--include/llvm/CodeGen/LoopTraversal.h116
-rw-r--r--include/llvm/CodeGen/MIRParser/MIRParser.h2
-rw-r--r--include/llvm/CodeGen/MIRPrinter.h2
-rw-r--r--include/llvm/CodeGen/MIRYamlMapping.h24
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h57
-rw-r--r--include/llvm/CodeGen/MachineConstantPool.h6
-rw-r--r--include/llvm/CodeGen/MachineDominanceFrontier.h4
-rw-r--r--include/llvm/CodeGen/MachineDominators.h16
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h38
-rw-r--r--include/llvm/CodeGen/MachineFunction.h44
-rw-r--r--include/llvm/CodeGen/MachineInstr.h99
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h25
-rw-r--r--include/llvm/CodeGen/MachineLoopInfo.h4
-rw-r--r--include/llvm/CodeGen/MachineMemOperand.h5
-rw-r--r--include/llvm/CodeGen/MachineOperand.h98
-rw-r--r--include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h8
-rw-r--r--include/llvm/CodeGen/MachineOutliner.h226
-rw-r--r--include/llvm/CodeGen/MachineRegisterInfo.h81
-rw-r--r--include/llvm/CodeGen/MachineSSAUpdater.h2
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h37
-rw-r--r--include/llvm/CodeGen/MachineValueType.h1055
-rw-r--r--include/llvm/CodeGen/MacroFusion.h6
-rw-r--r--include/llvm/CodeGen/PBQP/Graph.h62
-rw-r--r--include/llvm/CodeGen/PBQP/Math.h58
-rw-r--r--include/llvm/CodeGen/PBQP/ReductionRules.h4
-rw-r--r--include/llvm/CodeGen/PBQP/Solution.h8
-rw-r--r--include/llvm/CodeGen/PBQPRAConstraint.h4
-rw-r--r--include/llvm/CodeGen/ParallelCG.h2
-rw-r--r--include/llvm/CodeGen/Passes.h36
-rw-r--r--include/llvm/CodeGen/ReachingDefAnalysis.h118
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h18
-rw-r--r--include/llvm/CodeGen/RegisterPressure.h8
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h6
-rw-r--r--include/llvm/CodeGen/RegisterUsageInfo.h22
-rw-r--r--include/llvm/CodeGen/ResourcePriorityQueue.h4
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.def495
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.h2
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h50
-rw-r--r--include/llvm/CodeGen/ScheduleDAGInstrs.h8
-rw-r--r--include/llvm/CodeGen/ScheduleDFS.h34
-rw-r--r--include/llvm/CodeGen/ScoreboardHazardRecognizer.h2
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h169
-rw-r--r--include/llvm/CodeGen/SelectionDAGAddressAnalysis.h2
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h24
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h163
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h8
-rw-r--r--include/llvm/CodeGen/StackMaps.h24
-rw-r--r--include/llvm/CodeGen/StackProtector.h30
-rw-r--r--include/llvm/CodeGen/TargetCallingConv.h2
-rw-r--r--include/llvm/CodeGen/TargetFrameLowering.h12
-rw-r--r--include/llvm/CodeGen/TargetInstrInfo.h154
-rw-r--r--include/llvm/CodeGen/TargetLowering.h243
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFile.h194
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h29
-rw-r--r--include/llvm/CodeGen/TargetOpcodes.def461
-rw-r--r--include/llvm/CodeGen/TargetOpcodes.h2
-rw-r--r--include/llvm/CodeGen/TargetPassConfig.h34
-rw-r--r--include/llvm/CodeGen/TargetRegisterInfo.h33
-rw-r--r--include/llvm/CodeGen/TargetSchedule.h58
-rw-r--r--include/llvm/CodeGen/TargetSubtargetInfo.h36
-rw-r--r--include/llvm/CodeGen/ValueTypes.h2
-rw-r--r--include/llvm/CodeGen/ValueTypes.td7
-rw-r--r--include/llvm/CodeGen/VirtRegMap.h28
-rw-r--r--include/llvm/CodeGen/WasmEHFuncInfo.h80
-rw-r--r--include/llvm/Config/config.h.cmake105
-rw-r--r--include/llvm/Config/llvm-config.h.cmake11
-rw-r--r--include/llvm/DebugInfo/CodeView/CVDebugRecord.h55
-rw-r--r--include/llvm/DebugInfo/CodeView/CVRecord.h24
-rw-r--r--include/llvm/DebugInfo/CodeView/CVTypeVisitor.h2
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeView.h6
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewRegisters.def448
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewTypes.def4
-rw-r--r--include/llvm/DebugInfo/CodeView/DebugStringTableSubsection.h16
-rw-r--r--include/llvm/DebugInfo/CodeView/GlobalTypeTableBuilder.h17
-rw-r--r--include/llvm/DebugInfo/CodeView/LazyRandomTypeCollection.h2
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeHashing.h11
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecord.h31
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeStreamMerger.h6
-rw-r--r--include/llvm/DebugInfo/DIContext.h2
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h524
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAddressRange.h68
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h8
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFContext.h44
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDataExtractor.h7
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h1
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h278
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugLine.h118
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h3
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h2
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h45
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugRnglists.h60
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDie.h38
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFExpression.h14
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFFormValue.h63
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFListTable.h278
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFObject.h4
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h20
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnit.h241
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFVerifier.h58
-rw-r--r--include/llvm/DebugInfo/MSF/MSFBuilder.h9
-rw-r--r--include/llvm/DebugInfo/MSF/MSFCommon.h50
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAEnumInjectedSources.h40
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAEnumSectionContribs.h40
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAInjectedSource.h38
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h22
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIASectionContrib.h55
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIASession.h26
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIASupport.h10
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAUtils.h31
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBInjectedSource.h42
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBRawSymbol.h23
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBSectionContrib.h50
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBSession.h27
-rw-r--r--include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptor.h2
-rw-r--r--include/llvm/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.h1
-rw-r--r--include/llvm/DebugInfo/PDB/Native/DbiStream.h13
-rw-r--r--include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h5
-rw-r--r--include/llvm/DebugInfo/PDB/Native/HashTable.h308
-rw-r--r--include/llvm/DebugInfo/PDB/Native/InfoStream.h28
-rw-r--r--include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h6
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h37
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h22
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeSession.h25
-rw-r--r--include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h34
-rw-r--r--include/llvm/DebugInfo/PDB/Native/PDBStringTableBuilder.h13
-rw-r--r--include/llvm/DebugInfo/PDB/Native/RawConstants.h2
-rw-r--r--include/llvm/DebugInfo/PDB/Native/RawTypes.h44
-rw-r--r--include/llvm/DebugInfo/PDB/Native/TpiStream.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBExtras.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h1
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolData.h7
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFunc.h6
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBTypes.h48
-rw-r--r--include/llvm/DebugInfo/Symbolize/Symbolize.h10
-rw-r--r--include/llvm/Demangle/Demangle.h74
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h31
-rw-r--r--include/llvm/ExecutionEngine/JITEventListener.h13
-rw-r--r--include/llvm/ExecutionEngine/JITSymbol.h131
-rw-r--r--include/llvm/ExecutionEngine/ObjectMemoryBuffer.h63
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h346
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileUtils.h86
-rw-r--r--include/llvm/ExecutionEngine/Orc/Core.h779
-rw-r--r--include/llvm/ExecutionEngine/Orc/ExecutionUtils.h160
-rw-r--r--include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h20
-rw-r--r--include/llvm/ExecutionEngine/Orc/IRCompileLayer.h90
-rw-r--r--include/llvm/ExecutionEngine/Orc/IRTransformLayer.h71
-rw-r--r--include/llvm/ExecutionEngine/Orc/IndirectionUtils.h166
-rw-r--r--include/llvm/ExecutionEngine/Orc/LLJIT.h143
-rw-r--r--include/llvm/ExecutionEngine/Orc/LambdaResolver.h2
-rw-r--r--include/llvm/ExecutionEngine/Orc/Layer.h129
-rw-r--r--include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h97
-rw-r--r--include/llvm/ExecutionEngine/Orc/Legacy.h211
-rw-r--r--include/llvm/ExecutionEngine/Orc/NullResolver.h11
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h71
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcABISupport.h36
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcError.h16
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h125
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h83
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCUtils.h12
-rw-r--r--include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h341
-rw-r--r--include/llvm/ExecutionEngine/Orc/RemoteObjectLayer.h59
-rw-r--r--include/llvm/ExecutionEngine/Orc/SymbolStringPool.h63
-rw-r--r--include/llvm/ExecutionEngine/RTDyldMemoryManager.h8
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h13
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyldChecker.h14
-rw-r--r--include/llvm/ExecutionEngine/SectionMemoryManager.h10
-rw-r--r--include/llvm/FuzzMutate/FuzzerCLI.h6
-rw-r--r--include/llvm/FuzzMutate/OpDescriptor.h6
-rw-r--r--include/llvm/IR/Attributes.h240
-rw-r--r--include/llvm/IR/Attributes.td11
-rw-r--r--include/llvm/IR/AutoUpgrade.h8
-rw-r--r--include/llvm/IR/BasicBlock.h119
-rw-r--r--include/llvm/IR/CFG.h6
-rw-r--r--include/llvm/IR/CMakeLists.txt5
-rw-r--r--include/llvm/IR/CallSite.h3
-rw-r--r--include/llvm/IR/CallingConv.h12
-rw-r--r--include/llvm/IR/Comdat.h6
-rw-r--r--include/llvm/IR/Constant.h24
-rw-r--r--include/llvm/IR/ConstantRange.h2
-rw-r--r--include/llvm/IR/Constants.h108
-rw-r--r--include/llvm/IR/DIBuilder.h113
-rw-r--r--include/llvm/IR/DataLayout.h92
-rw-r--r--include/llvm/IR/DebugInfo.h27
-rw-r--r--include/llvm/IR/DebugInfoFlags.def7
-rw-r--r--include/llvm/IR/DebugInfoMetadata.h430
-rw-r--r--include/llvm/IR/DebugLoc.h22
-rw-r--r--include/llvm/IR/DerivedTypes.h12
-rw-r--r--include/llvm/IR/DiagnosticHandler.h2
-rw-r--r--include/llvm/IR/DiagnosticInfo.h29
-rw-r--r--include/llvm/IR/DiagnosticPrinter.h4
-rw-r--r--include/llvm/IR/DomTreeUpdater.h259
-rw-r--r--include/llvm/IR/Dominators.h126
-rw-r--r--include/llvm/IR/Function.h187
-rw-r--r--include/llvm/IR/GlobalObject.h12
-rw-r--r--include/llvm/IR/GlobalValue.h34
-rw-r--r--include/llvm/IR/GlobalVariable.h13
-rw-r--r--include/llvm/IR/IRBuilder.h805
-rw-r--r--include/llvm/IR/IRPrintingPasses.h14
-rw-r--r--include/llvm/IR/InstVisitor.h4
-rw-r--r--include/llvm/IR/InstrTypes.h270
-rw-r--r--include/llvm/IR/Instruction.h25
-rw-r--r--include/llvm/IR/Instructions.h1290
-rw-r--r--include/llvm/IR/IntrinsicInst.h244
-rw-r--r--include/llvm/IR/Intrinsics.h4
-rw-r--r--include/llvm/IR/Intrinsics.td57
-rw-r--r--include/llvm/IR/IntrinsicsAArch64.td26
-rw-r--r--include/llvm/IR/IntrinsicsAMDGPU.td793
-rw-r--r--include/llvm/IR/IntrinsicsARM.td58
-rw-r--r--include/llvm/IR/IntrinsicsHexagon.td129
-rw-r--r--include/llvm/IR/IntrinsicsNVVM.td189
-rw-r--r--include/llvm/IR/IntrinsicsPowerPC.td29
-rw-r--r--include/llvm/IR/IntrinsicsWebAssembly.td51
-rw-r--r--include/llvm/IR/IntrinsicsX86.td2286
-rw-r--r--include/llvm/IR/LLVMContext.h40
-rw-r--r--include/llvm/IR/LegacyPassManagers.h9
-rw-r--r--include/llvm/IR/MDBuilder.h55
-rw-r--r--include/llvm/IR/Mangler.h3
-rw-r--r--include/llvm/IR/Metadata.def1
-rw-r--r--include/llvm/IR/Metadata.h146
-rw-r--r--include/llvm/IR/Module.h49
-rw-r--r--include/llvm/IR/ModuleSummaryIndex.h453
-rw-r--r--include/llvm/IR/ModuleSummaryIndexYAML.h27
-rw-r--r--include/llvm/IR/Operator.h31
-rw-r--r--include/llvm/IR/OptBisect.h48
-rw-r--r--include/llvm/IR/PassManager.h106
-rw-r--r--include/llvm/IR/PassManagerInternal.h38
-rw-r--r--include/llvm/IR/PatternMatch.h758
-rw-r--r--include/llvm/IR/ProfileSummary.h6
-rw-r--r--include/llvm/IR/RuntimeLibcalls.def527
-rw-r--r--include/llvm/IR/Statepoint.h4
-rw-r--r--include/llvm/IR/TrackingMDRef.h8
-rw-r--r--include/llvm/IR/Type.h19
-rw-r--r--include/llvm/IR/Use.h14
-rw-r--r--include/llvm/IR/UseListOrder.h2
-rw-r--r--include/llvm/IR/User.h40
-rw-r--r--include/llvm/IR/Value.h101
-rw-r--r--include/llvm/IR/ValueHandle.h28
-rw-r--r--include/llvm/IR/ValueMap.h4
-rw-r--r--include/llvm/IR/ValueSymbolTable.h24
-rw-r--r--include/llvm/IR/Verifier.h6
-rw-r--r--include/llvm/IRReader/IRReader.h9
-rw-r--r--include/llvm/InitializePasses.h44
-rw-r--r--include/llvm/LTO/Caching.h7
-rw-r--r--include/llvm/LTO/Config.h11
-rw-r--r--include/llvm/LTO/LTO.h17
-rw-r--r--include/llvm/LTO/legacy/ThinLTOCodeGenerator.h27
-rw-r--r--include/llvm/LinkAllPasses.h10
-rw-r--r--include/llvm/Linker/Linker.h2
-rw-r--r--include/llvm/MC/MCAsmBackend.h43
-rw-r--r--include/llvm/MC/MCAsmInfo.h20
-rw-r--r--include/llvm/MC/MCAsmLayout.h20
-rw-r--r--include/llvm/MC/MCAsmMacro.h158
-rw-r--r--include/llvm/MC/MCAssembler.h59
-rw-r--r--include/llvm/MC/MCCodePadder.h3
-rw-r--r--include/llvm/MC/MCCodeView.h66
-rw-r--r--include/llvm/MC/MCContext.h73
-rw-r--r--include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h2
-rw-r--r--include/llvm/MC/MCDisassembler/MCRelocationInfo.h4
-rw-r--r--include/llvm/MC/MCDisassembler/MCSymbolizer.h8
-rw-r--r--include/llvm/MC/MCDwarf.h188
-rw-r--r--include/llvm/MC/MCELFObjectWriter.h15
-rw-r--r--include/llvm/MC/MCELFStreamer.h17
-rw-r--r--include/llvm/MC/MCExpr.h41
-rw-r--r--include/llvm/MC/MCFixup.h60
-rw-r--r--include/llvm/MC/MCFixupKindInfo.h2
-rw-r--r--include/llvm/MC/MCFragment.h125
-rw-r--r--include/llvm/MC/MCInst.h12
-rw-r--r--include/llvm/MC/MCInstBuilder.h14
-rw-r--r--include/llvm/MC/MCInstPrinter.h15
-rw-r--r--include/llvm/MC/MCInstrAnalysis.h29
-rw-r--r--include/llvm/MC/MCInstrDesc.h145
-rw-r--r--include/llvm/MC/MCInstrInfo.h8
-rw-r--r--include/llvm/MC/MCInstrItineraries.h38
-rw-r--r--include/llvm/MC/MCLabel.h12
-rw-r--r--include/llvm/MC/MCMachObjectWriter.h17
-rw-r--r--include/llvm/MC/MCObjectFileInfo.h36
-rw-r--r--include/llvm/MC/MCObjectStreamer.h28
-rw-r--r--include/llvm/MC/MCObjectWriter.h116
-rw-r--r--include/llvm/MC/MCParser/MCAsmLexer.h111
-rw-r--r--include/llvm/MC/MCParser/MCAsmParser.h50
-rw-r--r--include/llvm/MC/MCParser/MCAsmParserExtension.h4
-rw-r--r--include/llvm/MC/MCParser/MCAsmParserUtils.h2
-rw-r--r--include/llvm/MC/MCParser/MCTargetAsmParser.h63
-rw-r--r--include/llvm/MC/MCRegisterInfo.h60
-rw-r--r--include/llvm/MC/MCSchedule.h188
-rw-r--r--include/llvm/MC/MCSection.h8
-rw-r--r--include/llvm/MC/MCSectionWasm.h14
-rw-r--r--include/llvm/MC/MCStreamer.h238
-rw-r--r--include/llvm/MC/MCSubtargetInfo.h52
-rw-r--r--include/llvm/MC/MCSymbol.h45
-rw-r--r--include/llvm/MC/MCSymbolMachO.h4
-rw-r--r--include/llvm/MC/MCSymbolWasm.h28
-rw-r--r--include/llvm/MC/MCTargetOptions.h1
-rw-r--r--include/llvm/MC/MCTargetOptionsCommandFlags.inc (renamed from include/llvm/MC/MCTargetOptionsCommandFlags.def)0
-rw-r--r--include/llvm/MC/MCValue.h8
-rw-r--r--include/llvm/MC/MCWasmObjectWriter.h15
-rw-r--r--include/llvm/MC/MCWasmStreamer.h12
-rw-r--r--include/llvm/MC/MCWinCOFFObjectWriter.h11
-rw-r--r--include/llvm/MC/MCWinCOFFStreamer.h7
-rw-r--r--include/llvm/MC/StringTableBuilder.h10
-rw-r--r--include/llvm/Object/Archive.h4
-rw-r--r--include/llvm/Object/Binary.h2
-rw-r--r--include/llvm/Object/COFF.h21
-rw-r--r--include/llvm/Object/COFFImportFile.h7
-rw-r--r--include/llvm/Object/CVDebugRecord.h55
-rw-r--r--include/llvm/Object/Decompressor.h16
-rw-r--r--include/llvm/Object/ELF.h121
-rw-r--r--include/llvm/Object/ELFObjectFile.h109
-rw-r--r--include/llvm/Object/ELFTypes.h185
-rw-r--r--include/llvm/Object/IRObjectFile.h15
-rw-r--r--include/llvm/Object/MachO.h4
-rw-r--r--include/llvm/Object/MachOUniversal.h4
-rw-r--r--include/llvm/Object/ModuleSymbolTable.h9
-rw-r--r--include/llvm/Object/ObjectFile.h27
-rw-r--r--include/llvm/Object/RelocVisitor.h26
-rw-r--r--include/llvm/Object/Wasm.h137
-rw-r--r--include/llvm/Object/WasmTraits.h63
-rw-r--r--include/llvm/ObjectYAML/COFFYAML.h1
-rw-r--r--include/llvm/ObjectYAML/CodeViewYAMLTypeHashing.h6
-rw-r--r--include/llvm/ObjectYAML/CodeViewYAMLTypes.h6
-rw-r--r--include/llvm/ObjectYAML/DWARFEmitter.h7
-rw-r--r--include/llvm/ObjectYAML/DWARFYAML.h2
-rw-r--r--include/llvm/ObjectYAML/ELFYAML.h2
-rw-r--r--include/llvm/ObjectYAML/MachOYAML.h2
-rw-r--r--include/llvm/ObjectYAML/WasmYAML.h53
-rw-r--r--include/llvm/ObjectYAML/YAML.h12
-rw-r--r--include/llvm/Option/Arg.h28
-rw-r--r--include/llvm/Option/ArgList.h7
-rw-r--r--include/llvm/Option/OptTable.h46
-rw-r--r--include/llvm/Option/Option.h8
-rw-r--r--include/llvm/Pass.h6
-rw-r--r--include/llvm/PassAnalysisSupport.h2
-rw-r--r--include/llvm/Passes/PassBuilder.h58
-rw-r--r--include/llvm/Passes/PassPlugin.h114
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMapping.h3
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingReader.h14
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingWriter.h8
-rw-r--r--include/llvm/ProfileData/GCOV.h5
-rw-r--r--include/llvm/ProfileData/InstrProf.h62
-rw-r--r--include/llvm/ProfileData/InstrProfData.inc22
-rw-r--r--include/llvm/ProfileData/InstrProfReader.h4
-rw-r--r--include/llvm/ProfileData/ProfileCommon.h2
-rw-r--r--include/llvm/ProfileData/SampleProf.h44
-rw-r--r--include/llvm/ProfileData/SampleProfReader.h140
-rw-r--r--include/llvm/ProfileData/SampleProfWriter.h46
-rw-r--r--include/llvm/Support/AArch64TargetParser.def11
-rw-r--r--include/llvm/Support/AMDGPUKernelDescriptor.h139
-rw-r--r--include/llvm/Support/AMDGPUMetadata.h238
-rw-r--r--include/llvm/Support/AMDHSAKernelDescriptor.h185
-rw-r--r--include/llvm/Support/ARMTargetParser.def8
-rw-r--r--include/llvm/Support/AlignOf.h8
-rw-r--r--include/llvm/Support/Allocator.h46
-rw-r--r--include/llvm/Support/AtomicOrdering.h2
-rw-r--r--include/llvm/Support/BinaryByteStream.h24
-rw-r--r--include/llvm/Support/BinaryStream.h18
-rw-r--r--include/llvm/Support/BinaryStreamArray.h2
-rw-r--r--include/llvm/Support/BinaryStreamReader.h2
-rw-r--r--include/llvm/Support/BinaryStreamRef.h4
-rw-r--r--include/llvm/Support/BinaryStreamWriter.h8
-rw-r--r--include/llvm/Support/BlockFrequency.h14
-rw-r--r--include/llvm/Support/BranchProbability.h4
-rw-r--r--include/llvm/Support/CMakeLists.txt14
-rw-r--r--include/llvm/Support/CachePruning.h12
-rw-r--r--include/llvm/Support/Casting.h2
-rw-r--r--include/llvm/Support/CheckedArithmetic.h104
-rw-r--r--include/llvm/Support/CodeGenCWrappers.h62
-rw-r--r--include/llvm/Support/CodeGenCoverage.h7
-rw-r--r--include/llvm/Support/CommandLine.h55
-rw-r--r--include/llvm/Support/Compiler.h79
-rw-r--r--include/llvm/Support/ConvertUTF.h16
-rw-r--r--include/llvm/Support/CrashRecoveryContext.h92
-rw-r--r--include/llvm/Support/DJB.h33
-rw-r--r--include/llvm/Support/DataExtractor.h8
-rw-r--r--include/llvm/Support/DataTypes.h17
-rw-r--r--include/llvm/Support/DataTypes.h.cmake135
-rw-r--r--include/llvm/Support/Debug.h23
-rw-r--r--include/llvm/Support/DebugCounter.h56
-rw-r--r--include/llvm/Support/DynamicLibrary.h8
-rw-r--r--include/llvm/Support/Endian.h2
-rw-r--r--include/llvm/Support/EndianStream.h54
-rw-r--r--include/llvm/Support/Errc.h1
-rw-r--r--include/llvm/Support/Errno.h5
-rw-r--r--include/llvm/Support/Error.h61
-rw-r--r--include/llvm/Support/ErrorHandling.h4
-rw-r--r--include/llvm/Support/ErrorOr.h18
-rw-r--r--include/llvm/Support/FileOutputBuffer.h16
-rw-r--r--include/llvm/Support/FileSystem.h422
-rw-r--r--include/llvm/Support/FormatAdapters.h18
-rw-r--r--include/llvm/Support/FormatVariadic.h13
-rw-r--r--include/llvm/Support/FormatVariadicDetails.h57
-rw-r--r--include/llvm/Support/GenericDomTree.h47
-rw-r--r--include/llvm/Support/GenericDomTreeConstruction.h418
-rw-r--r--include/llvm/Support/GraphWriter.h2
-rw-r--r--include/llvm/Support/Host.h8
-rw-r--r--include/llvm/Support/InitLLVM.h46
-rw-r--r--include/llvm/Support/JSON.h704
-rw-r--r--include/llvm/Support/JamCRC.h2
-rw-r--r--include/llvm/Support/KnownBits.h2
-rw-r--r--include/llvm/Support/LEB128.h17
-rw-r--r--include/llvm/Support/LineIterator.h18
-rw-r--r--include/llvm/Support/LockFileManager.h31
-rw-r--r--include/llvm/Support/LowLevelTypeImpl.h2
-rw-r--r--include/llvm/Support/MD5.h10
-rw-r--r--include/llvm/Support/MachineValueType.h1058
-rw-r--r--include/llvm/Support/MathExtras.h58
-rw-r--r--include/llvm/Support/MemAlloc.h49
-rw-r--r--include/llvm/Support/Memory.h10
-rw-r--r--include/llvm/Support/MemoryBuffer.h79
-rw-r--r--include/llvm/Support/MipsABIFlags.h4
-rw-r--r--include/llvm/Support/Mutex.h13
-rw-r--r--include/llvm/Support/MutexGuard.h2
-rw-r--r--include/llvm/Support/OnDiskHashTable.h47
-rw-r--r--include/llvm/Support/Options.h10
-rw-r--r--include/llvm/Support/Parallel.h10
-rw-r--r--include/llvm/Support/Path.h83
-rw-r--r--include/llvm/Support/PointerLikeTypeTraits.h34
-rw-r--r--include/llvm/Support/Process.h17
-rw-r--r--include/llvm/Support/Program.h64
-rw-r--r--include/llvm/Support/RWMutex.h14
-rw-r--r--include/llvm/Support/Regex.h4
-rw-r--r--include/llvm/Support/SMLoc.h6
-rw-r--r--include/llvm/Support/SaveAndRestore.h12
-rw-r--r--include/llvm/Support/ScaledNumber.h82
-rw-r--r--include/llvm/Support/ScopedPrinter.h10
-rw-r--r--include/llvm/Support/Signals.h20
-rw-r--r--include/llvm/Support/SmallVectorMemoryBuffer.h64
-rw-r--r--include/llvm/Support/SourceMgr.h37
-rw-r--r--include/llvm/Support/StringSaver.h28
-rw-r--r--include/llvm/Support/SystemUtils.h2
-rw-r--r--include/llvm/Support/TargetOpcodes.def482
-rw-r--r--include/llvm/Support/TargetParser.h15
-rw-r--r--include/llvm/Support/TargetRegistry.h112
-rw-r--r--include/llvm/Support/TaskQueue.h139
-rw-r--r--include/llvm/Support/ThreadLocal.h2
-rw-r--r--include/llvm/Support/ThreadPool.h1
-rw-r--r--include/llvm/Support/Threading.h12
-rw-r--r--include/llvm/Support/Timer.h8
-rw-r--r--include/llvm/Support/ToolOutputFile.h4
-rw-r--r--include/llvm/Support/TrailingObjects.h16
-rw-r--r--include/llvm/Support/Unicode.h4
-rw-r--r--include/llvm/Support/UnicodeCharRanges.h26
-rw-r--r--include/llvm/Support/UniqueLock.h2
-rw-r--r--include/llvm/Support/VersionTuple.h154
-rw-r--r--include/llvm/Support/Win64EH.h14
-rw-r--r--include/llvm/Support/WithColor.h67
-rw-r--r--include/llvm/Support/X86DisassemblerDecoderCommon.h475
-rw-r--r--include/llvm/Support/X86TargetParser.def2
-rw-r--r--include/llvm/Support/YAMLParser.h80
-rw-r--r--include/llvm/Support/YAMLTraits.h18
-rw-r--r--include/llvm/Support/raw_ostream.h23
-rw-r--r--include/llvm/Support/type_traits.h47
-rw-r--r--include/llvm/TableGen/Record.h632
-rw-r--r--include/llvm/TableGen/SearchableTable.td131
-rw-r--r--include/llvm/Target/CodeGenCWrappers.h61
-rw-r--r--include/llvm/Target/GenericOpcodes.td27
-rw-r--r--include/llvm/Target/GlobalISel/SelectionDAGCompat.td21
-rw-r--r--include/llvm/Target/GlobalISel/Target.td13
-rw-r--r--include/llvm/Target/Target.td51
-rw-r--r--include/llvm/Target/TargetInstrPredicate.td197
-rw-r--r--include/llvm/Target/TargetItinerary.td6
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h196
-rw-r--r--include/llvm/Target/TargetMachine.h50
-rw-r--r--include/llvm/Target/TargetOptions.h28
-rw-r--r--include/llvm/Target/TargetSchedule.td138
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td42
-rw-r--r--include/llvm/Testing/Support/Error.h64
-rw-r--r--include/llvm/Testing/Support/SupportHelpers.h20
-rw-r--r--include/llvm/Transforms/AggressiveInstCombine/AggressiveInstCombine.h41
-rw-r--r--include/llvm/Transforms/GCOVProfiler.h31
-rw-r--r--include/llvm/Transforms/IPO.h23
-rw-r--r--include/llvm/Transforms/IPO/AlwaysInliner.h8
-rw-r--r--include/llvm/Transforms/IPO/ArgumentPromotion.h4
-rw-r--r--include/llvm/Transforms/IPO/FunctionImport.h38
-rw-r--r--include/llvm/Transforms/IPO/Inliner.h5
-rw-r--r--include/llvm/Transforms/IPO/LowerTypeTests.h6
-rw-r--r--include/llvm/Transforms/IPO/SampleProfile.h40
-rw-r--r--include/llvm/Transforms/IPO/SyntheticCountsPropagation.h19
-rw-r--r--include/llvm/Transforms/IPO/WholeProgramDevirt.h8
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombine.h19
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombineWorklist.h5
-rw-r--r--include/llvm/Transforms/InstrProfiling.h124
-rw-r--r--include/llvm/Transforms/Instrumentation.h7
-rw-r--r--include/llvm/Transforms/Instrumentation/CGProfile.h31
-rw-r--r--include/llvm/Transforms/Instrumentation/GCOVProfiler.h31
-rw-r--r--include/llvm/Transforms/Instrumentation/InstrProfiling.h125
-rw-r--r--include/llvm/Transforms/Instrumentation/PGOInstrumentation.h75
-rw-r--r--include/llvm/Transforms/PGOInstrumentation.h75
-rw-r--r--include/llvm/Transforms/SampleProfile.h40
-rw-r--r--include/llvm/Transforms/Scalar.h141
-rw-r--r--include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h6
-rw-r--r--include/llvm/Transforms/Scalar/CallSiteSplitting.h2
-rw-r--r--include/llvm/Transforms/Scalar/ConstantHoisting.h10
-rw-r--r--include/llvm/Transforms/Scalar/EarlyCSE.h4
-rw-r--r--include/llvm/Transforms/Scalar/GVN.h10
-rw-r--r--include/llvm/Transforms/Scalar/GVNExpression.h2
-rw-r--r--include/llvm/Transforms/Scalar/InductiveRangeCheckElimination.h31
-rw-r--r--include/llvm/Transforms/Scalar/InstSimplifyPass.h46
-rw-r--r--include/llvm/Transforms/Scalar/JumpThreading.h6
-rw-r--r--include/llvm/Transforms/Scalar/LoopAccessAnalysisPrinter.h2
-rw-r--r--include/llvm/Transforms/Scalar/LoopDataPrefetch.h2
-rw-r--r--include/llvm/Transforms/Scalar/LoopPassManager.h17
-rw-r--r--include/llvm/Transforms/Scalar/LoopUnrollAndJamPass.h35
-rw-r--r--include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h2
-rw-r--r--include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h2
-rw-r--r--include/llvm/Transforms/Scalar/NewGVN.h2
-rw-r--r--include/llvm/Transforms/Scalar/Reassociate.h13
-rw-r--r--include/llvm/Transforms/Scalar/SCCP.h5
-rw-r--r--include/llvm/Transforms/Scalar/SROA.h16
-rw-r--r--include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h31
-rw-r--r--include/llvm/Transforms/Scalar/SimplifyCFG.h4
-rw-r--r--include/llvm/Transforms/Scalar/SpeculateAroundPHIs.h2
-rw-r--r--include/llvm/Transforms/Utils.h118
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h6
-rw-r--r--include/llvm/Transforms/Utils/BuildLibCalls.h48
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h13
-rw-r--r--include/llvm/Transforms/Utils/CodeExtractor.h26
-rw-r--r--include/llvm/Transforms/Utils/Evaluator.h13
-rw-r--r--include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h2
-rw-r--r--include/llvm/Transforms/Utils/IntegerDivision.h12
-rw-r--r--include/llvm/Transforms/Utils/Local.h134
-rw-r--r--include/llvm/Transforms/Utils/LoopRotationUtils.h40
-rw-r--r--include/llvm/Transforms/Utils/LoopSimplify.h2
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h106
-rw-r--r--include/llvm/Transforms/Utils/LoopVersioning.h44
-rw-r--r--include/llvm/Transforms/Utils/ModuleUtils.h8
-rw-r--r--include/llvm/Transforms/Utils/OrderedInstructions.h11
-rw-r--r--include/llvm/Transforms/Utils/PredicateInfo.h14
-rw-r--r--include/llvm/Transforms/Utils/PromoteMemToReg.h4
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdater.h30
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdaterBulk.h92
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdaterImpl.h10
-rw-r--r--include/llvm/Transforms/Utils/SimplifyInstructions.h31
-rw-r--r--include/llvm/Transforms/Utils/SimplifyLibCalls.h19
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h45
-rw-r--r--include/llvm/Transforms/Vectorize.h54
-rw-r--r--include/llvm/Transforms/Vectorize/LoopVectorizationLegality.h482
-rw-r--r--include/llvm/Transforms/Vectorize/LoopVectorize.h8
-rw-r--r--include/llvm/Transforms/Vectorize/SLPVectorizer.h23
-rw-r--r--include/llvm/XRay/XRayRecord.h3
-rw-r--r--include/llvm/XRay/YAMLXRayRecord.h2
-rw-r--r--include/llvm/module.modulemap24
-rw-r--r--lib/Analysis/AliasAnalysis.cpp174
-rw-r--r--lib/Analysis/AliasAnalysisEvaluator.cpp77
-rw-r--r--lib/Analysis/AliasAnalysisSummary.h2
-rw-r--r--lib/Analysis/AliasSetTracker.cpp42
-rw-r--r--lib/Analysis/Analysis.cpp2
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp145
-rw-r--r--lib/Analysis/BlockFrequencyInfoImpl.cpp107
-rw-r--r--lib/Analysis/BranchProbabilityInfo.cpp213
-rw-r--r--lib/Analysis/CFGPrinter.cpp11
-rw-r--r--lib/Analysis/CFLAndersAliasAnalysis.cpp19
-rw-r--r--lib/Analysis/CFLGraph.h67
-rw-r--r--lib/Analysis/CFLSteensAliasAnalysis.cpp5
-rw-r--r--lib/Analysis/CGSCCPassManager.cpp43
-rw-r--r--lib/Analysis/CMakeLists.txt3
-rw-r--r--lib/Analysis/CallGraph.cpp5
-rw-r--r--lib/Analysis/CallGraphSCCPass.cpp62
-rw-r--r--lib/Analysis/CaptureTracking.cpp55
-rw-r--r--lib/Analysis/CodeMetrics.cpp2
-rw-r--r--lib/Analysis/ConstantFolding.cpp149
-rw-r--r--lib/Analysis/Delinearization.cpp12
-rw-r--r--lib/Analysis/DemandedBits.cpp8
-rw-r--r--lib/Analysis/DependenceAnalysis.cpp732
-rw-r--r--lib/Analysis/DivergenceAnalysis.cpp21
-rw-r--r--lib/Analysis/DominanceFrontier.cpp1
-rw-r--r--lib/Analysis/EHPersonalities.cpp30
-rw-r--r--lib/Analysis/GlobalsModRef.cpp8
-rw-r--r--lib/Analysis/IVUsers.cpp18
-rw-r--r--lib/Analysis/IndirectCallPromotionAnalysis.cpp10
-rw-r--r--lib/Analysis/InlineCost.cpp132
-rw-r--r--lib/Analysis/InstructionSimplify.cpp506
-rw-r--r--lib/Analysis/IteratedDominanceFrontier.cpp16
-rw-r--r--lib/Analysis/LazyBlockFrequencyInfo.cpp5
-rw-r--r--lib/Analysis/LazyBranchProbabilityInfo.cpp5
-rw-r--r--lib/Analysis/LazyCallGraph.cpp39
-rw-r--r--lib/Analysis/LazyValueInfo.cpp121
-rw-r--r--lib/Analysis/Lint.cpp14
-rw-r--r--lib/Analysis/Loads.cpp12
-rw-r--r--lib/Analysis/LoopAccessAnalysis.cpp345
-rw-r--r--lib/Analysis/LoopAnalysisManager.cpp2
-rw-r--r--lib/Analysis/LoopInfo.cpp64
-rw-r--r--lib/Analysis/LoopPass.cpp33
-rw-r--r--lib/Analysis/LoopUnrollAnalyzer.cpp2
-rw-r--r--lib/Analysis/MemoryBuiltins.cpp77
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp67
-rw-r--r--lib/Analysis/MemoryLocation.cpp24
-rw-r--r--lib/Analysis/MemorySSA.cpp378
-rw-r--r--lib/Analysis/MemorySSAUpdater.cpp229
-rw-r--r--lib/Analysis/ModuleSummaryAnalysis.cpp62
-rw-r--r--lib/Analysis/MustExecute.cpp269
-rw-r--r--lib/Analysis/ObjCARCAnalysisUtils.cpp2
-rw-r--r--lib/Analysis/ObjCARCInstKind.cpp19
-rw-r--r--lib/Analysis/OrderedBasicBlock.cpp4
-rw-r--r--lib/Analysis/PHITransAddr.cpp1
-rw-r--r--lib/Analysis/PhiValues.cpp196
-rw-r--r--lib/Analysis/PostDominators.cpp16
-rw-r--r--lib/Analysis/ProfileSummaryInfo.cpp22
-rw-r--r--lib/Analysis/RegionInfo.cpp3
-rw-r--r--lib/Analysis/RegionPass.cpp15
-rw-r--r--lib/Analysis/ScalarEvolution.cpp1428
-rw-r--r--lib/Analysis/ScalarEvolutionExpander.cpp88
-rw-r--r--lib/Analysis/StratifiedSets.h20
-rw-r--r--lib/Analysis/SyntheticCountsUtils.cpp113
-rw-r--r--lib/Analysis/TargetLibraryInfo.cpp199
-rw-r--r--lib/Analysis/TargetTransformInfo.cpp171
-rw-r--r--lib/Analysis/Trace.cpp1
-rw-r--r--lib/Analysis/TypeBasedAliasAnalysis.cpp313
-rw-r--r--lib/Analysis/ValueTracking.cpp515
-rw-r--r--lib/Analysis/VectorUtils.cpp20
-rw-r--r--lib/AsmParser/LLLexer.cpp132
-rw-r--r--lib/AsmParser/LLLexer.h13
-rw-r--r--lib/AsmParser/LLParser.cpp1596
-rw-r--r--lib/AsmParser/LLParser.h158
-rw-r--r--lib/AsmParser/LLToken.h72
-rw-r--r--lib/AsmParser/Parser.cpp114
-rw-r--r--lib/BinaryFormat/CMakeLists.txt3
-rw-r--r--lib/BinaryFormat/Dwarf.cpp147
-rw-r--r--lib/BinaryFormat/Magic.cpp20
-rw-r--r--lib/BinaryFormat/Wasm.cpp34
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp193
-rw-r--r--lib/Bitcode/Reader/MetadataLoader.cpp74
-rw-r--r--lib/Bitcode/Reader/ValueList.cpp6
-rw-r--r--lib/Bitcode/Writer/BitWriter.cpp6
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp228
-rw-r--r--lib/Bitcode/Writer/BitcodeWriterPass.cpp8
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.cpp7
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.cpp164
-rw-r--r--lib/CodeGen/AllocationOrder.cpp2
-rw-r--r--lib/CodeGen/Analysis.cpp56
-rw-r--r--lib/CodeGen/AsmPrinter/ARMException.cpp5
-rw-r--r--lib/CodeGen/AsmPrinter/AccelTable.cpp721
-rw-r--r--lib/CodeGen/AsmPrinter/AddressPool.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/AddressPool.h2
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp234
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp34
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterHandler.h18
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp3
-rw-r--r--lib/CodeGen/AsmPrinter/ByteStreamer.h24
-rw-r--r--lib/CodeGen/AsmPrinter/CMakeLists.txt3
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.cpp477
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.h76
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.cpp132
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp24
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.h38
-rw-r--r--lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp54
-rw-r--r--lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h4
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp33
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.h8
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocEntry.h17
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocStream.h8
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp293
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfAccelTable.h261
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCFIException.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp189
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h31
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp665
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h121
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h2
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.cpp29
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.h3
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfFile.cpp44
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfFile.h54
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfStringPool.cpp29
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfStringPool.h9
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.cpp234
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h40
-rw-r--r--lib/CodeGen/AsmPrinter/EHStreamer.cpp152
-rw-r--r--lib/CodeGen/AsmPrinter/EHStreamer.h12
-rw-r--r--lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp12
-rw-r--r--lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp10
-rw-r--r--lib/CodeGen/AsmPrinter/WinCFGuard.cpp45
-rw-r--r--lib/CodeGen/AsmPrinter/WinCFGuard.h54
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.h2
-rw-r--r--lib/CodeGen/AtomicExpandPass.cpp12
-rw-r--r--lib/CodeGen/BranchFolding.cpp264
-rw-r--r--lib/CodeGen/BranchFolding.h10
-rw-r--r--lib/CodeGen/BranchRelaxation.cpp184
-rw-r--r--lib/CodeGen/BreakFalseDeps.cpp271
-rw-r--r--lib/CodeGen/CFIInstrInserter.cpp326
-rw-r--r--lib/CodeGen/CMakeLists.txt9
-rw-r--r--lib/CodeGen/CalcSpillWeights.cpp6
-rw-r--r--lib/CodeGen/CodeGen.cpp14
-rw-r--r--lib/CodeGen/CodeGenPrepare.cpp944
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.cpp30
-rw-r--r--lib/CodeGen/DFAPacketizer.cpp28
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp2
-rw-r--r--lib/CodeGen/DetectDeadLanes.cpp35
-rw-r--r--lib/CodeGen/DwarfEHPrepare.cpp6
-rw-r--r--lib/CodeGen/EarlyIfConversion.cpp99
-rw-r--r--lib/CodeGen/ExecutionDepsFix.cpp755
-rw-r--r--lib/CodeGen/ExecutionDomainFix.cpp473
-rw-r--r--lib/CodeGen/ExpandMemCmp.cpp35
-rw-r--r--lib/CodeGen/ExpandPostRAPseudos.cpp31
-rw-r--r--lib/CodeGen/ExpandReductions.cpp15
-rw-r--r--lib/CodeGen/FaultMaps.cpp22
-rw-r--r--lib/CodeGen/FuncletLayout.cpp5
-rw-r--r--lib/CodeGen/GCRootLowering.cpp4
-rw-r--r--lib/CodeGen/GlobalISel/CMakeLists.txt6
-rw-r--r--lib/CodeGen/GlobalISel/CallLowering.cpp3
-rw-r--r--lib/CodeGen/GlobalISel/Combiner.cpp81
-rw-r--r--lib/CodeGen/GlobalISel/CombinerHelper.cpp41
-rw-r--r--lib/CodeGen/GlobalISel/IRTranslator.cpp623
-rw-r--r--lib/CodeGen/GlobalISel/InstructionSelect.cpp106
-rw-r--r--lib/CodeGen/GlobalISel/InstructionSelector.cpp44
-rw-r--r--lib/CodeGen/GlobalISel/LegalityPredicates.cpp101
-rw-r--r--lib/CodeGen/GlobalISel/LegalizeMutations.cpp51
-rw-r--r--lib/CodeGen/GlobalISel/Legalizer.cpp11
-rw-r--r--lib/CodeGen/GlobalISel/LegalizerHelper.cpp646
-rw-r--r--lib/CodeGen/GlobalISel/LegalizerInfo.cpp245
-rw-r--r--lib/CodeGen/GlobalISel/Localizer.cpp23
-rw-r--r--lib/CodeGen/GlobalISel/MachineIRBuilder.cpp638
-rw-r--r--lib/CodeGen/GlobalISel/RegBankSelect.cpp67
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBank.cpp1
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBankInfo.cpp41
-rw-r--r--lib/CodeGen/GlobalISel/Utils.cpp99
-rw-r--r--lib/CodeGen/GlobalMerge.cpp72
-rw-r--r--lib/CodeGen/IfConversion.cpp112
-rw-r--r--lib/CodeGen/ImplicitNullChecks.cpp39
-rw-r--r--lib/CodeGen/IndirectBrExpandPass.cpp221
-rw-r--r--lib/CodeGen/InlineSpiller.cpp90
-rw-r--r--lib/CodeGen/InterferenceCache.cpp4
-rw-r--r--lib/CodeGen/InterleavedAccessPass.cpp18
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp1
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp47
-rw-r--r--lib/CodeGen/LatencyPriorityQueue.cpp12
-rw-r--r--lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp12
-rw-r--r--lib/CodeGen/LexicalScopes.cpp1
-rw-r--r--lib/CodeGen/LiveDebugValues.cpp261
-rw-r--r--lib/CodeGen/LiveDebugVariables.cpp131
-rw-r--r--lib/CodeGen/LiveInterval.cpp2
-rw-r--r--lib/CodeGen/LiveIntervalUnion.cpp2
-rw-r--r--lib/CodeGen/LiveIntervals.cpp143
-rw-r--r--lib/CodeGen/LivePhysRegs.cpp46
-rw-r--r--lib/CodeGen/LiveRangeCalc.cpp21
-rw-r--r--lib/CodeGen/LiveRangeCalc.h11
-rw-r--r--lib/CodeGen/LiveRangeEdit.cpp44
-rw-r--r--lib/CodeGen/LiveRangeShrink.cpp6
-rw-r--r--lib/CodeGen/LiveRegMatrix.cpp52
-rw-r--r--lib/CodeGen/LiveRegUnits.cpp4
-rw-r--r--lib/CodeGen/LiveVariables.cpp5
-rw-r--r--lib/CodeGen/LocalStackSlotAllocation.cpp42
-rw-r--r--lib/CodeGen/LoopTraversal.cpp77
-rw-r--r--lib/CodeGen/LowerEmuTLS.cpp2
-rw-r--r--lib/CodeGen/MIRCanonicalizerPass.cpp407
-rw-r--r--lib/CodeGen/MIRParser/MILexer.cpp65
-rw-r--r--lib/CodeGen/MIRParser/MILexer.h15
-rw-r--r--lib/CodeGen/MIRParser/MIParser.cpp150
-rw-r--r--lib/CodeGen/MIRParser/MIParser.h4
-rw-r--r--lib/CodeGen/MIRParser/MIRParser.cpp34
-rw-r--r--lib/CodeGen/MIRPrinter.cpp220
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp239
-rw-r--r--lib/CodeGen/MachineBlockPlacement.cpp264
-rw-r--r--lib/CodeGen/MachineCSE.cpp47
-rw-r--r--lib/CodeGen/MachineCombiner.cpp187
-rw-r--r--lib/CodeGen/MachineCopyPropagation.cpp227
-rw-r--r--lib/CodeGen/MachineDominators.cpp35
-rw-r--r--lib/CodeGen/MachineFrameInfo.cpp9
-rw-r--r--lib/CodeGen/MachineFunction.cpp19
-rw-r--r--lib/CodeGen/MachineFunctionPass.cpp2
-rw-r--r--lib/CodeGen/MachineInstr.cpp335
-rw-r--r--lib/CodeGen/MachineLICM.cpp272
-rw-r--r--lib/CodeGen/MachineLoopInfo.cpp1
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp2
-rw-r--r--lib/CodeGen/MachineOperand.cpp335
-rw-r--r--lib/CodeGen/MachineOptimizationRemarkEmitter.cpp3
-rw-r--r--lib/CodeGen/MachineOutliner.cpp600
-rw-r--r--lib/CodeGen/MachinePipeliner.cpp689
-rw-r--r--lib/CodeGen/MachineRegionInfo.cpp3
-rw-r--r--lib/CodeGen/MachineRegisterInfo.cpp84
-rw-r--r--lib/CodeGen/MachineSSAUpdater.cpp2
-rw-r--r--lib/CodeGen/MachineScheduler.cpp452
-rw-r--r--lib/CodeGen/MachineSink.cpp376
-rw-r--r--lib/CodeGen/MachineTraceMetrics.cpp58
-rw-r--r--lib/CodeGen/MachineVerifier.cpp179
-rw-r--r--lib/CodeGen/MacroFusion.cpp36
-rw-r--r--lib/CodeGen/OptimizePHIs.cpp2
-rw-r--r--lib/CodeGen/PHIElimination.cpp31
-rw-r--r--lib/CodeGen/ParallelCG.cpp6
-rw-r--r--lib/CodeGen/PatchableFunction.cpp1
-rw-r--r--lib/CodeGen/PeepholeOptimizer.cpp917
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp45
-rw-r--r--lib/CodeGen/ProcessImplicitDefs.cpp18
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp242
-rw-r--r--lib/CodeGen/ReachingDefAnalysis.cpp195
-rw-r--r--lib/CodeGen/RegAllocBase.cpp12
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp13
-rw-r--r--lib/CodeGen/RegAllocFast.cpp121
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp336
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp75
-rw-r--r--lib/CodeGen/RegUsageInfoCollector.cpp124
-rw-r--r--lib/CodeGen/RegUsageInfoPropagate.cpp95
-rw-r--r--lib/CodeGen/RegisterClassInfo.cpp11
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp424
-rw-r--r--lib/CodeGen/RegisterPressure.cpp11
-rw-r--r--lib/CodeGen/RegisterScavenging.cpp33
-rw-r--r--lib/CodeGen/RegisterUsageInfo.cpp30
-rw-r--r--lib/CodeGen/RenameIndependentSubregs.cpp36
-rw-r--r--lib/CodeGen/ResetMachineFunctionPass.cpp18
-rw-r--r--lib/CodeGen/SafeStack.cpp118
-rw-r--r--lib/CodeGen/SafeStackColoring.cpp17
-rw-r--r--lib/CodeGen/SafeStackLayout.cpp29
-rw-r--r--lib/CodeGen/SafeStackLayout.h4
-rw-r--r--lib/CodeGen/ScalarizeMaskedMemIntrin.cpp3
-rw-r--r--lib/CodeGen/ScheduleDAG.cpp1
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp78
-rw-r--r--lib/CodeGen/ScheduleDAGPrinter.cpp2
-rw-r--r--lib/CodeGen/ScoreboardHazardRecognizer.cpp17
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp3533
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp245
-rw-r--r--lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp94
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.cpp74
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.h3
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp353
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp56
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp139
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp268
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.h125
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp5
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp265
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp225
-rw-r--r--lib/CodeGen/SelectionDAG/SDNodeDbgValue.h47
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp51
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp201
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp36
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h4
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGVLIW.cpp12
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp844
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGAddressAnalysis.cpp64
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp923
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h46
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp80
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp644
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp2
-rw-r--r--lib/CodeGen/SelectionDAG/StatepointLowering.cpp2
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp918
-rw-r--r--lib/CodeGen/ShrinkWrap.cpp171
-rw-r--r--lib/CodeGen/SjLjEHPrepare.cpp35
-rw-r--r--lib/CodeGen/SlotIndexes.cpp15
-rw-r--r--lib/CodeGen/SpillPlacement.cpp2
-rw-r--r--lib/CodeGen/SplitKit.cpp226
-rw-r--r--lib/CodeGen/SplitKit.h8
-rw-r--r--lib/CodeGen/StackColoring.cpp115
-rw-r--r--lib/CodeGen/StackMapLivenessAnalysis.cpp24
-rw-r--r--lib/CodeGen/StackMaps.cpp32
-rw-r--r--lib/CodeGen/StackProtector.cpp79
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp116
-rw-r--r--lib/CodeGen/TailDuplication.cpp59
-rw-r--r--lib/CodeGen/TailDuplicator.cpp38
-rw-r--r--lib/CodeGen/TargetFrameLoweringImpl.cpp31
-rw-r--r--lib/CodeGen/TargetInstrInfo.cpp20
-rw-r--r--lib/CodeGen/TargetLoweringBase.cpp80
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp268
-rw-r--r--lib/CodeGen/TargetPassConfig.cpp115
-rw-r--r--lib/CodeGen/TargetRegisterInfo.cpp73
-rw-r--r--lib/CodeGen/TargetSchedule.cpp120
-rw-r--r--lib/CodeGen/TargetSubtargetInfo.cpp29
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp86
-rw-r--r--lib/CodeGen/ValueTypes.cpp321
-rw-r--r--lib/CodeGen/VirtRegMap.cpp73
-rw-r--r--lib/CodeGen/WasmEHPrepare.cpp374
-rw-r--r--lib/CodeGen/WinEHPrepare.cpp89
-rw-r--r--lib/CodeGen/XRayInstrumentation.cpp20
-rw-r--r--lib/DebugInfo/CodeView/DebugChecksumsSubsection.cpp2
-rw-r--r--lib/DebugInfo/CodeView/DebugCrossImpSubsection.cpp8
-rw-r--r--lib/DebugInfo/CodeView/DebugStringTableSubsection.cpp34
-rw-r--r--lib/DebugInfo/CodeView/GlobalTypeTableBuilder.cpp37
-rw-r--r--lib/DebugInfo/CodeView/RecordName.cpp31
-rw-r--r--lib/DebugInfo/CodeView/SymbolDumper.cpp1
-rw-r--r--lib/DebugInfo/CodeView/TypeDumpVisitor.cpp16
-rw-r--r--lib/DebugInfo/CodeView/TypeHashing.cpp11
-rw-r--r--lib/DebugInfo/CodeView/TypeIndexDiscovery.cpp4
-rw-r--r--lib/DebugInfo/CodeView/TypeRecordMapping.cpp15
-rw-r--r--lib/DebugInfo/CodeView/TypeStreamMerger.cpp179
-rw-r--r--lib/DebugInfo/DWARF/CMakeLists.txt4
-rw-r--r--lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp26
-rw-r--r--lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp803
-rw-r--r--lib/DebugInfo/DWARF/DWARFAddressRange.cpp29
-rw-r--r--lib/DebugInfo/DWARF/DWARFCompileUnit.cpp7
-rw-r--r--lib/DebugInfo/DWARF/DWARFContext.cpp267
-rw-r--r--lib/DebugInfo/DWARF/DWARFDataExtractor.cpp69
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp13
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugAranges.cpp2
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugFrame.cpp550
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLine.cpp387
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLoc.cpp25
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugMacro.cpp5
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp2
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp25
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugRnglists.cpp205
-rw-r--r--lib/DebugInfo/DWARF/DWARFDie.cpp165
-rw-r--r--lib/DebugInfo/DWARF/DWARFExpression.cpp5
-rw-r--r--lib/DebugInfo/DWARF/DWARFFormValue.cpp210
-rw-r--r--lib/DebugInfo/DWARF/DWARFListTable.cpp109
-rw-r--r--lib/DebugInfo/DWARF/DWARFTypeUnit.cpp21
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnit.cpp671
-rw-r--r--lib/DebugInfo/DWARF/DWARFVerifier.cpp643
-rw-r--r--lib/DebugInfo/DWARF/SyntaxHighlighting.cpp43
-rw-r--r--lib/DebugInfo/DWARF/SyntaxHighlighting.h52
-rw-r--r--lib/DebugInfo/MSF/MSFBuilder.cpp116
-rw-r--r--lib/DebugInfo/MSF/MSFCommon.cpp14
-rw-r--r--lib/DebugInfo/PDB/CMakeLists.txt7
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAEnumInjectedSources.cpp52
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAEnumSectionContribs.cpp54
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAInjectedSource.cpp63
-rw-r--r--lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp108
-rw-r--r--lib/DebugInfo/PDB/DIA/DIASectionContrib.cpp126
-rw-r--r--lib/DebugInfo/PDB/DIA/DIASession.cpp123
-rw-r--r--lib/DebugInfo/PDB/GenericError.cpp2
-rw-r--r--lib/DebugInfo/PDB/Native/DbiModuleDescriptor.cpp4
-rw-r--r--lib/DebugInfo/PDB/Native/DbiModuleDescriptorBuilder.cpp7
-rw-r--r--lib/DebugInfo/PDB/Native/DbiStream.cpp28
-rw-r--r--lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp53
-rw-r--r--lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp51
-rw-r--r--lib/DebugInfo/PDB/Native/HashTable.cpp250
-rw-r--r--lib/DebugInfo/PDB/Native/InfoStream.cpp31
-rw-r--r--lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp20
-rw-r--r--lib/DebugInfo/PDB/Native/NamedStreamMap.cpp147
-rw-r--r--lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp54
-rw-r--r--lib/DebugInfo/PDB/Native/NativeSession.cpp44
-rw-r--r--lib/DebugInfo/PDB/Native/PDBFile.cpp17
-rw-r--r--lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp260
-rw-r--r--lib/DebugInfo/PDB/Native/PDBStringTable.cpp3
-rw-r--r--lib/DebugInfo/PDB/Native/PDBStringTableBuilder.cpp92
-rw-r--r--lib/DebugInfo/PDB/Native/TpiStream.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBExtras.cpp15
-rw-r--r--lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp6
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompiland.cpp102
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolData.cpp51
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFunc.cpp15
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp19
-rw-r--r--lib/DebugInfo/Symbolize/LLVMBuild.txt2
-rw-r--r--lib/DebugInfo/Symbolize/Symbolize.cpp20
-rw-r--r--lib/Demangle/CMakeLists.txt4
-rw-r--r--lib/Demangle/Compiler.h93
-rw-r--r--lib/Demangle/ItaniumDemangle.cpp8767
-rw-r--r--lib/Demangle/MicrosoftDemangle.cpp1684
-rw-r--r--lib/Demangle/StringView.h97
-rw-r--r--lib/Demangle/Utility.h188
-rw-r--r--lib/ExecutionEngine/CMakeLists.txt4
-rw-r--r--lib/ExecutionEngine/ExecutionEngine.cpp38
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp26
-rw-r--r--lib/ExecutionEngine/GDBRegistrationListener.cpp6
-rw-r--r--lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp15
-rw-r--r--lib/ExecutionEngine/IntelJITEvents/jitprofiling.c1
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp12
-rw-r--r--lib/ExecutionEngine/LLVMBuild.txt2
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.cpp19
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.h20
-rw-r--r--lib/ExecutionEngine/MCJIT/ObjectBuffer.h48
-rw-r--r--lib/ExecutionEngine/OProfileJIT/LLVMBuild.txt2
-rw-r--r--lib/ExecutionEngine/OProfileJIT/OProfileJITEventListener.cpp55
-rw-r--r--lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp9
-rw-r--r--lib/ExecutionEngine/Orc/CMakeLists.txt15
-rw-r--r--lib/ExecutionEngine/Orc/CompileOnDemandLayer.cpp343
-rw-r--r--lib/ExecutionEngine/Orc/Core.cpp1690
-rw-r--r--lib/ExecutionEngine/Orc/ExecutionUtils.cpp154
-rw-r--r--lib/ExecutionEngine/Orc/IRCompileLayer.cpp44
-rw-r--r--lib/ExecutionEngine/Orc/IRTransformLayer.cpp34
-rw-r--r--lib/ExecutionEngine/Orc/IndirectionUtils.cpp107
-rw-r--r--lib/ExecutionEngine/Orc/LLJIT.cpp134
-rw-r--r--lib/ExecutionEngine/Orc/LLVMBuild.txt4
-rw-r--r--lib/ExecutionEngine/Orc/Layer.cpp106
-rw-r--r--lib/ExecutionEngine/Orc/Legacy.cpp68
-rw-r--r--lib/ExecutionEngine/Orc/NullResolver.cpp16
-rw-r--r--lib/ExecutionEngine/Orc/ObjectTransformLayer.cpp34
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindings.cpp48
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.h382
-rw-r--r--lib/ExecutionEngine/Orc/OrcError.cpp25
-rw-r--r--lib/ExecutionEngine/Orc/OrcMCJITReplacement.cpp9
-rw-r--r--lib/ExecutionEngine/Orc/OrcMCJITReplacement.h224
-rw-r--r--lib/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.cpp177
-rw-r--r--lib/ExecutionEngine/PerfJITEvents/CMakeLists.txt5
-rw-r--r--lib/ExecutionEngine/PerfJITEvents/LLVMBuild.txt22
-rw-r--r--lib/ExecutionEngine/PerfJITEvents/PerfJITEventListener.cpp497
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp50
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp380
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp27
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp186
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h58
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp16
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h45
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h63
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h122
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp44
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h4
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h103
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h32
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h12
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h2
-rw-r--r--lib/ExecutionEngine/SectionMemoryManager.cpp2
-rw-r--r--lib/ExecutionEngine/TargetSelect.cpp2
-rw-r--r--lib/FuzzMutate/FuzzerCLI.cpp44
-rw-r--r--lib/FuzzMutate/IRMutator.cpp13
-rw-r--r--lib/IR/AsmWriter.cpp835
-rw-r--r--lib/IR/AttributeImpl.h18
-rw-r--r--lib/IR/Attributes.cpp190
-rw-r--r--lib/IR/AutoUpgrade.cpp1507
-rw-r--r--lib/IR/BasicBlock.cpp27
-rw-r--r--lib/IR/CMakeLists.txt2
-rw-r--r--lib/IR/Comdat.cpp58
-rw-r--r--lib/IR/ConstantFold.cpp79
-rw-r--r--lib/IR/ConstantRange.cpp73
-rw-r--r--lib/IR/Constants.cpp191
-rw-r--r--lib/IR/ConstantsContext.h4
-rw-r--r--lib/IR/Core.cpp349
-rw-r--r--lib/IR/DIBuilder.cpp136
-rw-r--r--lib/IR/DataLayout.cpp84
-rw-r--r--lib/IR/DebugInfo.cpp694
-rw-r--r--lib/IR/DebugInfoMetadata.cpp234
-rw-r--r--lib/IR/DebugLoc.cpp15
-rw-r--r--lib/IR/DiagnosticHandler.cpp2
-rw-r--r--lib/IR/DiagnosticInfo.cpp6
-rw-r--r--lib/IR/DomTreeUpdater.cpp534
-rw-r--r--lib/IR/Dominators.cpp245
-rw-r--r--lib/IR/Function.cpp122
-rw-r--r--lib/IR/Globals.cpp18
-rw-r--r--lib/IR/IRBuilder.cpp224
-rw-r--r--lib/IR/IRPrintingPasses.cpp14
-rw-r--r--lib/IR/Instruction.cpp16
-rw-r--r--lib/IR/Instructions.cpp431
-rw-r--r--lib/IR/IntrinsicInst.cpp12
-rw-r--r--lib/IR/LLVMContext.cpp8
-rw-r--r--lib/IR/LLVMContextImpl.cpp24
-rw-r--r--lib/IR/LLVMContextImpl.h152
-rw-r--r--lib/IR/LegacyPassManager.cpp94
-rw-r--r--lib/IR/MDBuilder.cpp45
-rw-r--r--lib/IR/Mangler.cpp22
-rw-r--r--lib/IR/Metadata.cpp83
-rw-r--r--lib/IR/Module.cpp16
-rw-r--r--lib/IR/ModuleSummaryIndex.cpp278
-rw-r--r--lib/IR/Operator.cpp4
-rw-r--r--lib/IR/OptBisect.cpp37
-rw-r--r--lib/IR/Pass.cpp15
-rw-r--r--lib/IR/ProfileSummary.cpp36
-rw-r--r--lib/IR/SafepointIRVerifier.cpp247
-rw-r--r--lib/IR/Type.cpp24
-rw-r--r--lib/IR/TypeFinder.cpp50
-rw-r--r--lib/IR/Value.cpp61
-rw-r--r--lib/IR/ValueSymbolTable.cpp8
-rw-r--r--lib/IR/ValueTypes.cpp324
-rw-r--r--lib/IR/Verifier.cpp349
-rw-r--r--lib/IRReader/IRReader.cpp13
-rw-r--r--lib/LTO/Caching.cpp38
-rw-r--r--lib/LTO/LLVMBuild.txt1
-rw-r--r--lib/LTO/LTO.cpp158
-rw-r--r--lib/LTO/LTOBackend.cpp119
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp2
-rw-r--r--lib/LTO/LTOModule.cpp27
-rw-r--r--lib/LTO/ThinLTOCodeGenerator.cpp150
-rw-r--r--lib/Linker/IRMover.cpp64
-rw-r--r--lib/MC/CMakeLists.txt1
-rw-r--r--lib/MC/ELFObjectWriter.cpp1051
-rw-r--r--lib/MC/LLVMBuild.txt2
-rw-r--r--lib/MC/MCAsmBackend.cpp57
-rw-r--r--lib/MC/MCAsmInfo.cpp11
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp19
-rw-r--r--lib/MC/MCAsmMacro.cpp42
-rw-r--r--lib/MC/MCAsmStreamer.cpp356
-rw-r--r--lib/MC/MCAssembler.cpp280
-rw-r--r--lib/MC/MCCodeView.cpp86
-rw-r--r--lib/MC/MCContext.cpp69
-rw-r--r--lib/MC/MCDisassembler/Disassembler.cpp10
-rw-r--r--lib/MC/MCDwarf.cpp265
-rw-r--r--lib/MC/MCELFStreamer.cpp110
-rw-r--r--lib/MC/MCExpr.cpp65
-rw-r--r--lib/MC/MCFragment.cpp44
-rw-r--r--lib/MC/MCInst.cpp19
-rw-r--r--lib/MC/MCInstrAnalysis.cpp9
-rw-r--r--lib/MC/MCLabel.cpp1
-rw-r--r--lib/MC/MCLinkerOptimizationHint.cpp2
-rw-r--r--lib/MC/MCMachOStreamer.cpp58
-rw-r--r--lib/MC/MCNullStreamer.cpp3
-rw-r--r--lib/MC/MCObjectFileInfo.cpp93
-rw-r--r--lib/MC/MCObjectStreamer.cpp150
-rw-r--r--lib/MC/MCParser/AsmParser.cpp421
-rw-r--r--lib/MC/MCParser/COFFAsmParser.cpp52
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp12
-rw-r--r--lib/MC/MCParser/ELFAsmParser.cpp108
-rw-r--r--lib/MC/MCParser/MCAsmLexer.cpp93
-rw-r--r--lib/MC/MCParser/MCAsmParser.cpp2
-rw-r--r--lib/MC/MCSchedule.cpp118
-rw-r--r--lib/MC/MCSection.cpp1
-rw-r--r--lib/MC/MCSectionCOFF.cpp25
-rw-r--r--lib/MC/MCSectionELF.cpp4
-rw-r--r--lib/MC/MCStreamer.cpp98
-rw-r--r--lib/MC/MCSubtargetInfo.cpp5
-rw-r--r--lib/MC/MCSymbol.cpp1
-rw-r--r--lib/MC/MCValue.cpp1
-rw-r--r--lib/MC/MCWasmObjectTargetWriter.cpp3
-rw-r--r--lib/MC/MCWasmStreamer.cpp36
-rw-r--r--lib/MC/MCWinCOFFStreamer.cpp59
-rw-r--r--lib/MC/MachObjectWriter.cpp275
-rw-r--r--lib/MC/StringTableBuilder.cpp2
-rw-r--r--lib/MC/SubtargetFeature.cpp1
-rw-r--r--lib/MC/WasmObjectWriter.cpp1200
-rw-r--r--lib/MC/WinCOFFObjectWriter.cpp195
-rw-r--r--lib/Object/Archive.cpp12
-rw-r--r--lib/Object/ArchiveWriter.cpp33
-rw-r--r--lib/Object/Binary.cpp3
-rw-r--r--lib/Object/COFFImportFile.cpp33
-rw-r--r--lib/Object/COFFModuleDefinition.cpp13
-rw-r--r--lib/Object/COFFObjectFile.cpp40
-rw-r--r--lib/Object/ELF.cpp273
-rw-r--r--lib/Object/ELFObjectFile.cpp16
-rw-r--r--lib/Object/IRSymtab.cpp18
-rw-r--r--lib/Object/MachOObjectFile.cpp84
-rw-r--r--lib/Object/ModuleSymbolTable.cpp157
-rw-r--r--lib/Object/Object.cpp2
-rw-r--r--lib/Object/ObjectFile.cpp1
-rw-r--r--lib/Object/RecordStreamer.cpp123
-rw-r--r--lib/Object/RecordStreamer.h42
-rw-r--r--lib/Object/SymbolSize.cpp4
-rw-r--r--lib/Object/SymbolicFile.cpp1
-rw-r--r--lib/Object/WasmObjectFile.cpp981
-rw-r--r--lib/Object/WindowsResource.cpp6
-rw-r--r--lib/ObjectYAML/COFFYAML.cpp8
-rw-r--r--lib/ObjectYAML/CodeViewYAMLSymbols.cpp51
-rw-r--r--lib/ObjectYAML/CodeViewYAMLTypeHashing.cpp14
-rw-r--r--lib/ObjectYAML/CodeViewYAMLTypes.cpp27
-rw-r--r--lib/ObjectYAML/DWARFEmitter.cpp56
-rw-r--r--lib/ObjectYAML/DWARFVisitor.h2
-rw-r--r--lib/ObjectYAML/ELFYAML.cpp41
-rw-r--r--lib/ObjectYAML/WasmYAML.cpp59
-rw-r--r--lib/Option/Arg.cpp1
-rw-r--r--lib/Option/ArgList.cpp1
-rw-r--r--lib/Option/OptTable.cpp81
-rw-r--r--lib/Option/Option.cpp1
-rw-r--r--lib/Passes/CMakeLists.txt1
-rw-r--r--lib/Passes/LLVMBuild.txt2
-rw-r--r--lib/Passes/PassBuilder.cpp155
-rw-r--r--lib/Passes/PassPlugin.cpp52
-rw-r--r--lib/Passes/PassRegistry.def13
-rw-r--r--lib/ProfileData/Coverage/CoverageMapping.cpp33
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingReader.cpp4
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingWriter.cpp6
-rw-r--r--lib/ProfileData/GCOV.cpp3
-rw-r--r--lib/ProfileData/InstrProf.cpp58
-rw-r--r--lib/ProfileData/InstrProfReader.cpp33
-rw-r--r--lib/ProfileData/InstrProfWriter.cpp15
-rw-r--r--lib/ProfileData/ProfileSummaryBuilder.cpp6
-rw-r--r--lib/ProfileData/SampleProf.cpp32
-rw-r--r--lib/ProfileData/SampleProfReader.cpp165
-rw-r--r--lib/ProfileData/SampleProfWriter.cpp82
-rw-r--r--lib/Support/AMDGPUMetadata.cpp2
-rw-r--r--lib/Support/APFloat.cpp15
-rw-r--r--lib/Support/APInt.cpp188
-rw-r--r--lib/Support/ARMAttributeParser.cpp1
-rw-r--r--lib/Support/BinaryStreamRef.cpp2
-rw-r--r--lib/Support/BranchProbability.cpp1
-rw-r--r--lib/Support/CMakeLists.txt21
-rw-r--r--lib/Support/COM.cpp4
-rw-r--r--lib/Support/CachePruning.cpp28
-rw-r--r--lib/Support/Chrono.cpp4
-rw-r--r--lib/Support/CodeGenCoverage.cpp13
-rw-r--r--lib/Support/CommandLine.cpp96
-rw-r--r--lib/Support/CrashRecoveryContext.cpp10
-rw-r--r--lib/Support/DAGDeltaAlgorithm.cpp124
-rw-r--r--lib/Support/DJB.cpp86
-rw-r--r--lib/Support/Debug.cpp7
-rw-r--r--lib/Support/DebugCounter.cpp21
-rw-r--r--lib/Support/DynamicLibrary.cpp6
-rw-r--r--lib/Support/Error.cpp4
-rw-r--r--lib/Support/ErrorHandling.cpp35
-rw-r--r--lib/Support/FileOutputBuffer.cpp43
-rw-r--r--lib/Support/FoldingSet.cpp7
-rw-r--r--lib/Support/GraphWriter.cpp70
-rw-r--r--lib/Support/Host.cpp59
-rw-r--r--lib/Support/InitLLVM.cpp52
-rw-r--r--lib/Support/JSON.cpp693
-rw-r--r--lib/Support/Locale.cpp5
-rw-r--r--lib/Support/LockFileManager.cpp95
-rw-r--r--lib/Support/MD5.cpp4
-rw-r--r--lib/Support/ManagedStatic.cpp3
-rw-r--r--lib/Support/Memory.cpp4
-rw-r--r--lib/Support/MemoryBuffer.cpp89
-rw-r--r--lib/Support/Mutex.cpp11
-rw-r--r--lib/Support/NativeFormatting.cpp2
-rw-r--r--lib/Support/Parallel.cpp25
-rw-r--r--lib/Support/Path.cpp192
-rw-r--r--lib/Support/PrettyStackTrace.cpp8
-rw-r--r--lib/Support/Process.cpp4
-rw-r--r--lib/Support/Program.cpp29
-rw-r--r--lib/Support/RWMutex.cpp7
-rw-r--r--lib/Support/RandomNumberGenerator.cpp10
-rw-r--r--lib/Support/Regex.cpp15
-rw-r--r--lib/Support/SHA1.cpp2
-rw-r--r--lib/Support/Signals.cpp90
-rw-r--r--lib/Support/SmallPtrSet.cpp20
-rw-r--r--lib/Support/SmallVector.cpp50
-rw-r--r--lib/Support/SourceMgr.cpp126
-rw-r--r--lib/Support/Statistic.cpp87
-rw-r--r--lib/Support/StringExtras.cpp27
-rw-r--r--lib/Support/StringMap.cpp54
-rw-r--r--lib/Support/StringSaver.cpp7
-rw-r--r--lib/Support/TarWriter.cpp4
-rw-r--r--lib/Support/TargetParser.cpp40
-rw-r--r--lib/Support/ThreadLocal.cpp6
-rw-r--r--lib/Support/Threading.cpp4
-rw-r--r--lib/Support/Timer.cpp35
-rw-r--r--lib/Support/Triple.cpp22
-rw-r--r--lib/Support/Twine.cpp1
-rw-r--r--lib/Support/UnicodeCaseFold.cpp742
-rw-r--r--lib/Support/Unix/Host.inc2
-rw-r--r--lib/Support/Unix/Memory.inc12
-rw-r--r--lib/Support/Unix/Path.inc175
-rw-r--r--lib/Support/Unix/Process.inc31
-rw-r--r--lib/Support/Unix/Program.inc68
-rw-r--r--lib/Support/Unix/Signals.inc302
-rw-r--r--lib/Support/Unix/ThreadLocal.inc2
-rw-r--r--lib/Support/Unix/Threading.inc17
-rw-r--r--lib/Support/Unix/Unix.h2
-rw-r--r--lib/Support/Unix/Watchdog.inc2
-rw-r--r--lib/Support/VersionTuple.cpp110
-rw-r--r--lib/Support/Watchdog.cpp4
-rw-r--r--lib/Support/Windows/DynamicLibrary.inc1
-rw-r--r--lib/Support/Windows/Host.inc2
-rw-r--r--lib/Support/Windows/Path.inc379
-rw-r--r--lib/Support/Windows/Process.inc120
-rw-r--r--lib/Support/Windows/Program.inc215
-rw-r--r--lib/Support/Windows/RWMutex.inc4
-rw-r--r--lib/Support/Windows/Signals.inc49
-rw-r--r--lib/Support/Windows/WindowsSupport.h16
-rw-r--r--lib/Support/WithColor.cpp90
-rw-r--r--lib/Support/YAMLParser.cpp114
-rw-r--r--lib/Support/YAMLTraits.cpp43
-rw-r--r--lib/Support/circular_raw_ostream.cpp2
-rw-r--r--lib/Support/raw_ostream.cpp97
-rw-r--r--lib/Support/regcomp.c7
-rw-r--r--lib/Support/regengine.inc2
-rw-r--r--lib/Support/xxhash.cpp6
-rw-r--r--lib/TableGen/CMakeLists.txt1
-rw-r--r--lib/TableGen/Error.cpp9
-rw-r--r--lib/TableGen/JSONBackend.cpp189
-rw-r--r--lib/TableGen/Main.cpp2
-rw-r--r--lib/TableGen/Record.cpp1400
-rw-r--r--lib/TableGen/TGLexer.cpp60
-rw-r--r--lib/TableGen/TGLexer.h23
-rw-r--r--lib/TableGen/TGParser.cpp1586
-rw-r--r--lib/TableGen/TGParser.h89
-rw-r--r--lib/Target/AArch64/AArch64.td86
-rw-r--r--lib/Target/AArch64/AArch64A53Fix835769.cpp25
-rw-r--r--lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp69
-rw-r--r--lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp6
-rw-r--r--lib/Target/AArch64/AArch64AsmPrinter.cpp38
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.cpp21
-rw-r--r--lib/Target/AArch64/AArch64CallingConvention.td19
-rw-r--r--lib/Target/AArch64/AArch64CollectLOH.cpp40
-rw-r--r--lib/Target/AArch64/AArch64CondBrTuning.cpp29
-rw-r--r--lib/Target/AArch64/AArch64ConditionOptimizer.cpp30
-rw-r--r--lib/Target/AArch64/AArch64ConditionalCompares.cpp93
-rw-r--r--lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp25
-rw-r--r--lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp245
-rw-r--r--lib/Target/AArch64/AArch64FalkorHWPFFix.cpp35
-rw-r--r--lib/Target/AArch64/AArch64FastISel.cpp42
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.cpp315
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.h2
-rw-r--r--lib/Target/AArch64/AArch64ISelDAGToDAG.cpp162
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.cpp1555
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.h68
-rw-r--r--lib/Target/AArch64/AArch64InstrAtomics.td7
-rw-r--r--lib/Target/AArch64/AArch64InstrFormats.td813
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.cpp745
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.h186
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.td742
-rw-r--r--lib/Target/AArch64/AArch64InstructionSelector.cpp298
-rw-r--r--lib/Target/AArch64/AArch64LegalizerInfo.cpp635
-rw-r--r--lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp222
-rw-r--r--lib/Target/AArch64/AArch64MCInstLower.cpp15
-rw-r--r--lib/Target/AArch64/AArch64MachineFunctionInfo.h31
-rw-r--r--lib/Target/AArch64/AArch64MacroFusion.cpp357
-rw-r--r--lib/Target/AArch64/AArch64PBQPRegAlloc.cpp24
-rw-r--r--lib/Target/AArch64/AArch64PromoteConstant.cpp64
-rw-r--r--lib/Target/AArch64/AArch64RedundantCopyElimination.cpp75
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.cpp59
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.h9
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.td364
-rw-r--r--lib/Target/AArch64/AArch64SIMDInstrOpt.cpp2
-rw-r--r--lib/Target/AArch64/AArch64SVEInstrInfo.td963
-rw-r--r--lib/Target/AArch64/AArch64SchedA53.td12
-rw-r--r--lib/Target/AArch64/AArch64SchedExynosM1.td847
-rw-r--r--lib/Target/AArch64/AArch64SchedExynosM3.td860
-rw-r--r--lib/Target/AArch64/AArch64SchedFalkor.td3
-rw-r--r--lib/Target/AArch64/AArch64SchedFalkorDetails.td96
-rw-r--r--lib/Target/AArch64/AArch64SchedKryo.td3
-rw-r--r--lib/Target/AArch64/AArch64SchedM1.td849
-rw-r--r--lib/Target/AArch64/AArch64SchedThunderX.td3
-rw-r--r--lib/Target/AArch64/AArch64SchedThunderX2T99.td72
-rw-r--r--lib/Target/AArch64/AArch64StorePairSuppress.cpp14
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.cpp28
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h33
-rw-r--r--lib/Target/AArch64/AArch64SystemOperands.td278
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.cpp24
-rw-r--r--lib/Target/AArch64/AArch64TargetObjectFile.h2
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.cpp190
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.h5
-rw-r--r--lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp2120
-rw-r--r--lib/Target/AArch64/CMakeLists.txt20
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp189
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp4
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp232
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h30
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h64
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp84
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp15
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp12
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.h2
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp15
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.h8
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp40
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp2
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h3
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp44
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h19
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp63
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFObjectWriter.cpp29
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.cpp9
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64WinCOFFStreamer.h2
-rw-r--r--lib/Target/AArch64/SVEInstrFormats.td4018
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.cpp29
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.h37
-rw-r--r--lib/Target/AMDGPU/AMDGPU.h27
-rw-r--r--lib/Target/AMDGPU/AMDGPU.td275
-rw-r--r--lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp9
-rw-r--r--lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp108
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp2
-rw-r--r--lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.cpp3
-rw-r--r--lib/Target/AMDGPU/AMDGPUArgumentUsageInfo.h5
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp580
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.h100
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.cpp122
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.h5
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallingConv.td40
-rw-r--r--lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp404
-rw-r--r--lib/Target/AMDGPU/AMDGPUFeatures.td60
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUGISel.td138
-rw-r--r--lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def76
-rw-r--r--lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.cpp488
-rw-r--r--lib/Target/AMDGPU/AMDGPUHSAMetadataStreamer.h105
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp236
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.cpp549
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.h50
-rw-r--r--lib/Target/AMDGPU/AMDGPUInline.cpp6
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.cpp97
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.h48
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.td19
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp315
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructionSelector.h52
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructions.td174
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp8
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsicInfo.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsics.td3
-rw-r--r--lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp164
-rw-r--r--lib/Target/AMDGPU/AMDGPULegalizerInfo.h5
-rw-r--r--lib/Target/AMDGPU/AMDGPULibCalls.cpp83
-rw-r--r--lib/Target/AMDGPU/AMDGPULibFunc.h2
-rw-r--r--lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp3
-rw-r--r--lib/Target/AMDGPU/AMDGPULowerKernelArguments.cpp264
-rw-r--r--lib/Target/AMDGPU/AMDGPULowerKernelAttributes.cpp270
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.cpp107
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.h46
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp395
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.cpp24
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.h50
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineModuleInfo.cpp2
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineModuleInfo.h12
-rw-r--r--lib/Target/AMDGPU/AMDGPUMacroFusion.cpp3
-rw-r--r--lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp81
-rw-r--r--lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp389
-rw-r--r--lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.cpp397
-rw-r--r--lib/Target/AMDGPU/AMDGPUPerfHintAnalysis.h55
-rw-r--r--lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp102
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp352
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterBankInfo.h19
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterBanks.td2
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.cpp16
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.h10
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.td1
-rw-r--r--lib/Target/AMDGPU/AMDGPURewriteOutArguments.cpp11
-rw-r--r--lib/Target/AMDGPU/AMDGPUSearchableTables.td77
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.cpp220
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.h794
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.cpp102
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.h26
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.h2
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp291
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h82
-rw-r--r--lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp44
-rw-r--r--lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp8
-rw-r--r--lib/Target/AMDGPU/AMDILCFGStructurizer.cpp338
-rw-r--r--lib/Target/AMDGPU/AMDKernelCodeT.h12
-rw-r--r--lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp846
-rw-r--r--lib/Target/AMDGPU/BUFInstructions.td528
-rw-r--r--lib/Target/AMDGPU/CMakeLists.txt46
-rw-r--r--lib/Target/AMDGPU/DSInstructions.td48
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp107
-rw-r--r--lib/Target/AMDGPU/EvergreenInstructions.td3
-rw-r--r--lib/Target/AMDGPU/FLATInstructions.td28
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.cpp11
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.h4
-rw-r--r--lib/Target/AMDGPU/GCNILPSched.cpp27
-rw-r--r--lib/Target/AMDGPU/GCNIterativeScheduler.cpp114
-rw-r--r--lib/Target/AMDGPU/GCNMinRegStrategy.cpp51
-rw-r--r--lib/Target/AMDGPU/GCNProcessors.td20
-rw-r--r--lib/Target/AMDGPU/GCNRegPressure.cpp32
-rw-r--r--lib/Target/AMDGPU/GCNRegPressure.h11
-rw-r--r--lib/Target/AMDGPU/GCNSchedStrategy.cpp122
-rw-r--r--lib/Target/AMDGPU/GCNSchedStrategy.h6
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp155
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h15
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp32
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp12
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp37
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.h9
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.cpp407
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUHSAMetadataStreamer.h96
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.cpp2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp36
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h29
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp288
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h34
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp43
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.cpp27
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp34
-rw-r--r--lib/Target/AMDGPU/MIMGInstructions.td1028
-rw-r--r--lib/Target/AMDGPU/Processors.td12
-rw-r--r--lib/Target/AMDGPU/R600.td54
-rw-r--r--lib/Target/AMDGPU/R600AsmPrinter.cpp133
-rw-r--r--lib/Target/AMDGPU/R600AsmPrinter.h46
-rw-r--r--lib/Target/AMDGPU/R600ClauseMergePass.cpp33
-rw-r--r--lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp134
-rw-r--r--lib/Target/AMDGPU/R600Defines.h4
-rw-r--r--lib/Target/AMDGPU/R600EmitClauseMarkers.cpp49
-rw-r--r--lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp64
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.cpp377
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.h5
-rw-r--r--lib/Target/AMDGPU/R600InstrFormats.td6
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.cpp443
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.h34
-rw-r--r--lib/Target/AMDGPU/R600Instructions.td108
-rw-r--r--lib/Target/AMDGPU/R600Intrinsics.td67
-rw-r--r--lib/Target/AMDGPU/R600MachineScheduler.cpp106
-rw-r--r--lib/Target/AMDGPU/R600MachineScheduler.h2
-rw-r--r--lib/Target/AMDGPU/R600OpenCLImageTypeLoweringPass.cpp389
-rw-r--r--lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp31
-rw-r--r--lib/Target/AMDGPU/R600Packetizer.cpp52
-rw-r--r--lib/Target/AMDGPU/R600Processors.td56
-rw-r--r--lib/Target/AMDGPU/R600RegisterInfo.cpp65
-rw-r--r--lib/Target/AMDGPU/R600RegisterInfo.h15
-rw-r--r--lib/Target/AMDGPU/R600RegisterInfo.td2
-rw-r--r--lib/Target/AMDGPU/SIAnnotateControlFlow.cpp38
-rw-r--r--lib/Target/AMDGPU/SIDebuggerInsertNops.cpp9
-rw-r--r--lib/Target/AMDGPU/SIDefines.h54
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRCopies.cpp114
-rw-r--r--lib/Target/AMDGPU/SIFixVGPRCopies.cpp7
-rw-r--r--lib/Target/AMDGPU/SIFixWWMLiveness.cpp5
-rw-r--r--lib/Target/AMDGPU/SIFoldOperands.cpp72
-rw-r--r--lib/Target/AMDGPU/SIFormMemoryClauses.cpp398
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.cpp142
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.h12
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.cpp2200
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.h38
-rw-r--r--lib/Target/AMDGPU/SIInsertSkips.cpp59
-rw-r--r--lib/Target/AMDGPU/SIInsertWaitcnts.cpp499
-rw-r--r--lib/Target/AMDGPU/SIInsertWaits.cpp703
-rw-r--r--lib/Target/AMDGPU/SIInstrFormats.td29
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.cpp370
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.h80
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.td333
-rw-r--r--lib/Target/AMDGPU/SIInstructions.td169
-rw-r--r--lib/Target/AMDGPU/SILoadStoreOptimizer.cpp95
-rw-r--r--lib/Target/AMDGPU/SILowerControlFlow.cpp51
-rw-r--r--lib/Target/AMDGPU/SILowerI1Copies.cpp7
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.cpp90
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.h144
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.cpp162
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.h2
-rw-r--r--lib/Target/AMDGPU/SIMemoryLegalizer.cpp1025
-rw-r--r--lib/Target/AMDGPU/SIOptimizeExecMasking.cpp28
-rw-r--r--lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp14
-rw-r--r--lib/Target/AMDGPU/SIPeepholeSDWA.cpp164
-rw-r--r--lib/Target/AMDGPU/SIProgramInfo.h77
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.cpp125
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.h19
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.td28
-rw-r--r--lib/Target/AMDGPU/SISchedule.td2
-rw-r--r--lib/Target/AMDGPU/SIShrinkInstructions.cpp37
-rw-r--r--lib/Target/AMDGPU/SIWholeQuadMode.cpp19
-rw-r--r--lib/Target/AMDGPU/SMInstructions.td271
-rw-r--r--lib/Target/AMDGPU/SOPInstructions.td99
-rw-r--r--lib/Target/AMDGPU/TargetInfo/AMDGPUTargetInfo.cpp6
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp10
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp249
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h111
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPULaneDominator.cpp75
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPULaneDominator.h24
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTInfo.h1
-rw-r--r--lib/Target/AMDGPU/Utils/CMakeLists.txt1
-rw-r--r--lib/Target/AMDGPU/VOP1Instructions.td74
-rw-r--r--lib/Target/AMDGPU/VOP2Instructions.td80
-rw-r--r--lib/Target/AMDGPU/VOP3Instructions.td57
-rw-r--r--lib/Target/AMDGPU/VOP3PInstructions.td173
-rw-r--r--lib/Target/AMDGPU/VOPCInstructions.td5
-rw-r--r--lib/Target/AMDGPU/VOPInstructions.td64
-rw-r--r--lib/Target/ARC/ARCAsmPrinter.cpp2
-rw-r--r--lib/Target/ARC/ARCBranchFinalize.cpp16
-rw-r--r--lib/Target/ARC/ARCFrameLowering.cpp62
-rw-r--r--lib/Target/ARC/ARCISelLowering.cpp6
-rw-r--r--lib/Target/ARC/ARCISelLowering.h1
-rw-r--r--lib/Target/ARC/ARCInstrFormats.td2
-rw-r--r--lib/Target/ARC/ARCInstrInfo.cpp14
-rw-r--r--lib/Target/ARC/ARCInstrInfo.td58
-rw-r--r--lib/Target/ARC/ARCMCInstLower.cpp2
-rw-r--r--lib/Target/ARC/ARCMCInstLower.h2
-rw-r--r--lib/Target/ARC/ARCMachineFunctionInfo.h5
-rw-r--r--lib/Target/ARC/ARCRegisterInfo.cpp32
-rw-r--r--lib/Target/ARC/CMakeLists.txt13
-rw-r--r--lib/Target/ARC/Disassembler/ARCDisassembler.cpp28
-rw-r--r--lib/Target/ARC/InstPrinter/ARCInstPrinter.cpp7
-rw-r--r--lib/Target/ARC/InstPrinter/ARCInstPrinter.h2
-rw-r--r--lib/Target/ARC/MCTargetDesc/ARCInfo.h2
-rw-r--r--lib/Target/ARM/A15SDOptimizer.cpp22
-rw-r--r--lib/Target/ARM/ARM.h7
-rw-r--r--lib/Target/ARM/ARM.td65
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp50
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.h4
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp259
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h5
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp8
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h3
-rw-r--r--lib/Target/ARM/ARMCallLowering.cpp11
-rw-r--r--lib/Target/ARM/ARMCallingConv.h3
-rw-r--r--lib/Target/ARM/ARMCallingConv.td19
-rw-r--r--lib/Target/ARM/ARMCodeGenPrepare.cpp750
-rw-r--r--lib/Target/ARM/ARMComputeBlockSize.cpp1
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp134
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.cpp1
-rw-r--r--lib/Target/ARM/ARMExpandPseudoInsts.cpp252
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp11
-rw-r--r--lib/Target/ARM/ARMFrameLowering.cpp116
-rw-r--r--lib/Target/ARM/ARMFrameLowering.h2
-rw-r--r--lib/Target/ARM/ARMHazardRecognizer.cpp4
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp420
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp871
-rw-r--r--lib/Target/ARM/ARMISelLowering.h20
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td9
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp28
-rw-r--r--lib/Target/ARM/ARMInstrInfo.h7
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td62
-rw-r--r--lib/Target/ARM/ARMInstrNEON.td320
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td19
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td48
-rw-r--r--lib/Target/ARM/ARMInstrVFP.td235
-rw-r--r--lib/Target/ARM/ARMInstructionSelector.cpp128
-rw-r--r--lib/Target/ARM/ARMLegalizerInfo.cpp184
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp36
-rw-r--r--lib/Target/ARM/ARMMacroFusion.cpp65
-rw-r--r--lib/Target/ARM/ARMParallelDSP.cpp672
-rw-r--r--lib/Target/ARM/ARMRegisterBankInfo.cpp68
-rw-r--r--lib/Target/ARM/ARMRegisterBanks.td2
-rw-r--r--lib/Target/ARM/ARMRegisterInfo.td12
-rw-r--r--lib/Target/ARM/ARMScheduleA57.td41
-rw-r--r--lib/Target/ARM/ARMScheduleA9.td16
-rw-r--r--lib/Target/ARM/ARMScheduleR52.td45
-rw-r--r--lib/Target/ARM/ARMScheduleSwift.td37
-rw-r--r--lib/Target/ARM/ARMSubtarget.cpp2
-rw-r--r--lib/Target/ARM/ARMSubtarget.h41
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp49
-rw-r--r--lib/Target/ARM/ARMTargetMachine.h10
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.cpp3
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.h5
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.cpp30
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp532
-rw-r--r--lib/Target/ARM/CMakeLists.txt21
-rw-r--r--lib/Target/ARM/Disassembler/ARMDisassembler.cpp30
-rw-r--r--lib/Target/ARM/Disassembler/LLVMBuild.txt2
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp16
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.h2
-rw-r--r--lib/Target/ARM/LLVMBuild.txt2
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp133
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h33
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h11
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h12
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendWinCOFF.h10
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h18
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp8
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp19
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp2
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp50
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h41
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp10
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp7
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp15
-rw-r--r--lib/Target/ARM/MCTargetDesc/CMakeLists.txt1
-rw-r--r--lib/Target/ARM/MLxExpansionPass.cpp22
-rw-r--r--lib/Target/ARM/README.txt2
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.cpp19
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.cpp17
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.h1
-rw-r--r--lib/Target/ARM/Thumb2ITBlockPass.cpp4
-rw-r--r--lib/Target/ARM/Thumb2InstrInfo.cpp21
-rw-r--r--lib/Target/ARM/Thumb2SizeReduction.cpp14
-rw-r--r--lib/Target/ARM/ThumbRegisterInfo.cpp22
-rw-r--r--lib/Target/AVR/AVR.h2
-rw-r--r--lib/Target/AVR/AVRISelDAGToDAG.cpp5
-rw-r--r--lib/Target/AVR/AVRISelLowering.cpp13
-rw-r--r--lib/Target/AVR/AVRInstrInfo.cpp4
-rw-r--r--lib/Target/AVR/AVRInstrInfo.td18
-rw-r--r--lib/Target/AVR/AVRRegisterInfo.h5
-rw-r--r--lib/Target/AVR/AVRTargetMachine.cpp2
-rw-r--r--lib/Target/AVR/AsmParser/AVRAsmParser.cpp4
-rw-r--r--lib/Target/AVR/CMakeLists.txt8
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp23
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h16
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp6
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.cpp6
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCELFStreamer.h13
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp6
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h10
-rw-r--r--lib/Target/BPF/AsmParser/BPFAsmParser.cpp8
-rw-r--r--lib/Target/BPF/BPF.h5
-rw-r--r--lib/Target/BPF/BPF.td6
-rw-r--r--lib/Target/BPF/BPFCallingConv.td20
-rw-r--r--lib/Target/BPF/BPFISelDAGToDAG.cpp92
-rw-r--r--lib/Target/BPF/BPFISelLowering.cpp257
-rw-r--r--lib/Target/BPF/BPFISelLowering.h18
-rw-r--r--lib/Target/BPF/BPFInstrInfo.cpp93
-rw-r--r--lib/Target/BPF/BPFInstrInfo.h5
-rw-r--r--lib/Target/BPF/BPFInstrInfo.td174
-rw-r--r--lib/Target/BPF/BPFMIPeephole.cpp284
-rw-r--r--lib/Target/BPF/BPFRegisterInfo.cpp4
-rw-r--r--lib/Target/BPF/BPFRegisterInfo.h2
-rw-r--r--lib/Target/BPF/BPFSelectionDAGInfo.cpp43
-rw-r--r--lib/Target/BPF/BPFSelectionDAGInfo.h36
-rw-r--r--lib/Target/BPF/BPFSubtarget.cpp3
-rw-r--r--lib/Target/BPF/BPFSubtarget.h13
-rw-r--r--lib/Target/BPF/BPFTargetMachine.cpp31
-rw-r--r--lib/Target/BPF/CMakeLists.txt15
-rw-r--r--lib/Target/BPF/Disassembler/BPFDisassembler.cpp45
-rw-r--r--lib/Target/BPF/InstPrinter/BPFInstPrinter.cpp1
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp67
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp8
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h4
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp45
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp4
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h14
-rw-r--r--lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp83
-rw-r--r--lib/Target/Hexagon/BitTracker.cpp24
-rw-r--r--lib/Target/Hexagon/BitTracker.h12
-rw-r--r--lib/Target/Hexagon/CMakeLists.txt7
-rw-r--r--lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp60
-rw-r--r--lib/Target/Hexagon/Hexagon.h2
-rw-r--r--lib/Target/Hexagon/Hexagon.td70
-rw-r--r--lib/Target/Hexagon/HexagonAsmPrinter.cpp97
-rwxr-xr-xlib/Target/Hexagon/HexagonAsmPrinter.h16
-rw-r--r--lib/Target/Hexagon/HexagonBitSimplify.cpp23
-rw-r--r--lib/Target/Hexagon/HexagonBitTracker.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonBlockRanges.cpp16
-rw-r--r--lib/Target/Hexagon/HexagonBranchRelaxation.cpp19
-rw-r--r--lib/Target/Hexagon/HexagonCallingConv.td134
-rw-r--r--lib/Target/Hexagon/HexagonCommonGEP.cpp89
-rw-r--r--lib/Target/Hexagon/HexagonConstExtenders.cpp190
-rw-r--r--lib/Target/Hexagon/HexagonConstPropagation.cpp80
-rw-r--r--lib/Target/Hexagon/HexagonCopyToCombine.cpp14
-rw-r--r--lib/Target/Hexagon/HexagonDepArch.td12
-rw-r--r--lib/Target/Hexagon/HexagonDepDecoders.h13
-rw-r--r--lib/Target/Hexagon/HexagonDepIICScalar.td1209
-rw-r--r--lib/Target/Hexagon/HexagonDepInstrInfo.td292
-rw-r--r--lib/Target/Hexagon/HexagonDepMappings.td1
-rw-r--r--lib/Target/Hexagon/HexagonEarlyIfConv.cpp111
-rw-r--r--lib/Target/Hexagon/HexagonExpandCondsets.cpp68
-rw-r--r--lib/Target/Hexagon/HexagonFixupHwLoops.cpp20
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.cpp66
-rw-r--r--lib/Target/Hexagon/HexagonGatherPacketize.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonGenInsert.cpp25
-rw-r--r--lib/Target/Hexagon/HexagonGenMux.cpp14
-rw-r--r--lib/Target/Hexagon/HexagonGenPredicate.cpp18
-rw-r--r--lib/Target/Hexagon/HexagonHardwareLoops.cpp74
-rw-r--r--lib/Target/Hexagon/HexagonHazardRecognizer.cpp54
-rw-r--r--lib/Target/Hexagon/HexagonHazardRecognizer.h17
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAG.cpp508
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAG.h12
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp272
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.cpp1937
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.h104
-rw-r--r--lib/Target/Hexagon/HexagonISelLoweringHVX.cpp1333
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV60.td2
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.cpp387
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.h26
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsics.td11
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV5.td2
-rw-r--r--lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp141
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.cpp469
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.h52
-rw-r--r--lib/Target/Hexagon/HexagonMapAsm2IntrinV65.gen.td154
-rw-r--r--lib/Target/Hexagon/HexagonNewValueJump.cpp52
-rw-r--r--lib/Target/Hexagon/HexagonOptAddrMode.cpp254
-rw-r--r--lib/Target/Hexagon/HexagonPatterns.td799
-rw-r--r--lib/Target/Hexagon/HexagonPatternsHVX.td497
-rw-r--r--lib/Target/Hexagon/HexagonPseudo.td96
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.cpp65
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.h10
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.td143
-rw-r--r--lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp15
-rw-r--r--lib/Target/Hexagon/HexagonSplitDouble.cpp120
-rw-r--r--lib/Target/Hexagon/HexagonStoreWidening.cpp22
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.cpp139
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.h64
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.cpp23
-rw-r--r--lib/Target/Hexagon/HexagonTargetObjectFile.cpp26
-rw-r--r--lib/Target/Hexagon/HexagonTargetTransformInfo.cpp252
-rw-r--r--lib/Target/Hexagon/HexagonTargetTransformInfo.h82
-rw-r--r--lib/Target/Hexagon/HexagonVExtract.cpp166
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.cpp85
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.h2
-rw-r--r--lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp40
-rw-r--r--lib/Target/Hexagon/HexagonVectorPrint.cpp17
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp79
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h2
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp8
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp19
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp1133
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h45
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp28
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp38
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp31
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.h6
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp33
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h6
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp13
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp13
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h9
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp6
-rw-r--r--lib/Target/Hexagon/RDFCopy.cpp5
-rw-r--r--lib/Target/Hexagon/RDFDeadCode.cpp2
-rw-r--r--lib/Target/Hexagon/RDFGraph.cpp4
-rw-r--r--lib/Target/Hexagon/RDFLiveness.cpp10
-rw-r--r--lib/Target/Hexagon/RDFLiveness.h4
-rw-r--r--lib/Target/Hexagon/TargetInfo/HexagonTargetInfo.cpp2
-rw-r--r--lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp8
-rw-r--r--lib/Target/Lanai/CMakeLists.txt7
-rw-r--r--lib/Target/Lanai/LanaiDelaySlotFiller.cpp2
-rw-r--r--lib/Target/Lanai/LanaiISelDAGToDAG.cpp7
-rw-r--r--lib/Target/Lanai/LanaiISelLowering.cpp22
-rw-r--r--lib/Target/Lanai/LanaiISelLowering.h1
-rw-r--r--lib/Target/Lanai/LanaiInstrFormats.td2
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.cpp6
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.h1
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.td4
-rw-r--r--lib/Target/Lanai/LanaiMemAluCombiner.cpp2
-rw-r--r--lib/Target/Lanai/LanaiTargetObjectFile.cpp12
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp31
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp7
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp1
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp6
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.h9
-rw-r--r--lib/Target/Lanai/TargetInfo/LanaiTargetInfo.cpp1
-rw-r--r--lib/Target/MSP430/CMakeLists.txt9
-rw-r--r--lib/Target/MSP430/MSP430BranchSelector.cpp12
-rw-r--r--lib/Target/MSP430/MSP430ISelDAGToDAG.cpp12
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.cpp4
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmParser.cpp814
-rw-r--r--lib/Target/Mips/CMakeLists.txt32
-rw-r--r--lib/Target/Mips/Disassembler/MipsDisassembler.cpp115
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp5
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.h1
-rw-r--r--lib/Target/Mips/LLVMBuild.txt1
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h6
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp2
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp128
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h19
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp61
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp16
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h10
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h10
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp14
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp37
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h4
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCNaCl.h2
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp11
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h10
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp12
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp66
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrFormats.td164
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrInfo.td392
-rw-r--r--lib/Target/Mips/MicroMipsDSPInstrFormats.td8
-rw-r--r--lib/Target/Mips/MicroMipsDSPInstrInfo.td13
-rw-r--r--lib/Target/Mips/MicroMipsInstrFPU.td350
-rw-r--r--lib/Target/Mips/MicroMipsInstrFormats.td75
-rw-r--r--lib/Target/Mips/MicroMipsInstrInfo.td947
-rw-r--r--lib/Target/Mips/MicroMipsSizeReduction.cpp297
-rw-r--r--lib/Target/Mips/Mips.h19
-rw-r--r--lib/Target/Mips/Mips.td19
-rw-r--r--lib/Target/Mips/Mips16FrameLowering.cpp8
-rw-r--r--lib/Target/Mips/Mips16HardFloat.cpp6
-rw-r--r--lib/Target/Mips/Mips16ISelDAGToDAG.cpp35
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.cpp11
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.h3
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.td25
-rw-r--r--lib/Target/Mips/Mips16RegisterInfo.cpp4
-rw-r--r--lib/Target/Mips/Mips32r6InstrFormats.td30
-rw-r--r--lib/Target/Mips/Mips32r6InstrInfo.td101
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td458
-rw-r--r--lib/Target/Mips/Mips64r6InstrInfo.td57
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.cpp31
-rw-r--r--lib/Target/Mips/MipsBranchExpansion.cpp798
-rw-r--r--lib/Target/Mips/MipsCallLowering.cpp441
-rw-r--r--lib/Target/Mips/MipsCallLowering.h86
-rw-r--r--lib/Target/Mips/MipsCondMov.td287
-rw-r--r--lib/Target/Mips/MipsConstantIslandPass.cpp99
-rw-r--r--lib/Target/Mips/MipsDSPInstrFormats.td14
-rw-r--r--lib/Target/Mips/MipsDSPInstrInfo.td6
-rw-r--r--lib/Target/Mips/MipsDelaySlotFiller.cpp76
-rw-r--r--lib/Target/Mips/MipsEVAInstrFormats.td2
-rw-r--r--lib/Target/Mips/MipsEVAInstrInfo.td79
-rw-r--r--lib/Target/Mips/MipsExpandPseudo.cpp702
-rw-r--r--lib/Target/Mips/MipsFastISel.cpp85
-rw-r--r--lib/Target/Mips/MipsFrameLowering.h4
-rw-r--r--lib/Target/Mips/MipsHazardSchedule.cpp163
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.cpp13
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.h28
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp730
-rw-r--r--lib/Target/Mips/MipsISelLowering.h38
-rw-r--r--lib/Target/Mips/MipsInstrFPU.td323
-rw-r--r--lib/Target/Mips/MipsInstrFormats.td35
-rw-r--r--lib/Target/Mips/MipsInstrInfo.cpp186
-rw-r--r--lib/Target/Mips/MipsInstrInfo.h4
-rw-r--r--lib/Target/Mips/MipsInstrInfo.td1101
-rw-r--r--lib/Target/Mips/MipsInstructionSelector.cpp184
-rw-r--r--lib/Target/Mips/MipsLegalizerInfo.cpp41
-rw-r--r--lib/Target/Mips/MipsLegalizerInfo.h29
-rw-r--r--lib/Target/Mips/MipsLongBranch.cpp619
-rw-r--r--lib/Target/Mips/MipsMCInstLower.cpp81
-rw-r--r--lib/Target/Mips/MipsMCInstLower.h4
-rw-r--r--lib/Target/Mips/MipsMSAInstrFormats.td5
-rw-r--r--lib/Target/Mips/MipsMSAInstrInfo.td136
-rw-r--r--lib/Target/Mips/MipsMTInstrFormats.td3
-rw-r--r--lib/Target/Mips/MipsMachineFunction.cpp38
-rw-r--r--lib/Target/Mips/MipsModuleISelDAGToDAG.cpp4
-rw-r--r--lib/Target/Mips/MipsOptimizePICCall.cpp12
-rw-r--r--lib/Target/Mips/MipsOs16.cpp16
-rw-r--r--lib/Target/Mips/MipsRegisterBankInfo.cpp100
-rw-r--r--lib/Target/Mips/MipsRegisterBankInfo.h43
-rw-r--r--lib/Target/Mips/MipsRegisterBanks.td13
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.cpp16
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.h4
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.cpp17
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.h1
-rw-r--r--lib/Target/Mips/MipsSEISelDAGToDAG.cpp8
-rw-r--r--lib/Target/Mips/MipsSEISelDAGToDAG.h28
-rw-r--r--lib/Target/Mips/MipsSEISelLowering.cpp174
-rw-r--r--lib/Target/Mips/MipsSEISelLowering.h34
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.cpp148
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.h9
-rw-r--r--lib/Target/Mips/MipsSERegisterInfo.cpp7
-rw-r--r--lib/Target/Mips/MipsSchedule.td48
-rw-r--r--lib/Target/Mips/MipsScheduleGeneric.td9
-rw-r--r--lib/Target/Mips/MipsScheduleP5600.td178
-rw-r--r--lib/Target/Mips/MipsSubtarget.cpp102
-rw-r--r--lib/Target/Mips/MipsSubtarget.h51
-rw-r--r--lib/Target/Mips/MipsTargetMachine.cpp69
-rw-r--r--lib/Target/Mips/MipsTargetMachine.h2
-rw-r--r--lib/Target/Mips/MipsTargetObjectFile.cpp7
-rw-r--r--lib/Target/Mips/MipsTargetStreamer.h24
-rw-r--r--lib/Target/NVPTX/CMakeLists.txt8
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/CMakeLists.txt1
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.cpp26
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.h11
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp12
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.cpp94
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXTargetStreamer.h46
-rw-r--r--lib/Target/NVPTX/NVPTX.td16
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.cpp275
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.h52
-rw-r--r--lib/Target/NVPTX/NVPTXAssignValidGlobalNames.cpp4
-rw-r--r--lib/Target/NVPTX/NVPTXFrameLowering.cpp8
-rw-r--r--