aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2017-04-16 16:01:22 +0000
committerDimitry Andric <dim@FreeBSD.org>2017-04-16 16:01:22 +0000
commit71d5a2540a98c81f5bcaeb48805e0e2881f530ef (patch)
tree5343938942df402b49ec7300a1c25a2d4ccd5821
parent31bbf64f3a4974a2d6c8b3b27ad2f519caf74057 (diff)
downloadsrc-71d5a2540a98c81f5bcaeb48805e0e2881f530ef.tar.gz
src-71d5a2540a98c81f5bcaeb48805e0e2881f530ef.zip
Vendor import of llvm trunk r300422:vendor/llvm/llvm-trunk-r300422
Notes
Notes: svn path=/vendor/llvm/dist/; revision=317017 svn path=/vendor/llvm/llvm-trunk-r300422/; revision=317018; tag=vendor/llvm/llvm-trunk-r300422
-rw-r--r--.gitignore6
-rw-r--r--CMakeLists.txt96
-rw-r--r--CODE_OWNERS.TXT41
-rw-r--r--CREDITS.TXT4
-rw-r--r--README.txt1
-rw-r--r--RELEASE_TESTERS.TXT4
-rw-r--r--bindings/go/llvm/DIBuilderBindings.cpp3
-rw-r--r--bindings/go/llvm/IRBindings.cpp13
-rw-r--r--bindings/go/llvm/IRBindings.h8
-rw-r--r--bindings/go/llvm/ir.go14
-rw-r--r--bindings/go/llvm/ir_test.go39
-rw-r--r--bindings/go/llvm/transforms_pmbuilder.go20
-rwxr-xr-xcmake/config-ix.cmake32
-rwxr-xr-xcmake/modules/AddLLVM.cmake18
-rw-r--r--cmake/modules/AddSphinxTarget.cmake7
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake426
-rwxr-xr-xcmake/modules/LLVM-Config.cmake84
-rw-r--r--cmake/modules/LLVMConfig.cmake.in5
-rw-r--r--cmake/modules/TableGen.cmake9
-rw-r--r--cmake/modules/VersionFromVCS.cmake72
-rw-r--r--cmake/platforms/iOS.cmake1
-rw-r--r--docs/AMDGPUUsage.rst75
-rw-r--r--docs/AliasAnalysis.rst2
-rw-r--r--docs/BitCodeFormat.rst10
-rw-r--r--docs/BranchWeightMetadata.rst20
-rw-r--r--docs/CMake.rst14
-rw-r--r--docs/CodeGenerator.rst4
-rw-r--r--docs/CommandGuide/FileCheck.rst19
-rw-r--r--docs/CommandGuide/lit.rst33
-rw-r--r--docs/CommandGuide/llvm-cov.rst4
-rw-r--r--docs/CommandGuide/llvm-profdata.rst4
-rw-r--r--docs/Coroutines.rst121
-rw-r--r--docs/CoverageMappingFormat.rst2
-rw-r--r--docs/DeveloperPolicy.rst4
-rw-r--r--docs/Extensions.rst40
-rw-r--r--docs/FaultMaps.rst8
-rw-r--r--docs/GettingStarted.rst43
-rw-r--r--docs/GlobalISel.rst35
-rw-r--r--docs/HowToAddABuilder.rst19
-rw-r--r--docs/HowToSubmitABug.rst2
-rw-r--r--docs/HowToUseAttributes.rst35
-rw-r--r--docs/LLVMBuild.rst2
-rw-r--r--docs/LangRef.rst731
-rw-r--r--docs/Lexicon.rst2
-rw-r--r--docs/LibFuzzer.rst4
-rw-r--r--docs/MIRLangRef.rst78
-rw-r--r--docs/NVPTXUsage.rst46
-rw-r--r--docs/OptBisect.rst16
-rw-r--r--docs/ProgrammersManual.rst227
-rw-r--r--docs/Proposals/GitHubMove.rst4
-rw-r--r--docs/ReleaseNotes.rst352
-rw-r--r--docs/ScudoHardenedAllocator.rst85
-rw-r--r--docs/Statepoints.rst2
-rw-r--r--docs/TableGen/BackEnds.rst6
-rw-r--r--docs/TestingGuide.rst85
-rw-r--r--docs/WritingAnLLVMBackend.rst4
-rw-r--r--docs/XRay.rst119
-rw-r--r--docs/XRayExample.rst273
-rw-r--r--docs/YamlIO.rst2
-rw-r--r--docs/conf.py10
-rw-r--r--docs/doxygen.cfg.in6
-rw-r--r--docs/index.rst9
-rw-r--r--docs/tutorial/BuildingAJIT1.rst20
-rw-r--r--docs/tutorial/LangImpl02.rst2
-rw-r--r--docs/tutorial/LangImpl03.rst13
-rw-r--r--docs/tutorial/LangImpl04.rst83
-rw-r--r--docs/tutorial/LangImpl05.rst60
-rw-r--r--docs/tutorial/LangImpl06.rst64
-rw-r--r--docs/tutorial/LangImpl07.rst54
-rw-r--r--docs/tutorial/LangImpl09.rst116
-rw-r--r--docs/tutorial/OCamlLangImpl5.rst14
-rw-r--r--examples/BrainF/BrainF.cpp8
-rw-r--r--examples/BrainF/BrainFDriver.cpp6
-rw-r--r--examples/Fibonacci/fibonacci.cpp3
-rw-r--r--examples/HowToUseJIT/HowToUseJIT.cpp7
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h4
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp6
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h4
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp6
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h6
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp6
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h4
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp3
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h4
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp3
-rw-r--r--examples/Kaleidoscope/Chapter2/toy.cpp2
-rw-r--r--examples/Kaleidoscope/Chapter3/toy.cpp11
-rw-r--r--examples/Kaleidoscope/Chapter4/toy.cpp16
-rw-r--r--examples/Kaleidoscope/Chapter5/toy.cpp20
-rw-r--r--examples/Kaleidoscope/Chapter6/toy.cpp22
-rw-r--r--examples/Kaleidoscope/Chapter7/CMakeLists.txt1
-rw-r--r--examples/Kaleidoscope/Chapter7/toy.cpp24
-rw-r--r--examples/Kaleidoscope/Chapter8/toy.cpp22
-rw-r--r--examples/Kaleidoscope/Chapter9/toy.cpp18
-rw-r--r--examples/Kaleidoscope/MCJIT/cached/toy.cpp8
-rw-r--r--examples/Kaleidoscope/MCJIT/complete/toy.cpp6
-rw-r--r--examples/Kaleidoscope/MCJIT/initial/toy.cpp8
-rw-r--r--examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp8
-rw-r--r--examples/Kaleidoscope/MCJIT/lazy/toy.cpp6
-rw-r--r--examples/Kaleidoscope/include/KaleidoscopeJIT.h29
-rw-r--r--examples/ParallelJIT/CMakeLists.txt2
-rw-r--r--examples/ParallelJIT/ParallelJIT.cpp6
-rw-r--r--include/llvm-c/Transforms/Scalar.h3
-rw-r--r--include/llvm-c/lto.h144
-rw-r--r--include/llvm/ADT/APFloat.h370
-rw-r--r--include/llvm/ADT/APInt.h668
-rw-r--r--include/llvm/ADT/APSInt.h3
-rw-r--r--include/llvm/ADT/ArrayRef.h12
-rw-r--r--include/llvm/ADT/BitVector.h43
-rw-r--r--include/llvm/ADT/BreadthFirstIterator.h164
-rw-r--r--include/llvm/ADT/DenseMap.h13
-rw-r--r--include/llvm/ADT/DenseMapInfo.h18
-rw-r--r--include/llvm/ADT/DenseSet.h27
-rw-r--r--include/llvm/ADT/DepthFirstIterator.h2
-rw-r--r--include/llvm/ADT/GraphTraits.h29
-rw-r--r--include/llvm/ADT/None.h5
-rw-r--r--include/llvm/ADT/PointerUnion.h8
-rw-r--r--include/llvm/ADT/PostOrderIterator.h4
-rw-r--r--include/llvm/ADT/STLExtras.h236
-rw-r--r--include/llvm/ADT/ScopedHashTable.h4
-rw-r--r--include/llvm/ADT/SetVector.h8
-rw-r--r--include/llvm/ADT/SmallBitVector.h29
-rw-r--r--include/llvm/ADT/SmallPtrSet.h57
-rw-r--r--include/llvm/ADT/SparseBitVector.h19
-rw-r--r--include/llvm/ADT/StringExtras.h7
-rw-r--r--include/llvm/ADT/StringMap.h110
-rw-r--r--include/llvm/ADT/StringRef.h10
-rw-r--r--include/llvm/ADT/Triple.h23
-rw-r--r--include/llvm/ADT/iterator.h34
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h14
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h7
-rw-r--r--include/llvm/Analysis/AssumptionCache.h21
-rw-r--r--include/llvm/Analysis/BasicAliasAnalysis.h18
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfo.h10
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfoImpl.h7
-rw-r--r--include/llvm/Analysis/BranchProbabilityInfo.h2
-rw-r--r--include/llvm/Analysis/CFGPrinter.h3
-rw-r--r--include/llvm/Analysis/CGSCCPassManager.h1
-rw-r--r--include/llvm/Analysis/CallGraph.h2
-rw-r--r--include/llvm/Analysis/ConstantFolding.h6
-rw-r--r--include/llvm/Analysis/DominanceFrontier.h4
-rw-r--r--include/llvm/Analysis/IndirectCallSiteVisitor.h12
-rw-r--r--include/llvm/Analysis/InlineCost.h6
-rw-r--r--include/llvm/Analysis/InstructionSimplify.h12
-rw-r--r--include/llvm/Analysis/LazyBlockFrequencyInfo.h104
-rw-r--r--include/llvm/Analysis/LazyBranchProbabilityInfo.h12
-rw-r--r--include/llvm/Analysis/LazyCallGraph.h493
-rw-r--r--include/llvm/Analysis/LazyValueInfo.h15
-rw-r--r--include/llvm/Analysis/Loads.h31
-rw-r--r--include/llvm/Analysis/LoopAccessAnalysis.h37
-rw-r--r--include/llvm/Analysis/LoopInfo.h30
-rw-r--r--include/llvm/Analysis/LoopInfoImpl.h150
-rw-r--r--include/llvm/Analysis/MemoryBuiltins.h43
-rw-r--r--include/llvm/Analysis/MemorySSA.h1155
-rw-r--r--include/llvm/Analysis/MemorySSAUpdater.h153
-rw-r--r--include/llvm/Analysis/ObjectUtils.h42
-rw-r--r--include/llvm/Analysis/OptimizationDiagnosticInfo.h150
-rw-r--r--include/llvm/Analysis/PostDominators.h4
-rw-r--r--include/llvm/Analysis/ProfileSummaryInfo.h16
-rw-r--r--include/llvm/Analysis/PtrUseVisitor.h5
-rw-r--r--include/llvm/Analysis/RegionInfo.h4
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h71
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h66
-rw-r--r--include/llvm/Analysis/ScalarEvolutionNormalization.h45
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.def2
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.h78
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h161
-rw-r--r--include/llvm/Analysis/TargetTransformInfoImpl.h33
-rw-r--r--include/llvm/Analysis/TypeMetadataUtils.h5
-rw-r--r--include/llvm/Analysis/ValueTracking.h32
-rw-r--r--include/llvm/Analysis/VectorUtils.h59
-rw-r--r--include/llvm/Bitcode/BitcodeWriter.h19
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h25
-rw-r--r--include/llvm/CMakeLists.txt1
-rw-r--r--include/llvm/CodeGen/Analysis.h7
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h91
-rw-r--r--include/llvm/CodeGen/BasicTTIImpl.h175
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h10
-rw-r--r--include/llvm/CodeGen/CommandFlags.h33
-rw-r--r--include/llvm/CodeGen/ExecutionDepsFix.h220
-rw-r--r--include/llvm/CodeGen/FastISel.h87
-rw-r--r--include/llvm/CodeGen/FaultMaps.h43
-rw-r--r--include/llvm/CodeGen/GCStrategy.h46
-rw-r--r--include/llvm/CodeGen/GlobalISel/CallLowering.h51
-rw-r--r--include/llvm/CodeGen/GlobalISel/IRTranslator.h96
-rw-r--r--include/llvm/CodeGen/GlobalISel/InstructionSelector.h13
-rw-r--r--include/llvm/CodeGen/GlobalISel/Legalizer.h3
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizerHelper.h12
-rw-r--r--include/llvm/CodeGen/GlobalISel/LegalizerInfo.h8
-rw-r--r--include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h150
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegBankSelect.h4
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBank.h2
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h20
-rw-r--r--include/llvm/CodeGen/GlobalISel/Utils.h21
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h25
-rw-r--r--include/llvm/CodeGen/LazyMachineBlockFrequencyInfo.h76
-rw-r--r--include/llvm/CodeGen/LexicalScopes.h38
-rw-r--r--include/llvm/CodeGen/LiveInterval.h28
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h140
-rw-r--r--include/llvm/CodeGen/LiveIntervalUnion.h117
-rw-r--r--include/llvm/CodeGen/LiveRegMatrix.h21
-rw-r--r--include/llvm/CodeGen/LiveRegUnits.h128
-rw-r--r--include/llvm/CodeGen/LowLevelType.h190
-rw-r--r--include/llvm/CodeGen/MIRYamlMapping.h4
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h23
-rw-r--r--include/llvm/CodeGen/MachineBlockFrequencyInfo.h8
-rw-r--r--include/llvm/CodeGen/MachineDominators.h22
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h10
-rw-r--r--include/llvm/CodeGen/MachineFunction.h5
-rw-r--r--include/llvm/CodeGen/MachineFunctionInitializer.h2
-rw-r--r--include/llvm/CodeGen/MachineInstr.h29
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h35
-rw-r--r--include/llvm/CodeGen/MachineLoopInfo.h7
-rw-r--r--include/llvm/CodeGen/MachineModuleInfoImpls.h29
-rw-r--r--include/llvm/CodeGen/MachineOperand.h30
-rw-r--r--include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h203
-rw-r--r--include/llvm/CodeGen/MachineRegisterInfo.h92
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h100
-rw-r--r--include/llvm/CodeGen/MachineTraceMetrics.h66
-rw-r--r--include/llvm/CodeGen/MachineValueType.h81
-rw-r--r--include/llvm/CodeGen/PBQP/Solution.h21
-rw-r--r--include/llvm/CodeGen/Passes.h28
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h82
-rw-r--r--include/llvm/CodeGen/RegisterClassInfo.h43
-rw-r--r--include/llvm/CodeGen/RegisterPressure.h72
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h42
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h509
-rw-r--r--include/llvm/CodeGen/ScheduleDAGInstrs.h139
-rw-r--r--include/llvm/CodeGen/ScheduleDAGMutation.h25
-rw-r--r--include/llvm/CodeGen/ScheduleDFS.h26
-rw-r--r--include/llvm/CodeGen/ScheduleHazardRecognizer.h8
-rw-r--r--include/llvm/CodeGen/ScoreboardHazardRecognizer.h22
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h44
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h23
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h162
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h22
-rw-r--r--include/llvm/CodeGen/StackMaps.h51
-rw-r--r--include/llvm/CodeGen/StackProtector.h18
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h60
-rw-r--r--include/llvm/CodeGen/TargetPassConfig.h13
-rw-r--r--include/llvm/CodeGen/TargetSchedule.h28
-rw-r--r--include/llvm/CodeGen/ValueTypes.h131
-rw-r--r--include/llvm/Config/abi-breaking.h.cmake5
-rw-r--r--include/llvm/Config/config.h.cmake8
-rw-r--r--include/llvm/Config/llvm-config.h.cmake3
-rw-r--r--include/llvm/DebugInfo/CodeView/CVRecord.h12
-rw-r--r--include/llvm/DebugInfo/CodeView/CVTypeDumper.h7
-rw-r--r--include/llvm/DebugInfo/CodeView/CVTypeVisitor.h10
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeView.h6
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewError.h1
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewRecordIO.h12
-rw-r--r--include/llvm/DebugInfo/CodeView/Formatters.h40
-rw-r--r--include/llvm/DebugInfo/CodeView/ModuleSubstream.h18
-rw-r--r--include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h54
-rw-r--r--include/llvm/DebugInfo/CodeView/RecordSerialization.h44
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolDeserializer.h11
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolRecord.h8
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolRecordMapping.h10
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolSerializer.h47
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h6
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeDatabase.h4
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeDeserializer.h17
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeDumpVisitor.h14
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecord.h157
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecordMapping.h11
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecords.def6
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeSerializer.h8
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeServerHandler.h36
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeStreamMerger.h7
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeTableBuilder.h6
-rw-r--r--include/llvm/DebugInfo/DIContext.h30
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAbbreviationDeclaration.h49
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAcceleratorTable.h17
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFAttribute.h56
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h18
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFContext.h25
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h12
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugArangeSet.h13
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugAranges.h14
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h14
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugInfoEntry.h35
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugLine.h33
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugLoc.h14
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h3
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugPubTable.h18
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugRangeList.h16
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDie.h163
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFFormValue.h178
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFGdbIndex.h20
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFRelocMap.h15
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFSection.h12
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h23
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnit.h59
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h25
-rw-r--r--include/llvm/DebugInfo/MSF/ByteStream.h169
-rw-r--r--include/llvm/DebugInfo/MSF/MappedBlockStream.h65
-rw-r--r--include/llvm/DebugInfo/MSF/SequencedItemStream.h93
-rw-r--r--include/llvm/DebugInfo/MSF/StreamArray.h304
-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.h10
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h1
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBRawSymbol.h5
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBSession.h11
-rw-r--r--include/llvm/DebugInfo/PDB/Native/DbiStream.h124
-rw-r--r--include/llvm/DebugInfo/PDB/Native/DbiStreamBuilder.h120
-rw-r--r--include/llvm/DebugInfo/PDB/Native/EnumTables.h (renamed from include/llvm/DebugInfo/PDB/Raw/EnumTables.h)0
-rw-r--r--include/llvm/DebugInfo/PDB/Native/Formatters.h52
-rw-r--r--include/llvm/DebugInfo/PDB/Native/GlobalsStream.h45
-rw-r--r--include/llvm/DebugInfo/PDB/Native/Hash.h (renamed from include/llvm/DebugInfo/PDB/Raw/Hash.h)0
-rw-r--r--include/llvm/DebugInfo/PDB/Native/HashTable.h106
-rw-r--r--include/llvm/DebugInfo/PDB/Native/ISectionContribVisitor.h (renamed from include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h)0
-rw-r--r--include/llvm/DebugInfo/PDB/Native/InfoStream.h83
-rw-r--r--include/llvm/DebugInfo/PDB/Native/InfoStreamBuilder.h64
-rw-r--r--include/llvm/DebugInfo/PDB/Native/ModInfo.h78
-rw-r--r--include/llvm/DebugInfo/PDB/Native/ModInfoBuilder.h74
-rw-r--r--include/llvm/DebugInfo/PDB/Native/ModStream.h62
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NamedStreamMap.h55
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeCompilandSymbol.h35
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeEnumModules.h41
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeExeSymbol.h39
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeRawSymbol.h208
-rw-r--r--include/llvm/DebugInfo/PDB/Native/NativeSession.h78
-rw-r--r--include/llvm/DebugInfo/PDB/Native/PDBFile.h139
-rw-r--r--include/llvm/DebugInfo/PDB/Native/PDBFileBuilder.h71
-rw-r--r--include/llvm/DebugInfo/PDB/Native/PDBTypeServerHandler.h48
-rw-r--r--include/llvm/DebugInfo/PDB/Native/PublicsStream.h73
-rw-r--r--include/llvm/DebugInfo/PDB/Native/RawConstants.h114
-rw-r--r--include/llvm/DebugInfo/PDB/Native/RawError.h53
-rw-r--r--include/llvm/DebugInfo/PDB/Native/RawTypes.h321
-rw-r--r--include/llvm/DebugInfo/PDB/Native/StringTable.h56
-rw-r--r--include/llvm/DebugInfo/PDB/Native/StringTableBuilder.h44
-rw-r--r--include/llvm/DebugInfo/PDB/Native/SymbolStream.h (renamed from include/llvm/DebugInfo/PDB/Raw/SymbolStream.h)0
-rw-r--r--include/llvm/DebugInfo/PDB/Native/TpiHashing.h95
-rw-r--r--include/llvm/DebugInfo/PDB/Native/TpiStream.h75
-rw-r--r--include/llvm/DebugInfo/PDB/Native/TpiStreamBuilder.h88
-rw-r--r--include/llvm/DebugInfo/PDB/PDBExtras.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymDumper.h16
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbol.h37
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolBlock.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolData.h8
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolExe.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFunc.h12
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolLabel.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolThunk.h6
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h9
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h11
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h12
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h6
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h11
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h7
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h8
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h16
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h7
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBTypes.h6
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DbiStream.h122
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h126
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/GlobalsStream.h45
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/InfoStream.h69
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h62
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ModInfo.h82
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ModStream.h62
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameHashTable.h54
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameMap.h44
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h45
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PDBFile.h133
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h64
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PublicsStream.h74
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawConstants.h98
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawError.h52
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawSession.h78
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawTypes.h308
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiHashing.h95
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiStream.h74
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiStreamBuilder.h82
-rw-r--r--include/llvm/DebugInfo/PDB/UDTLayout.h180
-rw-r--r--include/llvm/DebugInfo/Symbolize/DIPrinter.h7
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h12
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h362
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcError.h6
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h1
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h23
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCSerialization.h243
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCUtils.h787
-rw-r--r--include/llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h362
-rw-r--r--include/llvm/ExecutionEngine/Orc/RawByteChannel.h34
-rw-r--r--include/llvm/IR/Argument.h99
-rw-r--r--include/llvm/IR/Attributes.h294
-rw-r--r--include/llvm/IR/BasicBlock.h87
-rw-r--r--include/llvm/IR/CallSite.h177
-rw-r--r--include/llvm/IR/Comdat.h6
-rw-r--r--include/llvm/IR/Constant.h7
-rw-r--r--include/llvm/IR/ConstantRange.h11
-rw-r--r--include/llvm/IR/Constants.h2
-rw-r--r--include/llvm/IR/DIBuilder.h28
-rw-r--r--include/llvm/IR/DataLayout.h42
-rw-r--r--include/llvm/IR/DebugInfoFlags.def3
-rw-r--r--include/llvm/IR/DebugInfoMetadata.h209
-rw-r--r--include/llvm/IR/DiagnosticInfo.h591
-rw-r--r--include/llvm/IR/Dominators.h45
-rw-r--r--include/llvm/IR/Function.h101
-rw-r--r--include/llvm/IR/GlobalIndirectSymbol.h18
-rw-r--r--include/llvm/IR/GlobalObject.h13
-rw-r--r--include/llvm/IR/GlobalValue.h14
-rw-r--r--include/llvm/IR/IRBuilder.h104
-rw-r--r--include/llvm/IR/InlineAsm.h24
-rw-r--r--include/llvm/IR/InstVisitor.h3
-rw-r--r--include/llvm/IR/InstrTypes.h4
-rw-r--r--include/llvm/IR/Instruction.h51
-rw-r--r--include/llvm/IR/Instructions.h348
-rw-r--r--include/llvm/IR/IntrinsicInst.h65
-rw-r--r--include/llvm/IR/Intrinsics.h4
-rw-r--r--include/llvm/IR/Intrinsics.td82
-rw-r--r--include/llvm/IR/IntrinsicsAMDGPU.td109
-rw-r--r--include/llvm/IR/IntrinsicsARM.td2
-rw-r--r--include/llvm/IR/IntrinsicsHexagon.td870
-rw-r--r--include/llvm/IR/IntrinsicsNVVM.td84
-rw-r--r--include/llvm/IR/IntrinsicsPowerPC.td32
-rw-r--r--include/llvm/IR/IntrinsicsWebAssembly.td2
-rw-r--r--include/llvm/IR/IntrinsicsX86.td156
-rw-r--r--include/llvm/IR/LLVMContext.h1
-rw-r--r--include/llvm/IR/MDBuilder.h9
-rw-r--r--include/llvm/IR/Mangler.h4
-rw-r--r--include/llvm/IR/Metadata.h15
-rw-r--r--include/llvm/IR/Module.h66
-rw-r--r--include/llvm/IR/ModuleSummaryIndex.h222
-rw-r--r--include/llvm/IR/ModuleSummaryIndexYAML.h135
-rw-r--r--include/llvm/IR/Operator.h24
-rw-r--r--include/llvm/IR/OptBisect.h18
-rw-r--r--include/llvm/IR/PassManager.h70
-rw-r--r--include/llvm/IR/PassManagerInternal.h2
-rw-r--r--include/llvm/IR/PatternMatch.h56
-rw-r--r--include/llvm/IR/PredIteratorCache.h14
-rw-r--r--include/llvm/IR/Statepoint.h2
-rw-r--r--include/llvm/IR/SymbolTableListTraits.h28
-rw-r--r--include/llvm/IR/TrackingMDRef.h17
-rw-r--r--include/llvm/IR/Type.h8
-rw-r--r--include/llvm/IR/TypeFinder.h14
-rw-r--r--include/llvm/IR/Use.h4
-rw-r--r--include/llvm/IR/UseListOrder.h7
-rw-r--r--include/llvm/IR/User.h14
-rw-r--r--include/llvm/IR/Value.h57
-rw-r--r--include/llvm/IR/ValueHandle.h136
-rw-r--r--include/llvm/IR/ValueSymbolTable.h45
-rw-r--r--include/llvm/InitializePasses.h125
-rw-r--r--include/llvm/LTO/Caching.h15
-rw-r--r--include/llvm/LTO/Config.h8
-rw-r--r--include/llvm/LTO/LTO.h197
-rw-r--r--include/llvm/LTO/LTOBackend.h7
-rw-r--r--include/llvm/LTO/legacy/LTOCodeGenerator.h7
-rw-r--r--include/llvm/LTO/legacy/ThinLTOCodeGenerator.h19
-rw-r--r--include/llvm/LinkAllPasses.h3
-rw-r--r--include/llvm/Linker/IRMover.h6
-rw-r--r--include/llvm/Linker/Linker.h19
-rw-r--r--include/llvm/MC/ConstantPools.h10
-rw-r--r--include/llvm/MC/MCAsmBackend.h26
-rw-r--r--include/llvm/MC/MCAsmInfo.h140
-rw-r--r--include/llvm/MC/MCAsmInfoCOFF.h42
-rw-r--r--include/llvm/MC/MCAsmInfoDarwin.h16
-rw-r--r--include/llvm/MC/MCAsmInfoELF.h10
-rw-r--r--include/llvm/MC/MCAsmInfoWasm.h24
-rw-r--r--include/llvm/MC/MCAssembler.h59
-rw-r--r--include/llvm/MC/MCCodeEmitter.h15
-rw-r--r--include/llvm/MC/MCContext.h186
-rw-r--r--include/llvm/MC/MCDisassembler/MCDisassembler.h17
-rw-r--r--include/llvm/MC/MCDisassembler/MCRelocationInfo.h18
-rw-r--r--include/llvm/MC/MCDisassembler/MCSymbolizer.h16
-rw-r--r--include/llvm/MC/MCDwarf.h48
-rw-r--r--include/llvm/MC/MCELFObjectWriter.h25
-rw-r--r--include/llvm/MC/MCELFStreamer.h26
-rw-r--r--include/llvm/MC/MCExpr.h85
-rw-r--r--include/llvm/MC/MCFragment.h32
-rw-r--r--include/llvm/MC/MCInst.h30
-rw-r--r--include/llvm/MC/MCInstPrinter.h16
-rw-r--r--include/llvm/MC/MCInstrAnalysis.h11
-rw-r--r--include/llvm/MC/MCInstrItineraries.h28
-rw-r--r--include/llvm/MC/MCLabel.h12
-rw-r--r--include/llvm/MC/MCLinkerOptimizationHint.h11
-rw-r--r--include/llvm/MC/MCMachObjectWriter.h15
-rw-r--r--include/llvm/MC/MCObjectFileInfo.h5
-rw-r--r--include/llvm/MC/MCObjectStreamer.h7
-rw-r--r--include/llvm/MC/MCObjectWriter.h24
-rw-r--r--include/llvm/MC/MCParser/AsmCond.h10
-rw-r--r--include/llvm/MC/MCParser/AsmLexer.h19
-rw-r--r--include/llvm/MC/MCParser/MCAsmLexer.h30
-rw-r--r--include/llvm/MC/MCParser/MCAsmParser.h41
-rw-r--r--include/llvm/MC/MCParser/MCAsmParserExtension.h26
-rw-r--r--include/llvm/MC/MCParser/MCAsmParserUtils.h5
-rw-r--r--include/llvm/MC/MCParser/MCParsedAsmOperand.h14
-rw-r--r--include/llvm/MC/MCParser/MCTargetAsmParser.h34
-rw-r--r--include/llvm/MC/MCRegisterInfo.h58
-rw-r--r--include/llvm/MC/MCSection.h33
-rw-r--r--include/llvm/MC/MCSectionCOFF.h8
-rw-r--r--include/llvm/MC/MCSectionELF.h23
-rw-r--r--include/llvm/MC/MCSectionMachO.h3
-rw-r--r--include/llvm/MC/MCSectionWasm.h86
-rw-r--r--include/llvm/MC/MCStreamer.h41
-rw-r--r--include/llvm/MC/MCSubtargetInfo.h34
-rw-r--r--include/llvm/MC/MCSymbol.h29
-rw-r--r--include/llvm/MC/MCSymbolCOFF.h13
-rw-r--r--include/llvm/MC/MCSymbolWasm.h57
-rw-r--r--include/llvm/MC/MCTargetOptions.h40
-rw-r--r--include/llvm/MC/MCWasmObjectWriter.h85
-rw-r--r--include/llvm/MC/MCWasmStreamer.h83
-rw-r--r--include/llvm/MC/MCWinCOFFObjectWriter.h11
-rw-r--r--include/llvm/MC/MCWinCOFFStreamer.h11
-rw-r--r--include/llvm/MC/MachineLocation.h30
-rw-r--r--include/llvm/MC/StringTableBuilder.h11
-rw-r--r--include/llvm/MC/SubtargetFeature.h96
-rw-r--r--include/llvm/Object/Archive.h1
-rw-r--r--include/llvm/Object/Binary.h11
-rw-r--r--include/llvm/Object/ELF.h2
-rw-r--r--include/llvm/Object/ELFObjectFile.h31
-rw-r--r--include/llvm/Object/IRSymtab.h302
-rw-r--r--include/llvm/Object/MachO.h197
-rw-r--r--include/llvm/Object/ModuleSummaryIndexObjectFile.h7
-rw-r--r--include/llvm/Object/ModuleSymbolTable.h3
-rw-r--r--include/llvm/Object/ObjectFile.h8
-rw-r--r--include/llvm/Object/RelocVisitor.h7
-rw-r--r--include/llvm/Object/SymbolicFile.h4
-rw-r--r--include/llvm/Object/Wasm.h112
-rw-r--r--include/llvm/ObjectYAML/DWARFEmitter.h48
-rw-r--r--include/llvm/ObjectYAML/DWARFYAML.h52
-rw-r--r--include/llvm/ObjectYAML/MachOYAML.h8
-rw-r--r--include/llvm/ObjectYAML/ObjectYAML.h6
-rw-r--r--include/llvm/ObjectYAML/WasmYAML.h339
-rw-r--r--include/llvm/Option/ArgList.h214
-rw-r--r--include/llvm/PassSupport.h10
-rw-r--r--include/llvm/Passes/PassBuilder.h13
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMapping.h79
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingReader.h46
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingWriter.h15
-rw-r--r--include/llvm/ProfileData/InstrProf.h171
-rw-r--r--include/llvm/ProfileData/InstrProfData.inc84
-rw-r--r--include/llvm/ProfileData/InstrProfReader.h88
-rw-r--r--include/llvm/ProfileData/InstrProfWriter.h20
-rw-r--r--include/llvm/ProfileData/ProfileCommon.h54
-rw-r--r--include/llvm/ProfileData/SampleProf.h124
-rw-r--r--include/llvm/ProfileData/SampleProfReader.h29
-rw-r--r--include/llvm/ProfileData/SampleProfWriter.h20
-rw-r--r--include/llvm/Support/AArch64TargetParser.def13
-rw-r--r--include/llvm/Support/ARMAttributeParser.h140
-rw-r--r--include/llvm/Support/ARMBuildAttributes.h14
-rw-r--r--include/llvm/Support/ARMTargetParser.def6
-rw-r--r--include/llvm/Support/Allocator.h50
-rw-r--r--include/llvm/Support/Atomic.h5
-rw-r--r--include/llvm/Support/BinaryByteStream.h192
-rw-r--r--include/llvm/Support/BinaryItemStream.h95
-rw-r--r--include/llvm/Support/BinaryStream.h78
-rw-r--r--include/llvm/Support/BinaryStreamArray.h320
-rw-r--r--include/llvm/Support/BinaryStreamError.h48
-rw-r--r--include/llvm/Support/BinaryStreamReader.h234
-rw-r--r--include/llvm/Support/BinaryStreamRef.h174
-rw-r--r--include/llvm/Support/BinaryStreamWriter.h166
-rw-r--r--include/llvm/Support/CMakeLists.txt54
-rw-r--r--include/llvm/Support/CachePruning.h79
-rw-r--r--include/llvm/Support/Casting.h70
-rw-r--r--include/llvm/Support/Chrono.h95
-rw-r--r--include/llvm/Support/CommandLine.h8
-rw-r--r--include/llvm/Support/Compiler.h7
-rw-r--r--include/llvm/Support/Compression.h24
-rw-r--r--include/llvm/Support/Debug.h28
-rw-r--r--include/llvm/Support/DebugCounter.h165
-rw-r--r--include/llvm/Support/Dwarf.def87
-rw-r--r--include/llvm/Support/Dwarf.h13
-rw-r--r--include/llvm/Support/DynamicLibrary.h9
-rw-r--r--include/llvm/Support/ELF.h36
-rw-r--r--include/llvm/Support/Endian.h89
-rw-r--r--include/llvm/Support/Error.h102
-rw-r--r--include/llvm/Support/FileSystem.h274
-rw-r--r--include/llvm/Support/FormatAdapters.h3
-rw-r--r--include/llvm/Support/FormatProviders.h22
-rw-r--r--include/llvm/Support/FormatVariadic.h2
-rw-r--r--include/llvm/Support/GCOV.h67
-rw-r--r--include/llvm/Support/GenericDomTree.h76
-rw-r--r--include/llvm/Support/GenericDomTreeConstruction.h142
-rw-r--r--include/llvm/Support/Host.h12
-rw-r--r--include/llvm/Support/LEB128.h72
-rw-r--r--include/llvm/Support/LowLevelTypeImpl.h202
-rw-r--r--include/llvm/Support/MD5.h59
-rw-r--r--include/llvm/Support/MachO.def4
-rw-r--r--include/llvm/Support/MachO.h102
-rw-r--r--include/llvm/Support/MathExtras.h4
-rw-r--r--include/llvm/Support/MemoryBuffer.h20
-rw-r--r--include/llvm/Support/Path.h80
-rw-r--r--include/llvm/Support/PointerLikeTypeTraits.h14
-rw-r--r--include/llvm/Support/RWMutex.h25
-rw-r--r--include/llvm/Support/SMLoc.h4
-rw-r--r--include/llvm/Support/SourceMgr.h57
-rw-r--r--include/llvm/Support/TargetParser.h2
-rw-r--r--include/llvm/Support/TargetRegistry.h71
-rw-r--r--include/llvm/Support/ThreadPool.h15
-rw-r--r--include/llvm/Support/Threading.h104
-rw-r--r--include/llvm/Support/Timer.h4
-rw-r--r--include/llvm/Support/TrailingObjects.h7
-rw-r--r--include/llvm/Support/UniqueLock.h18
-rw-r--r--include/llvm/Support/Wasm.h145
-rw-r--r--include/llvm/Support/WasmRelocs/WebAssembly.def13
-rw-r--r--include/llvm/Support/YAMLTraits.h15
-rw-r--r--include/llvm/Support/thread.h14
-rw-r--r--include/llvm/Support/type_traits.h9
-rw-r--r--include/llvm/TableGen/Record.h4
-rw-r--r--include/llvm/TableGen/StringMatcher.h2
-rw-r--r--include/llvm/TableGen/StringToOffsetTable.h8
-rw-r--r--include/llvm/Target/GenericOpcodes.td121
-rw-r--r--include/llvm/Target/GlobalISel/RegisterBank.td16
-rw-r--r--include/llvm/Target/GlobalISel/SelectionDAGCompat.td53
-rw-r--r--include/llvm/Target/GlobalISel/Target.td56
-rw-r--r--include/llvm/Target/Target.td33
-rw-r--r--include/llvm/Target/TargetCallingConv.h202
-rw-r--r--include/llvm/Target/TargetGlobalISel.td29
-rw-r--r--include/llvm/Target/TargetInstrInfo.h140
-rw-r--r--include/llvm/Target/TargetLowering.h154
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h50
-rw-r--r--include/llvm/Target/TargetMachine.h12
-rw-r--r--include/llvm/Target/TargetOpcodes.def55
-rw-r--r--include/llvm/Target/TargetOptions.h89
-rw-r--r--include/llvm/Target/TargetRegisterInfo.h12
-rw-r--r--include/llvm/Target/TargetSchedule.td5
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td22
-rw-r--r--include/llvm/Target/TargetSubtargetInfo.h8
-rw-r--r--include/llvm/Transforms/IPO.h45
-rw-r--r--include/llvm/Transforms/IPO/ArgumentPromotion.h31
-rw-r--r--include/llvm/Transforms/IPO/FunctionAttrs.h15
-rw-r--r--include/llvm/Transforms/IPO/FunctionImport.h6
-rw-r--r--include/llvm/Transforms/IPO/GlobalDCE.h21
-rw-r--r--include/llvm/Transforms/IPO/LowerTypeTests.h10
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h20
-rw-r--r--include/llvm/Transforms/InstrProfiling.h40
-rw-r--r--include/llvm/Transforms/Instrumentation.h84
-rw-r--r--include/llvm/Transforms/PGOInstrumentation.h15
-rw-r--r--include/llvm/Transforms/Scalar.h30
-rw-r--r--include/llvm/Transforms/Scalar/GVNExpression.h313
-rw-r--r--include/llvm/Transforms/Scalar/JumpThreading.h10
-rw-r--r--include/llvm/Transforms/Scalar/LoopDataPrefetch.h8
-rw-r--r--include/llvm/Transforms/Scalar/LoopDeletion.h17
-rw-r--r--include/llvm/Transforms/Scalar/LoopLoadElimination.h30
-rw-r--r--include/llvm/Transforms/Scalar/LoopPassManager.h36
-rw-r--r--include/llvm/Transforms/Scalar/LoopPredication.h32
-rw-r--r--include/llvm/Transforms/Scalar/LoopSink.h40
-rw-r--r--include/llvm/Transforms/Scalar/LoopUnrollPass.h30
-rw-r--r--include/llvm/Transforms/Scalar/MemCpyOptimizer.h11
-rw-r--r--include/llvm/Transforms/Scalar/SROA.h18
-rw-r--r--include/llvm/Transforms/Scalar/SimplifyCFG.h9
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h9
-rw-r--r--include/llvm/Transforms/Utils/BuildLibCalls.h4
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h54
-rw-r--r--include/llvm/Transforms/Utils/FunctionComparator.h2
-rw-r--r--include/llvm/Transforms/Utils/FunctionImportUtils.h11
-rw-r--r--include/llvm/Transforms/Utils/GlobalStatus.h31
-rw-r--r--include/llvm/Transforms/Utils/Local.h23
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h57
-rw-r--r--include/llvm/Transforms/Utils/LowerMemIntrinsics.h44
-rw-r--r--include/llvm/Transforms/Utils/MemorySSA.h1014
-rw-r--r--include/llvm/Transforms/Utils/ModuleUtils.h3
-rw-r--r--include/llvm/Transforms/Utils/NameAnonGlobals.h8
-rw-r--r--include/llvm/Transforms/Utils/PredicateInfo.h295
-rw-r--r--include/llvm/Transforms/Utils/PromoteMemToReg.h3
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdater.h38
-rw-r--r--include/llvm/Transforms/Utils/SimplifyIndVar.h11
-rw-r--r--include/llvm/Transforms/Utils/SimplifyLibCalls.h5
-rw-r--r--include/llvm/Transforms/Utils/SymbolRewriter.h23
-rw-r--r--include/llvm/Transforms/Utils/UnifyFunctionExitNodes.h12
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h5
-rw-r--r--include/llvm/Transforms/Utils/VNCoercion.h108
-rw-r--r--include/llvm/Transforms/Utils/ValueMapper.h20
-rw-r--r--include/llvm/Transforms/Vectorize/SLPVectorizer.h6
-rw-r--r--include/llvm/XRay/Graph.h494
-rw-r--r--include/llvm/XRay/InstrumentationMap.h129
-rw-r--r--include/llvm/XRay/XRayRecord.h9
-rw-r--r--include/llvm/XRay/YAMLXRayRecord.h2
-rw-r--r--include/llvm/module.modulemap11
-rw-r--r--lib/Analysis/AliasAnalysis.cpp18
-rw-r--r--lib/Analysis/AliasSetTracker.cpp36
-rw-r--r--lib/Analysis/Analysis.cpp3
-rw-r--r--lib/Analysis/AssumptionCache.cpp28
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp54
-rw-r--r--lib/Analysis/BlockFrequencyInfo.cpp65
-rw-r--r--lib/Analysis/BlockFrequencyInfoImpl.cpp2
-rw-r--r--lib/Analysis/BranchProbabilityInfo.cpp119
-rw-r--r--lib/Analysis/CFLAndersAliasAnalysis.cpp4
-rw-r--r--lib/Analysis/CGSCCPassManager.cpp55
-rw-r--r--lib/Analysis/CMakeLists.txt2
-rw-r--r--lib/Analysis/CallGraph.cpp12
-rw-r--r--lib/Analysis/CallGraphSCCPass.cpp18
-rw-r--r--lib/Analysis/ConstantFolding.cpp204
-rw-r--r--lib/Analysis/CostModel.cpp18
-rw-r--r--lib/Analysis/DemandedBits.cpp3
-rw-r--r--lib/Analysis/DependenceAnalysis.cpp5
-rw-r--r--lib/Analysis/DominanceFrontier.cpp10
-rw-r--r--lib/Analysis/IVUsers.cpp88
-rw-r--r--lib/Analysis/InlineCost.cpp271
-rw-r--r--lib/Analysis/InstructionSimplify.cpp680
-rw-r--r--lib/Analysis/IteratedDominanceFrontier.cpp5
-rw-r--r--lib/Analysis/LazyBlockFrequencyInfo.cpp2
-rw-r--r--lib/Analysis/LazyCallGraph.cpp631
-rw-r--r--lib/Analysis/LazyValueInfo.cpp232
-rw-r--r--lib/Analysis/Loads.cpp36
-rw-r--r--lib/Analysis/LoopAccessAnalysis.cpp129
-rw-r--r--lib/Analysis/LoopAnalysisManager.cpp23
-rw-r--r--lib/Analysis/LoopInfo.cpp24
-rw-r--r--lib/Analysis/LoopPass.cpp2
-rw-r--r--lib/Analysis/MemoryBuiltins.cpp136
-rw-r--r--lib/Analysis/MemoryLocation.cpp4
-rw-r--r--lib/Analysis/MemorySSA.cpp2059
-rw-r--r--lib/Analysis/MemorySSAUpdater.cpp494
-rw-r--r--lib/Analysis/ModuleSummaryAnalysis.cpp145
-rw-r--r--lib/Analysis/OptimizationDiagnosticInfo.cpp186
-rw-r--r--lib/Analysis/PostDominators.cpp9
-rw-r--r--lib/Analysis/ProfileSummaryInfo.cpp114
-rw-r--r--lib/Analysis/RegionInfo.cpp9
-rw-r--r--lib/Analysis/RegionPass.cpp2
-rw-r--r--lib/Analysis/ScalarEvolution.cpp649
-rw-r--r--lib/Analysis/ScalarEvolutionExpander.cpp3
-rw-r--r--lib/Analysis/ScalarEvolutionNormalization.cpp299
-rw-r--r--lib/Analysis/SparsePropagation.cpp2
-rw-r--r--lib/Analysis/TargetLibraryInfo.cpp1152
-rw-r--r--lib/Analysis/TargetTransformInfo.cpp56
-rw-r--r--lib/Analysis/TypeMetadataUtils.cpp11
-rw-r--r--lib/Analysis/ValueTracking.cpp692
-rw-r--r--lib/Analysis/VectorUtils.cpp85
-rw-r--r--lib/AsmParser/LLLexer.cpp1
-rw-r--r--lib/AsmParser/LLParser.cpp206
-rw-r--r--lib/AsmParser/LLParser.h10
-rw-r--r--lib/AsmParser/LLToken.h1
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp658
-rw-r--r--lib/Bitcode/Reader/MetadataLoader.cpp36
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp155
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.cpp11
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.h22
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.cpp6
-rw-r--r--lib/CodeGen/Analysis.cpp24
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp195
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp68
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.cpp59
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.h13
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.cpp107
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp12
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp28
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.h4
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocEntry.h4
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp212
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h9
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp123
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h17
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.cpp248
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.h126
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.cpp177
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h40
-rw-r--r--lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp21
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.cpp4
-rw-r--r--lib/CodeGen/AtomicExpandPass.cpp4
-rw-r--r--lib/CodeGen/BranchCoalescing.cpp758
-rw-r--r--lib/CodeGen/BranchFolding.cpp163
-rw-r--r--lib/CodeGen/BranchFolding.h43
-rw-r--r--lib/CodeGen/BranchRelaxation.cpp4
-rw-r--r--lib/CodeGen/BuiltinGCs.cpp9
-rw-r--r--lib/CodeGen/CMakeLists.txt8
-rw-r--r--lib/CodeGen/CallingConvLower.cpp3
-rw-r--r--lib/CodeGen/CodeGen.cpp15
-rw-r--r--lib/CodeGen/CodeGenPrepare.cpp928
-rw-r--r--lib/CodeGen/CountingFunctionInserter.cpp2
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.cpp7
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp2
-rw-r--r--lib/CodeGen/DetectDeadLanes.cpp2
-rw-r--r--lib/CodeGen/ExecutionDepsFix.cpp472
-rw-r--r--lib/CodeGen/FEntryInserter.cpp55
-rw-r--r--lib/CodeGen/FaultMaps.cpp15
-rw-r--r--lib/CodeGen/GCStrategy.cpp7
-rw-r--r--lib/CodeGen/GlobalISel/CMakeLists.txt1
-rw-r--r--lib/CodeGen/GlobalISel/CallLowering.cpp37
-rw-r--r--lib/CodeGen/GlobalISel/IRTranslator.cpp755
-rw-r--r--lib/CodeGen/GlobalISel/InstructionSelect.cpp98
-rw-r--r--lib/CodeGen/GlobalISel/InstructionSelector.cpp41
-rw-r--r--lib/CodeGen/GlobalISel/Legalizer.cpp84
-rw-r--r--lib/CodeGen/GlobalISel/LegalizerHelper.cpp399
-rw-r--r--lib/CodeGen/GlobalISel/LegalizerInfo.cpp31
-rw-r--r--lib/CodeGen/GlobalISel/MachineIRBuilder.cpp266
-rw-r--r--lib/CodeGen/GlobalISel/RegBankSelect.cpp27
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBank.cpp9
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBankInfo.cpp95
-rw-r--r--lib/CodeGen/GlobalISel/Utils.cpp50
-rw-r--r--lib/CodeGen/IfConversion.cpp111
-rw-r--r--lib/CodeGen/ImplicitNullChecks.cpp206
-rw-r--r--lib/CodeGen/InlineSpiller.cpp5
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp6
-rw-r--r--lib/CodeGen/LLVMBuild.txt2
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp15
-rw-r--r--lib/CodeGen/LazyMachineBlockFrequencyInfo.cpp97
-rw-r--r--lib/CodeGen/LexicalScopes.cpp41
-rw-r--r--lib/CodeGen/LiveDebugValues.cpp168
-rw-r--r--lib/CodeGen/LiveDebugVariables.cpp4
-rw-r--r--lib/CodeGen/LiveInterval.cpp33
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp162
-rw-r--r--lib/CodeGen/LiveIntervalUnion.cpp41
-rw-r--r--lib/CodeGen/LivePhysRegs.cpp12
-rw-r--r--lib/CodeGen/LiveRangeCalc.cpp41
-rw-r--r--lib/CodeGen/LiveRangeEdit.cpp13
-rw-r--r--lib/CodeGen/LiveRegMatrix.cpp27
-rw-r--r--lib/CodeGen/LiveRegUnits.cpp126
-rw-r--r--lib/CodeGen/LiveVariables.cpp4
-rw-r--r--lib/CodeGen/LowLevelType.cpp55
-rw-r--r--lib/CodeGen/MIRParser/MIParser.cpp151
-rw-r--r--lib/CodeGen/MIRParser/MIParser.h9
-rw-r--r--lib/CodeGen/MIRParser/MIRParser.cpp52
-rw-r--r--lib/CodeGen/MIRPrinter.cpp53
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp57
-rw-r--r--lib/CodeGen/MachineBlockFrequencyInfo.cpp85
-rw-r--r--lib/CodeGen/MachineBlockPlacement.cpp1047
-rw-r--r--lib/CodeGen/MachineCombiner.cpp48
-rw-r--r--lib/CodeGen/MachineCopyPropagation.cpp12
-rw-r--r--lib/CodeGen/MachineDominators.cpp28
-rw-r--r--lib/CodeGen/MachineFunction.cpp7
-rw-r--r--lib/CodeGen/MachineInstr.cpp104
-rw-r--r--lib/CodeGen/MachineLoopInfo.cpp16
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp4
-rw-r--r--lib/CodeGen/MachineModuleInfoImpls.cpp1
-rw-r--r--lib/CodeGen/MachineOptimizationRemarkEmitter.cpp100
-rw-r--r--lib/CodeGen/MachineOutliner.cpp1251
-rw-r--r--lib/CodeGen/MachinePipeliner.cpp25
-rw-r--r--lib/CodeGen/MachineRegionInfo.cpp22
-rw-r--r--lib/CodeGen/MachineRegisterInfo.cpp76
-rw-r--r--lib/CodeGen/MachineScheduler.cpp256
-rw-r--r--lib/CodeGen/MachineTraceMetrics.cpp66
-rw-r--r--lib/CodeGen/MachineVerifier.cpp33
-rw-r--r--lib/CodeGen/PatchableFunction.cpp2
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp2
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp19
-rw-r--r--lib/CodeGen/PseudoSourceValue.cpp5
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp2
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp92
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp60
-rw-r--r--lib/CodeGen/RegUsageInfoCollector.cpp24
-rw-r--r--lib/CodeGen/RegisterClassInfo.cpp50
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp289
-rw-r--r--lib/CodeGen/RegisterPressure.cpp57
-rw-r--r--lib/CodeGen/RegisterScavenging.cpp81
-rw-r--r--lib/CodeGen/ResetMachineFunctionPass.cpp15
-rw-r--r--lib/CodeGen/SafeStack.cpp2
-rw-r--r--lib/CodeGen/SafeStackColoring.cpp2
-rw-r--r--lib/CodeGen/ScheduleDAG.cpp442
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp209
-rw-r--r--lib/CodeGen/ScoreboardHazardRecognizer.cpp9
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2429
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp101
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.cpp1
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp120
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp10
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp41
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp24
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.h15
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp29
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp25
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp308
-rw-r--r--lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp15
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp42
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp10
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp561
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp996
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h87
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp20
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp613
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp172
-rw-r--r--lib/CodeGen/SjLjEHPrepare.cpp30
-rw-r--r--lib/CodeGen/SlotIndexes.cpp42
-rw-r--r--lib/CodeGen/SplitKit.cpp136
-rw-r--r--lib/CodeGen/SplitKit.h11
-rw-r--r--lib/CodeGen/StackColoring.cpp28
-rw-r--r--lib/CodeGen/StackMaps.cpp24
-rw-r--r--lib/CodeGen/StackProtector.cpp58
-rw-r--r--lib/CodeGen/TailDuplicator.cpp3
-rw-r--r--lib/CodeGen/TargetFrameLoweringImpl.cpp2
-rw-r--r--lib/CodeGen/TargetInstrInfo.cpp10
-rw-r--r--lib/CodeGen/TargetLoweringBase.cpp32
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp229
-rw-r--r--lib/CodeGen/TargetOptionsImpl.cpp8
-rw-r--r--lib/CodeGen/TargetPassConfig.cpp28
-rw-r--r--lib/CodeGen/TargetRegisterInfo.cpp16
-rw-r--r--lib/CodeGen/TargetSchedule.cpp110
-rw-r--r--lib/CodeGen/TargetSubtargetInfo.cpp46
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp4
-rw-r--r--lib/CodeGen/VirtRegMap.cpp49
-rw-r--r--lib/CodeGen/WinEHPrepare.cpp6
-rw-r--r--lib/CodeGen/XRayInstrumentation.cpp7
-rw-r--r--lib/DebugInfo/CodeView/CMakeLists.txt3
-rw-r--r--lib/DebugInfo/CodeView/CVSymbolVisitor.cpp11
-rw-r--r--lib/DebugInfo/CodeView/CVTypeDumper.cpp10
-rw-r--r--lib/DebugInfo/CodeView/CVTypeVisitor.cpp77
-rw-r--r--lib/DebugInfo/CodeView/CodeViewError.cpp2
-rw-r--r--lib/DebugInfo/CodeView/CodeViewRecordIO.cpp36
-rw-r--r--lib/DebugInfo/CodeView/Formatters.cpp37
-rw-r--r--lib/DebugInfo/CodeView/ModuleSubstream.cpp12
-rw-r--r--lib/DebugInfo/CodeView/ModuleSubstreamVisitor.cpp36
-rw-r--r--lib/DebugInfo/CodeView/RecordSerialization.cpp22
-rw-r--r--lib/DebugInfo/CodeView/SymbolDumper.cpp4
-rw-r--r--lib/DebugInfo/CodeView/SymbolSerializer.cpp52
-rw-r--r--lib/DebugInfo/CodeView/TypeDatabase.cpp6
-rw-r--r--lib/DebugInfo/CodeView/TypeDatabaseVisitor.cpp20
-rw-r--r--lib/DebugInfo/CodeView/TypeDumpVisitor.cpp46
-rw-r--r--lib/DebugInfo/CodeView/TypeRecord.cpp213
-rw-r--r--lib/DebugInfo/CodeView/TypeRecordMapping.cpp26
-rw-r--r--lib/DebugInfo/CodeView/TypeSerializer.cpp13
-rw-r--r--lib/DebugInfo/CodeView/TypeStreamMerger.cpp416
-rw-r--r--lib/DebugInfo/DWARF/DWARFAbbreviationDeclaration.cpp9
-rw-r--r--lib/DebugInfo/DWARF/DWARFAcceleratorTable.cpp14
-rw-r--r--lib/DebugInfo/DWARF/DWARFCompileUnit.cpp6
-rw-r--r--lib/DebugInfo/DWARF/DWARFContext.cpp296
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugAbbrev.cpp6
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugArangeSet.cpp7
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugAranges.cpp10
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugFrame.cpp23
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp18
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLine.cpp11
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLoc.cpp14
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugMacro.cpp6
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugPubTable.cpp10
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugRangeList.cpp5
-rw-r--r--lib/DebugInfo/DWARF/DWARFDie.cpp196
-rw-r--r--lib/DebugInfo/DWARF/DWARFFormValue.cpp63
-rw-r--r--lib/DebugInfo/DWARF/DWARFGdbIndex.cpp12
-rw-r--r--lib/DebugInfo/DWARF/DWARFTypeUnit.cpp21
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnit.cpp59
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnitIndex.cpp14
-rw-r--r--lib/DebugInfo/DWARF/SyntaxHighlighting.cpp18
-rw-r--r--lib/DebugInfo/DWARF/SyntaxHighlighting.h25
-rw-r--r--lib/DebugInfo/MSF/CMakeLists.txt2
-rw-r--r--lib/DebugInfo/MSF/MappedBlockStream.cpp74
-rw-r--r--lib/DebugInfo/MSF/StreamReader.cpp156
-rw-r--r--lib/DebugInfo/MSF/StreamWriter.cpp98
-rw-r--r--lib/DebugInfo/PDB/CMakeLists.txt56
-rw-r--r--lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp23
-rw-r--r--lib/DebugInfo/PDB/Native/DbiStream.cpp424
-rw-r--r--lib/DebugInfo/PDB/Native/DbiStreamBuilder.cpp393
-rw-r--r--lib/DebugInfo/PDB/Native/EnumTables.cpp38
-rw-r--r--lib/DebugInfo/PDB/Native/GSI.cpp93
-rw-r--r--lib/DebugInfo/PDB/Native/GSI.h68
-rw-r--r--lib/DebugInfo/PDB/Native/GlobalsStream.cpp42
-rw-r--r--lib/DebugInfo/PDB/Native/Hash.cpp86
-rw-r--r--lib/DebugInfo/PDB/Native/HashTable.cpp302
-rw-r--r--lib/DebugInfo/PDB/Native/InfoStream.cpp126
-rw-r--r--lib/DebugInfo/PDB/Native/InfoStreamBuilder.cpp74
-rw-r--r--lib/DebugInfo/PDB/Native/ModInfo.cpp80
-rw-r--r--lib/DebugInfo/PDB/Native/ModInfoBuilder.cpp136
-rw-r--r--lib/DebugInfo/PDB/Native/ModStream.cpp85
-rw-r--r--lib/DebugInfo/PDB/Native/NamedStreamMap.cpp135
-rw-r--r--lib/DebugInfo/PDB/Native/NativeCompilandSymbol.cpp43
-rw-r--r--lib/DebugInfo/PDB/Native/NativeEnumModules.cpp52
-rw-r--r--lib/DebugInfo/PDB/Native/NativeExeSymbol.cpp79
-rw-r--r--lib/DebugInfo/PDB/Native/NativeRawSymbol.cpp706
-rw-r--r--lib/DebugInfo/PDB/Native/NativeSession.cpp146
-rw-r--r--lib/DebugInfo/PDB/Native/PDBFile.cpp410
-rw-r--r--lib/DebugInfo/PDB/Native/PDBFileBuilder.cpp178
-rw-r--r--lib/DebugInfo/PDB/Native/PDBTypeServerHandler.cpp119
-rw-r--r--lib/DebugInfo/PDB/Native/PublicsStream.cpp131
-rw-r--r--lib/DebugInfo/PDB/Native/RawError.cpp75
-rw-r--r--lib/DebugInfo/PDB/Native/StringTable.cpp109
-rw-r--r--lib/DebugInfo/PDB/Native/StringTableBuilder.cpp102
-rw-r--r--lib/DebugInfo/PDB/Native/SymbolStream.cpp45
-rw-r--r--lib/DebugInfo/PDB/Native/TpiHashing.cpp110
-rw-r--r--lib/DebugInfo/PDB/Native/TpiStream.cpp174
-rw-r--r--lib/DebugInfo/PDB/Native/TpiStreamBuilder.cpp177
-rw-r--r--lib/DebugInfo/PDB/PDB.cpp10
-rw-r--r--lib/DebugInfo/PDB/PDBExtras.cpp26
-rw-r--r--lib/DebugInfo/PDB/PDBSymbol.cpp36
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolBlock.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompiland.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCustom.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolData.cpp6
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolExe.cpp15
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFunc.cpp21
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolLabel.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolThunk.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp10
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp11
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp17
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp10
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp12
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp4
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp4
-rw-r--r--lib/DebugInfo/PDB/Raw/DbiStream.cpp426
-rw-r--r--lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp412
-rw-r--r--lib/DebugInfo/PDB/Raw/EnumTables.cpp38
-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.cpp86
-rw-r--r--lib/DebugInfo/PDB/Raw/InfoStream.cpp77
-rw-r--r--lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp65
-rw-r--r--lib/DebugInfo/PDB/Raw/ModInfo.cpp81
-rw-r--r--lib/DebugInfo/PDB/Raw/ModStream.cpp85
-rw-r--r--lib/DebugInfo/PDB/Raw/NameHashTable.cpp104
-rw-r--r--lib/DebugInfo/PDB/Raw/NameMap.cpp163
-rw-r--r--lib/DebugInfo/PDB/Raw/NameMapBuilder.cpp108
-rw-r--r--lib/DebugInfo/PDB/Raw/PDBFile.cpp391
-rw-r--r--lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp148
-rw-r--r--lib/DebugInfo/PDB/Raw/PublicsStream.cpp131
-rw-r--r--lib/DebugInfo/PDB/Raw/RawError.cpp73
-rw-r--r--lib/DebugInfo/PDB/Raw/RawSession.cpp136
-rw-r--r--lib/DebugInfo/PDB/Raw/SymbolStream.cpp46
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiHashing.cpp110
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiStream.cpp177
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiStreamBuilder.cpp145
-rw-r--r--lib/DebugInfo/PDB/UDTLayout.cpp335
-rw-r--r--lib/DebugInfo/Symbolize/DIPrinter.cpp14
-rw-r--r--lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp35
-rw-r--r--lib/DebugInfo/Symbolize/SymbolizableObjectFile.h20
-rw-r--r--lib/Demangle/ItaniumDemangle.cpp84
-rw-r--r--lib/ExecutionEngine/ExecutionEngine.cpp18
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp2
-rw-r--r--lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt2
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp6
-rw-r--r--lib/ExecutionEngine/Orc/CMakeLists.txt1
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.h4
-rw-r--r--lib/ExecutionEngine/Orc/OrcError.cpp15
-rw-r--r--lib/ExecutionEngine/Orc/OrcMCJITReplacement.h8
-rw-r--r--lib/ExecutionEngine/Orc/RPCUtils.cpp55
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp30
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp211
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h21
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h13
-rw-r--r--lib/Fuzzer/CMakeLists.txt9
-rw-r--r--lib/Fuzzer/FuzzerCorpus.h26
-rw-r--r--lib/Fuzzer/FuzzerDefs.h33
-rw-r--r--lib/Fuzzer/FuzzerDictionary.h7
-rw-r--r--lib/Fuzzer/FuzzerDriver.cpp195
-rw-r--r--lib/Fuzzer/FuzzerExtFunctions.def10
-rw-r--r--lib/Fuzzer/FuzzerExtFunctionsDlsymWin.cpp60
-rw-r--r--lib/Fuzzer/FuzzerExtraCounters.cpp41
-rw-r--r--lib/Fuzzer/FuzzerFlags.def15
-rw-r--r--lib/Fuzzer/FuzzerIO.cpp7
-rw-r--r--lib/Fuzzer/FuzzerIO.h9
-rw-r--r--lib/Fuzzer/FuzzerIOPosix.cpp29
-rw-r--r--lib/Fuzzer/FuzzerIOWindows.cpp45
-rw-r--r--lib/Fuzzer/FuzzerInterface.h2
-rw-r--r--lib/Fuzzer/FuzzerInternal.h41
-rw-r--r--lib/Fuzzer/FuzzerLoop.cpp243
-rw-r--r--lib/Fuzzer/FuzzerMerge.cpp87
-rw-r--r--lib/Fuzzer/FuzzerMerge.h12
-rw-r--r--lib/Fuzzer/FuzzerMutate.cpp88
-rw-r--r--lib/Fuzzer/FuzzerMutate.h13
-rw-r--r--lib/Fuzzer/FuzzerOptions.h2
-rw-r--r--lib/Fuzzer/FuzzerRandom.h10
-rw-r--r--lib/Fuzzer/FuzzerShmem.h69
-rw-r--r--lib/Fuzzer/FuzzerShmemPosix.cpp103
-rw-r--r--lib/Fuzzer/FuzzerShmemWindows.cpp64
-rw-r--r--lib/Fuzzer/FuzzerTracePC.cpp246
-rw-r--r--lib/Fuzzer/FuzzerTracePC.h115
-rw-r--r--lib/Fuzzer/FuzzerTraceState.cpp175
-rw-r--r--lib/Fuzzer/FuzzerUtil.h4
-rw-r--r--lib/Fuzzer/FuzzerUtilPosix.cpp8
-rw-r--r--lib/Fuzzer/FuzzerUtilWindows.cpp18
-rw-r--r--lib/Fuzzer/FuzzerValueBitMap.h21
-rw-r--r--lib/Fuzzer/afl/afl_driver.cpp7
-rwxr-xr-xlib/Fuzzer/build.sh3
-rw-r--r--lib/Fuzzer/test/AbsNegAndConstant64Test.cpp2
-rw-r--r--lib/Fuzzer/test/BadStrcmpTest.cpp19
-rw-r--r--lib/Fuzzer/test/BogusInitializeTest.cpp15
-rw-r--r--lib/Fuzzer/test/CMakeLists.txt107
-rw-r--r--lib/Fuzzer/test/CustomCrossOverAndMutateTest.cpp34
-rw-r--r--lib/Fuzzer/test/CxxStringEqTest.cpp25
-rw-r--r--lib/Fuzzer/test/DSO1.cpp4
-rw-r--r--lib/Fuzzer/test/DSO2.cpp4
-rw-r--r--lib/Fuzzer/test/EquivalenceATest.cpp17
-rw-r--r--lib/Fuzzer/test/EquivalenceBTest.cpp27
-rw-r--r--lib/Fuzzer/test/FuzzerUnittest.cpp43
-rw-r--r--lib/Fuzzer/test/LargeTest.cpp37
-rw-r--r--lib/Fuzzer/test/LoadTest.cpp2
-rw-r--r--lib/Fuzzer/test/Memcmp64BytesTest.cpp20
-rw-r--r--lib/Fuzzer/test/NotinstrumentedTest.cpp (renamed from lib/Fuzzer/test/UninstrumentedTest.cpp)0
-rw-r--r--lib/Fuzzer/test/OutOfMemorySingleLargeMallocTest.cpp2
-rw-r--r--lib/Fuzzer/test/RepeatedMemcmp.cpp17
-rw-r--r--lib/Fuzzer/test/SimpleCmpTest.cpp9
-rw-r--r--lib/Fuzzer/test/SingleByteInputTest.cpp17
-rw-r--r--lib/Fuzzer/test/SingleStrcmpTest.cpp12
-rw-r--r--lib/Fuzzer/test/SingleStrncmpTest.cpp3
-rw-r--r--lib/Fuzzer/test/SwapCmpTest.cpp3
-rw-r--r--lib/Fuzzer/test/TableLookupTest.cpp45
-rw-r--r--lib/Fuzzer/test/TwoDifferentBugsTest.cpp22
-rw-r--r--lib/Fuzzer/test/afl-driver-extra-stats.test2
-rw-r--r--lib/Fuzzer/test/afl-driver-stderr.test2
-rw-r--r--lib/Fuzzer/test/bad-strcmp.test1
-rw-r--r--lib/Fuzzer/test/coverage.test4
-rw-r--r--lib/Fuzzer/test/cxxstring.test2
-rw-r--r--lib/Fuzzer/test/disable-leaks.test4
-rw-r--r--lib/Fuzzer/test/dump_coverage.test26
-rw-r--r--lib/Fuzzer/test/equivalence-signals.test9
-rw-r--r--lib/Fuzzer/test/equivalence.test8
-rw-r--r--lib/Fuzzer/test/extra-counters.test6
-rw-r--r--lib/Fuzzer/test/fuzzer-customcrossover.test2
-rw-r--r--lib/Fuzzer/test/fuzzer-customcrossoverandmutate.test1
-rw-r--r--lib/Fuzzer/test/fuzzer-dirs.test4
-rw-r--r--lib/Fuzzer/test/fuzzer-jobs.test29
-rw-r--r--lib/Fuzzer/test/fuzzer-leak.test2
-rw-r--r--lib/Fuzzer/test/fuzzer-oom.test6
-rw-r--r--lib/Fuzzer/test/fuzzer-segv.test2
-rw-r--r--lib/Fuzzer/test/fuzzer-singleinputs.test2
-rw-r--r--lib/Fuzzer/test/fuzzer-traces-hooks.test26
-rw-r--r--lib/Fuzzer/test/fuzzer.test9
-rw-r--r--lib/Fuzzer/test/lit.cfg26
-rw-r--r--lib/Fuzzer/test/lit.site.cfg.in1
-rw-r--r--lib/Fuzzer/test/merge-posix.test23
-rw-r--r--lib/Fuzzer/test/merge-summary.test15
-rw-r--r--lib/Fuzzer/test/merge.test27
-rw-r--r--lib/Fuzzer/test/minimize_crash.test9
-rw-r--r--lib/Fuzzer/test/minimize_two_crashes.test16
-rw-r--r--lib/Fuzzer/test/no-coverage/CMakeLists.txt20
-rw-r--r--lib/Fuzzer/test/trace-malloc-2.test8
-rw-r--r--lib/Fuzzer/test/trace-malloc.test5
-rw-r--r--lib/Fuzzer/test/trace-pc.test2
-rw-r--r--lib/Fuzzer/test/trace-pc/CMakeLists.txt13
-rw-r--r--lib/Fuzzer/test/ubsan/CMakeLists.txt3
-rw-r--r--lib/Fuzzer/test/ulimit.test2
-rw-r--r--lib/Fuzzer/test/uninstrumented/CMakeLists.txt3
-rw-r--r--lib/Fuzzer/test/value-profile-div.test2
-rw-r--r--lib/Fuzzer/test/value-profile-mem.test2
-rw-r--r--lib/Fuzzer/test/value-profile-strcmp.test2
-rw-r--r--lib/Fuzzer/test/value-profile-strncmp.test2
-rw-r--r--lib/IR/AsmWriter.cpp89
-rw-r--r--lib/IR/AttributeImpl.h147
-rw-r--r--lib/IR/AttributeSetNode.h106
-rw-r--r--lib/IR/Attributes.cpp750
-rw-r--r--lib/IR/AutoUpgrade.cpp867
-rw-r--r--lib/IR/BasicBlock.cpp62
-rw-r--r--lib/IR/Comdat.cpp8
-rw-r--r--lib/IR/ConstantFold.cpp25
-rw-r--r--lib/IR/ConstantRange.cpp40
-rw-r--r--lib/IR/Constants.cpp2
-rw-r--r--lib/IR/Core.cpp68
-rw-r--r--lib/IR/DIBuilder.cpp55
-rw-r--r--lib/IR/DataLayout.cpp119
-rw-r--r--lib/IR/DebugInfo.cpp88
-rw-r--r--lib/IR/DebugInfoMetadata.cpp32
-rw-r--r--lib/IR/DebugLoc.cpp4
-rw-r--r--lib/IR/DiagnosticInfo.cpp186
-rw-r--r--lib/IR/Dominators.cpp13
-rw-r--r--lib/IR/Function.cpp225
-rw-r--r--lib/IR/GCOV.cpp54
-rw-r--r--lib/IR/Globals.cpp20
-rw-r--r--lib/IR/IRBuilder.cpp14
-rw-r--r--lib/IR/IRPrintingPasses.cpp6
-rw-r--r--lib/IR/InlineAsm.cpp49
-rw-r--r--lib/IR/Instruction.cpp122
-rw-r--r--lib/IR/Instructions.cpp127
-rw-r--r--lib/IR/IntrinsicInst.cpp32
-rw-r--r--lib/IR/LLVMContext.cpp1
-rw-r--r--lib/IR/LLVMContextImpl.cpp7
-rw-r--r--lib/IR/LLVMContextImpl.h30
-rw-r--r--lib/IR/MDBuilder.cpp13
-rw-r--r--lib/IR/Mangler.cpp32
-rw-r--r--lib/IR/Metadata.cpp73
-rw-r--r--lib/IR/Module.cpp60
-rw-r--r--lib/IR/Operator.cpp14
-rw-r--r--lib/IR/OptBisect.cpp18
-rw-r--r--lib/IR/Pass.cpp2
-rw-r--r--lib/IR/PassManager.cpp2
-rw-r--r--lib/IR/Statepoint.cpp7
-rw-r--r--lib/IR/Type.cpp6
-rw-r--r--lib/IR/TypeFinder.cpp13
-rw-r--r--lib/IR/Value.cpp47
-rw-r--r--lib/IR/ValueSymbolTable.cpp13
-rw-r--r--lib/IR/Verifier.cpp532
-rw-r--r--lib/LTO/CMakeLists.txt51
-rw-r--r--lib/LTO/Caching.cpp82
-rw-r--r--lib/LTO/LTO.cpp424
-rw-r--r--lib/LTO/LTOBackend.cpp117
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp32
-rw-r--r--lib/LTO/LTOModule.cpp11
-rw-r--r--lib/LTO/ThinLTOCodeGenerator.cpp59
-rw-r--r--lib/LTO/UpdateCompilerUsed.cpp2
-rw-r--r--lib/LibDriver/LibDriver.cpp2
-rw-r--r--lib/Linker/IRMover.cpp24
-rw-r--r--lib/Linker/LinkModules.cpp105
-rw-r--r--lib/MC/CMakeLists.txt5
-rw-r--r--lib/MC/ConstantPools.cpp7
-rw-r--r--lib/MC/ELFObjectWriter.cpp113
-rw-r--r--lib/MC/MCAsmBackend.cpp13
-rw-r--r--lib/MC/MCAsmInfo.cpp60
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp17
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp7
-rw-r--r--lib/MC/MCAsmInfoELF.cpp6
-rw-r--r--lib/MC/MCAsmInfoWasm.cpp27
-rw-r--r--lib/MC/MCAsmStreamer.cpp45
-rw-r--r--lib/MC/MCAssembler.cpp54
-rw-r--r--lib/MC/MCCodeEmitter.cpp8
-rw-r--r--lib/MC/MCContext.cpp204
-rw-r--r--lib/MC/MCDisassembler/MCDisassembler.cpp7
-rw-r--r--lib/MC/MCDisassembler/MCRelocationInfo.cpp11
-rw-r--r--lib/MC/MCDisassembler/MCSymbolizer.cpp5
-rw-r--r--lib/MC/MCDwarf.cpp60
-rw-r--r--lib/MC/MCELFObjectTargetWriter.cpp3
-rw-r--r--lib/MC/MCELFStreamer.cpp88
-rw-r--r--lib/MC/MCExpr.cpp37
-rw-r--r--lib/MC/MCFragment.cpp40
-rw-r--r--lib/MC/MCInst.cpp5
-rw-r--r--lib/MC/MCInstPrinter.cpp13
-rw-r--r--lib/MC/MCInstrAnalysis.cpp7
-rw-r--r--lib/MC/MCLabel.cpp6
-rw-r--r--lib/MC/MCLinkerOptimizationHint.cpp10
-rw-r--r--lib/MC/MCMachOStreamer.cpp48
-rw-r--r--lib/MC/MCMachObjectTargetWriter.cpp4
-rw-r--r--lib/MC/MCNullStreamer.cpp4
-rw-r--r--lib/MC/MCObjectFileInfo.cpp101
-rw-r--r--lib/MC/MCObjectStreamer.cpp29
-rw-r--r--lib/MC/MCObjectWriter.cpp6
-rw-r--r--lib/MC/MCParser/AsmLexer.cpp10
-rw-r--r--lib/MC/MCParser/AsmParser.cpp95
-rw-r--r--lib/MC/MCParser/COFFAsmParser.cpp32
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp66
-rw-r--r--lib/MC/MCParser/ELFAsmParser.cpp233
-rw-r--r--lib/MC/MCParser/MCAsmLexer.cpp12
-rw-r--r--lib/MC/MCParser/MCAsmParser.cpp23
-rw-r--r--lib/MC/MCParser/MCAsmParserExtension.cpp10
-rw-r--r--lib/MC/MCParser/MCTargetAsmParser.cpp13
-rw-r--r--lib/MC/MCRegisterInfo.cpp9
-rw-r--r--lib/MC/MCSection.cpp22
-rw-r--r--lib/MC/MCSectionCOFF.cpp11
-rw-r--r--lib/MC/MCSectionELF.cpp45
-rw-r--r--lib/MC/MCSectionMachO.cpp84
-rw-r--r--lib/MC/MCSectionWasm.cpp97
-rw-r--r--lib/MC/MCStreamer.cpp51
-rw-r--r--lib/MC/MCSubtargetInfo.cpp9
-rw-r--r--lib/MC/MCSymbol.cpp14
-rw-r--r--lib/MC/MCSymbolELF.cpp4
-rw-r--r--lib/MC/MCTargetOptions.cpp15
-rw-r--r--lib/MC/MCValue.cpp2
-rw-r--r--lib/MC/MCWasmObjectTargetWriter.cpp27
-rw-r--r--lib/MC/MCWasmStreamer.cpp216
-rw-r--r--lib/MC/MachObjectWriter.cpp17
-rw-r--r--lib/MC/StringTableBuilder.cpp18
-rw-r--r--lib/MC/SubtargetFeature.cpp117
-rw-r--r--lib/MC/WasmObjectWriter.cpp1149
-rw-r--r--lib/MC/WinCOFFObjectWriter.cpp759
-rw-r--r--lib/MC/WinCOFFStreamer.cpp31
-rw-r--r--lib/Object/ArchiveWriter.cpp73
-rw-r--r--lib/Object/CMakeLists.txt1
-rw-r--r--lib/Object/Decompressor.cpp5
-rw-r--r--lib/Object/ELFObjectFile.cpp262
-rw-r--r--lib/Object/IRSymtab.cpp231
-rw-r--r--lib/Object/MachOObjectFile.cpp856
-rw-r--r--lib/Object/ModuleSummaryIndexObjectFile.cpp9
-rw-r--r--lib/Object/ModuleSymbolTable.cpp97
-rw-r--r--lib/Object/RecordStreamer.cpp11
-rw-r--r--lib/Object/RecordStreamer.h23
-rw-r--r--lib/Object/WasmObjectFile.cpp664
-rw-r--r--lib/ObjectYAML/CMakeLists.txt7
-rw-r--r--lib/ObjectYAML/DWARFEmitter.cpp321
-rw-r--r--lib/ObjectYAML/DWARFVisitor.cpp178
-rw-r--r--lib/ObjectYAML/DWARFVisitor.h97
-rw-r--r--lib/ObjectYAML/DWARFYAML.cpp15
-rw-r--r--lib/ObjectYAML/ELFYAML.cpp834
-rw-r--r--lib/ObjectYAML/MachOYAML.cpp29
-rw-r--r--lib/ObjectYAML/ObjectYAML.cpp3
-rw-r--r--lib/ObjectYAML/WasmYAML.cpp357
-rw-r--r--lib/Option/Arg.cpp2
-rw-r--r--lib/Option/ArgList.cpp228
-rw-r--r--lib/Option/Option.cpp2
-rw-r--r--lib/Passes/PassBuilder.cpp344
-rw-r--r--lib/Passes/PassRegistry.def8
-rw-r--r--lib/ProfileData/Coverage/CoverageMapping.cpp55
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingReader.cpp74
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingWriter.cpp35
-rw-r--r--lib/ProfileData/InstrProf.cpp174
-rw-r--r--lib/ProfileData/InstrProfReader.cpp49
-rw-r--r--lib/ProfileData/InstrProfWriter.cpp42
-rw-r--r--lib/ProfileData/SampleProf.cpp34
-rw-r--r--lib/ProfileData/SampleProfReader.cpp31
-rw-r--r--lib/ProfileData/SampleProfWriter.cpp70
-rw-r--r--lib/Support/APFloat.cpp622
-rw-r--r--lib/Support/APInt.cpp938
-rw-r--r--lib/Support/ARMAttributeParser.cpp708
-rw-r--r--lib/Support/BinaryStreamError.cpp56
-rw-r--r--lib/Support/BinaryStreamReader.cpp95
-rw-r--r--lib/Support/BinaryStreamWriter.cpp68
-rw-r--r--lib/Support/BranchProbability.cpp2
-rw-r--r--lib/Support/CMakeLists.txt13
-rw-r--r--lib/Support/CachePruning.cpp97
-rw-r--r--lib/Support/Chrono.cpp7
-rw-r--r--lib/Support/CommandLine.cpp66
-rw-r--r--lib/Support/Compression.cpp83
-rw-r--r--lib/Support/DebugCounter.cpp108
-rw-r--r--lib/Support/Dwarf.cpp11
-rw-r--r--lib/Support/DynamicLibrary.cpp21
-rw-r--r--lib/Support/FileOutputBuffer.cpp2
-rw-r--r--lib/Support/Host.cpp447
-rw-r--r--lib/Support/LockFileManager.cpp6
-rw-r--r--lib/Support/LowLevelType.cpp47
-rw-r--r--lib/Support/MD5.cpp25
-rw-r--r--lib/Support/ManagedStatic.cpp2
-rw-r--r--lib/Support/MemoryBuffer.cpp34
-rw-r--r--lib/Support/Path.cpp485
-rw-r--r--lib/Support/RWMutex.cpp19
-rw-r--r--lib/Support/Signals.cpp1
-rw-r--r--lib/Support/SourceMgr.cpp27
-rw-r--r--lib/Support/StringRef.cpp13
-rw-r--r--lib/Support/TargetParser.cpp4
-rw-r--r--lib/Support/Threading.cpp123
-rw-r--r--lib/Support/Timer.cpp19
-rw-r--r--lib/Support/Triple.cpp5
-rw-r--r--lib/Support/Twine.cpp4
-rw-r--r--lib/Support/Unix/Path.inc273
-rw-r--r--lib/Support/Unix/Signals.inc18
-rw-r--r--lib/Support/Unix/Threading.inc215
-rw-r--r--lib/Support/Windows/DynamicLibrary.inc34
-rw-r--r--lib/Support/Windows/Mutex.inc11
-rw-r--r--lib/Support/Windows/Path.inc306
-rw-r--r--lib/Support/Windows/Process.inc1
-rw-r--r--lib/Support/Windows/Program.inc1
-rw-r--r--lib/Support/Windows/RWMutex.inc13
-rw-r--r--lib/Support/Windows/Signals.inc2
-rw-r--r--lib/Support/Windows/ThreadLocal.inc11
-rw-r--r--lib/Support/Windows/Threading.inc109
-rw-r--r--lib/Support/YAMLTraits.cpp17
-rw-r--r--lib/Support/raw_ostream.cpp10
-rw-r--r--lib/TableGen/Record.cpp10
-rw-r--r--lib/TableGen/TGParser.cpp4
-rw-r--r--lib/Target/AArch64/AArch64.h6
-rw-r--r--lib/Target/AArch64/AArch64.td116
-rw-r--r--lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp49
-rw-r--r--lib/Target/AArch64/AArch64AddressTypePromotion.cpp23
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.cpp182
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.h27
-rw-r--r--lib/Target/AArch64/AArch64ConditionOptimizer.cpp8
-rw-r--r--lib/Target/AArch64/AArch64ConditionalCompares.cpp11
-rw-r--r--lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp65
-rw-r--r--lib/Target/AArch64/AArch64FastISel.cpp102
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.cpp45
-rw-r--r--lib/Target/AArch64/AArch64GenRegisterBankInfo.def419
-rw-r--r--lib/Target/AArch64/AArch64ISelDAGToDAG.cpp47
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.cpp338
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.h21
-rw-r--r--lib/Target/AArch64/AArch64InstrFormats.td69
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.cpp391
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.h39
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.td49
-rw-r--r--lib/Target/AArch64/AArch64InstructionSelector.cpp337
-rw-r--r--lib/Target/AArch64/AArch64InstructionSelector.h49
-rw-r--r--lib/Target/AArch64/AArch64LegalizerInfo.cpp133
-rw-r--r--lib/Target/AArch64/AArch64LegalizerInfo.h7
-rw-r--r--lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp73
-rw-r--r--lib/Target/AArch64/AArch64MacroFusion.cpp272
-rw-r--r--lib/Target/AArch64/AArch64MacroFusion.h29
-rw-r--r--lib/Target/AArch64/AArch64RedundantCopyElimination.cpp358
-rw-r--r--lib/Target/AArch64/AArch64RegisterBankInfo.cpp213
-rw-r--r--lib/Target/AArch64/AArch64RegisterBankInfo.h77
-rw-r--r--lib/Target/AArch64/AArch64RegisterBanks.td20
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.cpp16
-rw-r--r--lib/Target/AArch64/AArch64SchedA53.td2
-rw-r--r--lib/Target/AArch64/AArch64SchedA57.td4
-rw-r--r--lib/Target/AArch64/AArch64SchedFalkor.td106
-rw-r--r--lib/Target/AArch64/AArch64SchedFalkorDetails.td523
-rw-r--r--lib/Target/AArch64/AArch64SchedFalkorWriteRes.td361
-rw-r--r--lib/Target/AArch64/AArch64SchedKryoDetails.td62
-rw-r--r--lib/Target/AArch64/AArch64SchedM1.td3
-rw-r--r--lib/Target/AArch64/AArch64SchedThunderX.td352
-rw-r--r--lib/Target/AArch64/AArch64SchedThunderX2T99.td852
-rw-r--r--lib/Target/AArch64/AArch64SchedVulcan.td852
-rw-r--r--lib/Target/AArch64/AArch64SelectionDAGInfo.cpp14
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.cpp22
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h33
-rw-r--r--lib/Target/AArch64/AArch64SystemOperands.td134
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.cpp36
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.h2
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.cpp56
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.h16
-rw-r--r--lib/Target/AArch64/AArch64VectorByElementOpt.cpp25
-rw-r--r--lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp475
-rw-r--r--lib/Target/AArch64/CMakeLists.txt2
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp281
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h10
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp92
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp23
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp11
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp30
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.h78
-rw-r--r--lib/Target/AMDGPU/AMDGPU.h95
-rw-r--r--lib/Target/AMDGPU/AMDGPU.td108
-rw-r--r--lib/Target/AMDGPU/AMDGPUAliasAnalysis.cpp147
-rw-r--r--lib/Target/AMDGPU/AMDGPUAliasAnalysis.h102
-rw-r--r--lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp14
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp52
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp6
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp212
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.h123
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.cpp134
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.h10
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallingConv.td30
-rw-r--r--lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp120
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.cpp36
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.h3
-rw-r--r--lib/Target/AMDGPU/AMDGPUGenRegisterBankInfo.def62
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp151
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.cpp446
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.h62
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.cpp3
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.td74
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructionSelector.cpp424
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructionSelector.h67
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructions.td138
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp13
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsics.td17
-rw-r--r--lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp62
-rw-r--r--lib/Target/AMDGPU/AMDGPULegalizerInfo.h30
-rw-r--r--lib/Target/AMDGPU/AMDGPULowerIntrinsics.cpp160
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.cpp33
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.cpp18
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.h14
-rw-r--r--lib/Target/AMDGPU/AMDGPUPTNote.h5
-rw-r--r--lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp135
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp230
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterBankInfo.h65
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterBanks.td16
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.h3
-rw-r--r--lib/Target/AMDGPU/AMDGPURuntimeMetadata.h193
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.cpp253
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.h293
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.cpp230
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.h14
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp4
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.h1
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp241
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h24
-rw-r--r--lib/Target/AMDGPU/AMDGPUUnifyDivergentExitNodes.cpp225
-rw-r--r--lib/Target/AMDGPU/AMDGPUUnifyMetadata.cpp27
-rw-r--r--lib/Target/AMDGPU/AMDILCFGStructurizer.cpp105
-rw-r--r--lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp856
-rw-r--r--lib/Target/AMDGPU/BUFInstructions.td10
-rw-r--r--lib/Target/AMDGPU/CMakeLists.txt15
-rw-r--r--lib/Target/AMDGPU/DSInstructions.td174
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp39
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h2
-rw-r--r--lib/Target/AMDGPU/EvergreenInstructions.td119
-rw-r--r--lib/Target/AMDGPU/FLATInstructions.td12
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.cpp109
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.h3
-rw-r--r--lib/Target/AMDGPU/GCNIterativeScheduler.cpp528
-rw-r--r--lib/Target/AMDGPU/GCNIterativeScheduler.h118
-rw-r--r--lib/Target/AMDGPU/GCNMinRegStrategy.cpp266
-rw-r--r--lib/Target/AMDGPU/GCNRegPressure.cpp355
-rw-r--r--lib/Target/AMDGPU/GCNRegPressure.h170
-rw-r--r--lib/Target/AMDGPU/GCNSchedStrategy.cpp344
-rw-r--r--lib/Target/AMDGPU/GCNSchedStrategy.h62
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp129
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h10
-rw-r--r--lib/Target/AMDGPU/LLVMBuild.txt2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp19
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUCodeObjectMetadata.h422
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUCodeObjectMetadataStreamer.cpp625
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUCodeObjectMetadataStreamer.h99
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp14
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h6
-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.cpp72
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h32
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt7
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp30
-rw-r--r--lib/Target/AMDGPU/MIMGInstructions.td100
-rw-r--r--lib/Target/AMDGPU/Processors.td7
-rw-r--r--lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp48
-rw-r--r--lib/Target/AMDGPU/R600EmitClauseMarkers.cpp49
-rw-r--r--lib/Target/AMDGPU/R600FrameLowering.cpp36
-rw-r--r--lib/Target/AMDGPU/R600FrameLowering.h2
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.cpp122
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.cpp64
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.h6
-rw-r--r--lib/Target/AMDGPU/R600Instructions.td10
-rw-r--r--lib/Target/AMDGPU/SIAnnotateControlFlow.cpp165
-rw-r--r--lib/Target/AMDGPU/SIDefines.h33
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRCopies.cpp35
-rw-r--r--lib/Target/AMDGPU/SIFixVGPRCopies.cpp72
-rw-r--r--lib/Target/AMDGPU/SIFoldOperands.cpp275
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.cpp138
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.h5
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.cpp1780
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.h44
-rw-r--r--lib/Target/AMDGPU/SIInsertSkips.cpp66
-rw-r--r--lib/Target/AMDGPU/SIInsertWaitcnts.cpp1863
-rw-r--r--lib/Target/AMDGPU/SIInsertWaits.cpp104
-rw-r--r--lib/Target/AMDGPU/SIInstrFormats.td19
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.cpp455
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.h86
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.td332
-rw-r--r--lib/Target/AMDGPU/SIInstructions.td294
-rw-r--r--lib/Target/AMDGPU/SIIntrinsics.td158
-rw-r--r--lib/Target/AMDGPU/SILoadStoreOptimizer.cpp376
-rw-r--r--lib/Target/AMDGPU/SILowerControlFlow.cpp67
-rw-r--r--lib/Target/AMDGPU/SILowerI1Copies.cpp24
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.cpp135
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.h56
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.cpp251
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.h44
-rw-r--r--lib/Target/AMDGPU/SIPeepholeSDWA.cpp713
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.cpp414
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.h106
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.td37
-rw-r--r--lib/Target/AMDGPU/SISchedule.td5
-rw-r--r--lib/Target/AMDGPU/SIShrinkInstructions.cpp8
-rw-r--r--lib/Target/AMDGPU/SMInstructions.td10
-rw-r--r--lib/Target/AMDGPU/SOPInstructions.td66
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp448
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h217
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTInfo.h2
-rw-r--r--lib/Target/AMDGPU/VOP1Instructions.td107
-rw-r--r--lib/Target/AMDGPU/VOP2Instructions.td40
-rw-r--r--lib/Target/AMDGPU/VOP3Instructions.td92
-rw-r--r--lib/Target/AMDGPU/VOP3PInstructions.td82
-rw-r--r--lib/Target/AMDGPU/VOPCInstructions.td8
-rw-r--r--lib/Target/AMDGPU/VOPInstructions.td80
-rw-r--r--lib/Target/ARM/A15SDOptimizer.cpp24
-rw-r--r--lib/Target/ARM/ARM.h13
-rw-r--r--lib/Target/ARM/ARM.td64
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp15
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp832
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h52
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp43
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h17
-rw-r--r--lib/Target/ARM/ARMBasicBlockInfo.h21
-rw-r--r--lib/Target/ARM/ARMCallLowering.cpp323
-rw-r--r--lib/Target/ARM/ARMCallLowering.h10
-rw-r--r--lib/Target/ARM/ARMComputeBlockSize.cpp10
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp175
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.cpp10
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h16
-rw-r--r--lib/Target/ARM/ARMExpandPseudoInsts.cpp255
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp172
-rw-r--r--lib/Target/ARM/ARMFeatures.h4
-rw-r--r--lib/Target/ARM/ARMFrameLowering.cpp471
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp278
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp1520
-rw-r--r--lib/Target/ARM/ARMISelLowering.h29
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td24
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp9
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td364
-rw-r--r--lib/Target/ARM/ARMInstrNEON.td11
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td141
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td562
-rw-r--r--lib/Target/ARM/ARMInstrVFP.td280
-rw-r--r--lib/Target/ARM/ARMInstructionSelector.cpp270
-rw-r--r--lib/Target/ARM/ARMInstructionSelector.h13
-rw-r--r--lib/Target/ARM/ARMLegalizerInfo.cpp40
-rw-r--r--lib/Target/ARM/ARMLegalizerInfo.h4
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp152
-rw-r--r--lib/Target/ARM/ARMMCInstLower.cpp26
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.cpp9
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.h69
-rw-r--r--lib/Target/ARM/ARMRegisterBankInfo.cpp208
-rw-r--r--lib/Target/ARM/ARMRegisterBankInfo.h13
-rw-r--r--lib/Target/ARM/ARMRegisterBanks.td14
-rw-r--r--lib/Target/ARM/ARMSchedule.td58
-rw-r--r--lib/Target/ARM/ARMScheduleA9.td43
-rw-r--r--lib/Target/ARM/ARMScheduleR52.td104
-rw-r--r--lib/Target/ARM/ARMScheduleSwift.td52
-rw-r--r--lib/Target/ARM/ARMSelectionDAGInfo.cpp39
-rw-r--r--lib/Target/ARM/ARMSubtarget.cpp37
-rw-r--r--lib/Target/ARM/ARMSubtarget.h108
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp101
-rw-r--r--lib/Target/ARM/ARMTargetMachine.h20
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.cpp11
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.h12
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.cpp20
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.h12
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp387
-rw-r--r--lib/Target/ARM/CMakeLists.txt1
-rw-r--r--lib/Target/ARM/Disassembler/ARMDisassembler.cpp139
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp9
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.h2
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp68
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h4
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h6
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp52
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp188
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp53
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp30
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp13
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp8
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.cpp21
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMUnwindOpAsm.h21
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMWinCOFFObjectWriter.cpp15
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.cpp141
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.cpp47
-rw-r--r--lib/Target/ARM/Thumb2ITBlockPass.cpp21
-rw-r--r--lib/Target/ARM/Thumb2InstrInfo.cpp71
-rw-r--r--lib/Target/ARM/Thumb2SizeReduction.cpp90
-rw-r--r--lib/Target/ARM/ThumbRegisterInfo.cpp48
-rw-r--r--lib/Target/AVR/AVRAsmPrinter.cpp3
-rw-r--r--lib/Target/AVR/AVRExpandPseudoInsts.cpp17
-rw-r--r--lib/Target/AVR/AVRISelLowering.cpp31
-rw-r--r--lib/Target/AVR/AVRInstrInfo.td4
-rw-r--r--lib/Target/AVR/AVRInstrumentFunctions.cpp2
-rw-r--r--lib/Target/AVR/AVRMCInstLower.cpp2
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRAsmBackend.cpp2
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRAsmBackend.h2
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp2
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp1
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.cpp1
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCCodeEmitter.h2
-rw-r--r--lib/Target/BPF/BPFISelDAGToDAG.cpp6
-rw-r--r--lib/Target/BPF/BPFISelLowering.cpp18
-rw-r--r--lib/Target/BPF/BPFInstrInfo.td1
-rw-r--r--lib/Target/BPF/BPFMCInstLower.cpp10
-rw-r--r--lib/Target/BPF/BPFMCInstLower.h1
-rw-r--r--lib/Target/BPF/BPFRegisterInfo.cpp28
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp6
-rw-r--r--lib/Target/CMakeLists.txt6
-rw-r--r--lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp367
-rw-r--r--lib/Target/Hexagon/BitTracker.cpp16
-rw-r--r--lib/Target/Hexagon/BitTracker.h3
-rw-r--r--lib/Target/Hexagon/CMakeLists.txt5
-rw-r--r--lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp1332
-rw-r--r--lib/Target/Hexagon/Hexagon.td40
-rw-r--r--lib/Target/Hexagon/HexagonAsmPrinter.cpp238
-rw-r--r--lib/Target/Hexagon/HexagonBitSimplify.cpp389
-rw-r--r--lib/Target/Hexagon/HexagonBitTracker.cpp16
-rw-r--r--lib/Target/Hexagon/HexagonBlockRanges.cpp77
-rw-r--r--lib/Target/Hexagon/HexagonCallingConv.td35
-rw-r--r--lib/Target/Hexagon/HexagonCommonGEP.cpp14
-rw-r--r--lib/Target/Hexagon/HexagonCopyToCombine.cpp28
-rw-r--r--lib/Target/Hexagon/HexagonDepArch.h10
-rw-r--r--lib/Target/Hexagon/HexagonDepArch.td19
-rw-r--r--lib/Target/Hexagon/HexagonDepDecoders.h64
-rw-r--r--lib/Target/Hexagon/HexagonDepITypes.h53
-rw-r--r--lib/Target/Hexagon/HexagonDepITypes.td48
-rw-r--r--lib/Target/Hexagon/HexagonDepInstrFormats.td4182
-rw-r--r--lib/Target/Hexagon/HexagonDepInstrInfo.td45573
-rw-r--r--lib/Target/Hexagon/HexagonDepMappings.td654
-rw-r--r--lib/Target/Hexagon/HexagonDepOperands.td132
-rw-r--r--lib/Target/Hexagon/HexagonEarlyIfConv.cpp205
-rw-r--r--lib/Target/Hexagon/HexagonExpandCondsets.cpp48
-rw-r--r--lib/Target/Hexagon/HexagonFixupHwLoops.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.cpp52
-rw-r--r--lib/Target/Hexagon/HexagonGenExtract.cpp11
-rw-r--r--lib/Target/Hexagon/HexagonGenInsert.cpp13
-rw-r--r--lib/Target/Hexagon/HexagonGenMux.cpp6
-rw-r--r--lib/Target/Hexagon/HexagonHardwareLoops.cpp26
-rw-r--r--lib/Target/Hexagon/HexagonIICHVX.td102
-rw-r--r--lib/Target/Hexagon/HexagonIICScalar.td164
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAG.cpp320
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.cpp170
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.h11
-rw-r--r--lib/Target/Hexagon/HexagonInstrAlias.td652
-rw-r--r--lib/Target/Hexagon/HexagonInstrEnc.td1019
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormats.td169
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV4.td22
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV60.td22
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.cpp225
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.h4
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.td4799
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV3.td215
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV4.td3301
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV5.td497
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV60.td2068
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoVector.td69
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsics.td19
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV60.td2
-rw-r--r--lib/Target/Hexagon/HexagonIsetDx.td728
-rw-r--r--lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp2338
-rw-r--r--lib/Target/Hexagon/HexagonMCInstLower.cpp7
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.cpp4
-rw-r--r--lib/Target/Hexagon/HexagonMapAsm2IntrinV62.gen.td204
-rw-r--r--lib/Target/Hexagon/HexagonNewValueJump.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonOperands.td319
-rw-r--r--lib/Target/Hexagon/HexagonOptAddrMode.cpp70
-rw-r--r--lib/Target/Hexagon/HexagonPatterns.td147
-rw-r--r--lib/Target/Hexagon/HexagonPseudo.td537
-rw-r--r--lib/Target/Hexagon/HexagonRDFOpt.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.cpp55
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.h3
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.td109
-rw-r--r--lib/Target/Hexagon/HexagonSchedule.td8
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV4.td12
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV55.td11
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV60.td13
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV62.td129
-rw-r--r--lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp11
-rw-r--r--lib/Target/Hexagon/HexagonSplitDouble.cpp7
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.cpp1
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.h7
-rw-r--r--lib/Target/Hexagon/HexagonSystemInst.td134
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.cpp28
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.h1
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.cpp63
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.h4
-rw-r--r--lib/Target/Hexagon/LLVMBuild.txt1
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp224
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h129
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp40
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.h8
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp3
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp89
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h4
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp299
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.h11
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp22
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp45
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp66
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.h15
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp46
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp343
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h76
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp83
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.h18
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp214
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h20
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp382
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h28
-rw-r--r--lib/Target/Hexagon/RDFCopy.cpp72
-rw-r--r--lib/Target/Hexagon/RDFCopy.h11
-rw-r--r--lib/Target/Hexagon/RDFDeadCode.cpp12
-rw-r--r--lib/Target/Hexagon/RDFGraph.cpp405
-rw-r--r--lib/Target/Hexagon/RDFGraph.h159
-rw-r--r--lib/Target/Hexagon/RDFLiveness.cpp291
-rw-r--r--lib/Target/Hexagon/RDFLiveness.h32
-rw-r--r--lib/Target/Hexagon/RDFRegisters.cpp368
-rw-r--r--lib/Target/Hexagon/RDFRegisters.h209
-rw-r--r--lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp2
-rw-r--r--lib/Target/Lanai/InstPrinter/CMakeLists.txt2
-rw-r--r--lib/Target/Lanai/InstPrinter/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.cpp4
-rw-r--r--lib/Target/Lanai/LanaiMCInstLower.cpp2
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp4
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp6
-rw-r--r--lib/Target/MSP430/MSP430BranchSelector.cpp4
-rw-r--r--lib/Target/MSP430/MSP430CallingConv.td8
-rw-r--r--lib/Target/MSP430/MSP430ISelDAGToDAG.cpp4
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.cpp87
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.h6
-rw-r--r--lib/Target/MSP430/MSP430MCInstLower.cpp2
-rw-r--r--lib/Target/MSP430/MSP430MachineFunctionInfo.h10
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmParser.cpp766
-rw-r--r--lib/Target/Mips/Disassembler/MipsDisassembler.cpp87
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp12
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h39
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp74
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h7
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp68
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp8
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h15
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp4
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp60
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h27
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp8
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCExpr.h6
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsNaClELFStreamer.cpp16
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsOptionRecord.cpp10
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp40
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrInfo.td28
-rw-r--r--lib/Target/Mips/MicroMipsInstrInfo.td33
-rw-r--r--lib/Target/Mips/Mips.td2
-rw-r--r--lib/Target/Mips/Mips16HardFloat.cpp18
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.td2
-rw-r--r--lib/Target/Mips/Mips32r6InstrInfo.td6
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td264
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.cpp173
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.h16
-rw-r--r--lib/Target/Mips/MipsConstantIslandPass.cpp119
-rw-r--r--lib/Target/Mips/MipsDelaySlotFiller.cpp58
-rw-r--r--lib/Target/Mips/MipsFastISel.cpp106
-rw-r--r--lib/Target/Mips/MipsHazardSchedule.cpp27
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp190
-rw-r--r--lib/Target/Mips/MipsISelLowering.h54
-rw-r--r--lib/Target/Mips/MipsInstrInfo.cpp32
-rw-r--r--lib/Target/Mips/MipsInstrInfo.h3
-rw-r--r--lib/Target/Mips/MipsInstrInfo.td243
-rw-r--r--lib/Target/Mips/MipsLongBranch.cpp44
-rw-r--r--lib/Target/Mips/MipsMachineFunction.cpp13
-rw-r--r--lib/Target/Mips/MipsMachineFunction.h34
-rw-r--r--lib/Target/Mips/MipsOptionRecord.h17
-rw-r--r--lib/Target/Mips/MipsOs16.cpp2
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.td39
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.cpp43
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.h9
-rw-r--r--lib/Target/Mips/MipsSEISelDAGToDAG.cpp241
-rw-r--r--lib/Target/Mips/MipsSEISelLowering.cpp18
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.cpp15
-rw-r--r--lib/Target/Mips/MipsSubtarget.cpp7
-rw-r--r--lib/Target/Mips/MipsSubtarget.h9
-rw-r--r--lib/Target/Mips/MipsTargetMachine.cpp42
-rw-r--r--lib/Target/Mips/MipsTargetMachine.h19
-rw-r--r--lib/Target/NVPTX/CMakeLists.txt1
-rw-r--r--lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.cpp12
-rw-r--r--lib/Target/NVPTX/LLVMBuild.txt2
-rw-r--r--lib/Target/NVPTX/NVPTX.h5
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.cpp42
-rw-r--r--lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp2449
-rw-r--r--lib/Target/NVPTX/NVPTXISelDAGToDAG.h4
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.cpp1694
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.h34
-rw-r--r--lib/Target/NVPTX/NVPTXImageOptimizer.cpp4
-rw-r--r--lib/Target/NVPTX/NVPTXInferAddressSpaces.cpp583
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.cpp5
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.td530
-rw-r--r--lib/Target/NVPTX/NVPTXIntrinsics.td626
-rw-r--r--lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp223
-rw-r--r--lib/Target/NVPTX/NVPTXLowerArgs.cpp3
-rw-r--r--lib/Target/NVPTX/NVPTXMCExpr.cpp7
-rw-r--r--lib/Target/NVPTX/NVPTXMCExpr.h10
-rw-r--r--lib/Target/NVPTX/NVPTXPeephole.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXRegisterInfo.cpp52
-rw-r--r--lib/Target/NVPTX/NVPTXRegisterInfo.td4
-rw-r--r--lib/Target/NVPTX/NVPTXSection.h2
-rw-r--r--lib/Target/NVPTX/NVPTXSubtarget.cpp9
-rw-r--r--lib/Target/NVPTX/NVPTXSubtarget.h2
-rw-r--r--lib/Target/NVPTX/NVPTXTargetMachine.cpp15
-rw-r--r--lib/Target/NVPTX/NVPTXTargetMachine.h3
-rw-r--r--lib/Target/NVPTX/NVPTXTargetTransformInfo.h4
-rw-r--r--lib/Target/NVPTX/NVVMReflect.cpp62
-rw-r--r--lib/Target/PowerPC/CMakeLists.txt1
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCAsmBackend.cpp2
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCCodeEmitter.cpp32
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.cpp34
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCTargetDesc.h9
-rw-r--r--lib/Target/PowerPC/PPC.h2
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp98
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp2
-rw-r--r--lib/Target/PowerPC/PPCCTRLoops.cpp88
-rw-r--r--lib/Target/PowerPC/PPCExpandISEL.cpp458
-rw-r--r--lib/Target/PowerPC/PPCFrameLowering.cpp39
-rw-r--r--lib/Target/PowerPC/PPCISelDAGToDAG.cpp109
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp427
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h71
-rw-r--r--lib/Target/PowerPC/PPCInstr64Bit.td10
-rw-r--r--lib/Target/PowerPC/PPCInstrAltivec.td8
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.cpp31
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h2
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td29
-rw-r--r--lib/Target/PowerPC/PPCInstrVSX.td28
-rw-r--r--lib/Target/PowerPC/PPCLoopPreIncPrep.cpp6
-rw-r--r--lib/Target/PowerPC/PPCMCInstLower.cpp2
-rw-r--r--lib/Target/PowerPC/PPCMIPeephole.cpp20
-rw-r--r--lib/Target/PowerPC/PPCMachineFunctionInfo.cpp5
-rw-r--r--lib/Target/PowerPC/PPCMachineFunctionInfo.h73
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp73
-rw-r--r--lib/Target/PowerPC/PPCScheduleP8.td2
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp24
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h6
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp43
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.h1
-rw-r--r--lib/Target/PowerPC/PPCTargetStreamer.h14
-rw-r--r--lib/Target/PowerPC/PPCTargetTransformInfo.cpp14
-rw-r--r--lib/Target/PowerPC/PPCTargetTransformInfo.h8
-rw-r--r--lib/Target/PowerPC/PPCVSXCopy.cpp4
-rw-r--r--lib/Target/PowerPC/PPCVSXSwapRemoval.cpp59
-rw-r--r--lib/Target/RISCV/MCTargetDesc/RISCVAsmBackend.cpp4
-rw-r--r--lib/Target/RISCV/MCTargetDesc/RISCVMCTargetDesc.cpp5
-rw-r--r--lib/Target/RISCV/RISCVInstrFormats.td3
-rw-r--r--lib/Target/RISCV/RISCVTargetMachine.cpp6
-rw-r--r--lib/Target/Sparc/AsmParser/SparcAsmParser.cpp56
-rw-r--r--lib/Target/Sparc/MCTargetDesc/SparcAsmBackend.cpp3
-rw-r--r--lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.cpp5
-rw-r--r--lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.h8
-rw-r--r--lib/Target/Sparc/MCTargetDesc/SparcMCCodeEmitter.cpp37
-rw-r--r--lib/Target/Sparc/SparcFrameLowering.cpp11
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp5
-rw-r--r--lib/Target/Sparc/SparcISelLowering.h1
-rw-r--r--lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp23
-rw-r--r--lib/Target/SystemZ/Disassembler/SystemZDisassembler.cpp8
-rw-r--r--lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp7
-rw-r--r--lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h5
-rw-r--r--lib/Target/SystemZ/MCTargetDesc/SystemZMCAsmBackend.cpp4
-rw-r--r--lib/Target/SystemZ/MCTargetDesc/SystemZMCCodeEmitter.cpp25
-rw-r--r--lib/Target/SystemZ/MCTargetDesc/SystemZMCObjectWriter.cpp15
-rw-r--r--lib/Target/SystemZ/SystemZElimCompare.cpp65
-rw-r--r--lib/Target/SystemZ/SystemZISelLowering.cpp115
-rw-r--r--lib/Target/SystemZ/SystemZISelLowering.h1
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.cpp135
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.h31
-rw-r--r--lib/Target/SystemZ/SystemZInstrVector.td40
-rw-r--r--lib/Target/SystemZ/SystemZLongBranch.cpp83
-rw-r--r--lib/Target/SystemZ/SystemZMachineScheduler.h26
-rw-r--r--lib/Target/SystemZ/SystemZScheduleZ13.td2
-rw-r--r--lib/Target/SystemZ/SystemZShortenInst.cpp8
-rw-r--r--lib/Target/SystemZ/SystemZTargetMachine.cpp27
-rw-r--r--lib/Target/SystemZ/SystemZTargetMachine.h17
-rw-r--r--lib/Target/SystemZ/SystemZTargetTransformInfo.cpp549
-rw-r--r--lib/Target/SystemZ/SystemZTargetTransformInfo.h28
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp5
-rw-r--r--lib/Target/TargetMachine.cpp11
-rw-r--r--lib/Target/WebAssembly/CMakeLists.txt2
-rw-r--r--lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp85
-rw-r--r--lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp14
-rw-r--r--lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h2
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt1
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp107
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyFixupKinds.h31
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp34
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.h9
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp47
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp24
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h54
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.cpp166
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h43
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyWasmObjectWriter.cpp92
-rw-r--r--lib/Target/WebAssembly/README.txt21
-rw-r--r--lib/Target/WebAssembly/WebAssembly.h1
-rw-r--r--lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp107
-rw-r--r--lib/Target/WebAssembly/WebAssemblyAsmPrinter.h77
-rw-r--r--lib/Target/WebAssembly/WebAssemblyCFGSort.cpp277
-rw-r--r--lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp237
-rw-r--r--lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp25
-rw-r--r--lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp66
-rw-r--r--lib/Target/WebAssembly/WebAssemblyFastISel.cpp30
-rw-r--r--lib/Target/WebAssembly/WebAssemblyFixFunctionBitcasts.cpp7
-rw-r--r--lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp98
-rw-r--r--lib/Target/WebAssembly/WebAssemblyISelLowering.cpp8
-rw-r--r--lib/Target/WebAssembly/WebAssemblyISelLowering.h2
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrCall.td12
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrControl.td5
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrFloat.td4
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp6
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrInfo.td18
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrMemory.td4
-rw-r--r--lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp2
-rw-r--r--lib/Target/WebAssembly/WebAssemblyLowerEmscriptenEHSjLj.cpp35
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp130
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMCInstLower.h6
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h2
-rw-r--r--lib/Target/WebAssembly/WebAssemblyOptimizeReturned.cpp2
-rw-r--r--lib/Target/WebAssembly/WebAssemblyPeephole.cpp44
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegStackify.cpp34
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp1302
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.h37
-rw-r--r--lib/Target/WebAssembly/WebAssemblyStoreResults.cpp2
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp26
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp10
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h8
-rw-r--r--lib/Target/WebAssembly/WebAssemblyUtilities.cpp26
-rw-r--r--lib/Target/WebAssembly/WebAssemblyUtilities.h9
-rw-r--r--lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp67
-rw-r--r--lib/Target/X86/AsmParser/X86AsmInstrumentation.h12
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp134
-rw-r--r--lib/Target/X86/AsmParser/X86Operand.h24
-rw-r--r--lib/Target/X86/CMakeLists.txt10
-rw-r--r--lib/Target/X86/Disassembler/X86Disassembler.cpp159
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp37
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoderCommon.h81
-rw-r--r--lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp25
-rw-r--r--lib/Target/X86/InstPrinter/X86ATTInstPrinter.h7
-rw-r--r--lib/Target/X86/InstPrinter/X86InstComments.cpp2
-rw-r--r--lib/Target/X86/InstPrinter/X86IntelInstPrinter.cpp10
-rw-r--r--lib/Target/X86/InstPrinter/X86IntelInstPrinter.h4
-rw-r--r--lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp2
-rw-r--r--lib/Target/X86/MCTargetDesc/X86BaseInfo.h7
-rw-r--r--lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp27
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp40
-rw-r--r--lib/Target/X86/MCTargetDesc/X86WinCOFFObjectWriter.cpp27
-rw-r--r--lib/Target/X86/X86.h6
-rw-r--r--lib/Target/X86/X86.td52
-rw-r--r--lib/Target/X86/X86AsmPrinter.h4
-rw-r--r--lib/Target/X86/X86CallFrameOptimization.cpp75
-rw-r--r--lib/Target/X86/X86CallLowering.cpp183
-rw-r--r--lib/Target/X86/X86CallLowering.h8
-rw-r--r--lib/Target/X86/X86CallingConv.td2
-rwxr-xr-xlib/Target/X86/X86EvexToVex.cpp40
-rw-r--r--lib/Target/X86/X86ExpandPseudo.cpp26
-rw-r--r--lib/Target/X86/X86FastISel.cpp109
-rw-r--r--lib/Target/X86/X86FixupBWInsts.cpp53
-rw-r--r--lib/Target/X86/X86FixupLEAs.cpp18
-rw-r--r--lib/Target/X86/X86FrameLowering.cpp117
-rw-r--r--lib/Target/X86/X86FrameLowering.h3
-rw-r--r--lib/Target/X86/X86GenRegisterBankInfo.def104
-rw-r--r--lib/Target/X86/X86ISelDAGToDAG.cpp117
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp4020
-rw-r--r--lib/Target/X86/X86ISelLowering.h61
-rw-r--r--lib/Target/X86/X86Instr3DNow.td22
-rw-r--r--lib/Target/X86/X86InstrAVX512.td1290
-rw-r--r--lib/Target/X86/X86InstrBuilder.h2
-rw-r--r--lib/Target/X86/X86InstrCMovSetCC.td6
-rw-r--r--lib/Target/X86/X86InstrCompiler.td20
-rw-r--r--lib/Target/X86/X86InstrControl.td31
-rw-r--r--lib/Target/X86/X86InstrFMA.td16
-rw-r--r--lib/Target/X86/X86InstrFMA3Info.cpp5
-rw-r--r--lib/Target/X86/X86InstrFMA3Info.h11
-rw-r--r--lib/Target/X86/X86InstrFPStack.td16
-rw-r--r--lib/Target/X86/X86InstrFormats.td10
-rw-r--r--lib/Target/X86/X86InstrFragmentsSIMD.td105
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp1565
-rw-r--r--lib/Target/X86/X86InstrInfo.h46
-rw-r--r--lib/Target/X86/X86InstrInfo.td64
-rw-r--r--lib/Target/X86/X86InstrMMX.td39
-rw-r--r--lib/Target/X86/X86InstrMPX.td10
-rw-r--r--lib/Target/X86/X86InstrSSE.td1266
-rw-r--r--lib/Target/X86/X86InstrShiftRotate.td82
-rw-r--r--lib/Target/X86/X86InstrSystem.td25
-rw-r--r--lib/Target/X86/X86InstrTSX.td10
-rwxr-xr-xlib/Target/X86/X86InstrTablesInfo.h1162
-rw-r--r--lib/Target/X86/X86InstrVMX.td20
-rw-r--r--lib/Target/X86/X86InstrXOP.td195
-rw-r--r--lib/Target/X86/X86InstructionSelector.cpp516
-rw-r--r--lib/Target/X86/X86InterleavedAccess.cpp3
-rw-r--r--lib/Target/X86/X86IntrinsicsInfo.h147
-rw-r--r--lib/Target/X86/X86LegalizerInfo.cpp142
-rw-r--r--lib/Target/X86/X86LegalizerInfo.h43
-rw-r--r--lib/Target/X86/X86MCInstLower.cpp96
-rw-r--r--lib/Target/X86/X86MachineFunctionInfo.cpp8
-rw-r--r--lib/Target/X86/X86MacroFusion.cpp271
-rw-r--r--lib/Target/X86/X86MacroFusion.h30
-rw-r--r--lib/Target/X86/X86OptimizeLEAs.cpp18
-rw-r--r--lib/Target/X86/X86RegisterBankInfo.cpp243
-rw-r--r--lib/Target/X86/X86RegisterBankInfo.h81
-rw-r--r--lib/Target/X86/X86RegisterBanks.td17
-rw-r--r--lib/Target/X86/X86RegisterInfo.cpp10
-rw-r--r--lib/Target/X86/X86RegisterInfo.td36
-rw-r--r--lib/Target/X86/X86Schedule.td1
-rw-r--r--lib/Target/X86/X86SelectionDAGInfo.cpp10
-rw-r--r--lib/Target/X86/X86ShuffleDecodeConstantPool.cpp78
-rw-r--r--lib/Target/X86/X86Subtarget.cpp32
-rw-r--r--lib/Target/X86/X86Subtarget.h71
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp121
-rw-r--r--lib/Target/X86/X86TargetMachine.h16
-rw-r--r--lib/Target/X86/X86TargetTransformInfo.cpp106
-rw-r--r--lib/Target/X86/X86TargetTransformInfo.h19
-rw-r--r--lib/Target/X86/X86VZeroUpper.cpp118
-rw-r--r--lib/Target/XCore/InstPrinter/XCoreInstPrinter.cpp6
-rw-r--r--lib/Target/XCore/InstPrinter/XCoreInstPrinter.h6
-rw-r--r--lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.cpp16
-rw-r--r--lib/Target/XCore/MCTargetDesc/XCoreMCTargetDesc.h8
-rw-r--r--lib/Target/XCore/XCoreFrameLowering.cpp2
-rw-r--r--lib/Target/XCore/XCoreISelLowering.cpp3
-rw-r--r--lib/Target/XCore/XCoreISelLowering.h1
-rw-r--r--lib/Target/XCore/XCoreMachineFunctionInfo.h44
-rw-r--r--lib/Target/XCore/XCoreSelectionDAGInfo.cpp10
-rw-r--r--lib/Target/XCore/XCoreTargetMachine.cpp18
-rw-r--r--lib/Target/XCore/XCoreTargetMachine.h9
-rw-r--r--lib/Transforms/Coroutines/CoroElide.cpp5
-rw-r--r--lib/Transforms/Coroutines/CoroFrame.cpp40
-rw-r--r--lib/Transforms/Coroutines/CoroInstr.h5
-rw-r--r--lib/Transforms/Coroutines/CoroSplit.cpp58
-rw-r--r--lib/Transforms/Coroutines/Coroutines.cpp6
-rw-r--r--lib/Transforms/IPO/ArgumentPromotion.cpp1309
-rw-r--r--lib/Transforms/IPO/ConstantMerge.cpp26
-rw-r--r--lib/Transforms/IPO/CrossDSOCFI.cpp7
-rw-r--r--lib/Transforms/IPO/DeadArgumentElimination.cpp152
-rw-r--r--lib/Transforms/IPO/FunctionAttrs.cpp150
-rw-r--r--lib/Transforms/IPO/FunctionImport.cpp110
-rw-r--r--lib/Transforms/IPO/GlobalDCE.cpp152
-rw-r--r--lib/Transforms/IPO/GlobalOpt.cpp10
-rw-r--r--lib/Transforms/IPO/GlobalSplit.cpp11
-rw-r--r--lib/Transforms/IPO/IPConstantPropagation.cpp8
-rw-r--r--lib/Transforms/IPO/InlineSimple.cpp13
-rw-r--r--lib/Transforms/IPO/Inliner.cpp205
-rw-r--r--lib/Transforms/IPO/LowerTypeTests.cpp308
-rw-r--r--lib/Transforms/IPO/MergeFunctions.cpp299
-rw-r--r--lib/Transforms/IPO/PartialInlining.cpp2
-rw-r--r--lib/Transforms/IPO/PassManagerBuilder.cpp87
-rw-r--r--lib/Transforms/IPO/SampleProfile.cpp271
-rw-r--r--lib/Transforms/IPO/StripSymbols.cpp24
-rw-r--r--lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp261
-rw-r--r--lib/Transforms/IPO/WholeProgramDevirt.cpp764
-rw-r--r--lib/Transforms/InstCombine/InstCombineAddSub.cpp135
-rw-r--r--lib/Transforms/InstCombine/InstCombineAndOrXor.cpp1192
-rw-r--r--lib/Transforms/InstCombine/InstCombineCalls.cpp1148
-rw-r--r--lib/Transforms/InstCombine/InstCombineCasts.cpp169
-rw-r--r--lib/Transforms/InstCombine/InstCombineCompares.cpp212
-rw-r--r--lib/Transforms/InstCombine/InstCombineInternal.h61
-rw-r--r--lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp145
-rw-r--r--lib/Transforms/InstCombine/InstCombineMulDivRem.cpp58
-rw-r--r--lib/Transforms/InstCombine/InstCombinePHI.cpp6
-rw-r--r--lib/Transforms/InstCombine/InstCombineSelect.cpp86
-rw-r--r--lib/Transforms/InstCombine/InstCombineShifts.cpp703
-rw-r--r--lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp562
-rw-r--r--lib/Transforms/InstCombine/InstCombineVectorOps.cpp44
-rw-r--r--lib/Transforms/InstCombine/InstructionCombining.cpp285
-rw-r--r--lib/Transforms/Instrumentation/AddressSanitizer.cpp156
-rw-r--r--lib/Transforms/Instrumentation/DataFlowSanitizer.cpp78
-rw-r--r--lib/Transforms/Instrumentation/EfficiencySanitizer.cpp22
-rw-r--r--lib/Transforms/Instrumentation/IndirectCallPromotion.cpp506
-rw-r--r--lib/Transforms/Instrumentation/InstrProfiling.cpp170
-rw-r--r--lib/Transforms/Instrumentation/Instrumentation.cpp1
-rw-r--r--lib/Transforms/Instrumentation/MemorySanitizer.cpp103
-rw-r--r--lib/Transforms/Instrumentation/PGOInstrumentation.cpp353
-rw-r--r--lib/Transforms/Instrumentation/SanitizerCoverage.cpp100
-rw-r--r--lib/Transforms/Instrumentation/ThreadSanitizer.cpp54
-rw-r--r--lib/Transforms/ObjCARC/ARCRuntimeEntryPoints.h14
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCContract.cpp1
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCOpts.cpp92
-rw-r--r--lib/Transforms/Scalar/ADCE.cpp43
-rw-r--r--lib/Transforms/Scalar/AlignmentFromAssumptions.cpp12
-rw-r--r--lib/Transforms/Scalar/BDCE.cpp4
-rw-r--r--lib/Transforms/Scalar/CMakeLists.txt2
-rw-r--r--lib/Transforms/Scalar/ConstantHoisting.cpp21
-rw-r--r--lib/Transforms/Scalar/CorrelatedValuePropagation.cpp25
-rw-r--r--lib/Transforms/Scalar/DCE.cpp9
-rw-r--r--lib/Transforms/Scalar/DeadStoreElimination.cpp62
-rw-r--r--lib/Transforms/Scalar/EarlyCSE.cpp92
-rw-r--r--lib/Transforms/Scalar/Float2Int.cpp11
-rw-r--r--lib/Transforms/Scalar/GVN.cpp498
-rw-r--r--lib/Transforms/Scalar/GVNHoist.cpp89
-rw-r--r--lib/Transforms/Scalar/GuardWidening.cpp11
-rw-r--r--lib/Transforms/Scalar/IndVarSimplify.cpp19
-rw-r--r--lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp44
-rw-r--r--lib/Transforms/Scalar/InferAddressSpaces.cpp903
-rw-r--r--lib/Transforms/Scalar/JumpThreading.cpp293
-rw-r--r--lib/Transforms/Scalar/LICM.cpp170
-rw-r--r--lib/Transforms/Scalar/LoadCombine.cpp19
-rw-r--r--lib/Transforms/Scalar/LoopDeletion.cpp127
-rw-r--r--lib/Transforms/Scalar/LoopDistribute.cpp46
-rw-r--r--lib/Transforms/Scalar/LoopIdiomRecognize.cpp8
-rw-r--r--lib/Transforms/Scalar/LoopInstSimplify.cpp4
-rw-r--r--lib/Transforms/Scalar/LoopInterchange.cpp2
-rw-r--r--lib/Transforms/Scalar/LoopLoadElimination.cpp105
-rw-r--r--lib/Transforms/Scalar/LoopPassManager.cpp7
-rw-r--r--lib/Transforms/Scalar/LoopPredication.cpp282
-rw-r--r--lib/Transforms/Scalar/LoopRotation.cpp49
-rw-r--r--lib/Transforms/Scalar/LoopSimplifyCFG.cpp1
-rw-r--r--lib/Transforms/Scalar/LoopSink.cpp40
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp432
-rw-r--r--lib/Transforms/Scalar/LoopUnrollPass.cpp172
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp301
-rw-r--r--lib/Transforms/Scalar/LowerExpectIntrinsic.cpp4
-rw-r--r--lib/Transforms/Scalar/MemCpyOptimizer.cpp147
-rw-r--r--lib/Transforms/Scalar/MergedLoadStoreMotion.cpp179
-rw-r--r--lib/Transforms/Scalar/NaryReassociate.cpp12
-rw-r--r--lib/Transforms/Scalar/NewGVN.cpp2750
-rw-r--r--lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp12
-rw-r--r--lib/Transforms/Scalar/Reassociate.cpp13
-rw-r--r--lib/Transforms/Scalar/RewriteStatepointsForGC.cpp59
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp171
-rw-r--r--lib/Transforms/Scalar/SROA.cpp24
-rw-r--r--lib/Transforms/Scalar/Scalar.cpp9
-rw-r--r--lib/Transforms/Scalar/Scalarizer.cpp19
-rw-r--r--lib/Transforms/Scalar/SimplifyCFGPass.cpp76
-rw-r--r--lib/Transforms/Scalar/Sink.cpp12
-rw-r--r--lib/Transforms/Utils/AddDiscriminators.cpp24
-rw-r--r--lib/Transforms/Utils/BasicBlockUtils.cpp9
-rw-r--r--lib/Transforms/Utils/BuildLibCalls.cpp448
-rw-r--r--lib/Transforms/Utils/BypassSlowDivision.cpp532
-rw-r--r--lib/Transforms/Utils/CMakeLists.txt4
-rw-r--r--lib/Transforms/Utils/CloneFunction.cpp65
-rw-r--r--lib/Transforms/Utils/CloneModule.cpp13
-rw-r--r--lib/Transforms/Utils/CodeExtractor.cpp19
-rw-r--r--lib/Transforms/Utils/DemoteRegToStack.cpp17
-rw-r--r--lib/Transforms/Utils/Evaluator.cpp3
-rw-r--r--lib/Transforms/Utils/FunctionComparator.cpp8
-rw-r--r--lib/Transforms/Utils/FunctionImportUtils.cpp14
-rw-r--r--lib/Transforms/Utils/GlobalStatus.cpp21
-rw-r--r--lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp2
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp152
-rw-r--r--lib/Transforms/Utils/LCSSA.cpp84
-rw-r--r--lib/Transforms/Utils/LibCallsShrinkWrap.cpp182
-rw-r--r--lib/Transforms/Utils/Local.cpp148
-rw-r--r--lib/Transforms/Utils/LoopSimplify.cpp40
-rw-r--r--lib/Transforms/Utils/LoopUnroll.cpp167
-rw-r--r--lib/Transforms/Utils/LoopUnrollPeel.cpp98
-rw-r--r--lib/Transforms/Utils/LoopUnrollRuntime.cpp52
-rw-r--r--lib/Transforms/Utils/LoopUtils.cpp25
-rw-r--r--lib/Transforms/Utils/LowerMemIntrinsics.cpp231
-rw-r--r--lib/Transforms/Utils/LowerSwitch.cpp8
-rw-r--r--lib/Transforms/Utils/Mem2Reg.cpp7
-rw-r--r--lib/Transforms/Utils/MemorySSA.cpp2305
-rw-r--r--lib/Transforms/Utils/MetaRenamer.cpp17
-rw-r--r--lib/Transforms/Utils/ModuleUtils.cpp23
-rw-r--r--lib/Transforms/Utils/PredicateInfo.cpp782