aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-01-02 19:17:04 +0000
commitb915e9e0fc85ba6f398b3fab0db6a81a8913af94 (patch)
tree98b8f811c7aff2547cab8642daf372d6c59502fb
parent6421cca32f69ac849537a3cff78c352195e99f1b (diff)
downloadsrc-b915e9e0fc85ba6f398b3fab0db6a81a8913af94.tar.gz
src-b915e9e0fc85ba6f398b3fab0db6a81a8913af94.zip
Vendor import of llvm trunk r290819:vendor/llvm/llvm-trunk-r290819
Notes
Notes: svn path=/vendor/llvm/dist/; revision=311116 svn path=/vendor/llvm/llvm-trunk-r290819/; revision=311117; tag=vendor/llvm/llvm-trunk-r290819
-rw-r--r--.arcconfig1
-rw-r--r--.clang-tidy6
-rw-r--r--.gitignore4
-rw-r--r--CMakeLists.txt204
-rw-r--r--CODE_OWNERS.TXT48
-rw-r--r--CREDITS.TXT8
-rw-r--r--RELEASE_TESTERS.TXT57
-rw-r--r--bindings/go/llvm/DIBuilderBindings.cpp53
-rw-r--r--bindings/go/llvm/DIBuilderBindings.h20
-rw-r--r--bindings/go/llvm/IRBindings.cpp28
-rw-r--r--bindings/go/llvm/IRBindings.h9
-rw-r--r--bindings/go/llvm/dibuilder.go30
-rw-r--r--bindings/go/llvm/ir.go173
-rw-r--r--bindings/go/llvm/ir_test.go102
-rw-r--r--bindings/ocaml/README.txt29
-rw-r--r--bindings/ocaml/backends/CMakeLists.txt2
-rw-r--r--bindings/ocaml/backends/META.llvm_backend.in2
-rw-r--r--bindings/ocaml/llvm/CMakeLists.txt2
-rw-r--r--bindings/ocaml/llvm/META.llvm.in2
-rw-r--r--bindings/ocaml/llvm/llvm.ml207
-rw-r--r--bindings/ocaml/llvm/llvm.mli137
-rw-r--r--bindings/ocaml/llvm/llvm_ocaml.c161
-rwxr-xr-xcmake/config-ix.cmake85
-rwxr-xr-xcmake/modules/AddLLVM.cmake261
-rw-r--r--cmake/modules/AddOCaml.cmake35
-rw-r--r--cmake/modules/AddSphinxTarget.cmake15
-rw-r--r--cmake/modules/CMakeLists.txt55
-rw-r--r--cmake/modules/CheckCompilerVersion.cmake22
-rw-r--r--cmake/modules/CrossCompile.cmake5
-rw-r--r--cmake/modules/GetHostTriple.cmake1
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake55
-rw-r--r--cmake/modules/HandleLLVMStdlib.cmake5
-rw-r--r--cmake/modules/LLVMConfig.cmake.in11
-rw-r--r--cmake/modules/LLVMExternalProjectUtils.cmake19
-rw-r--r--cmake/modules/TableGen.cmake57
-rw-r--r--docs/AMDGPUUsage.rst286
-rw-r--r--docs/AliasAnalysis.rst6
-rw-r--r--docs/BitCodeFormat.rst250
-rw-r--r--docs/BranchWeightMetadata.rst6
-rw-r--r--docs/CMake.rst29
-rw-r--r--docs/CMakeLists.txt16
-rw-r--r--docs/CMakePrimer.rst8
-rw-r--r--docs/CodeGenerator.rst30
-rw-r--r--docs/CodingStandards.rst43
-rw-r--r--docs/CommandGuide/lit.rst3
-rw-r--r--docs/CommandGuide/llvm-cov.rst56
-rw-r--r--docs/CommandGuide/llvm-profdata.rst5
-rw-r--r--docs/CommandLine.rst30
-rw-r--r--docs/CompileCudaWithLLVM.rst629
-rw-r--r--docs/CompilerWriterInfo.rst25
-rw-r--r--docs/Coroutines.rst1244
-rw-r--r--docs/CoverageMappingFormat.rst2
-rw-r--r--docs/DeveloperPolicy.rst86
-rw-r--r--docs/Extensions.rst18
-rw-r--r--docs/FAQ.rst2
-rw-r--r--docs/GarbageCollection.rst2
-rw-r--r--docs/GettingStarted.rst93
-rw-r--r--docs/GettingStartedVS.rst8
-rw-r--r--docs/GlobalISel.rst672
-rw-r--r--docs/HowToAddABuilder.rst4
-rw-r--r--docs/HowToReleaseLLVM.rst245
-rw-r--r--docs/LLVMBuild.rst1
-rw-r--r--docs/LangRef.rst263
-rw-r--r--docs/Lexicon.rst4
-rw-r--r--docs/LibFuzzer.rst349
-rw-r--r--docs/LinkTimeOptimization.rst42
-rw-r--r--docs/MemorySSA.rst364
-rw-r--r--docs/OptBisect.rst197
-rw-r--r--docs/PDB/CodeViewSymbols.rst4
-rw-r--r--docs/PDB/CodeViewTypes.rst4
-rw-r--r--docs/PDB/DbiStream.rst445
-rw-r--r--docs/PDB/GlobalStream.rst3
-rw-r--r--docs/PDB/HashStream.rst3
-rw-r--r--docs/PDB/ModiStream.rst80
-rw-r--r--docs/PDB/MsfFile.rst121
-rw-r--r--docs/PDB/PdbStream.rst80
-rw-r--r--docs/PDB/PublicStream.rst3
-rw-r--r--docs/PDB/TpiStream.rst3
-rw-r--r--docs/PDB/index.rst167
-rw-r--r--docs/Phabricator.rst8
-rw-r--r--docs/ProgrammersManual.rst583
-rw-r--r--docs/Proposals/GitHubMove.rst868
-rw-r--r--docs/ReleaseNotes.rst275
-rw-r--r--docs/ScudoHardenedAllocator.rst92
-rw-r--r--docs/SourceLevelDebugging.rst77
-rw-r--r--docs/StackMaps.rst6
-rw-r--r--docs/TableGen/BackEnds.rst9
-rw-r--r--docs/TableGen/LangIntro.rst3
-rw-r--r--docs/TableGen/LangRef.rst4
-rw-r--r--docs/WritingAnLLVMBackend.rst6
-rw-r--r--docs/WritingAnLLVMPass.rst262
-rw-r--r--docs/XRay.rst232
-rw-r--r--docs/_static/llvm.css2
-rw-r--r--docs/conf.py6
-rw-r--r--docs/doxygen.cfg.in2
-rw-r--r--docs/index.rst48
-rw-r--r--docs/tutorial/BuildingAJIT1.rst51
-rw-r--r--docs/tutorial/BuildingAJIT2.rst4
-rw-r--r--docs/tutorial/BuildingAJIT3.rst88
-rw-r--r--docs/tutorial/LangImpl02.rst2
-rw-r--r--docs/tutorial/LangImpl06.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl6.rst2
-rw-r--r--examples/BrainF/BrainF.cpp4
-rw-r--r--examples/BrainF/BrainFDriver.cpp8
-rw-r--r--examples/BrainF/CMakeLists.txt1
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp105
-rw-r--r--examples/HowToUseJIT/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h13
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp22
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h19
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp22
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h18
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp22
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h25
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp19
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h34
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/RemoteJITUtils.h12
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt2
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/server.cpp16
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp35
-rw-r--r--examples/Kaleidoscope/Chapter2/CMakeLists.txt4
-rw-r--r--examples/Kaleidoscope/Chapter2/toy.cpp39
-rw-r--r--examples/Kaleidoscope/Chapter3/toy.cpp13
-rw-r--r--examples/Kaleidoscope/Chapter4/toy.cpp13
-rw-r--r--examples/Kaleidoscope/Chapter5/toy.cpp15
-rw-r--r--examples/Kaleidoscope/Chapter6/toy.cpp16
-rw-r--r--examples/Kaleidoscope/Chapter7/toy.cpp19
-rw-r--r--examples/Kaleidoscope/Chapter8/toy.cpp33
-rw-r--r--examples/Kaleidoscope/include/KaleidoscopeJIT.h10
-rw-r--r--examples/ModuleMaker/ModuleMaker.cpp2
-rw-r--r--include/llvm-c/Core.h84
-rw-r--r--include/llvm-c/Transforms/Scalar.h6
-rw-r--r--include/llvm-c/lto.h44
-rw-r--r--include/llvm/ADT/APFloat.h767
-rw-r--r--include/llvm/ADT/APInt.h151
-rw-r--r--include/llvm/ADT/APSInt.h28
-rw-r--r--include/llvm/ADT/AllocatorList.h226
-rw-r--r--include/llvm/ADT/ArrayRef.h161
-rw-r--r--include/llvm/ADT/BitVector.h4
-rw-r--r--include/llvm/ADT/CachedHashString.h184
-rw-r--r--include/llvm/ADT/DAGDeltaAlgorithm.h6
-rw-r--r--include/llvm/ADT/DenseMap.h93
-rw-r--r--include/llvm/ADT/DenseMapInfo.h30
-rw-r--r--include/llvm/ADT/DenseSet.h88
-rw-r--r--include/llvm/ADT/DepthFirstIterator.h120
-rw-r--r--include/llvm/ADT/EpochTracker.h33
-rw-r--r--include/llvm/ADT/EquivalenceClasses.h17
-rw-r--r--include/llvm/ADT/FoldingSet.h39
-rw-r--r--include/llvm/ADT/GraphTraits.h32
-rw-r--r--include/llvm/ADT/ImmutableList.h32
-rw-r--r--include/llvm/ADT/ImmutableMap.h20
-rw-r--r--include/llvm/ADT/ImmutableSet.h35
-rw-r--r--include/llvm/ADT/IntervalMap.h51
-rw-r--r--include/llvm/ADT/IntrusiveRefCntPtr.h429
-rw-r--r--include/llvm/ADT/MapVector.h23
-rw-r--r--include/llvm/ADT/Optional.h169
-rw-r--r--include/llvm/ADT/PackedVector.h8
-rw-r--r--include/llvm/ADT/PointerSumType.h2
-rw-r--r--include/llvm/ADT/PointerUnion.h19
-rw-r--r--include/llvm/ADT/PostOrderIterator.h86
-rw-r--r--include/llvm/ADT/PriorityQueue.h3
-rw-r--r--include/llvm/ADT/PriorityWorklist.h20
-rw-r--r--include/llvm/ADT/SCCIterator.h17
-rw-r--r--include/llvm/ADT/STLExtras.h468
-rw-r--r--include/llvm/ADT/ScopeExit.h54
-rw-r--r--include/llvm/ADT/ScopedHashTable.h24
-rw-r--r--include/llvm/ADT/SetVector.h36
-rw-r--r--include/llvm/ADT/SmallPtrSet.h125
-rw-r--r--include/llvm/ADT/SmallSet.h13
-rw-r--r--include/llvm/ADT/SmallString.h8
-rw-r--r--include/llvm/ADT/SmallVector.h33
-rw-r--r--include/llvm/ADT/SparseBitVector.h115
-rw-r--r--include/llvm/ADT/SparseMultiSet.h32
-rw-r--r--include/llvm/ADT/SparseSet.h23
-rw-r--r--include/llvm/ADT/Statistic.h13
-rw-r--r--include/llvm/ADT/StringExtras.h61
-rw-r--r--include/llvm/ADT/StringMap.h33
-rw-r--r--include/llvm/ADT/StringRef.h303
-rw-r--r--include/llvm/ADT/StringSwitch.h179
-rw-r--r--include/llvm/ADT/TinyPtrVector.h20
-rw-r--r--include/llvm/ADT/Triple.h29
-rw-r--r--include/llvm/ADT/Twine.h30
-rw-r--r--include/llvm/ADT/ilist.h784
-rw-r--r--include/llvm/ADT/ilist_base.h95
-rw-r--r--include/llvm/ADT/ilist_iterator.h185
-rw-r--r--include/llvm/ADT/ilist_node.h241
-rw-r--r--include/llvm/ADT/ilist_node_base.h53
-rw-r--r--include/llvm/ADT/ilist_node_options.h133
-rw-r--r--include/llvm/ADT/iterator.h22
-rw-r--r--include/llvm/ADT/simple_ilist.h310
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h90
-rw-r--r--include/llvm/Analysis/AliasAnalysisEvaluator.h2
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h87
-rw-r--r--include/llvm/Analysis/AssumptionCache.h10
-rw-r--r--include/llvm/Analysis/BasicAliasAnalysis.h27
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfo.h11
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfoImpl.h21
-rw-r--r--include/llvm/Analysis/BranchProbabilityInfo.h6
-rw-r--r--include/llvm/Analysis/CFGPrinter.h62
-rw-r--r--include/llvm/Analysis/CFLAndersAliasAnalysis.h9
-rw-r--r--include/llvm/Analysis/CFLSteensAliasAnalysis.h19
-rw-r--r--include/llvm/Analysis/CGSCCPassManager.h675
-rw-r--r--include/llvm/Analysis/CallGraph.h77
-rw-r--r--include/llvm/Analysis/CallGraphSCCPass.h4
-rw-r--r--include/llvm/Analysis/CodeMetrics.h2
-rw-r--r--include/llvm/Analysis/ConstantFolding.h28
-rw-r--r--include/llvm/Analysis/DemandedBits.h6
-rw-r--r--include/llvm/Analysis/DependenceAnalysis.h16
-rw-r--r--include/llvm/Analysis/DominanceFrontier.h6
-rw-r--r--include/llvm/Analysis/EHPersonalities.h5
-rw-r--r--include/llvm/Analysis/GlobalsModRef.h4
-rw-r--r--include/llvm/Analysis/IVUsers.h45
-rw-r--r--include/llvm/Analysis/InlineCost.h98
-rw-r--r--include/llvm/Analysis/InstructionSimplify.h13
-rw-r--r--include/llvm/Analysis/Interval.h24
-rw-r--r--include/llvm/Analysis/IteratedDominanceFrontier.h1
-rw-r--r--include/llvm/Analysis/LazyBlockFrequencyInfo.h13
-rw-r--r--include/llvm/Analysis/LazyBranchProbabilityInfo.h109
-rw-r--r--include/llvm/Analysis/LazyCallGraph.h295
-rw-r--r--include/llvm/Analysis/LazyValueInfo.h2
-rw-r--r--include/llvm/Analysis/Loads.h5
-rw-r--r--include/llvm/Analysis/LoopAccessAnalysis.h62
-rw-r--r--include/llvm/Analysis/LoopInfo.h84
-rw-r--r--include/llvm/Analysis/LoopInfoImpl.h146
-rw-r--r--include/llvm/Analysis/LoopIterator.h66
-rw-r--r--include/llvm/Analysis/LoopPass.h20
-rw-r--r--include/llvm/Analysis/LoopPassManager.h57
-rw-r--r--include/llvm/Analysis/MemoryBuiltins.h10
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h29
-rw-r--r--include/llvm/Analysis/ModuleSummaryAnalysis.h62
-rw-r--r--include/llvm/Analysis/ObjCARCAliasAnalysis.h9
-rw-r--r--include/llvm/Analysis/OptimizationDiagnosticInfo.h196
-rw-r--r--include/llvm/Analysis/PostDominators.h14
-rw-r--r--include/llvm/Analysis/ProfileSummaryInfo.h33
-rw-r--r--include/llvm/Analysis/RegionInfo.h36
-rw-r--r--include/llvm/Analysis/RegionInfoImpl.h187
-rw-r--r--include/llvm/Analysis/RegionIterator.h216
-rw-r--r--include/llvm/Analysis/RegionPass.h4
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h3222
-rw-r--r--include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h4
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpander.h176
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h46
-rw-r--r--include/llvm/Analysis/ScopedNoAliasAA.h15
-rw-r--r--include/llvm/Analysis/TargetFolder.h5
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.def3
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.h76
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h163
-rw-r--r--include/llvm/Analysis/TargetTransformInfoImpl.h81
-rw-r--r--include/llvm/Analysis/TypeBasedAliasAnalysis.h12
-rw-r--r--include/llvm/Analysis/ValueTracking.h75
-rw-r--r--include/llvm/Bitcode/BitCodes.h8
-rw-r--r--include/llvm/Bitcode/BitcodeReader.h224
-rw-r--r--include/llvm/Bitcode/BitcodeWriter.h80
-rw-r--r--include/llvm/Bitcode/BitcodeWriterPass.h4
-rw-r--r--include/llvm/Bitcode/BitstreamReader.h241
-rw-r--r--include/llvm/Bitcode/BitstreamWriter.h19
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h84
-rw-r--r--include/llvm/Bitcode/ReaderWriter.h212
-rw-r--r--include/llvm/CodeGen/Analysis.h14
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h53
-rw-r--r--include/llvm/CodeGen/BasicTTIImpl.h118
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h50
-rw-r--r--include/llvm/CodeGen/CommandFlags.h91
-rw-r--r--include/llvm/CodeGen/DIE.h319
-rw-r--r--include/llvm/CodeGen/DIEValue.def1
-rw-r--r--include/llvm/CodeGen/FastISel.h15
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h61
-rw-r--r--include/llvm/CodeGen/GlobalISel/CallLowering.h124
-rw-r--r--include/llvm/CodeGen/GlobalISel/GISelAccessor.h6
-rw-r--r--include/llvm/CodeGen/GlobalISel/IRTranslator.h290
-rw-r--r--include/llvm/CodeGen/GlobalISel/InstructionSelect.h53
-rw-r--r--include/llvm/CodeGen/GlobalISel/InstructionSelector.h63
-rw-r--r--include/llvm/CodeGen/GlobalISel/Legalizer.h65
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizerHelper.h104
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizerInfo.h207
-rw-r--r--include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h426
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegBankSelect.h29
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBank.h11
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h255
-rw-r--r--include/llvm/CodeGen/GlobalISel/Utils.h43
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h7
-rw-r--r--include/llvm/CodeGen/LiveInterval.h52
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h34
-rw-r--r--include/llvm/CodeGen/LivePhysRegs.h30
-rw-r--r--include/llvm/CodeGen/LiveVariables.h3
-rw-r--r--include/llvm/CodeGen/LowLevelType.h206
-rw-r--r--include/llvm/CodeGen/MIRYamlMapping.h16
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h152
-rw-r--r--include/llvm/CodeGen/MachineBlockFrequencyInfo.h1
-rw-r--r--include/llvm/CodeGen/MachineDominators.h12
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h5
-rw-r--r--include/llvm/CodeGen/MachineFunction.h352
-rw-r--r--include/llvm/CodeGen/MachineFunctionAnalysis.h55
-rw-r--r--include/llvm/CodeGen/MachineInstr.h59
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h28
-rw-r--r--include/llvm/CodeGen/MachineInstrBundle.h31
-rw-r--r--include/llvm/CodeGen/MachineInstrBundleIterator.h218
-rw-r--r--include/llvm/CodeGen/MachineLoopInfo.h38
-rw-r--r--include/llvm/CodeGen/MachineMemOperand.h60
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h344
-rw-r--r--include/llvm/CodeGen/MachineOperand.h47
-rw-r--r--include/llvm/CodeGen/MachinePassRegistry.h16
-rw-r--r--include/llvm/CodeGen/MachineRegionInfo.h14
-rw-r--r--include/llvm/CodeGen/MachineRegisterInfo.h77
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h124
-rw-r--r--include/llvm/CodeGen/MachineValueType.h4
-rw-r--r--include/llvm/CodeGen/PBQP/Graph.h25
-rw-r--r--include/llvm/CodeGen/PBQP/Math.h235
-rw-r--r--include/llvm/CodeGen/PBQP/Solution.h32
-rw-r--r--include/llvm/CodeGen/Passes.h29
-rw-r--r--include/llvm/CodeGen/PseudoSourceValue.h6
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h76
-rw-r--r--include/llvm/CodeGen/RegisterPressure.h12
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h30
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.h11
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h14
-rw-r--r--include/llvm/CodeGen/ScheduleDAGInstrs.h10
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h169
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h454
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h35
-rw-r--r--include/llvm/CodeGen/StackMaps.h85
-rw-r--r--include/llvm/CodeGen/TailDuplicator.h48
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h65
-rw-r--r--include/llvm/CodeGen/TargetPassConfig.h43
-rw-r--r--include/llvm/CodeGen/ValueTypes.h6
-rw-r--r--include/llvm/Config/abi-breaking.h.cmake48
-rw-r--r--include/llvm/Config/config.h.cmake248
-rw-r--r--include/llvm/Config/llvm-config.h.cmake36
-rw-r--r--include/llvm/DebugInfo/CodeView/ByteStream.h58
-rw-r--r--include/llvm/DebugInfo/CodeView/CVDebugRecord.h55
-rw-r--r--include/llvm/DebugInfo/CodeView/CVRecord.h65
-rw-r--r--include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h78
-rw-r--r--include/llvm/DebugInfo/CodeView/CVTypeVisitor.h11
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeView.h7
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewError.h1
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewOStream.h39
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h170
-rw-r--r--include/llvm/DebugInfo/CodeView/EnumTables.h1
-rw-r--r--include/llvm/DebugInfo/CodeView/FieldListRecordBuilder.h65
-rw-r--r--include/llvm/DebugInfo/CodeView/ListRecordBuilder.h65
-rw-r--r--include/llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h48
-rw-r--r--include/llvm/DebugInfo/CodeView/MethodListRecordBuilder.h35
-rw-r--r--include/llvm/DebugInfo/CodeView/ModuleSubstream.h30
-rw-r--r--include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h109
-rw-r--r--include/llvm/DebugInfo/CodeView/RecordSerialization.h155
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamArray.h275
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamInterface.h55
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamReader.h111
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamRef.h104
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamWriter.h86
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolDeserializer.h74
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h10
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolDumper.h4
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolRecord.h1244
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h44
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolSerializer.h96
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolVisitorCallbackPipeline.h71
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolVisitorCallbacks.h48
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h14
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeDeserializer.h136
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeDumper.h15
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeIndex.h3
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecord.h726
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h8
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecordMapping.h52
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecords.def3
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeSerializer.h140
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeTableBuilder.h141
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeVisitorCallbackPipeline.h114
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h45
-rw-r--r--include/llvm/DebugInfo/DIContext.h39
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h90
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h3
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFContext.h37
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h19
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h2
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h130
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugLine.h2
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h9
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h77
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDie.h369
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFFormValue.h105
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h68
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h2
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnit.h72
-rw-r--r--include/llvm/DebugInfo/MSF/ByteStream.h169
-rw-r--r--include/llvm/DebugInfo/MSF/IMSFFile.h42
-rw-r--r--include/llvm/DebugInfo/MSF/MSFBuilder.h142
-rw-r--r--include/llvm/DebugInfo/MSF/MSFCommon.h104
-rw-r--r--include/llvm/DebugInfo/MSF/MSFError.h47
-rw-r--r--include/llvm/DebugInfo/MSF/MSFStreamLayout.h35
-rw-r--r--include/llvm/DebugInfo/MSF/MappedBlockStream.h144
-rw-r--r--include/llvm/DebugInfo/MSF/SequencedItemStream.h93
-rw-r--r--include/llvm/DebugInfo/MSF/StreamArray.h279
-rw-r--r--include/llvm/DebugInfo/MSF/StreamInterface.h53
-rw-r--r--include/llvm/DebugInfo/MSF/StreamReader.h121
-rw-r--r--include/llvm/DebugInfo/MSF/StreamRef.h135
-rw-r--r--include/llvm/DebugInfo/MSF/StreamWriter.h92
-rw-r--r--include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h14
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAError.h9
-rw-r--r--include/llvm/DebugInfo/PDB/GenericError.h7
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBEnumChildren.h11
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBSession.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBContext.h24
-rw-r--r--include/llvm/DebugInfo/PDB/PDBTypes.h10
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DbiStream.h79
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h74
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DirectoryStreamData.h37
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/GlobalsStream.h45
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/IPDBFile.h44
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/IPDBStreamData.h38
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h8
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/IndexedStreamData.h34
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/InfoStream.h14
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h21
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h68
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ModInfo.h25
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ModStream.h21
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/MsfBuilder.h141
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/MsfCommon.h90
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameHashTable.h14
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameMap.h5
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h4
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PDBFile.h64
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h33
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PublicsStream.h28
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawConstants.h4
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawError.h3
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawSession.h5
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawTypes.h222
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/SymbolStream.h9
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiHashing.h95
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiStream.h30
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h82
-rw-r--r--include/llvm/Demangle/Demangle.h28
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h27
-rw-r--r--include/llvm/ExecutionEngine/JITEventListener.h22
-rw-r--r--include/llvm/ExecutionEngine/JITSymbol.h197
-rw-r--r--include/llvm/ExecutionEngine/JITSymbolFlags.h91
-rw-r--r--include/llvm/ExecutionEngine/ObjectCache.h12
-rw-r--r--include/llvm/ExecutionEngine/ObjectMemoryBuffer.h2
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h314
-rw-r--r--include/llvm/ExecutionEngine/Orc/ExecutionUtils.h20
-rw-r--r--include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h6
-rw-r--r--include/llvm/ExecutionEngine/Orc/IRCompileLayer.h3
-rw-r--r--include/llvm/ExecutionEngine/Orc/IRTransformLayer.h2
-rw-r--r--include/llvm/ExecutionEngine/Orc/IndirectionUtils.h91
-rw-r--r--include/llvm/ExecutionEngine/Orc/JITSymbol.h87
-rw-r--r--include/llvm/ExecutionEngine/Orc/LambdaResolver.h7
-rw-r--r--include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h30
-rw-r--r--include/llvm/ExecutionEngine/Orc/LogicalDylib.h135
-rw-r--r--include/llvm/ExecutionEngine/Orc/NullResolver.h7
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h47
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h4
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcABISupport.h15
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcError.h2
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h252
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h299
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h194
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCChannel.h249
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCSerialization.h373
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCUtils.h1685
-rw-r--r--include/llvm/ExecutionEngine/Orc/RawByteChannel.h175
-rw-r--r--include/llvm/ExecutionEngine/RTDyldMemoryManager.h38
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h84
-rw-r--r--include/llvm/ExecutionEngine/SectionMemoryManager.h13
-rw-r--r--include/llvm/IR/Attributes.h19
-rw-r--r--include/llvm/IR/AutoUpgrade.h7
-rw-r--r--include/llvm/IR/BasicBlock.h36
-rw-r--r--include/llvm/IR/CFG.h123
-rw-r--r--include/llvm/IR/CMakeLists.txt2
-rw-r--r--include/llvm/IR/CallSite.h78
-rw-r--r--include/llvm/IR/CallingConv.h3
-rw-r--r--include/llvm/IR/Comdat.h8
-rw-r--r--include/llvm/IR/Constant.h14
-rw-r--r--include/llvm/IR/ConstantFolder.h38
-rw-r--r--include/llvm/IR/ConstantRange.h34
-rw-r--r--include/llvm/IR/Constants.h164
-rw-r--r--include/llvm/IR/DIBuilder.h205
-rw-r--r--include/llvm/IR/DataLayout.h29
-rw-r--r--include/llvm/IR/DebugInfo.h22
-rw-r--r--include/llvm/IR/DebugInfoFlags.def16
-rw-r--r--include/llvm/IR/DebugInfoMetadata.h846
-rw-r--r--include/llvm/IR/DebugLoc.h12
-rw-r--r--include/llvm/IR/DerivedTypes.h95
-rw-r--r--include/llvm/IR/DiagnosticInfo.h280
-rw-r--r--include/llvm/IR/DiagnosticPrinter.h8
-rw-r--r--include/llvm/IR/Dominators.h41
-rw-r--r--include/llvm/IR/Function.h121
-rw-r--r--include/llvm/IR/GVMaterializer.h17
-rw-r--r--include/llvm/IR/GetElementPtrTypeIterator.h109
-rw-r--r--include/llvm/IR/GlobalAlias.h12
-rw-r--r--include/llvm/IR/GlobalIFunc.h12
-rw-r--r--include/llvm/IR/GlobalIndirectSymbol.h15
-rw-r--r--include/llvm/IR/GlobalObject.h15
-rw-r--r--include/llvm/IR/GlobalValue.h62
-rw-r--r--include/llvm/IR/GlobalVariable.h39
-rw-r--r--include/llvm/IR/IRBuilder.h78
-rw-r--r--include/llvm/IR/IRPrintingPasses.h2
-rw-r--r--include/llvm/IR/InlineAsm.h17
-rw-r--r--include/llvm/IR/InstIterator.h12
-rw-r--r--include/llvm/IR/InstrTypes.h55
-rw-r--r--include/llvm/IR/Instruction.h73
-rw-r--r--include/llvm/IR/Instructions.h1091
-rw-r--r--include/llvm/IR/IntrinsicInst.h40
-rw-r--r--include/llvm/IR/Intrinsics.h19
-rw-r--r--include/llvm/IR/Intrinsics.td89
-rw-r--r--include/llvm/IR/IntrinsicsAMDGPU.td259
-rw-r--r--include/llvm/IR/IntrinsicsNVVM.td33
-rw-r--r--include/llvm/IR/IntrinsicsPowerPC.td152
-rw-r--r--include/llvm/IR/IntrinsicsSystemZ.td5
-rw-r--r--include/llvm/IR/IntrinsicsX86.td1147
-rw-r--r--include/llvm/IR/LLVMContext.h51
-rw-r--r--include/llvm/IR/LegacyPassManagers.h4
-rw-r--r--include/llvm/IR/LegacyPassNameParser.h12
-rw-r--r--include/llvm/IR/MDBuilder.h3
-rw-r--r--include/llvm/IR/Mangler.h5
-rw-r--r--include/llvm/IR/Metadata.def1
-rw-r--r--include/llvm/IR/Metadata.h113
-rw-r--r--include/llvm/IR/Module.h114
-rw-r--r--include/llvm/IR/ModuleSummaryIndex.h192
-rw-r--r--include/llvm/IR/NoFolder.h49
-rw-r--r--include/llvm/IR/Operator.h68
-rw-r--r--include/llvm/IR/PassManager.h1074
-rw-r--r--include/llvm/IR/PassManagerInternal.h154
-rw-r--r--include/llvm/IR/PatternMatch.h35
-rw-r--r--include/llvm/IR/Statepoint.h32
-rw-r--r--include/llvm/IR/SymbolTableListTraits.h26
-rw-r--r--include/llvm/IR/Type.h55
-rw-r--r--include/llvm/IR/Use.h22
-rw-r--r--include/llvm/IR/UseListOrder.h14
-rw-r--r--include/llvm/IR/User.h29
-rw-r--r--include/llvm/IR/Value.h63
-rw-r--r--include/llvm/IR/ValueHandle.h11
-rw-r--r--include/llvm/IR/ValueMap.h37
-rw-r--r--include/llvm/IR/Verifier.h46
-rw-r--r--include/llvm/InitializePasses.h49
-rw-r--r--include/llvm/LTO/Caching.h37
-rw-r--r--include/llvm/LTO/Config.h181
-rw-r--r--include/llvm/LTO/LTO.h435
-rw-r--r--include/llvm/LTO/LTOBackend.h51
-rw-r--r--include/llvm/LTO/legacy/LTOCodeGenerator.h14
-rw-r--r--include/llvm/LTO/legacy/LTOModule.h66
-rw-r--r--include/llvm/LTO/legacy/ThinLTOCodeGenerator.h45
-rw-r--r--include/llvm/LinkAllIR.h1
-rw-r--r--include/llvm/LinkAllPasses.h7
-rw-r--r--include/llvm/Linker/IRMover.h9
-rw-r--r--include/llvm/MC/ConstantPools.h2
-rw-r--r--include/llvm/MC/LaneBitmask.h89
-rw-r--r--include/llvm/MC/MCAsmBackend.h3
-rw-r--r--include/llvm/MC/MCAsmInfo.h51
-rw-r--r--include/llvm/MC/MCAssembler.h4
-rw-r--r--include/llvm/MC/MCCodeView.h113
-rw-r--r--include/llvm/MC/MCContext.h56
-rw-r--r--include/llvm/MC/MCELFStreamer.h2
-rw-r--r--include/llvm/MC/MCExpr.h5
-rw-r--r--include/llvm/MC/MCFixup.h4
-rw-r--r--include/llvm/MC/MCFragment.h21
-rw-r--r--include/llvm/MC/MCInstPrinter.h15
-rw-r--r--include/llvm/MC/MCInstrDesc.h98
-rw-r--r--include/llvm/MC/MCInstrInfo.h4
-rw-r--r--include/llvm/MC/MCInstrItineraries.h2
-rw-r--r--include/llvm/MC/MCObjectFileInfo.h6
-rw-r--r--include/llvm/MC/MCObjectStreamer.h18
-rw-r--r--include/llvm/MC/MCParser/AsmLexer.h4
-rw-r--r--include/llvm/MC/MCParser/MCAsmLexer.h35
-rw-r--r--include/llvm/MC/MCParser/MCAsmParser.h62
-rw-r--r--include/llvm/MC/MCParser/MCAsmParserExtension.h29
-rw-r--r--include/llvm/MC/MCParser/MCTargetAsmParser.h23
-rw-r--r--include/llvm/MC/MCRegisterInfo.h24
-rw-r--r--include/llvm/MC/MCSection.h34
-rw-r--r--include/llvm/MC/MCSectionCOFF.h4
-rw-r--r--include/llvm/MC/MCStreamer.h67
-rw-r--r--include/llvm/MC/MCTargetOptions.h12
-rw-r--r--include/llvm/MC/MCTargetOptionsCommandFlags.h10
-rw-r--r--include/llvm/MC/MCWinCOFFStreamer.h2
-rw-r--r--include/llvm/MC/SectionKind.h9
-rw-r--r--include/llvm/MC/StringTableBuilder.h33
-rw-r--r--include/llvm/Object/Archive.h106
-rw-r--r--include/llvm/Object/ArchiveWriter.h14
-rw-r--r--include/llvm/Object/Binary.h4
-rw-r--r--include/llvm/Object/COFF.h52
-rw-r--r--include/llvm/Object/COFFImportFile.h4
-rw-r--r--include/llvm/Object/ELF.h539
-rw-r--r--include/llvm/Object/ELFObjectFile.h160
-rw-r--r--include/llvm/Object/ELFTypes.h34
-rw-r--r--include/llvm/Object/Error.h1
-rw-r--r--include/llvm/Object/IRObjectFile.h39
-rw-r--r--include/llvm/Object/MachO.h15
-rw-r--r--include/llvm/Object/MachOUniversal.h18
-rw-r--r--include/llvm/Object/ModuleSummaryIndexObjectFile.h19
-rw-r--r--include/llvm/Object/ModuleSymbolTable.h61
-rw-r--r--include/llvm/Object/ObjectFile.h7
-rw-r--r--include/llvm/Object/RelocVisitor.h47
-rw-r--r--include/llvm/Object/StackMapParser.h35
-rw-r--r--include/llvm/Object/SymbolSize.h11
-rw-r--r--include/llvm/Object/SymbolicFile.h13
-rw-r--r--include/llvm/Object/Wasm.h99
-rw-r--r--include/llvm/ObjectYAML/DWARFYAML.h203
-rw-r--r--include/llvm/ObjectYAML/MachOYAML.h9
-rw-r--r--include/llvm/Option/ArgList.h4
-rw-r--r--include/llvm/Pass.h2
-rw-r--r--include/llvm/PassInfo.h16
-rw-r--r--include/llvm/PassSupport.h4
-rw-r--r--include/llvm/Passes/PassBuilder.h95
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMapping.h58
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingWriter.h4
-rw-r--r--include/llvm/ProfileData/InstrProf.h20
-rw-r--r--include/llvm/ProfileData/InstrProfData.inc7
-rw-r--r--include/llvm/ProfileData/InstrProfWriter.h2
-rw-r--r--include/llvm/ProfileData/ProfileCommon.h19
-rw-r--r--include/llvm/ProfileData/SampleProf.h15
-rw-r--r--include/llvm/Support/AArch64TargetParser.def16
-rw-r--r--include/llvm/Support/ARMBuildAttributes.h1
-rw-r--r--include/llvm/Support/ARMTargetParser.def11
-rw-r--r--include/llvm/Support/AlignOf.h123
-rw-r--r--include/llvm/Support/Allocator.h23
-rw-r--r--include/llvm/Support/ArrayRecycler.h5
-rw-r--r--include/llvm/Support/AtomicOrdering.h48
-rw-r--r--include/llvm/Support/COFF.h7
-rw-r--r--include/llvm/Support/CachePruning.h11
-rw-r--r--include/llvm/Support/Casting.h48
-rw-r--r--include/llvm/Support/Chrono.h55
-rw-r--r--include/llvm/Support/CodeGen.h2
-rw-r--r--include/llvm/Support/CommandLine.h279
-rw-r--r--include/llvm/Support/Compiler.h94
-rw-r--r--include/llvm/Support/Compression.h3
-rw-r--r--include/llvm/Support/ConvertUTF.h24
-rw-r--r--include/llvm/Support/DataExtractor.h2
-rw-r--r--include/llvm/Support/DataStream.h38
-rw-r--r--include/llvm/Support/Debug.h16
-rw-r--r--include/llvm/Support/Dwarf.def444
-rw-r--r--include/llvm/Support/Dwarf.h421
-rw-r--r--include/llvm/Support/ELF.h1402
-rw-r--r--include/llvm/Support/ELFRelocs/AArch64.def338
-rw-r--r--include/llvm/Support/ELFRelocs/AMDGPU.def20
-rw-r--r--include/llvm/Support/ELFRelocs/BPF.def5
-rw-r--r--include/llvm/Support/ELFRelocs/RISCV.def50
-rw-r--r--include/llvm/Support/ELFRelocs/SystemZ.def4
-rw-r--r--include/llvm/Support/Endian.h3
-rw-r--r--include/llvm/Support/Error.h166
-rw-r--r--include/llvm/Support/FileSystem.h38
-rw-r--r--include/llvm/Support/Format.h57
-rw-r--r--include/llvm/Support/FormatAdapters.h93
-rw-r--r--include/llvm/Support/FormatCommon.h69
-rw-r--r--include/llvm/Support/FormatProviders.h413
-rw-r--r--include/llvm/Support/FormatVariadic.h247
-rw-r--r--include/llvm/Support/FormatVariadicDetails.h112
-rw-r--r--include/llvm/Support/GCOV.h34
-rw-r--r--include/llvm/Support/GenericDomTree.h60
-rw-r--r--include/llvm/Support/GenericDomTreeConstruction.h96
-rw-r--r--include/llvm/Support/GlobPattern.h48
-rw-r--r--include/llvm/Support/GraphWriter.h33
-rw-r--r--include/llvm/Support/Host.h7
-rw-r--r--include/llvm/Support/MD5.h4
-rw-r--r--include/llvm/Support/MachO.def10
-rw-r--r--include/llvm/Support/MachO.h215
-rw-r--r--include/llvm/Support/ManagedStatic.h7
-rw-r--r--include/llvm/Support/MathExtras.h144
-rw-r--r--include/llvm/Support/MemoryBuffer.h28
-rw-r--r--include/llvm/Support/MemoryObject.h68
-rw-r--r--include/llvm/Support/NativeFormatting.h49
-rw-r--r--include/llvm/Support/OnDiskHashTable.h3
-rw-r--r--include/llvm/Support/Options.h2
-rw-r--r--include/llvm/Support/Path.h3
-rw-r--r--include/llvm/Support/PointerLikeTypeTraits.h6
-rw-r--r--include/llvm/Support/PrettyStackTrace.h11
-rw-r--r--include/llvm/Support/Printable.h2
-rw-r--r--include/llvm/Support/Process.h11
-rw-r--r--include/llvm/Support/RWMutex.h23
-rw-r--r--include/llvm/Support/RandomNumberGenerator.h24
-rw-r--r--include/llvm/Support/Recycler.h5
-rw-r--r--include/llvm/Support/RecyclingAllocator.h4
-rw-r--r--include/llvm/Support/Regex.h7
-rw-r--r--include/llvm/Support/Registry.h114
-rw-r--r--include/llvm/Support/SHA1.h9
-rw-r--r--include/llvm/Support/SMLoc.h6
-rw-r--r--include/llvm/Support/SourceMgr.h5
-rw-r--r--include/llvm/Support/StreamingMemoryObject.h87
-rw-r--r--include/llvm/Support/StringSaver.h12
-rw-r--r--include/llvm/Support/SwapByteOrder.h3
-rw-r--r--include/llvm/Support/TargetParser.h26
-rw-r--r--include/llvm/Support/TargetRegistry.h24
-rw-r--r--include/llvm/Support/Threading.h7
-rw-r--r--include/llvm/Support/TimeValue.h386
-rw-r--r--include/llvm/Support/Timer.h132
-rw-r--r--include/llvm/Support/TrailingObjects.h62
-rw-r--r--include/llvm/Support/TrigramIndex.h70
-rw-r--r--include/llvm/Support/UnicodeCharRanges.h2
-rw-r--r--include/llvm/Support/Wasm.h87
-rw-r--r--include/llvm/Support/YAMLParser.h13
-rw-r--r--include/llvm/Support/YAMLTraits.h447
-rw-r--r--include/llvm/Support/raw_ostream.h38
-rw-r--r--include/llvm/Support/xxhash.h47
-rw-r--r--include/llvm/TableGen/Record.h287
-rw-r--r--include/llvm/TableGen/SetTheory.h15
-rw-r--r--include/llvm/Target/CostTable.h15
-rw-r--r--include/llvm/Target/GenericOpcodes.td410
-rw-r--r--include/llvm/Target/Target.td54
-rw-r--r--include/llvm/Target/TargetCallingConv.h18
-rw-r--r--include/llvm/Target/TargetFrameLowering.h6
-rw-r--r--include/llvm/Target/TargetGlobalISel.td29
-rw-r--r--include/llvm/Target/TargetInstrInfo.h217
-rw-r--r--include/llvm/Target/TargetIntrinsicInfo.h7
-rw-r--r--include/llvm/Target/TargetItinerary.td2
-rw-r--r--include/llvm/Target/TargetLowering.h247
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h74
-rw-r--r--include/llvm/Target/TargetMachine.h21
-rw-r--r--include/llvm/Target/TargetOpcodes.def262
-rw-r--r--include/llvm/Target/TargetOpcodes.h7
-rw-r--r--include/llvm/Target/TargetOptions.h37
-rw-r--r--include/llvm/Target/TargetRecip.h74
-rw-r--r--include/llvm/Target/TargetRegisterInfo.h66
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td10
-rw-r--r--include/llvm/Target/TargetSubtargetInfo.h23
-rw-r--r--include/llvm/Transforms/Coroutines.h38
-rw-r--r--include/llvm/Transforms/GCOVProfiler.h2
-rw-r--r--include/llvm/Transforms/IPO.h22
-rw-r--r--include/llvm/Transforms/IPO/AlwaysInliner.h40
-rw-r--r--include/llvm/Transforms/IPO/CrossDSOCFI.h2
-rw-r--r--include/llvm/Transforms/IPO/FunctionAttrs.h5
-rw-r--r--include/llvm/Transforms/IPO/FunctionImport.h28
-rw-r--r--include/llvm/Transforms/IPO/GlobalOpt.h2
-rw-r--r--include/llvm/Transforms/IPO/GlobalSplit.h30
-rw-r--r--include/llvm/Transforms/IPO/InferFunctionAttrs.h2
-rw-r--r--include/llvm/Transforms/IPO/Inliner.h108
-rw-r--r--include/llvm/Transforms/IPO/InlinerPass.h94
-rw-r--r--include/llvm/Transforms/IPO/Internalize.h2
-rw-r--r--include/llvm/Transforms/IPO/LowerTypeTests.h2
-rw-r--r--include/llvm/Transforms/IPO/PartialInlining.h3
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h13
-rw-r--r--include/llvm/Transforms/IPO/SCCP.h2
-rw-r--r--include/llvm/Transforms/IPO/WholeProgramDevirt.h5
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombine.h13
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombineWorklist.h16
-rw-r--r--include/llvm/Transforms/InstrProfiling.h11
-rw-r--r--include/llvm/Transforms/Instrumentation.h9
-rw-r--r--include/llvm/Transforms/PGOInstrumentation.h6
-rw-r--r--include/llvm/Transforms/SampleProfile.h2
-rw-r--r--include/llvm/Transforms/Scalar.h41
-rw-r--r--include/llvm/Transforms/Scalar/DCE.h2
-rw-r--r--include/llvm/Transforms/Scalar/DeadStoreElimination.h2
-rw-r--r--include/llvm/Transforms/Scalar/EarlyCSE.h6
-rw-r--r--include/llvm/Transforms/Scalar/GVN.h10
-rw-r--r--include/llvm/Transforms/Scalar/GVNExpression.h605
-rw-r--r--include/llvm/Transforms/Scalar/GuardWidening.h2
-rw-r--r--include/llvm/Transforms/Scalar/IndVarSimplify.h3
-rw-r--r--include/llvm/Transforms/Scalar/JumpThreading.h11
-rw-r--r--include/llvm/Transforms/Scalar/LICM.h3
-rw-r--r--include/llvm/Transforms/Scalar/LoopDataPrefetch.h31
-rw-r--r--include/llvm/Transforms/Scalar/LoopDeletion.h3
-rw-r--r--include/llvm/Transforms/Scalar/LoopIdiomRecognize.h3
-rw-r--r--include/llvm/Transforms/Scalar/LoopInstSimplify.h3
-rw-r--r--include/llvm/Transforms/Scalar/LoopRotation.h8
-rw-r--r--include/llvm/Transforms/Scalar/LoopSimplifyCFG.h3
-rw-r--r--include/llvm/Transforms/Scalar/LoopStrengthReduce.h38
-rw-r--r--include/llvm/Transforms/Scalar/LoopUnrollPass.h30
-rw-r--r--include/llvm/Transforms/Scalar/LowerGuardIntrinsic.h28
-rw-r--r--include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h2
-rw-r--r--include/llvm/Transforms/Scalar/NaryReassociate.h174
-rw-r--r--include/llvm/Transforms/Scalar/NewGVN.h28
-rw-r--r--include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h2
-rw-r--r--include/llvm/Transforms/Scalar/Reassociate.h2
-rw-r--r--include/llvm/Transforms/Scalar/SCCP.h2
-rw-r--r--include/llvm/Transforms/Scalar/SROA.h2
-rw-r--r--include/llvm/Transforms/Scalar/SimplifyCFG.h2
-rw-r--r--include/llvm/Transforms/Scalar/Sink.h2
-rw-r--r--include/llvm/Transforms/Scalar/SpeculativeExecution.h92
-rw-r--r--include/llvm/Transforms/Utils/ASanStackFrameLayout.h49
-rw-r--r--include/llvm/Transforms/Utils/AddDiscriminators.h2
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h15
-rw-r--r--include/llvm/Transforms/Utils/BreakCriticalEdges.h29
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h20
-rw-r--r--include/llvm/Transforms/Utils/CmpInstAnalysis.h27
-rw-r--r--include/llvm/Transforms/Utils/CodeExtractor.h30
-rw-r--r--include/llvm/Transforms/Utils/EscapeEnumerator.h49
-rw-r--r--include/llvm/Transforms/Utils/FunctionComparator.h376
-rw-r--r--include/llvm/Transforms/Utils/FunctionImportUtils.h12
-rw-r--r--include/llvm/Transforms/Utils/ImportedFunctionsInliningStatistics.h107
-rw-r--r--include/llvm/Transforms/Utils/LCSSA.h2
-rw-r--r--include/llvm/Transforms/Utils/LibCallsShrinkWrap.h27
-rw-r--r--include/llvm/Transforms/Utils/Local.h46
-rw-r--r--include/llvm/Transforms/Utils/LoopSimplify.h2
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h76
-rw-r--r--include/llvm/Transforms/Utils/LowerInvoke.h30
-rw-r--r--include/llvm/Transforms/Utils/Mem2Reg.h2
-rw-r--r--include/llvm/Transforms/Utils/MemorySSA.h189
-rw-r--r--include/llvm/Transforms/Utils/ModuleUtils.h26
-rw-r--r--include/llvm/Transforms/Utils/NameAnonGlobals.h31
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdaterImpl.h5
-rw-r--r--include/llvm/Transforms/Utils/SimplifyInstructions.h2
-rw-r--r--include/llvm/Transforms/Utils/SimplifyLibCalls.h2
-rw-r--r--include/llvm/Transforms/Utils/SymbolRewriter.h57
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h16
-rw-r--r--include/llvm/Transforms/Vectorize/LoopVectorize.h5
-rw-r--r--include/llvm/Transforms/Vectorize/SLPVectorizer.h15
-rw-r--r--include/llvm/module.modulemap25
-rw-r--r--include/llvm/module.modulemap.build4
-rw-r--r--lib/Analysis/AliasAnalysis.cpp29
-rw-r--r--lib/Analysis/AliasAnalysisEvaluator.cpp2
-rw-r--r--lib/Analysis/AliasAnalysisSummary.cpp34
-rw-r--r--lib/Analysis/AliasAnalysisSummary.h56
-rw-r--r--lib/Analysis/AliasSetTracker.cpp351
-rw-r--r--lib/Analysis/Analysis.cpp10
-rw-r--r--lib/Analysis/AssumptionCache.cpp4
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp143
-rw-r--r--lib/Analysis/BlockFrequencyInfo.cpp32
-rw-r--r--lib/Analysis/BlockFrequencyInfoImpl.cpp17
-rw-r--r--lib/Analysis/BranchProbabilityInfo.cpp40
-rw-r--r--lib/Analysis/CFGPrinter.cpp111
-rw-r--r--lib/Analysis/CFLAndersAliasAnalysis.cpp484
-rw-r--r--lib/Analysis/CFLGraph.h128
-rw-r--r--lib/Analysis/CFLSteensAliasAnalysis.cpp78
-rw-r--r--lib/Analysis/CGSCCPassManager.cpp501
-rw-r--r--lib/Analysis/CMakeLists.txt6
-rw-r--r--lib/Analysis/CallGraph.cpp4
-rw-r--r--lib/Analysis/CallGraphSCCPass.cpp12
-rw-r--r--lib/Analysis/CodeMetrics.cpp66
-rw-r--r--lib/Analysis/ConstantFolding.cpp478
-rw-r--r--lib/Analysis/CostModel.cpp47
-rw-r--r--lib/Analysis/DemandedBits.cpp13
-rw-r--r--lib/Analysis/DependenceAnalysis.cpp2
-rw-r--r--lib/Analysis/DominanceFrontier.cpp2
-rw-r--r--lib/Analysis/EHPersonalities.cpp25
-rw-r--r--lib/Analysis/GlobalsModRef.cpp24
-rw-r--r--lib/Analysis/IVUsers.cpp6
-rw-r--r--lib/Analysis/InlineCost.cpp266
-rw-r--r--lib/Analysis/InstructionSimplify.cpp1570
-rw-r--r--lib/Analysis/IteratedDominanceFrontier.cpp2
-rw-r--r--lib/Analysis/LLVMBuild.txt2
-rw-r--r--lib/Analysis/LazyBlockFrequencyInfo.cpp15
-rw-r--r--lib/Analysis/LazyBranchProbabilityInfo.cpp63
-rw-r--r--lib/Analysis/LazyCallGraph.cpp1007
-rw-r--r--lib/Analysis/LazyValueInfo.cpp990
-rw-r--r--lib/Analysis/Lint.cpp37
-rw-r--r--lib/Analysis/Loads.cpp24
-rw-r--r--lib/Analysis/LoopAccessAnalysis.cpp188
-rw-r--r--lib/Analysis/LoopInfo.cpp124
-rw-r--r--lib/Analysis/LoopPass.cpp28
-rw-r--r--lib/Analysis/LoopPassManager.cpp22
-rw-r--r--lib/Analysis/MemoryBuiltins.cpp129
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp172
-rw-r--r--lib/Analysis/ModuleDebugInfoPrinter.cpp13
-rw-r--r--lib/Analysis/ModuleSummaryAnalysis.cpp345
-rw-r--r--lib/Analysis/ObjCARCAliasAnalysis.cpp2
-rw-r--r--lib/Analysis/ObjCARCInstKind.cpp71
-rw-r--r--lib/Analysis/OptimizationDiagnosticInfo.cpp189
-rw-r--r--lib/Analysis/PHITransAddr.cpp14
-rw-r--r--lib/Analysis/PostDominators.cpp2
-rw-r--r--lib/Analysis/ProfileSummaryInfo.cpp72
-rw-r--r--lib/Analysis/RegionInfo.cpp9
-rw-r--r--lib/Analysis/RegionPass.cpp6
-rw-r--r--lib/Analysis/ScalarEvolution.cpp1484
-rw-r--r--lib/Analysis/ScalarEvolutionAliasAnalysis.cpp4
-rw-r--r--lib/Analysis/ScalarEvolutionExpander.cpp96
-rw-r--r--lib/Analysis/ScopedNoAliasAA.cpp17
-rw-r--r--lib/Analysis/StratifiedSets.h13
-rw-r--r--lib/Analysis/TargetLibraryInfo.cpp161
-rw-r--r--lib/Analysis/TargetTransformInfo.cpp61
-rw-r--r--lib/Analysis/TypeBasedAliasAnalysis.cpp173
-rw-r--r--lib/Analysis/TypeMetadataUtils.cpp3
-rw-r--r--lib/Analysis/ValueTracking.cpp647
-rw-r--r--lib/Analysis/VectorUtils.cpp16
-rw-r--r--lib/AsmParser/LLLexer.cpp166
-rw-r--r--lib/AsmParser/LLParser.cpp262
-rw-r--r--lib/AsmParser/LLParser.h3
-rw-r--r--lib/AsmParser/LLToken.h3
-rw-r--r--lib/Bitcode/Reader/BitReader.cpp59
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp3425
-rw-r--r--lib/Bitcode/Reader/BitstreamReader.cpp67
-rw-r--r--lib/Bitcode/Reader/CMakeLists.txt7
-rw-r--r--lib/Bitcode/Reader/MetadataLoader.cpp1398
-rw-r--r--lib/Bitcode/Reader/MetadataLoader.h85
-rw-r--r--lib/Bitcode/Reader/ValueList.cpp199
-rw-r--r--lib/Bitcode/Reader/ValueList.h76
-rw-r--r--lib/Bitcode/Writer/BitWriter.cpp3
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp461
-rw-r--r--lib/Bitcode/Writer/BitcodeWriterPass.cpp15
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.h2
-rw-r--r--lib/CMakeLists.txt3
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.cpp4
-rw-r--r--lib/CodeGen/AllocationOrder.cpp2
-rw-r--r--lib/CodeGen/AllocationOrder.h5
-rw-r--r--lib/CodeGen/Analysis.cpp53
-rw-r--r--lib/CodeGen/AsmPrinter/ARMException.cpp20
-rw-r--r--lib/CodeGen/AsmPrinter/AddressPool.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp185
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp35
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp17
-rw-r--r--lib/CodeGen/AsmPrinter/CMakeLists.txt5
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.cpp685
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.h29
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.cpp372
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp6
-rw-r--r--lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp31
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp42
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.h18
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocEntry.h12
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp4
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfAccelTable.h3
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCFIException.cpp32
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp247
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h28
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp363
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h30
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h6
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.cpp170
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.h165
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfFile.cpp72
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfFile.h15
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.cpp135
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h31
-rw-r--r--lib/CodeGen/AsmPrinter/EHStreamer.cpp16
-rw-r--r--lib/CodeGen/AsmPrinter/LLVMBuild.txt2
-rw-r--r--lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.cpp116
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.h4
-rw-r--r--lib/CodeGen/BranchFolding.cpp305
-rw-r--r--lib/CodeGen/BranchFolding.h14
-rw-r--r--lib/CodeGen/BranchRelaxation.cpp510
-rw-r--r--lib/CodeGen/CMakeLists.txt12
-rw-r--r--lib/CodeGen/CallingConvLower.cpp18
-rw-r--r--lib/CodeGen/CodeGen.cpp4
-rw-r--r--lib/CodeGen/CodeGenPrepare.cpp519
-rw-r--r--lib/CodeGen/CountingFunctionInserter.cpp62
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.cpp4
-rw-r--r--lib/CodeGen/DFAPacketizer.cpp21
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp9
-rw-r--r--lib/CodeGen/DetectDeadLanes.cpp30
-rw-r--r--lib/CodeGen/DwarfEHPrepare.cpp2
-rw-r--r--lib/CodeGen/EarlyIfConversion.cpp6
-rw-r--r--lib/CodeGen/EdgeBundles.cpp9
-rw-r--r--lib/CodeGen/ExecutionDepsFix.cpp70
-rw-r--r--lib/CodeGen/FuncletLayout.cpp2
-rw-r--r--lib/CodeGen/GCMetadata.cpp4
-rw-r--r--lib/CodeGen/GCMetadataPrinter.cpp2
-rw-r--r--lib/CodeGen/GCRootLowering.cpp12
-rw-r--r--lib/CodeGen/GCStrategy.cpp2
-rw-r--r--lib/CodeGen/GlobalISel/CMakeLists.txt12
-rw-r--r--lib/CodeGen/GlobalISel/CallLowering.cpp170
-rw-r--r--lib/CodeGen/GlobalISel/GlobalISel.cpp2
-rw-r--r--lib/CodeGen/GlobalISel/IRTranslator.cpp797
-rw-r--r--lib/CodeGen/GlobalISel/InstructionSelect.cpp175
-rw-r--r--lib/CodeGen/GlobalISel/InstructionSelector.cpp60
-rw-r--r--lib/CodeGen/GlobalISel/Legalizer.cpp180
-rw-r--r--lib/CodeGen/GlobalISel/LegalizerHelper.cpp354
-rw-r--r--lib/CodeGen/GlobalISel/LegalizerInfo.cpp182
-rw-r--r--lib/CodeGen/GlobalISel/MachineIRBuilder.cpp427
-rw-r--r--lib/CodeGen/GlobalISel/RegBankSelect.cpp132
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBank.cpp2
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBankInfo.cpp364
-rw-r--r--lib/CodeGen/GlobalISel/Utils.cpp45
-rw-r--r--lib/CodeGen/GlobalMerge.cpp63
-rw-r--r--lib/CodeGen/IfConversion.cpp1203
-rw-r--r--lib/CodeGen/ImplicitNullChecks.cpp401
-rw-r--r--lib/CodeGen/InlineSpiller.cpp35
-rw-r--r--lib/CodeGen/InterleavedAccessPass.cpp110
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp10
-rw-r--r--lib/CodeGen/LLVMBuild.txt2
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp68
-rw-r--r--lib/CodeGen/LatencyPriorityQueue.cpp2
-rw-r--r--lib/CodeGen/LexicalScopes.cpp22
-rw-r--r--lib/CodeGen/LiveDebugValues.cpp90
-rw-r--r--lib/CodeGen/LiveDebugVariables.cpp56
-rw-r--r--lib/CodeGen/LiveInterval.cpp105
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp70
-rw-r--r--lib/CodeGen/LiveIntervalUnion.cpp5
-rw-r--r--lib/CodeGen/LivePhysRegs.cpp53
-rw-r--r--lib/CodeGen/LiveRangeCalc.cpp211
-rw-r--r--lib/CodeGen/LiveRangeCalc.h55
-rw-r--r--lib/CodeGen/LiveRangeEdit.cpp23
-rw-r--r--lib/CodeGen/LiveRegMatrix.cpp9
-rw-r--r--lib/CodeGen/LiveVariables.cpp2
-rw-r--r--lib/CodeGen/LocalStackSlotAllocation.cpp82
-rw-r--r--lib/CodeGen/LowLevelType.cpp71
-rw-r--r--lib/CodeGen/MIRParser/CMakeLists.txt5
-rw-r--r--lib/CodeGen/MIRParser/MILexer.cpp78
-rw-r--r--lib/CodeGen/MIRParser/MILexer.h10
-rw-r--r--lib/CodeGen/MIRParser/MIParser.cpp485
-rw-r--r--lib/CodeGen/MIRParser/MIParser.h49
-rw-r--r--lib/CodeGen/MIRParser/MIRParser.cpp195
-rw-r--r--lib/CodeGen/MIRPrinter.cpp148
-rw-r--r--lib/CodeGen/MIRPrintingPass.cpp2
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp135
-rw-r--r--lib/CodeGen/MachineBlockFrequencyInfo.cpp27
-rw-r--r--lib/CodeGen/MachineBlockPlacement.cpp473
-rw-r--r--lib/CodeGen/MachineBranchProbabilityInfo.cpp3
-rw-r--r--lib/CodeGen/MachineCSE.cpp7
-rw-r--r--lib/CodeGen/MachineCombiner.cpp15
-rw-r--r--lib/CodeGen/MachineCopyPropagation.cpp4
-rw-r--r--lib/CodeGen/MachineFunction.cpp300
-rw-r--r--lib/CodeGen/MachineFunctionAnalysis.cpp60
-rw-r--r--lib/CodeGen/MachineFunctionPass.cpp14
-rw-r--r--lib/CodeGen/MachineFunctionPrinterPass.cpp2
-rw-r--r--lib/CodeGen/MachineInstr.cpp190
-rw-r--r--lib/CodeGen/MachineInstrBundle.cpp10
-rw-r--r--lib/CodeGen/MachineLICM.cpp17
-rw-r--r--lib/CodeGen/MachineLoopInfo.cpp45
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp305
-rw-r--r--lib/CodeGen/MachinePipeliner.cpp3984
-rw-r--r--lib/CodeGen/MachineRegisterInfo.cpp58
-rw-r--r--lib/CodeGen/MachineSSAUpdater.cpp1
-rw-r--r--lib/CodeGen/MachineScheduler.cpp214
-rw-r--r--lib/CodeGen/MachineSink.cpp40
-rw-r--r--lib/CodeGen/MachineTraceMetrics.cpp7
-rw-r--r--lib/CodeGen/MachineVerifier.cpp205
-rw-r--r--lib/CodeGen/OptimizePHIs.cpp2
-rw-r--r--lib/CodeGen/PHIElimination.cpp2
-rw-r--r--lib/CodeGen/PHIEliminationUtils.cpp3
-rw-r--r--lib/CodeGen/ParallelCG.cpp5
-rw-r--r--lib/CodeGen/PatchableFunction.cpp2
-rw-r--r--lib/CodeGen/PeepholeOptimizer.cpp57
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp2
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp172
-rw-r--r--lib/CodeGen/RegAllocBase.cpp7
-rw-r--r--lib/CodeGen/RegAllocBase.h1
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp9
-rw-r--r--lib/CodeGen/RegAllocFast.cpp25
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp107
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp9
-rw-r--r--lib/CodeGen/RegUsageInfoCollector.cpp15
-rw-r--r--lib/CodeGen/RegUsageInfoPropagate.cpp2
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp270
-rw-r--r--lib/CodeGen/RegisterPressure.cpp149
-rw-r--r--lib/CodeGen/RegisterScavenging.cpp114
-rw-r--r--lib/CodeGen/RegisterUsageInfo.cpp2
-rw-r--r--lib/CodeGen/RenameIndependentSubregs.cpp28
-rw-r--r--lib/CodeGen/ResetMachineFunctionPass.cpp67
-rw-r--r--lib/CodeGen/SafeStack.cpp62
-rw-r--r--lib/CodeGen/SafeStackColoring.cpp10
-rw-r--r--lib/CodeGen/SafeStackLayout.cpp8
-rw-r--r--lib/CodeGen/ScheduleDAG.cpp35
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp244
-rw-r--r--lib/CodeGen/ScoreboardHazardRecognizer.cpp4
-rw-r--r--lib/CodeGen/SelectionDAG/CMakeLists.txt5
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2284
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp63
-rw-r--r--lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp192
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.cpp26
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp310
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp10
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp212
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp21
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.h2
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp12
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp86
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp35
-rw-r--r--lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp2
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp5
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp984
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp1016
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h19
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp8
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp284
-rw-r--r--lib/CodeGen/SelectionDAG/StatepointLowering.cpp66
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp539
-rw-r--r--lib/CodeGen/ShadowStackGCLowering.cpp116
-rw-r--r--lib/CodeGen/ShrinkWrap.cpp14
-rw-r--r--lib/CodeGen/SjLjEHPrepare.cpp2
-rw-r--r--lib/CodeGen/SplitKit.cpp276
-rw-r--r--lib/CodeGen/SplitKit.h31
-rw-r--r--lib/CodeGen/StackColoring.cpp5
-rw-r--r--lib/CodeGen/StackMapLivenessAnalysis.cpp7
-rw-r--r--lib/CodeGen/StackMaps.cpp61
-rw-r--r--lib/CodeGen/StackProtector.cpp7
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp2
-rw-r--r--lib/CodeGen/TailDuplication.cpp5
-rw-r--r--lib/CodeGen/TailDuplicator.cpp254
-rw-r--r--lib/CodeGen/TargetFrameLoweringImpl.cpp10
-rw-r--r--lib/CodeGen/TargetInstrInfo.cpp95
-rw-r--r--lib/CodeGen/TargetLoweringBase.cpp293
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp262
-rw-r--r--lib/CodeGen/TargetOptionsImpl.cpp2
-rw-r--r--lib/CodeGen/TargetPassConfig.cpp48
-rw-r--r--lib/CodeGen/TargetRegisterInfo.cpp46
-rw-r--r--lib/CodeGen/TargetSchedule.cpp2
-rw-r--r--lib/CodeGen/TargetSubtargetInfo.cpp54
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp17
-rw-r--r--lib/CodeGen/UnreachableBlockElim.cpp4
-rw-r--r--lib/CodeGen/VirtRegMap.cpp15
-rw-r--r--lib/CodeGen/WinEHPrepare.cpp12
-rw-r--r--lib/CodeGen/XRayInstrumentation.cpp129
-rw-r--r--lib/DebugInfo/CMakeLists.txt3
-rw-r--r--lib/DebugInfo/CodeView/ByteStream.cpp79
-rw-r--r--lib/DebugInfo/CodeView/CMakeLists.txt14
-rw-r--r--lib/DebugInfo/CodeView/CVSymbolVisitor.cpp73
-rw-r--r--lib/DebugInfo/CodeView/CVTypeVisitor.cpp147
-rw-r--r--lib/DebugInfo/CodeView/CodeViewError.cpp4
-rw-r--r--lib/DebugInfo/CodeView/CodeViewRecordIO.cpp242
-rw-r--r--lib/DebugInfo/CodeView/EnumTables.cpp10
-rw-r--r--lib/DebugInfo/CodeView/FieldListRecordBuilder.cpp132
-rw-r--r--lib/DebugInfo/CodeView/LLVMBuild.txt2
-rw-r--r--lib/DebugInfo/CodeView/ListRecordBuilder.cpp102
-rw-r--r--lib/DebugInfo/CodeView/MemoryTypeTableBuilder.cpp46
-rw-r--r--lib/DebugInfo/CodeView/MethodListRecordBuilder.cpp49
-rw-r--r--lib/DebugInfo/CodeView/ModuleSubstream.cpp11
-rw-r--r--lib/DebugInfo/CodeView/ModuleSubstreamVisitor.cpp30
-rw-r--r--lib/DebugInfo/CodeView/RecordSerialization.cpp192
-rw-r--r--lib/DebugInfo/CodeView/StreamReader.cpp93
-rw-r--r--lib/DebugInfo/CodeView/StreamWriter.cpp77
-rw-r--r--lib/DebugInfo/CodeView/SymbolDumper.cpp522
-rw-r--r--lib/DebugInfo/CodeView/SymbolRecordMapping.cpp464
-rw-r--r--lib/DebugInfo/CodeView/TypeDumper.cpp206
-rw-r--r--lib/DebugInfo/CodeView/TypeRecord.cpp367
-rw-r--r--lib/DebugInfo/CodeView/TypeRecordBuilder.cpp113
-rw-r--r--lib/DebugInfo/CodeView/TypeRecordMapping.cpp467
-rw-r--r--lib/DebugInfo/CodeView/TypeSerializer.cpp243
-rw-r--r--lib/DebugInfo/CodeView/TypeStreamMerger.cpp94
-rw-r--r--lib/DebugInfo/CodeView/TypeTableBuilder.cpp303
-rw-r--r--lib/DebugInfo/DWARF/CMakeLists.txt3
-rw-r--r--lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp161
-rw-r--r--lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp10
-rw-r--r--lib/DebugInfo/DWARF/DWARFCompileUnit.cpp9
-rw-r--r--lib/DebugInfo/DWARF/DWARFContext.cpp125
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugFrame.cpp52
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp436
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLine.cpp22
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLoc.cpp4
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp65
-rw-r--r--lib/DebugInfo/DWARF/DWARFDie.cpp441
-rw-r--r--lib/DebugInfo/DWARF/DWARFFormValue.cpp472
-rw-r--r--lib/DebugInfo/DWARF/DWARFGdbIndex.cpp176
-rw-r--r--lib/DebugInfo/DWARF/DWARFTypeUnit.cpp22
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnit.cpp195
-rw-r--r--lib/DebugInfo/LLVMBuild.txt2
-rw-r--r--lib/DebugInfo/MSF/CMakeLists.txt10
-rw-r--r--lib/DebugInfo/MSF/LLVMBuild.txt22
-rw-r--r--lib/DebugInfo/MSF/MSFBuilder.cpp282
-rw-r--r--lib/DebugInfo/MSF/MSFCommon.cpp57
-rw-r--r--lib/DebugInfo/MSF/MSFError.cpp70
-rw-r--r--lib/DebugInfo/MSF/MappedBlockStream.cpp415
-rw-r--r--lib/DebugInfo/MSF/StreamReader.cpp156
-rw-r--r--lib/DebugInfo/MSF/StreamWriter.cpp98
-rw-r--r--lib/DebugInfo/PDB/CMakeLists.txt12
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAError.cpp11
-rw-r--r--lib/DebugInfo/PDB/DIA/DIASession.cpp47
-rw-r--r--lib/DebugInfo/PDB/GenericError.cpp9
-rw-r--r--lib/DebugInfo/PDB/IPDBSourceFile.cpp8
-rw-r--r--lib/DebugInfo/PDB/LLVMBuild.txt2
-rw-r--r--lib/DebugInfo/PDB/PDB.cpp6
-rw-r--r--lib/DebugInfo/PDB/PDBContext.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp9
-rw-r--r--lib/DebugInfo/PDB/PDBSymDumper.cpp2
-rw-r--r--lib/DebugInfo/PDB/PDBSymbol.cpp11
-rw-r--r--lib/DebugInfo/PDB/Raw/DbiStream.cpp158
-rw-r--r--lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp399
-rw-r--r--lib/DebugInfo/PDB/Raw/GSI.cpp93
-rw-r--r--lib/DebugInfo/PDB/Raw/GSI.h70
-rw-r--r--lib/DebugInfo/PDB/Raw/GlobalsStream.cpp42
-rw-r--r--lib/DebugInfo/PDB/Raw/Hash.cpp57
-rw-r--r--lib/DebugInfo/PDB/Raw/IndexedStreamData.cpp25
-rw-r--r--lib/DebugInfo/PDB/Raw/InfoStream.cpp25
-rw-r--r--lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp60
-rw-r--r--lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp310
-rw-r--r--lib/DebugInfo/PDB/Raw/ModInfo.cpp86
-rw-r--r--lib/DebugInfo/PDB/Raw/ModStream.cpp39
-rw-r--r--lib/DebugInfo/PDB/Raw/MsfBuilder.cpp279
-rw-r--r--lib/DebugInfo/PDB/Raw/MsfCommon.cpp48
-rw-r--r--lib/DebugInfo/PDB/Raw/NameHashTable.cpp10
-rw-r--r--lib/DebugInfo/PDB/Raw/NameMap.cpp76
-rw-r--r--lib/DebugInfo/PDB/Raw/NameMapBuilder.cpp64
-rw-r--r--lib/DebugInfo/PDB/Raw/PDBFile.cpp308
-rw-r--r--lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp130
-rw-r--r--lib/DebugInfo/PDB/Raw/PublicsStream.cpp82
-rw-r--r--lib/DebugInfo/PDB/Raw/RawError.cpp8
-rw-r--r--lib/DebugInfo/PDB/Raw/RawSession.cpp56
-rw-r--r--lib/DebugInfo/PDB/Raw/SymbolStream.cpp8
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiHashing.cpp110
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiStream.cpp228
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiStreamBuilder.cpp145
-rw-r--r--lib/DebugInfo/Symbolize/Symbolize.cpp6
-rw-r--r--lib/Demangle/CMakeLists.txt3
-rw-r--r--lib/Demangle/ItaniumDemangle.cpp4276
-rw-r--r--lib/Demangle/LLVMBuild.txt21
-rw-r--r--lib/ExecutionEngine/ExecutionEngine.cpp24
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp2
-rw-r--r--lib/ExecutionEngine/GDBRegistrationListener.cpp10
-rw-r--r--lib/ExecutionEngine/Interpreter/CMakeLists.txt5
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp5
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp16
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp8
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h25
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.cpp63
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.h38
-rw-r--r--lib/ExecutionEngine/Orc/CMakeLists.txt1
-rw-r--r--lib/ExecutionEngine/Orc/IndirectionUtils.cpp13
-rw-r--r--lib/ExecutionEngine/Orc/NullResolver.cpp5
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.h37
-rw-r--r--lib/ExecutionEngine/Orc/OrcError.cpp6
-rw-r--r--lib/ExecutionEngine/Orc/OrcMCJITReplacement.h58
-rw-r--r--lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp53
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/CMakeLists.txt2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/JITSymbol.cpp41
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp3
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp78
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h4
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp4
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp460
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h26
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h42
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h6
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h48
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp312
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.h68
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h8
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h2
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h2
-rw-r--r--lib/ExecutionEngine/SectionMemoryManager.cpp4
-rw-r--r--lib/ExecutionEngine/TargetSelect.cpp5
-rw-r--r--lib/Fuzzer/CMakeLists.txt12
-rw-r--r--lib/Fuzzer/FuzzerCorpus.h224
-rw-r--r--lib/Fuzzer/FuzzerCrossOver.cpp5
-rw-r--r--lib/Fuzzer/FuzzerDFSan.h61
-rw-r--r--lib/Fuzzer/FuzzerDefs.h89
-rw-r--r--lib/Fuzzer/FuzzerDictionary.h124
-rw-r--r--lib/Fuzzer/FuzzerDriver.cpp242
-rw-r--r--lib/Fuzzer/FuzzerExtFunctions.def6
-rw-r--r--lib/Fuzzer/FuzzerExtFunctions.h2
-rw-r--r--lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp5
-rw-r--r--lib/Fuzzer/FuzzerExtFunctionsWeak.cpp5
-rw-r--r--lib/Fuzzer/FuzzerExtFunctionsWeakAlias.cpp56
-rw-r--r--lib/Fuzzer/FuzzerFlags.def51
-rw-r--r--lib/Fuzzer/FuzzerFnAdapter.h187
-rw-r--r--lib/Fuzzer/FuzzerIO.cpp68
-rw-r--r--lib/Fuzzer/FuzzerIO.h64
-rw-r--r--lib/Fuzzer/FuzzerIOPosix.cpp88
-rw-r--r--lib/Fuzzer/FuzzerIOWindows.cpp282
-rw-r--r--lib/Fuzzer/FuzzerInternal.h414
-rw-r--r--lib/Fuzzer/FuzzerLoop.cpp647
-rw-r--r--lib/Fuzzer/FuzzerMain.cpp3
-rw-r--r--lib/Fuzzer/FuzzerMerge.cpp261
-rw-r--r--lib/Fuzzer/FuzzerMerge.h70
-rw-r--r--lib/Fuzzer/FuzzerMutate.cpp297
-rw-r--r--lib/Fuzzer/FuzzerMutate.h145
-rw-r--r--lib/Fuzzer/FuzzerOptions.h69
-rw-r--r--lib/Fuzzer/FuzzerRandom.h36
-rw-r--r--lib/Fuzzer/FuzzerSHA1.cpp24
-rw-r--r--lib/Fuzzer/FuzzerSHA1.h33
-rw-r--r--lib/Fuzzer/FuzzerTracePC.cpp338
-rw-r--r--lib/Fuzzer/FuzzerTracePC.h162
-rw-r--r--lib/Fuzzer/FuzzerTraceState.cpp389
-rw-r--r--lib/Fuzzer/FuzzerUtil.cpp155
-rw-r--r--lib/Fuzzer/FuzzerUtil.h72
-rw-r--r--lib/Fuzzer/FuzzerUtilDarwin.cpp152
-rw-r--r--lib/Fuzzer/FuzzerUtilLinux.cpp24
-rw-r--r--lib/Fuzzer/FuzzerUtilPosix.cpp117
-rw-r--r--lib/Fuzzer/FuzzerUtilWindows.cpp182
-rw-r--r--lib/Fuzzer/FuzzerValueBitMap.h87
-rw-r--r--lib/Fuzzer/afl/afl_driver.cpp16
-rwxr-xr-xlib/Fuzzer/build.sh10
-rw-r--r--lib/Fuzzer/standalone/StandaloneFuzzTargetMain.c41
-rw-r--r--lib/Fuzzer/test/AbsNegAndConstant64Test.cpp23
-rw-r--r--lib/Fuzzer/test/AbsNegAndConstantTest.cpp23
-rw-r--r--lib/Fuzzer/test/CMakeLists.txt80
-rw-r--r--lib/Fuzzer/test/CustomCrossOverTest.cpp6
-rw-r--r--lib/Fuzzer/test/DSO1.cpp12
-rw-r--r--lib/Fuzzer/test/DSO2.cpp12
-rw-r--r--lib/Fuzzer/test/DSOTestExtra.cpp11
-rw-r--r--lib/Fuzzer/test/DSOTestMain.cpp31
-rw-r--r--lib/Fuzzer/test/DivTest.cpp20
-rw-r--r--lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp110
-rw-r--r--lib/Fuzzer/test/FuzzerUnittest.cpp319
-rw-r--r--lib/Fuzzer/test/InitializeTest.cpp8
-rw-r--r--lib/Fuzzer/test/LoadTest.cpp22
-rw-r--r--lib/Fuzzer/test/OneHugeAllocTest.cpp1
-rw-r--r--lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp27
-rw-r--r--lib/Fuzzer/test/OutOfMemoryTest.cpp4
-rw-r--r--lib/Fuzzer/test/RepeatedBytesTest.cpp29
-rw-r--r--lib/Fuzzer/test/ShrinkControlFlowTest.cpp28
-rw-r--r--lib/Fuzzer/test/ShrinkValueProfileTest.cpp22
-rw-r--r--lib/Fuzzer/test/SimpleCmpTest.cpp42
-rw-r--r--lib/Fuzzer/test/SimpleFnAdapterTest.cpp24
-rw-r--r--lib/Fuzzer/test/SingleMemcmpTest.cpp17
-rw-r--r--lib/Fuzzer/test/SingleStrcmpTest.cpp17
-rw-r--r--lib/Fuzzer/test/SingleStrncmpTest.cpp17
-rw-r--r--lib/Fuzzer/test/StrcmpTest.cpp6
-rw-r--r--lib/Fuzzer/test/StrncmpOOBTest.cpp21
-rw-r--r--lib/Fuzzer/test/StrncmpTest.cpp2
-rw-r--r--lib/Fuzzer/test/StrstrTest.cpp12
-rw-r--r--lib/Fuzzer/test/SwapCmpTest.cpp34
-rw-r--r--lib/Fuzzer/test/Switch2Test.cpp35
-rw-r--r--lib/Fuzzer/test/TimeoutEmptyTest.cpp14
-rw-r--r--lib/Fuzzer/test/TraceMallocTest.cpp27
-rw-r--r--lib/Fuzzer/test/caller-callee.test2
-rw-r--r--lib/Fuzzer/test/coverage.test19
-rw-r--r--lib/Fuzzer/test/dfsan/CMakeLists.txt19
-rw-r--r--lib/Fuzzer/test/dump_coverage.test16
-rw-r--r--lib/Fuzzer/test/fuzzer-customcrossover.test2
-rw-r--r--lib/Fuzzer/test/fuzzer-dfsan.test24
-rw-r--r--lib/Fuzzer/test/fuzzer-dirs.test3
-rw-r--r--lib/Fuzzer/test/fuzzer-drill.test8
-rw-r--r--lib/Fuzzer/test/fuzzer-flags.test2
-rw-r--r--lib/Fuzzer/test/fuzzer-fn-adapter.test3
-rw-r--r--lib/Fuzzer/test/fuzzer-jobs.test29
-rw-r--r--lib/Fuzzer/test/fuzzer-leak.test4
-rw-r--r--lib/Fuzzer/test/fuzzer-oom-with-profile.test4
-rw-r--r--lib/Fuzzer/test/fuzzer-oom.test11
-rw-r--r--lib/Fuzzer/test/fuzzer-printcovpcs.test7
-rw-r--r--lib/Fuzzer/test/fuzzer-prunecorpus.test13
-rw-r--r--lib/Fuzzer/test/fuzzer-singleinputs.test5
-rw-r--r--lib/Fuzzer/test/fuzzer-timeout.test5
-rw-r--r--lib/Fuzzer/test/fuzzer-trace-pc.test7
-rw-r--r--lib/Fuzzer/test/fuzzer-traces.test9
-rw-r--r--lib/Fuzzer/test/fuzzer-trunc.test10
-rw-r--r--lib/Fuzzer/test/fuzzer.test28
-rw-r--r--lib/Fuzzer/test/lit.cfg6
-rw-r--r--lib/Fuzzer/test/lit.site.cfg.in1
-rw-r--r--lib/Fuzzer/test/merge.test36
-rw-r--r--lib/Fuzzer/test/minimize_crash.test6
-rw-r--r--lib/Fuzzer/test/no-coverage/CMakeLists.txt17
-rw-r--r--lib/Fuzzer/test/repeated-bytes.test2
-rw-r--r--lib/Fuzzer/test/shrink.test7
-rw-r--r--lib/Fuzzer/test/simple-cmp.test2
-rw-r--r--lib/Fuzzer/test/standalone.test4
-rw-r--r--lib/Fuzzer/test/swap-cmp.test2
-rw-r--r--lib/Fuzzer/test/trace-bb/CMakeLists.txt15
-rw-r--r--lib/Fuzzer/test/trace-malloc.test10
-rw-r--r--lib/Fuzzer/test/trace-pc/CMakeLists.txt16
-rw-r--r--lib/Fuzzer/test/ulimit.test2
-rw-r--r--lib/Fuzzer/test/uninstrumented/CMakeLists.txt2
-rw-r--r--lib/Fuzzer/test/value-profile-cmp.test2
-rw-r--r--lib/Fuzzer/test/value-profile-cmp2.test2
-rw-r--r--lib/Fuzzer/test/value-profile-cmp3.test2
-rw-r--r--lib/Fuzzer/test/value-profile-cmp4.test2
-rw-r--r--lib/Fuzzer/test/value-profile-div.test3
-rw-r--r--lib/Fuzzer/test/value-profile-load.test3
-rw-r--r--lib/Fuzzer/test/value-profile-mem.test2
-rw-r--r--lib/Fuzzer/test/value-profile-set.test3
-rw-r--r--lib/Fuzzer/test/value-profile-strcmp.test2
-rw-r--r--lib/Fuzzer/test/value-profile-strncmp.test2
-rw-r--r--lib/Fuzzer/test/value-profile-switch.test3
-rw-r--r--lib/IR/AsmWriter.cpp133
-rw-r--r--lib/IR/AttributeImpl.h48
-rw-r--r--lib/IR/AttributeSetNode.h22
-rw-r--r--lib/IR/Attributes.cpp179
-rw-r--r--lib/IR/AutoUpgrade.cpp1064
-rw-r--r--lib/IR/BasicBlock.cpp2
-rw-r--r--lib/IR/CMakeLists.txt5
-rw-r--r--lib/IR/ConstantFold.cpp121
-rw-r--r--lib/IR/ConstantFold.h7
-rw-r--r--lib/IR/ConstantRange.cpp122
-rw-r--r--lib/IR/Constants.cpp158
-rw-r--r--lib/IR/ConstantsContext.h162
-rw-r--r--lib/IR/Core.cpp100
-rw-r--r--lib/IR/DIBuilder.cpp184
-rw-r--r--lib/IR/DataLayout.cpp31
-rw-r--r--lib/IR/DebugInfo.cpp324
-rw-r--r--lib/IR/DebugInfoMetadata.cpp178
-rw-r--r--lib/IR/DiagnosticInfo.cpp150
-rw-r--r--lib/IR/Dominators.cpp12
-rw-r--r--lib/IR/Function.cpp96
-rw-r--r--lib/IR/GCOV.cpp1
-rw-r--r--lib/IR/Globals.cpp51
-rw-r--r--lib/IR/IRBuilder.cpp20
-rw-r--r--lib/IR/IRPrintingPasses.cpp4
-rw-r--r--lib/IR/InlineAsm.cpp2
-rw-r--r--lib/IR/Instruction.cpp109
-rw-r--r--lib/IR/Instructions.cpp165
-rw-r--r--lib/IR/IntrinsicInst.cpp10
-rw-r--r--lib/IR/LLVMContext.cpp140
-rw-r--r--lib/IR/LLVMContextImpl.cpp11
-rw-r--r--lib/IR/LLVMContextImpl.h145
-rw-r--r--lib/IR/LegacyPassManager.cpp75
-rw-r--r--lib/IR/MDBuilder.cpp6
-rw-r--r--lib/IR/Mangler.cpp2
-rw-r--r--lib/IR/Metadata.cpp123
-rw-r--r--lib/IR/Module.cpp18
-rw-r--r--lib/IR/ModuleSummaryIndex.cpp21
-rw-r--r--lib/IR/Operator.cpp2
-rw-r--r--lib/IR/Pass.cpp4
-rw-r--r--lib/IR/PassManager.cpp72
-rw-r--r--lib/IR/PassRegistry.cpp3
-rw-r--r--lib/IR/SymbolTableListTraitsImpl.h5
-rw-r--r--lib/IR/Type.cpp23
-rw-r--r--lib/IR/User.cpp5
-rw-r--r--lib/IR/Value.cpp36
-rw-r--r--lib/IR/ValueSymbolTable.cpp8
-rw-r--r--lib/IR/ValueTypes.cpp2
-rw-r--r--lib/IR/Verifier.cpp711
-rw-r--r--lib/IRReader/IRReader.cpp31
-rw-r--r--lib/LLVMBuild.txt1
-rw-r--r--lib/LTO/CMakeLists.txt9
-rw-r--r--lib/LTO/Caching.cpp99
-rw-r--r--lib/LTO/LLVMBuild.txt3
-rw-r--r--lib/LTO/LTO.cpp843
-rw-r--r--lib/LTO/LTOBackend.cpp375
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp122
-rw-r--r--lib/LTO/LTOModule.cpp142
-rw-r--r--lib/LTO/ThinLTOCodeGenerator.cpp270
-rw-r--r--lib/LTO/UpdateCompilerUsed.cpp48
-rw-r--r--lib/LibDriver/LibDriver.cpp9
-rw-r--r--lib/Linker/IRMover.cpp138
-rw-r--r--lib/Linker/LinkModules.cpp4
-rw-r--r--lib/MC/ConstantPools.cpp16
-rw-r--r--lib/MC/ELFObjectWriter.cpp34
-rw-r--r--lib/MC/MCAsmBackend.cpp4
-rw-r--r--lib/MC/MCAsmInfo.cpp1
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp1
-rw-r--r--lib/MC/MCAsmStreamer.cpp144
-rw-r--r--lib/MC/MCAssembler.cpp34
-rw-r--r--lib/MC/MCCodeView.cpp220
-rw-r--r--lib/MC/MCContext.cpp27
-rw-r--r--lib/MC/MCDisassembler/Disassembler.cpp31
-rw-r--r--lib/MC/MCDwarf.cpp5
-rw-r--r--lib/MC/MCELFStreamer.cpp4
-rw-r--r--lib/MC/MCExpr.cpp10
-rw-r--r--lib/MC/MCFragment.cpp11
-rw-r--r--lib/MC/MCInst.cpp4
-rw-r--r--lib/MC/MCLabel.cpp2
-rw-r--r--lib/MC/MCObjectFileInfo.cpp49
-rw-r--r--lib/MC/MCObjectStreamer.cpp74
-rw-r--r--lib/MC/MCParser/AsmLexer.cpp159
-rw-r--r--lib/MC/MCParser/AsmParser.cpp1556
-rw-r--r--lib/MC/MCParser/COFFAsmParser.cpp56
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp13
-rw-r--r--lib/MC/MCParser/ELFAsmParser.cpp7
-rw-r--r--lib/MC/MCParser/MCAsmLexer.cpp4
-rw-r--r--lib/MC/MCParser/MCAsmParser.cpp104
-rw-r--r--lib/MC/MCRegisterInfo.cpp6
-rw-r--r--lib/MC/MCSection.cpp10
-rw-r--r--lib/MC/MCSectionCOFF.cpp3
-rw-r--r--lib/MC/MCSectionELF.cpp2
-rw-r--r--lib/MC/MCSectionMachO.cpp30
-rw-r--r--lib/MC/MCStreamer.cpp122
-rw-r--r--lib/MC/MCSymbol.cpp7
-rw-r--r--lib/MC/MCTargetOptions.cpp8
-rw-r--r--lib/MC/MCValue.cpp2
-rw-r--r--lib/MC/MachObjectWriter.cpp6
-rw-r--r--lib/MC/StringTableBuilder.cpp159
-rw-r--r--lib/MC/SubtargetFeature.cpp2
-rw-r--r--lib/MC/WinCOFFObjectWriter.cpp5
-rw-r--r--lib/MC/WinCOFFStreamer.cpp15
-rw-r--r--lib/Object/Archive.cpp636
-rw-r--r--lib/Object/ArchiveWriter.cpp84
-rw-r--r--lib/Object/Binary.cpp2
-rw-r--r--lib/Object/CMakeLists.txt2
-rw-r--r--lib/Object/COFFObjectFile.cpp68
-rw-r--r--lib/Object/ELF.cpp14
-rw-r--r--lib/Object/Error.cpp27
-rw-r--r--lib/Object/IRObjectFile.cpp276
-rw-r--r--lib/Object/MachOObjectFile.cpp1548
-rw-r--r--lib/Object/MachOUniversal.cpp94
-rw-r--r--lib/Object/ModuleSummaryIndexObjectFile.cpp51
-rw-r--r--lib/Object/ModuleSymbolTable.cpp189
-rw-r--r--lib/Object/ObjectFile.cpp10
-rw-r--r--lib/Object/RecordStreamer.cpp16
-rw-r--r--lib/Object/RecordStreamer.h3
-rw-r--r--lib/Object/SymbolSize.cpp18
-rw-r--r--lib/Object/SymbolicFile.cpp12
-rw-r--r--lib/Object/WasmObjectFile.cpp313
-rw-r--r--lib/ObjectYAML/CMakeLists.txt1
-rw-r--r--lib/ObjectYAML/DWARFYAML.cpp120
-rw-r--r--lib/ObjectYAML/ELFYAML.cpp7
-rw-r--r--lib/ObjectYAML/MachOYAML.cpp21
-rw-r--r--lib/ObjectYAML/ObjectYAML.cpp2
-rw-r--r--lib/Option/ArgList.cpp33
-rw-r--r--lib/Option/OptTable.cpp6
-rw-r--r--lib/Passes/CMakeLists.txt5
-rw-r--r--lib/Passes/PassBuilder.cpp996
-rw-r--r--lib/Passes/PassRegistry.def26
-rw-r--r--lib/ProfileData/Coverage/CoverageMapping.cpp129
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingReader.cpp2
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingWriter.cpp12
-rw-r--r--lib/ProfileData/InstrProf.cpp33
-rw-r--r--lib/ProfileData/InstrProfReader.cpp5
-rw-r--r--lib/ProfileData/InstrProfWriter.cpp30
-rw-r--r--lib/ProfileData/ProfileSummaryBuilder.cpp6
-rw-r--r--lib/ProfileData/SampleProf.cpp2
-rw-r--r--lib/Support/APFloat.cpp1082
-rw-r--r--lib/Support/APInt.cpp64
-rw-r--r--lib/Support/ARMBuildAttrs.cpp18
-rw-r--r--lib/Support/CMakeLists.txt14
-rw-r--r--lib/Support/CachePruning.cpp26
-rw-r--r--lib/Support/Chrono.cpp47
-rw-r--r--lib/Support/CommandLine.cpp213
-rw-r--r--lib/Support/Compression.cpp23
-rw-r--r--lib/Support/ConvertUTF.c708
-rw-r--r--lib/Support/ConvertUTF.cpp710
-rw-r--r--lib/Support/DataStream.cpp86
-rw-r--r--lib/Support/Debug.cpp11
-rw-r--r--lib/Support/DeltaAlgorithm.cpp1
-rw-r--r--lib/Support/Dwarf.cpp424
-rw-r--r--lib/Support/DynamicLibrary.cpp4
-rw-r--r--lib/Support/Error.cpp18
-rw-r--r--lib/Support/FileOutputBuffer.cpp3
-rw-r--r--lib/Support/FileUtilities.cpp8
-rw-r--r--lib/Support/FoldingSet.cpp12
-rw-r--r--lib/Support/FormatVariadic.cpp156
-rw-r--r--lib/Support/GlobPattern.cpp167
-rw-r--r--lib/Support/Host.cpp206
-rw-r--r--lib/Support/IntrusiveRefCntPtr.cpp14
-rw-r--r--lib/Support/LLVMBuild.txt1
-rw-r--r--lib/Support/LockFileManager.cpp16
-rw-r--r--lib/Support/MD5.cpp40
-rw-r--r--lib/Support/MemoryBuffer.cpp22
-rw-r--r--lib/Support/MemoryObject.cpp14
-rw-r--r--lib/Support/NativeFormatting.cpp265
-rw-r--r--lib/Support/Path.cpp77
-rw-r--r--lib/Support/PrettyStackTrace.cpp45
-rw-r--r--lib/Support/RandomNumberGenerator.cpp44
-rw-r--r--lib/Support/Regex.cpp12
-rw-r--r--lib/Support/SHA1.cpp205
-rw-r--r--lib/Support/ScaledNumber.cpp2
-rw-r--r--lib/Support/ScopedPrinter.cpp39
-rw-r--r--lib/Support/SmallPtrSet.cpp28
-rw-r--r--lib/Support/SourceMgr.cpp8
-rw-r--r--lib/Support/SpecialCaseList.cpp18
-rw-r--r--lib/Support/Statistic.cpp53
-rw-r--r--lib/Support/StreamingMemoryObject.cpp138
-rw-r--r--lib/Support/StringMap.cpp10
-rw-r--r--lib/Support/StringRef.cpp140
-rw-r--r--lib/Support/StringSaver.cpp4
-rw-r--r--lib/Support/TargetParser.cpp130
-rw-r--r--lib/Support/TargetRegistry.cpp5
-rw-r--r--lib/Support/Threading.cpp11
-rw-r--r--lib/Support/TimeValue.cpp56
-rw-r--r--lib/Support/Timer.cpp149
-rw-r--r--lib/Support/TrigramIndex.cpp111
-rw-r--r--lib/Support/Triple.cpp54
-rw-r--r--lib/Support/Twine.cpp12
-rw-r--r--lib/Support/Unix/Memory.inc25
-rw-r--r--lib/Support/Unix/Path.inc52
-rw-r--r--lib/Support/Unix/Process.inc29
-rw-r--r--lib/Support/Unix/Signals.inc42
-rw-r--r--lib/Support/Unix/TimeValue.inc54
-rw-r--r--lib/Support/Unix/Unix.h40
-rw-r--r--lib/Support/Windows/Path.inc38
-rw-r--r--lib/Support/Windows/Process.inc22
-rw-r--r--lib/Support/Windows/Signals.inc5
-rw-r--r--lib/Support/Windows/TimeValue.inc61
-rw-r--r--lib/Support/Windows/WindowsSupport.h40
-rw-r--r--lib/Support/YAMLParser.cpp90
-rw-r--r--lib/Support/YAMLTraits.cpp11
-rw-r--r--lib/Support/raw_ostream.cpp266
-rw-r--r--lib/Support/xxhash.cpp134
-rw-r--r--lib/TableGen/Main.cpp44
-rw-r--r--lib/TableGen/Record.cpp443
-rw-r--r--lib/TableGen/TGLexer.cpp16
-rw-r--r--lib/TableGen/TGLexer.h4
-rw-r--r--lib/TableGen/TGParser.cpp240
-rw-r--r--lib/TableGen/TGParser.h38
-rw-r--r--lib/Target/AArch64/AArch64.h16
-rw-r--r--lib/Target/AArch64/AArch64.td80
-rw-r--r--lib/Target/AArch64/AArch64A53Fix835769.cpp11
-rw-r--r--lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp8
-rw-r--r--lib/Target/AArch64/AArch64AddressTypePromotion.cpp14
-rw-r--r--lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp8
-rw-r--r--lib/Target/AArch64/AArch64AsmPrinter.cpp153
-rw-r--r--lib/Target/AArch64/AArch64BranchRelaxation.cpp520
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.cpp329
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.h28
-rw-r--r--lib/Target/AArch64/AArch64CallingConvention.td7
-rw-r--r--lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp13
-rw-r--r--lib/Target/AArch64/AArch64CollectLOH.cpp36
-rw-r--r--lib/Target/AArch64/AArch64ConditionOptimizer.cpp10
-rw-r--r--lib/Target/AArch64/AArch64ConditionalCompares.cpp14
-rw-r--r--lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp136
-rw-r--r--lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp25
-rw-r--r--lib/Target/AArch64/AArch64FastISel.cpp123
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.cpp77
-rw-r--r--lib/Target/AArch64/AArch64GenRegisterBankInfo.def173
-rw-r--r--lib/Target/AArch64/AArch64ISelDAGToDAG.cpp77
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.cpp721
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.h45
-rw-r--r--lib/Target/AArch64/AArch64InstrAtomics.td14
-rw-r--r--lib/Target/AArch64/AArch64InstrFormats.td23
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.cpp299
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.h61
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.td65
-rw-r--r--lib/Target/AArch64/AArch64InstructionSelector.cpp1161
-rw-r--r--lib/Target/AArch64/AArch64InstructionSelector.h47
-rw-r--r--lib/Target/AArch64/AArch64LegalizerInfo.cpp204
-rw-r--r--lib/Target/AArch64/AArch64LegalizerInfo.h30
-rw-r--r--lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp373
-rw-r--r--lib/Target/AArch64/AArch64MCInstLower.cpp7
-rw-r--r--lib/Target/AArch64/AArch64MachineFunctionInfo.h2
-rw-r--r--lib/Target/AArch64/AArch64PromoteConstant.cpp10
-rw-r--r--lib/Target/AArch64/AArch64RedundantCopyElimination.cpp19
-rw-r--r--lib/Target/AArch64/AArch64RegisterBankInfo.cpp445
-rw-r--r--lib/Target/AArch64/AArch64RegisterBankInfo.h39
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.cpp45
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.h10
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.td2
-rw-r--r--lib/Target/AArch64/AArch64SchedA57.td22
-rw-r--r--lib/Target/AArch64/AArch64SchedA57WriteRes.td14
-rw-r--r--lib/Target/AArch64/AArch64SchedFalkor.td26
-rw-r--r--lib/Target/AArch64/AArch64SchedM1.td98
-rw-r--r--lib/Target/AArch64/AArch64SchedVulcan.td13
-rw-r--r--lib/Target/AArch64/AArch64StorePairSuppress.cpp13
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.cpp22
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h26
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.cpp224
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.h2
-rw-r--r--lib/Target/AArch64/AArch64TargetObjectFile.cpp13
-rw-r--r--lib/Target/AArch64/AArch64TargetObjectFile.h4
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.cpp3
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.h7
-rw-r--r--lib/Target/AArch64/AArch64VectorByElementOpt.cpp371
-rw-r--r--lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp534
-rw-r--r--lib/Target/AArch64/CMakeLists.txt12
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp24
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.h1
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp33
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp202
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp3
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp25
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp16
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h16
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp2
-rw-r--r--lib/Target/AArch64/TargetInfo/AArch64TargetInfo.cpp25
-rw-r--r--lib/Target/AMDGPU/AMDGPU.h33
-rw-r--r--lib/Target/AMDGPU/AMDGPU.td160
-rw-r--r--lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp14
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp8
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp100
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp415
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.h33
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.cpp8
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.h6
-rw-r--r--lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp301
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.cpp22
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.h9
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp310
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.cpp824
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.h72
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.cpp5
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.h18
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.td70
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructions.td126
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsics.td5
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.cpp137
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.h15
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.cpp44
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.h47
-rw-r--r--lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp2
-rw-r--r--lib/Target/AMDGPU/AMDGPUPTNote.h42
-rw-r--r--lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp31
-rw-r--r--lib/Target/AMDGPU/AMDGPURuntimeMetadata.h203
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.cpp181
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.h245
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.cpp169
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.h23
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp13
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.h3
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp3
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h9
-rw-r--r--lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp149
-rw-r--r--lib/Target/AMDGPU/AMDILCFGStructurizer.cpp49
-rw-r--r--lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp1524
-rw-r--r--lib/Target/AMDGPU/BUFInstructions.td1350
-rw-r--r--lib/Target/AMDGPU/CIInstructions.td336
-rw-r--r--lib/Target/AMDGPU/CMakeLists.txt5
-rw-r--r--lib/Target/AMDGPU/CaymanInstructions.td139
-rw-r--r--lib/Target/AMDGPU/DSInstructions.td906
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp238
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h173
-rw-r--r--lib/Target/AMDGPU/EvergreenInstructions.td139
-rw-r--r--lib/Target/AMDGPU/FLATInstructions.td530
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.cpp258
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.h9
-rw-r--r--lib/Target/AMDGPU/GCNSchedStrategy.cpp312
-rw-r--r--lib/Target/AMDGPU/GCNSchedStrategy.h54
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp485
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h200
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp137
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp26
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h13
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp13
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h11
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPURuntimeMD.cpp408
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPURuntimeMD.h26
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp306
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h37
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt1
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp18
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp129
-rw-r--r--lib/Target/AMDGPU/MIMGInstructions.td763
-rw-r--r--lib/Target/AMDGPU/Processors.td70
-rw-r--r--lib/Target/AMDGPU/R600ClauseMergePass.cpp4
-rw-r--r--lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp38
-rw-r--r--lib/Target/AMDGPU/R600EmitClauseMarkers.cpp4
-rw-r--r--lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp81
-rw-r--r--lib/Target/AMDGPU/R600FrameLowering.cpp3
-rw-r--r--lib/Target/AMDGPU/R600FrameLowering.h12
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.cpp389
-rw-r--r--lib/Target/AMDGPU/R600InstrFormats.td4
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.cpp66
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.h27
-rw-r--r--lib/Target/AMDGPU/R600Instructions.td58
-rw-r--r--lib/Target/AMDGPU/R600MachineFunctionInfo.cpp4
-rw-r--r--lib/Target/AMDGPU/R600MachineFunctionInfo.h7
-rw-r--r--lib/Target/AMDGPU/R600MachineScheduler.h20
-rw-r--r--lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp75
-rw-r--r--lib/Target/AMDGPU/R600Packetizer.cpp6
-rw-r--r--lib/Target/AMDGPU/SIAnnotateControlFlow.cpp11
-rw-r--r--lib/Target/AMDGPU/SIDebuggerInsertNops.cpp2
-rw-r--r--lib/Target/AMDGPU/SIDefines.h196
-rw-r--r--lib/Target/AMDGPU/SIFixControlFlowLiveIntervals.cpp4
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRCopies.cpp160
-rw-r--r--lib/Target/AMDGPU/SIFoldOperands.cpp441
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.cpp405
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.h30
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.cpp1912
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.h41
-rw-r--r--lib/Target/AMDGPU/SIInsertSkips.cpp329
-rw-r--r--lib/Target/AMDGPU/SIInsertWaits.cpp127
-rw-r--r--lib/Target/AMDGPU/SIInstrFormats.td716
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.cpp1260
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.h214
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.td3154
-rw-r--r--lib/Target/AMDGPU/SIInstructions.td3185
-rw-r--r--lib/Target/AMDGPU/SIIntrinsics.td29
-rw-r--r--lib/Target/AMDGPU/SILoadStoreOptimizer.cpp300
-rw-r--r--lib/Target/AMDGPU/SILowerControlFlow.cpp930
-rw-r--r--lib/Target/AMDGPU/SILowerI1Copies.cpp32
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.cpp44
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.h125
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.cpp80
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.h58
-rw-r--r--lib/Target/AMDGPU/SIOptimizeExecMasking.cpp304
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.cpp1227
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.h152
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.td178
-rw-r--r--lib/Target/AMDGPU/SISchedule.td6
-rw-r--r--lib/Target/AMDGPU/SIShrinkInstructions.cpp172
-rw-r--r--lib/Target/AMDGPU/SITypeRewriter.cpp4
-rw-r--r--lib/Target/AMDGPU/SIWholeQuadMode.cpp424
-rw-r--r--lib/Target/AMDGPU/SMInstructions.td535
-rw-r--r--lib/Target/AMDGPU/SOPInstructions.td1229
-rw-r--r--lib/Target/AMDGPU/TargetInfo/AMDGPUTargetInfo.cpp17
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp282
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h151
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTInfo.h131
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp29
-rw-r--r--lib/Target/AMDGPU/VIInstrFormats.td277
-rw-r--r--lib/Target/AMDGPU/VIInstructions.td150
-rw-r--r--lib/Target/AMDGPU/VOP1Instructions.td621
-rw-r--r--lib/Target/AMDGPU/VOP2Instructions.td757
-rw-r--r--lib/Target/AMDGPU/VOP3Instructions.td447
-rw-r--r--lib/Target/AMDGPU/VOPCInstructions.td1144
-rw-r--r--lib/Target/AMDGPU/VOPInstructions.td350
-rw-r--r--lib/Target/ARM/A15SDOptimizer.cpp4
-rw-r--r--lib/Target/ARM/ARM.h5
-rw-r--r--lib/Target/ARM/ARM.td84
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp247
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.h30
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp91
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h16
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp63
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h3
-rw-r--r--lib/Target/ARM/ARMBasicBlockInfo.h110
-rw-r--r--lib/Target/ARM/ARMCallLowering.cpp203
-rw-r--r--lib/Target/ARM/ARMCallLowering.h42
-rw-r--r--lib/Target/ARM/ARMCallingConv.td1
-rw-r--r--lib/Target/ARM/ARMComputeBlockSize.cpp72
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp295
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.cpp33
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h31
-rw-r--r--lib/Target/ARM/ARMExpandPseudoInsts.cpp11
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp51
-rw-r--r--lib/Target/ARM/ARMFrameLowering.cpp333
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp362
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp990
-rw-r--r--lib/Target/ARM/ARMISelLowering.h21
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td17
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp4
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td57
-rw-r--r--lib/Target/ARM/ARMInstrNEON.td14
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td105
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td525
-rw-r--r--lib/Target/ARM/ARMInstrVFP.td8
-rw-r--r--lib/Target/ARM/ARMInstructionSelector.cpp109
-rw-r--r--lib/Target/ARM/ARMInstructionSelector.h39
-rw-r--r--lib/Target/ARM/ARMLegalizerInfo.cpp44
-rw-r--r--lib/Target/ARM/ARMLegalizerInfo.h29
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp14
-rw-r--r--lib/Target/ARM/ARMMCInstLower.cpp113
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.cpp12
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.h25
-rw-r--r--lib/Target/ARM/ARMOptimizeBarriersPass.cpp6
-rw-r--r--lib/Target/ARM/ARMRegisterBankInfo.cpp127
-rw-r--r--lib/Target/ARM/ARMRegisterBankInfo.h41
-rw-r--r--lib/Target/ARM/ARMSchedule.td1
-rw-r--r--lib/Target/ARM/ARMScheduleR52.td983
-rw-r--r--lib/Target/ARM/ARMSubtarget.cpp71
-rw-r--r--lib/Target/ARM/ARMSubtarget.h44
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp105
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.cpp45
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.h17
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.cpp21
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.h17
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp1384
-rw-r--r--lib/Target/ARM/CMakeLists.txt17
-rw-r--r--lib/Target/ARM/Disassembler/ARMDisassembler.cpp14
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp6
-rw-r--r--lib/Target/ARM/LLVMBuild.txt2
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp58
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp29
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp4
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp1
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp11
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp21
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h20
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp2
-rw-r--r--lib/Target/ARM/MLxExpansionPass.cpp13
-rw-r--r--lib/Target/ARM/README-Thumb.txt2
-rw-r--r--lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp34
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.cpp323
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.cpp4
-rw-r--r--lib/Target/ARM/Thumb2ITBlockPass.cpp4
-rw-r--r--lib/Target/ARM/Thumb2InstrInfo.cpp4
-rw-r--r--lib/Target/ARM/Thumb2SizeReduction.cpp10
-rw-r--r--lib/Target/ARM/ThumbRegisterInfo.cpp16
-rw-r--r--lib/Target/AVR/AVR.h6
-rw-r--r--lib/Target/AVR/AVR.td526
-rw-r--r--lib/Target/AVR/AVRAsmPrinter.cpp184
-rw-r--r--lib/Target/AVR/AVRCallingConv.td11
-rw-r--r--lib/Target/AVR/AVRDevices.td491
-rw-r--r--lib/Target/AVR/AVRExpandPseudoInsts.cpp1515
-rw-r--r--lib/Target/AVR/AVRFrameLowering.cpp538
-rw-r--r--lib/Target/AVR/AVRISelDAGToDAG.cpp565
-rw-r--r--lib/Target/AVR/AVRISelLowering.cpp1937
-rw-r--r--lib/Target/AVR/AVRISelLowering.h15
-rw-r--r--lib/Target/AVR/AVRInstrFormats.td2
-rw-r--r--lib/Target/AVR/AVRInstrInfo.cpp82
-rw-r--r--lib/Target/AVR/AVRInstrInfo.h12
-rw-r--r--lib/Target/AVR/AVRInstrInfo.td114
-rw-r--r--lib/Target/AVR/AVRInstrumentFunctions.cpp222
-rw-r--r--lib/Target/AVR/AVRMCInstLower.cpp100
-rw-r--r--lib/Target/AVR/AVRMCInstLower.h43
-rw-r--r--lib/Target/AVR/AVRRegisterInfo.cpp20
-rw-r--r--lib/Target/AVR/AVRRegisterInfo.h6
-rw-r--r--lib/Target/AVR/AVRRelaxMemOperations.cpp149
-rw-r--r--lib/Target/AVR/AVRTargetMachine.cpp25
-rw-r--r--lib/Target/AVR/AVRTargetObjectFile.cpp9
-rw-r--r--lib/Target/AVR/AVRTargetObjectFile.h3
-rw-r--r--lib/Target/AVR/AsmParser/AVRAsmParser.cpp631
-rw-r--r--lib/Target/AVR/AsmParser/CMakeLists.txt3
-rw-r--r--lib/Target/AVR/AsmParser/LLVMBuild.txt23
-rw-r--r--lib/Target/AVR/CMakeLists.txt27
-rw-r--r--lib/Target/AVR/Disassembler/AVRDisassembler.cpp156
-rw-r--r--lib/Target/AVR/Disassembler/CMakeLists.txt4
-rw-r--r--lib/Target/AVR/Disassembler/LLVMBuild.txt23
-rw-r--r--lib/Target/AVR/InstPrinter/AVRInstPrinter.cpp171
-rw-r--r--lib/Target/AVR/InstPrinter/AVRInstPrinter.h54
-rw-r--r--lib/Target/AVR/InstPrinter/CMakeLists.txt8
-rw-r--r--lib/Target/AVR/InstPrinter/LLVMBuild.txt23
-rw-r--r--lib/Target/AVR/LLVMBuild.txt10
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp473
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h78
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRELFObjectWriter.cpp127
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRFixupKinds.h149
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp304
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.h115
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCExpr.cpp189
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCExpr.h88
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.cpp121
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h6
-rw-r--r--lib/Target/AVR/MCTargetDesc/CMakeLists.txt5
-rw-r--r--lib/Target/AVR/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/AVR/README.md8
-rw-r--r--lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp14
-rw-r--r--lib/Target/BPF/BPF.td6
-rw-r--r--lib/Target/BPF/BPFAsmPrinter.cpp8
-rw-r--r--lib/Target/BPF/BPFISelDAGToDAG.cpp2
-rw-r--r--lib/Target/BPF/BPFInstrInfo.cpp14
-rw-r--r--lib/Target/BPF/BPFInstrInfo.h8
-rw-r--r--lib/Target/BPF/BPFInstrInfo.td114
-rw-r--r--lib/Target/BPF/BPFRegisterInfo.cpp4
-rw-r--r--lib/Target/BPF/BPFTargetMachine.cpp6
-rw-r--r--lib/Target/BPF/CMakeLists.txt2
-rw-r--r--lib/Target/BPF/Disassembler/BPFDisassembler.cpp154
-rw-r--r--lib/Target/BPF/Disassembler/CMakeLists.txt4
-rw-r--r--lib/Target/BPF/Disassembler/LLVMBuild.txt23
-rw-r--r--lib/Target/BPF/InstPrinter/BPFInstPrinter.cpp18
-rw-r--r--lib/Target/BPF/LLVMBuild.txt3
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp6
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp8
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h9
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp19
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp27
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.h13
-rw-r--r--lib/Target/BPF/TargetInfo/BPFTargetInfo.cpp26
-rw-r--r--lib/Target/CMakeLists.txt4
-rw-r--r--lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp402
-rw-r--r--lib/Target/Hexagon/BitTracker.cpp27
-rw-r--r--lib/Target/Hexagon/BitTracker.h3
-rw-r--r--lib/Target/Hexagon/CMakeLists.txt6
-rw-r--r--lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp752
-rw-r--r--lib/Target/Hexagon/Hexagon.td20
-rw-r--r--lib/Target/Hexagon/HexagonAsmPrinter.cpp73
-rwxr-xr-xlib/Target/Hexagon/HexagonAsmPrinter.h2
-rw-r--r--lib/Target/Hexagon/HexagonBitSimplify.cpp539
-rw-r--r--lib/Target/Hexagon/HexagonBitTracker.cpp59
-rw-r--r--lib/Target/Hexagon/HexagonBlockRanges.cpp74
-rw-r--r--lib/Target/Hexagon/HexagonBlockRanges.h49
-rw-r--r--lib/Target/Hexagon/HexagonBranchRelaxation.cpp46
-rw-r--r--lib/Target/Hexagon/HexagonCFGOptimizer.cpp20
-rw-r--r--lib/Target/Hexagon/HexagonCommonGEP.cpp196
-rw-r--r--lib/Target/Hexagon/HexagonConstPropagation.cpp3149
-rw-r--r--lib/Target/Hexagon/HexagonCopyToCombine.cpp95
-rw-r--r--lib/Target/Hexagon/HexagonEarlyIfConv.cpp266
-rw-r--r--lib/Target/Hexagon/HexagonExpandCondsets.cpp390
-rw-r--r--lib/Target/Hexagon/HexagonFixupHwLoops.cpp8
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.cpp689
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.h17
-rw-r--r--lib/Target/Hexagon/HexagonGenExtract.cpp49
-rw-r--r--lib/Target/Hexagon/HexagonGenInsert.cpp199
-rw-r--r--lib/Target/Hexagon/HexagonGenMux.cpp75
-rw-r--r--lib/Target/Hexagon/HexagonGenPredicate.cpp81
-rw-r--r--lib/Target/Hexagon/HexagonHardwareLoops.cpp143
-rw-r--r--lib/Target/Hexagon/HexagonHazardRecognizer.cpp140
-rw-r--r--lib/Target/Hexagon/HexagonHazardRecognizer.h78
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAG.cpp1226
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.cpp731
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.h50
-rw-r--r--lib/Target/Hexagon/HexagonInstrAlias.td64
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormats.td5
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV4.td4
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV60.td4
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.cpp1448
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.h235
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.td1167
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV3.td72
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV4.td1289
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV5.td568
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV60.td399
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoVector.td420
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsics.td57
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsDerived.td18
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV4.td18
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV60.td81
-rw-r--r--lib/Target/Hexagon/HexagonIsetDx.td138
-rw-r--r--lib/Target/Hexagon/HexagonMachineFunctionInfo.h8
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.cpp18
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.h4
-rw-r--r--lib/Target/Hexagon/HexagonNewValueJump.cpp60
-rw-r--r--lib/Target/Hexagon/HexagonOperands.td365
-rw-r--r--lib/Target/Hexagon/HexagonOptAddrMode.cpp125
-rw-r--r--lib/Target/Hexagon/HexagonOptimizeSZextends.cpp7
-rw-r--r--lib/Target/Hexagon/HexagonPatterns.td3347
-rw-r--r--lib/Target/Hexagon/HexagonPeephole.cpp19
-rw-r--r--lib/Target/Hexagon/HexagonRDF.cpp60
-rw-r--r--lib/Target/Hexagon/HexagonRDF.h28
-rw-r--r--lib/Target/Hexagon/HexagonRDFOpt.cpp46
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.cpp27
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.h9
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.td33
-rw-r--r--lib/Target/Hexagon/HexagonSelectCCInfo.td121
-rw-r--r--lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp7
-rw-r--r--lib/Target/Hexagon/HexagonSelectionDAGInfo.h2
-rw-r--r--lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp126
-rw-r--r--lib/Target/Hexagon/HexagonSplitDouble.cpp120
-rw-r--r--lib/Target/Hexagon/HexagonStoreWidening.cpp70
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.cpp72
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.h13
-rw-r--r--lib/Target/Hexagon/HexagonSystemInst.td2
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.cpp38
-rw-r--r--lib/Target/Hexagon/HexagonTargetObjectFile.cpp87
-rw-r--r--lib/Target/Hexagon/HexagonTargetObjectFile.h18
-rw-r--r--lib/Target/Hexagon/HexagonTargetTransformInfo.cpp33
-rw-r--r--lib/Target/Hexagon/HexagonTargetTransformInfo.h13
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.cpp446
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.h44
-rw-r--r--lib/Target/Hexagon/HexagonVectorPrint.cpp209
-rw-r--r--lib/Target/Hexagon/LLVMBuild.txt25
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp7
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h9
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp1
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp4
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h5
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp6
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp240
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp23
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.h17
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp111
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h3
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp58
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h20
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp10
-rw-r--r--lib/Target/Hexagon/RDFCopy.cpp69
-rw-r--r--lib/Target/Hexagon/RDFCopy.h1
-rw-r--r--lib/Target/Hexagon/RDFGraph.cpp675
-rw-r--r--lib/Target/Hexagon/RDFGraph.h261
-rw-r--r--lib/Target/Hexagon/RDFLiveness.cpp538
-rw-r--r--lib/Target/Hexagon/RDFLiveness.h44
-rw-r--r--lib/Target/Hexagon/TargetInfo/HexagonTargetInfo.cpp8
-rw-r--r--lib/Target/LLVMBuild.txt1
-rw-r--r--lib/Target/Lanai/AsmParser/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp6
-rw-r--r--lib/Target/Lanai/Disassembler/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/Disassembler/LanaiDisassembler.cpp10
-rw-r--r--lib/Target/Lanai/InstPrinter/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/Lanai.h2
-rw-r--r--lib/Target/Lanai/LanaiAluCode.h4
-rw-r--r--lib/Target/Lanai/LanaiAsmPrinter.cpp8
-rw-r--r--lib/Target/Lanai/LanaiDelaySlotFiller.cpp15
-rw-r--r--lib/Target/Lanai/LanaiFrameLowering.cpp32
-rw-r--r--lib/Target/Lanai/LanaiISelDAGToDAG.cpp26
-rw-r--r--lib/Target/Lanai/LanaiISelLowering.cpp75
-rw-r--r--lib/Target/Lanai/LanaiISelLowering.h1
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.cpp19
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.h10
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.td8
-rw-r--r--lib/Target/Lanai/LanaiMCInstLower.cpp1
-rw-r--r--lib/Target/Lanai/LanaiMCInstLower.h3
-rw-r--r--lib/Target/Lanai/LanaiMemAluCombiner.cpp7
-rw-r--r--lib/Target/Lanai/LanaiRegisterInfo.cpp8
-rw-r--r--lib/Target/Lanai/LanaiTargetMachine.cpp3
-rw-r--r--lib/Target/Lanai/LanaiTargetObjectFile.cpp51
-rw-r--r--lib/Target/Lanai/LanaiTargetObjectFile.h14
-rw-r--r--lib/Target/Lanai/LanaiTargetTransformInfo.h5
-rw-r--r--lib/Target/Lanai/MCTargetDesc/CMakeLists.txt2
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LLVMBuild.txt4
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp8
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp17
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp29
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.h6
-rw-r--r--lib/Target/Lanai/TargetInfo/LanaiTargetInfo.cpp9
-rw-r--r--lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp11
-rw-r--r--lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.h2
-rw-r--r--lib/Target/MSP430/MSP430AsmPrinter.cpp6
-rw-r--r--lib/Target/MSP430/MSP430BranchSelector.cpp308
-rw-r--r--lib/Target/MSP430/MSP430FrameLowering.cpp26
-rw-r--r--lib/Target/MSP430/MSP430ISelDAGToDAG.cpp2
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.cpp35
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.cpp21
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.h12
-rw-r--r--lib/Target/MSP430/MSP430RegisterInfo.cpp4
-rw-r--r--lib/Target/MSP430/MSP430TargetMachine.cpp2
-rw-r--r--lib/Target/MSP430/TargetInfo/MSP430TargetInfo.cpp11
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmParser.cpp1110
-rw-r--r--lib/Target/Mips/Disassembler/MipsDisassembler.cpp184
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp1
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp7
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp26
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h5
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp21
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h4
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp9
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp40
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h7
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp17
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.h21
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrInfo.td579
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrFormats.td46
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrInfo.td117
-rw-r--r--lib/Target/Mips/MicroMipsInstrFPU.td21
-rw-r--r--lib/Target/Mips/MicroMipsInstrFormats.td24
-rw-r--r--lib/Target/Mips/MicroMipsInstrInfo.td280
-rw-r--r--lib/Target/Mips/Mips.td6
-rw-r--r--lib/Target/Mips/Mips16FrameLowering.cpp28
-rw-r--r--lib/Target/Mips/Mips16HardFloat.cpp4
-rw-r--r--lib/Target/Mips/Mips16ISelDAGToDAG.cpp7
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.cpp14
-rw-r--r--lib/Target/Mips/Mips16RegisterInfo.cpp4
-rw-r--r--lib/Target/Mips/Mips32r6InstrFormats.td16
-rw-r--r--lib/Target/Mips/Mips32r6InstrInfo.td192
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td81
-rw-r--r--lib/Target/Mips/Mips64r6InstrInfo.td60
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.cpp33
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.h4
-rw-r--r--lib/Target/Mips/MipsConstantIslandPass.cpp27
-rw-r--r--lib/Target/Mips/MipsDelaySlotFiller.cpp62
-rw-r--r--lib/Target/Mips/MipsEVAInstrFormats.td4
-rw-r--r--lib/Target/Mips/MipsFastISel.cpp237
-rw-r--r--lib/Target/Mips/MipsFrameLowering.cpp26
-rw-r--r--lib/Target/Mips/MipsHazardSchedule.cpp75
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.cpp22
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.h15
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp159
-rw-r--r--lib/Target/Mips/MipsISelLowering.h9
-rw-r--r--lib/Target/Mips/MipsInstrFPU.td43
-rw-r--r--lib/Target/Mips/MipsInstrFormats.td4
-rw-r--r--lib/Target/Mips/MipsInstrInfo.cpp85
-rw-r--r--lib/Target/Mips/MipsInstrInfo.h12
-rw-r--r--lib/Target/Mips/MipsInstrInfo.td322
-rw-r--r--lib/Target/Mips/MipsLongBranch.cpp12
-rw-r--r--lib/Target/Mips/MipsMSAInstrInfo.td90
-rw-r--r--lib/Target/Mips/MipsMachineFunction.cpp8
-rw-r--r--lib/Target/Mips/MipsModuleISelDAGToDAG.cpp2
-rw-r--r--lib/Target/Mips/MipsOptimizePICCall.cpp2
-rw-r--r--lib/Target/Mips/MipsOs16.cpp4
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.cpp6
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.td6
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.cpp62
-rw-r--r--lib/Target/Mips/MipsSEISelDAGToDAG.cpp78
-rw-r--r--lib/Target/Mips/MipsSEISelDAGToDAG.h19
-rw-r--r--lib/Target/Mips/MipsSEISelLowering.cpp358
-rw-r--r--lib/Target/Mips/MipsSEISelLowering.h14
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.cpp41
-rw-r--r--lib/Target/Mips/MipsSERegisterInfo.cpp8
-rw-r--r--lib/Target/Mips/MipsSchedule.td83
-rw-r--r--lib/Target/Mips/MipsScheduleGeneric.td1048
-rw-r--r--lib/Target/Mips/MipsScheduleP5600.td254
-rw-r--r--lib/Target/Mips/MipsTargetMachine.cpp17
-rw-r--r--lib/Target/Mips/MipsTargetObjectFile.cpp40
-rw-r--r--lib/Target/Mips/MipsTargetObjectFile.h14
-rw-r--r--lib/Target/Mips/TargetInfo/MipsTargetInfo.cpp31
-rw-r--r--lib/Target/NVPTX/CMakeLists.txt3
-rw-r--r--lib/Target/NVPTX/LLVMBuild.txt2
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXBaseInfo.h58
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.cpp2
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCTargetDesc.h4
-rw-r--r--lib/Target/NVPTX/NVPTX.h7
-rw-r--r--lib/Target/NVPTX/NVPTX.td9
-rw-r--r--lib/Target/NVPTX/NVPTXAllocaHoisting.cpp4
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.cpp70
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.h2
-rw-r--r--lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp289
-rw-r--r--lib/Target/NVPTX/NVPTXFrameLowering.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXGenericToNVVM.cpp37
-rw-r--r--lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp59
-rw-r--r--lib/Target/NVPTX/NVPTXISelDAGToDAG.h2
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.cpp173
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.h3
-rw-r--r--lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp3
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.cpp28
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.h9
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.td161
-rw-r--r--lib/Target/NVPTX/NVPTXIntrinsics.td196
-rw-r--r--lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp4
-rw-r--r--lib/Target/NVPTX/NVPTXLowerAlloca.cpp8
-rw-r--r--lib/Target/NVPTX/NVPTXLowerArgs.cpp253
-rw-r--r--lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp234
-rw-r--r--lib/Target/NVPTX/NVPTXMCExpr.cpp4
-rw-r--r--lib/Target/NVPTX/NVPTXPeephole.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp52
-rw-r--r--lib/Target/NVPTX/NVPTXRegisterInfo.cpp26
-rw-r--r--lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXSubtarget.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXSubtarget.h8
-rw-r--r--lib/Target/NVPTX/NVPTXTargetMachine.cpp40
-rw-r--r--lib/Target/NVPTX/NVPTXTargetObjectFile.h6
-rw-r--r--lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp23
-rw-r--r--lib/Target/NVPTX/NVPTXTargetTransformInfo.h7
-rw-r--r--lib/Target/NVPTX/NVPTXUtilities.cpp247
-rw-r--r--lib/Target/NVPTX/NVPTXUtilities.h61
-rw-r--r--lib/Target/NVPTX/NVVMIntrRange.cpp4
-rw-r--r--lib/Target/NVPTX/NVVMReflect.cpp1
-rw-r--r--lib/Target/NVPTX/TargetInfo/NVPTXTargetInfo.cpp14
-rw-r--r--lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp369
-rw-r--r--lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp39
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.cpp61
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h1
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp3
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp22
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp3
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h10
-rw-r--r--lib/Target/PowerPC/P9InstrResources.td808
-rw-r--r--lib/Target/PowerPC/PPC.td63
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp209
-rw-r--r--lib/Target/PowerPC/PPCBoolRetToInt.cpp80
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp81
-rw-r--r--lib/Target/PowerPC/PPCCTRLoops.cpp8
-rw-r--r--lib/Target/PowerPC/PPCCallingConv.td26
-rw-r--r--lib/Target/PowerPC/PPCEarlyReturn.cpp4
-rw-r--r--lib/Target/PowerPC/PPCFastISel.cpp85
-rw-r--r--lib/Target/PowerPC/PPCFrameLowering.cpp536
-rw-r--r--lib/Target/PowerPC/PPCHazardRecognizers.cpp2
-rw-r--r--lib/Target/PowerPC/PPCISelDAGToDAG.cpp222
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp907
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h77
-rw-r--r--lib/Target/PowerPC/PPCInstr64Bit.td10
-rw-r--r--lib/Target/PowerPC/PPCInstrAltivec.td142
-rw-r--r--lib/Target/PowerPC/PPCInstrFormats.td59
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.cpp262
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h29
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td135
-rw-r--r--lib/Target/PowerPC/PPCInstrQPX.td10
-rw-r--r--lib/Target/PowerPC/PPCInstrVSX.td775
-rw-r--r--lib/Target/PowerPC/PPCLoopPreIncPrep.cpp38
-rw-r--r--lib/Target/PowerPC/PPCMCInstLower.cpp8
-rw-r--r--lib/Target/PowerPC/PPCMIPeephole.cpp164
-rw-r--r--lib/Target/PowerPC/PPCQPXLoadSplat.cpp2
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp31
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.h2
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.td35
-rw-r--r--lib/Target/PowerPC/PPCSchedule.td2
-rw-r--r--lib/Target/PowerPC/PPCScheduleP9.td335
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp3
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h9
-rw-r--r--lib/Target/PowerPC/PPCTLSDynamicCall.cpp26
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp29
-rw-r--r--lib/Target/PowerPC/PPCTargetObjectFile.cpp8
-rw-r--r--lib/Target/PowerPC/PPCTargetObjectFile.h3
-rw-r--r--lib/Target/PowerPC/PPCTargetTransformInfo.cpp26
-rw-r--r--lib/Target/PowerPC/PPCTargetTransformInfo.h7
-rw-r--r--lib/Target/PowerPC/PPCVSXCopy.cpp42
-rw-r--r--lib/Target/PowerPC/PPCVSXFMAMutate.cpp78
-rw-r--r--lib/Target/PowerPC/PPCVSXSwapRemoval.cpp3
-rw-r--r--lib/Target/PowerPC/README.txt5
-rw-r--r--