aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.arcconfig2
-rw-r--r--.clang-tidy2
-rw-r--r--.gitignore2
-rw-r--r--CMakeLists.txt166
-rw-r--r--CODE_OWNERS.TXT33
-rw-r--r--CREDITS.TXT6
-rw-r--r--LICENSE.TXT2
-rw-r--r--Makefile295
-rw-r--r--Makefile.common69
-rw-r--r--Makefile.config.in435
-rw-r--r--Makefile.rules2176
-rwxr-xr-xautoconf/AutoRegen.sh54
-rw-r--r--autoconf/ExportMap.map7
-rw-r--r--autoconf/LICENSE.TXT24
-rw-r--r--autoconf/README.TXT14
-rwxr-xr-xautoconf/config.guess1529
-rwxr-xr-xautoconf/config.sub1770
-rw-r--r--autoconf/configure.ac2255
-rwxr-xr-xautoconf/install-sh322
-rw-r--r--autoconf/m4/build_exeext.m442
-rw-r--r--autoconf/m4/c_printf_a.m431
-rw-r--r--autoconf/m4/check_gnu_make.m426
-rw-r--r--autoconf/m4/config_makefile.m49
-rw-r--r--autoconf/m4/config_project.m414
-rw-r--r--autoconf/m4/cxx_flag_check.m42
-rw-r--r--autoconf/m4/define_subst.m45
-rw-r--r--autoconf/m4/find_std_program.m4118
-rw-r--r--autoconf/m4/func_mmap_file.m426
-rw-r--r--autoconf/m4/header_mmap_anonymous.m421
-rw-r--r--autoconf/m4/huge_val.m418
-rw-r--r--autoconf/m4/link_options.m4109
-rw-r--r--autoconf/m4/linux_mixed_64_32.m417
-rw-r--r--autoconf/m4/need_dev_zero_for_mmap.m417
-rw-r--r--autoconf/m4/sanity_check.m431
-rw-r--r--autoconf/m4/single_cxx_check.m416
-rw-r--r--autoconf/m4/visibility_inlines_hidden.m424
-rwxr-xr-xautoconf/missing353
-rwxr-xr-xautoconf/mkinstalldirs150
-rw-r--r--bindings/Makefile20
-rw-r--r--bindings/go/llvm/executionengine_test.go1
-rw-r--r--bindings/go/llvm/target.go19
-rw-r--r--bindings/ocaml/Makefile20
-rw-r--r--bindings/ocaml/Makefile.ocaml483
-rw-r--r--bindings/ocaml/all_backends/Makefile21
-rw-r--r--bindings/ocaml/analysis/Makefile19
-rw-r--r--bindings/ocaml/analysis/analysis_ocaml.c1
-rw-r--r--bindings/ocaml/backends/Makefile61
-rw-r--r--bindings/ocaml/backends/Makefile.common65
-rw-r--r--bindings/ocaml/bitreader/Makefile19
-rw-r--r--bindings/ocaml/bitreader/bitreader_ocaml.c5
-rw-r--r--bindings/ocaml/bitwriter/Makefile19
-rw-r--r--bindings/ocaml/executionengine/Makefile20
-rw-r--r--bindings/ocaml/executionengine/executionengine_ocaml.c1
-rw-r--r--bindings/ocaml/irreader/Makefile19
-rw-r--r--bindings/ocaml/linker/Makefile19
-rw-r--r--bindings/ocaml/linker/linker_ocaml.c3
-rw-r--r--bindings/ocaml/llvm/Makefile43
-rw-r--r--bindings/ocaml/llvm/llvm.ml24
-rw-r--r--bindings/ocaml/llvm/llvm.mli34
-rw-r--r--bindings/ocaml/llvm/llvm_ocaml.c56
-rw-r--r--bindings/ocaml/target/Makefile19
-rw-r--r--bindings/ocaml/target/llvm_target.ml3
-rw-r--r--bindings/ocaml/target/llvm_target.mli12
-rw-r--r--bindings/ocaml/target/target_ocaml.c25
-rw-r--r--bindings/ocaml/transforms/Makefile18
-rw-r--r--bindings/ocaml/transforms/ipo/Makefile19
-rw-r--r--bindings/ocaml/transforms/passmgr_builder/Makefile19
-rw-r--r--bindings/ocaml/transforms/scalar_opts/Makefile19
-rw-r--r--bindings/ocaml/transforms/scalar_opts/llvm_scalar_opts.mli6
-rw-r--r--bindings/ocaml/transforms/utils/Makefile19
-rw-r--r--bindings/ocaml/transforms/vectorize/Makefile19
-rw-r--r--cmake/Makefile12
-rwxr-xr-xcmake/config-ix.cmake44
-rw-r--r--cmake/config.guess1532
-rwxr-xr-xcmake/modules/AddLLVM.cmake190
-rw-r--r--cmake/modules/AddOCaml.cmake8
-rw-r--r--cmake/modules/CMakeLists.txt5
-rw-r--r--cmake/modules/CheckAtomic.cmake37
-rw-r--r--cmake/modules/CheckCompilerVersion.cmake52
-rw-r--r--cmake/modules/CrossCompile.cmake2
-rw-r--r--cmake/modules/GenerateVersionFromCVS.cmake39
-rw-r--r--cmake/modules/GetHostTriple.cmake2
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake191
-rw-r--r--cmake/modules/LLVMConfig.cmake.in9
-rw-r--r--cmake/modules/LLVMExternalProjectUtils.cmake90
-rw-r--r--cmake/modules/Makefile151
-rw-r--r--cmake/modules/TableGen.cmake2
-rw-r--r--cmake/modules/VersionFromVCS.cmake42
-rw-r--r--cmake/platforms/iOS.cmake55
-rwxr-xr-xconfigure19471
-rw-r--r--docs/AMDGPUUsage.rst40
-rw-r--r--docs/AdvancedBuilds.rst174
-rw-r--r--docs/AliasAnalysis.rst3
-rw-r--r--docs/Atomics.rst188
-rw-r--r--docs/BitCodeFormat.rst39
-rw-r--r--docs/BitSets.rst115
-rw-r--r--docs/BuildingLLVMWithAutotools.rst338
-rw-r--r--docs/CMake.rst92
-rw-r--r--docs/CMakePrimer.rst465
-rw-r--r--docs/CodeGenerator.rst103
-rw-r--r--docs/CodeOfConduct.rst112
-rw-r--r--docs/CommandGuide/FileCheck.rst36
-rw-r--r--docs/CommandGuide/bugpoint.rst17
-rw-r--r--docs/CommandGuide/lit.rst29
-rw-r--r--docs/CommandGuide/llvm-cov.rst20
-rw-r--r--docs/CommandGuide/llvm-nm.rst5
-rw-r--r--docs/CommandGuide/llvm-profdata.rst24
-rw-r--r--docs/CommandGuide/llvm-readobj.rst4
-rw-r--r--docs/CompileCudaWithLLVM.rst133
-rw-r--r--docs/CompilerWriterInfo.rst33
-rw-r--r--docs/CoverageMappingFormat.rst41
-rw-r--r--docs/DeveloperPolicy.rst10
-rw-r--r--docs/FAQ.rst140
-rw-r--r--docs/GettingStarted.rst252
-rw-r--r--docs/GettingStartedVS.rst10
-rw-r--r--docs/GoldPlugin.rst4
-rw-r--r--docs/HowToCrossCompileLLVM.rst52
-rw-r--r--docs/HowToReleaseLLVM.rst19
-rw-r--r--docs/LLVMBuild.rst3
-rw-r--r--docs/LangRef.rst772
-rw-r--r--docs/LibFuzzer.rst755
-rw-r--r--docs/LinkTimeOptimization.rst4
-rw-r--r--docs/Makefile138
-rw-r--r--docs/MakefileGuide.rst916
-rw-r--r--docs/MergeFunctions.rst4
-rw-r--r--docs/NVPTXUsage.rst52
-rw-r--r--docs/Passes.rst16
-rw-r--r--docs/Phabricator.rst77
-rw-r--r--docs/ProgrammersManual.rst200
-rw-r--r--docs/README.txt20
-rw-r--r--docs/ReleaseNotes.rst310
-rw-r--r--docs/ReportingGuide.rst143
-rw-r--r--docs/ScudoHardenedAllocator.rst117
-rw-r--r--docs/SourceLevelDebugging.rst97
-rw-r--r--docs/Statepoints.rst78
-rw-r--r--docs/TableGen/LangRef.rst2
-rw-r--r--docs/TestSuiteMakefileGuide.rst88
-rw-r--r--docs/TestingGuide.rst35
-rw-r--r--docs/TypeMetadata.rst226
-rw-r--r--docs/WritingAnLLVMBackend.rst28
-rw-r--r--docs/WritingAnLLVMPass.rst10
-rw-r--r--docs/YamlIO.rst5
-rw-r--r--docs/conf.py4
-rw-r--r--docs/doxygen-mainpage.dox18
-rw-r--r--docs/doxygen.cfg.in16
-rw-r--r--docs/doxygen.intro18
-rw-r--r--docs/index.rst24
-rw-r--r--docs/tutorial/BuildingAJIT1.rst375
-rw-r--r--docs/tutorial/BuildingAJIT2.rst336
-rw-r--r--docs/tutorial/BuildingAJIT3.rst171
-rw-r--r--docs/tutorial/BuildingAJIT4.rst48
-rw-r--r--docs/tutorial/BuildingAJIT5.rst55
-rw-r--r--docs/tutorial/LangImpl01.rst293
-rw-r--r--docs/tutorial/LangImpl02.rst735
-rw-r--r--docs/tutorial/LangImpl03.rst567
-rw-r--r--docs/tutorial/LangImpl04.rst610
-rw-r--r--docs/tutorial/LangImpl05-cfg.png (renamed from docs/tutorial/LangImpl5-cfg.png)bin38586 -> 38586 bytes
-rw-r--r--docs/tutorial/LangImpl05.rst790
-rw-r--r--docs/tutorial/LangImpl06.rst768
-rw-r--r--docs/tutorial/LangImpl07.rst881
-rw-r--r--docs/tutorial/LangImpl08.rst218
-rw-r--r--docs/tutorial/LangImpl09.rst462
-rw-r--r--docs/tutorial/LangImpl1.rst290
-rw-r--r--docs/tutorial/LangImpl10.rst259
-rw-r--r--docs/tutorial/LangImpl2.rst735
-rw-r--r--docs/tutorial/LangImpl3.rst561
-rw-r--r--docs/tutorial/LangImpl4.rst609
-rw-r--r--docs/tutorial/LangImpl5.rst790
-rw-r--r--docs/tutorial/LangImpl6.rst768
-rw-r--r--docs/tutorial/LangImpl7.rst881
-rw-r--r--docs/tutorial/LangImpl8.rst462
-rw-r--r--docs/tutorial/LangImpl9.rst262
-rw-r--r--docs/tutorial/OCamlLangImpl1.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl5.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl6.rst14
-rw-r--r--docs/tutorial/OCamlLangImpl7.rst2
-rw-r--r--docs/tutorial/index.rst10
-rw-r--r--examples/BrainF/BrainF.cpp20
-rw-r--r--examples/BrainF/BrainF.h9
-rw-r--r--examples/BrainF/BrainFDriver.cpp25
-rw-r--r--examples/BrainF/Makefile15
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp6
-rw-r--r--examples/ExceptionDemo/Makefile16
-rw-r--r--examples/Fibonacci/CMakeLists.txt1
-rw-r--r--examples/Fibonacci/Makefile17
-rw-r--r--examples/Fibonacci/fibonacci.cpp17
-rw-r--r--examples/HowToUseJIT/HowToUseJIT.cpp12
-rw-r--r--examples/HowToUseJIT/Makefile15
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/CMakeLists.txt8
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/CMakeLists.txt17
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/KaleidoscopeJIT.h102
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter1/toy.cpp1219
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/CMakeLists.txt17
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/KaleidoscopeJIT.h133
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter2/toy.cpp1219
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/CMakeLists.txt19
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/KaleidoscopeJIT.h144
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter3/toy.cpp1219
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/CMakeLists.txt19
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/KaleidoscopeJIT.h232
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter4/toy.cpp1228
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/CMakeLists.txt21
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/KaleidoscopeJIT.h264
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/RemoteJITUtils.h74
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/CMakeLists.txt17
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/Server/server.cpp119
-rw-r--r--examples/Kaleidoscope/BuildingAJIT/Chapter5/toy.cpp1294
-rw-r--r--examples/Kaleidoscope/CMakeLists.txt2
-rw-r--r--examples/Kaleidoscope/Chapter2/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter2/toy.cpp29
-rw-r--r--examples/Kaleidoscope/Chapter3/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter3/toy.cpp63
-rw-r--r--examples/Kaleidoscope/Chapter4/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter4/toy.cpp71
-rw-r--r--examples/Kaleidoscope/Chapter5/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter5/toy.cpp111
-rw-r--r--examples/Kaleidoscope/Chapter6/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter6/toy.cpp117
-rw-r--r--examples/Kaleidoscope/Chapter7/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter7/toy.cpp133
-rw-r--r--examples/Kaleidoscope/Chapter8/CMakeLists.txt6
-rw-r--r--examples/Kaleidoscope/Chapter8/Makefile15
-rw-r--r--examples/Kaleidoscope/Chapter8/toy.cpp509
-rw-r--r--examples/Kaleidoscope/Chapter9/CMakeLists.txt13
-rw-r--r--examples/Kaleidoscope/Chapter9/toy.cpp1445
-rw-r--r--examples/Kaleidoscope/MCJIT/cached/Makefile11
-rw-r--r--examples/Kaleidoscope/MCJIT/cached/toy-jit.cpp66
-rw-r--r--examples/Kaleidoscope/MCJIT/cached/toy.cpp54
-rw-r--r--examples/Kaleidoscope/MCJIT/complete/Makefile4
-rw-r--r--examples/Kaleidoscope/MCJIT/complete/toy.cpp52
-rw-r--r--examples/Kaleidoscope/MCJIT/initial/Makefile4
-rw-r--r--examples/Kaleidoscope/MCJIT/initial/toy.cpp52
-rw-r--r--examples/Kaleidoscope/MCJIT/lazy/Makefile7
-rw-r--r--examples/Kaleidoscope/MCJIT/lazy/toy-jit.cpp64
-rw-r--r--examples/Kaleidoscope/MCJIT/lazy/toy.cpp52
-rw-r--r--examples/Kaleidoscope/Makefile15
-rw-r--r--examples/Kaleidoscope/Orc/CMakeLists.txt4
-rw-r--r--examples/Kaleidoscope/Orc/fully_lazy/CMakeLists.txt13
-rw-r--r--examples/Kaleidoscope/Orc/fully_lazy/Makefile17
-rw-r--r--examples/Kaleidoscope/Orc/fully_lazy/README.txt21
-rw-r--r--examples/Kaleidoscope/Orc/fully_lazy/toy.cpp1440
-rw-r--r--examples/Kaleidoscope/Orc/initial/CMakeLists.txt12
-rw-r--r--examples/Kaleidoscope/Orc/initial/Makefile17
-rw-r--r--examples/Kaleidoscope/Orc/initial/README.txt13
-rw-r--r--examples/Kaleidoscope/Orc/initial/toy.cpp1335
-rw-r--r--examples/Kaleidoscope/Orc/lazy_codegen/CMakeLists.txt12
-rw-r--r--examples/Kaleidoscope/Orc/lazy_codegen/Makefile17
-rw-r--r--examples/Kaleidoscope/Orc/lazy_codegen/README.txt13
-rw-r--r--examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp1339
-rw-r--r--examples/Kaleidoscope/Orc/lazy_irgen/CMakeLists.txt12
-rw-r--r--examples/Kaleidoscope/Orc/lazy_irgen/Makefile17
-rw-r--r--examples/Kaleidoscope/Orc/lazy_irgen/README.txt16
-rw-r--r--examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp1370
-rw-r--r--examples/Kaleidoscope/include/KaleidoscopeJIT.h20
-rw-r--r--examples/Makefile32
-rw-r--r--examples/ModuleMaker/Makefile14
-rw-r--r--examples/ModuleMaker/ModuleMaker.cpp6
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter2/Makefile22
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter3/Makefile24
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter4/Makefile25
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter5/Makefile25
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter6/Makefile34
-rw-r--r--examples/OCaml-Kaleidoscope/Chapter7/Makefile34
-rw-r--r--examples/OCaml-Kaleidoscope/Makefile15
-rw-r--r--examples/ParallelJIT/CMakeLists.txt4
-rw-r--r--examples/ParallelJIT/Makefile17
-rw-r--r--examples/ParallelJIT/ParallelJIT.cpp18
-rw-r--r--include/llvm-c/Core.h374
-rw-r--r--include/llvm-c/Disassembler.h6
-rw-r--r--include/llvm-c/ErrorHandling.h2
-rw-r--r--include/llvm-c/Linker.h14
-rw-r--r--include/llvm-c/OrcBindings.h35
-rw-r--r--include/llvm-c/Target.h25
-rw-r--r--include/llvm-c/TargetMachine.h4
-rw-r--r--include/llvm-c/Transforms/Scalar.h6
-rw-r--r--include/llvm-c/Types.h7
-rw-r--r--include/llvm-c/lto.h274
-rw-r--r--include/llvm/ADT/APFloat.h27
-rw-r--r--include/llvm/ADT/APInt.h46
-rw-r--r--include/llvm/ADT/ArrayRef.h46
-rw-r--r--include/llvm/ADT/BitVector.h18
-rw-r--r--include/llvm/ADT/BitmaskEnum.h153
-rw-r--r--include/llvm/ADT/DenseMap.h76
-rw-r--r--include/llvm/ADT/DenseMapInfo.h30
-rw-r--r--include/llvm/ADT/DenseSet.h15
-rw-r--r--include/llvm/ADT/FoldingSet.h20
-rw-r--r--include/llvm/ADT/Hashing.h4
-rw-r--r--include/llvm/ADT/PointerEmbeddedInt.h30
-rw-r--r--include/llvm/ADT/PostOrderIterator.h2
-rw-r--r--include/llvm/ADT/PriorityWorklist.h224
-rw-r--r--include/llvm/ADT/STLExtras.h53
-rw-r--r--include/llvm/ADT/Sequence.h79
-rw-r--r--include/llvm/ADT/SetVector.h49
-rw-r--r--include/llvm/ADT/SmallBitVector.h65
-rw-r--r--include/llvm/ADT/SmallPtrSet.h96
-rw-r--r--include/llvm/ADT/SmallSet.h5
-rw-r--r--include/llvm/ADT/SmallVector.h67
-rw-r--r--include/llvm/ADT/SparseSet.h5
-rw-r--r--include/llvm/ADT/Statistic.h81
-rw-r--r--include/llvm/ADT/StringExtras.h57
-rw-r--r--include/llvm/ADT/StringMap.h92
-rw-r--r--include/llvm/ADT/StringRef.h32
-rw-r--r--include/llvm/ADT/StringSet.h6
-rw-r--r--include/llvm/ADT/TinyPtrVector.h34
-rw-r--r--include/llvm/ADT/Triple.h145
-rw-r--r--include/llvm/ADT/ilist.h88
-rw-r--r--include/llvm/ADT/iterator.h20
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h262
-rw-r--r--include/llvm/Analysis/AliasAnalysisEvaluator.h70
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h134
-rw-r--r--include/llvm/Analysis/AssumptionCache.h25
-rw-r--r--include/llvm/Analysis/BasicAliasAnalysis.h52
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfo.h40
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfoImpl.h123
-rw-r--r--include/llvm/Analysis/BranchProbabilityInfo.h94
-rw-r--r--include/llvm/Analysis/CFLAliasAnalysis.h158
-rw-r--r--include/llvm/Analysis/CFLAndersAliasAnalysis.h138
-rw-r--r--include/llvm/Analysis/CFLSteensAliasAnalysis.h167
-rw-r--r--include/llvm/Analysis/CGSCCPassManager.h409
-rw-r--r--include/llvm/Analysis/CallGraph.h20
-rw-r--r--include/llvm/Analysis/CallGraphSCCPass.h28
-rw-r--r--include/llvm/Analysis/CallPrinter.h6
-rw-r--r--include/llvm/Analysis/CodeMetrics.h28
-rw-r--r--include/llvm/Analysis/ConstantFolding.h77
-rw-r--r--include/llvm/Analysis/DemandedBits.h76
-rw-r--r--include/llvm/Analysis/DependenceAnalysis.h48
-rw-r--r--include/llvm/Analysis/DominanceFrontier.h80
-rw-r--r--include/llvm/Analysis/EHPersonalities.h5
-rw-r--r--include/llvm/Analysis/GlobalsModRef.h18
-rw-r--r--include/llvm/Analysis/IVUsers.h56
-rw-r--r--include/llvm/Analysis/IndirectCallPromotionAnalysis.h67
-rw-r--r--include/llvm/Analysis/IndirectCallSiteVisitor.h43
-rw-r--r--include/llvm/Analysis/InlineCost.h21
-rw-r--r--include/llvm/Analysis/InstructionSimplify.h111
-rw-r--r--include/llvm/Analysis/Interval.h10
-rw-r--r--include/llvm/Analysis/IteratedDominanceFrontier.h13
-rw-r--r--include/llvm/Analysis/LazyBlockFrequencyInfo.h125
-rw-r--r--include/llvm/Analysis/LazyCallGraph.h787
-rw-r--r--include/llvm/Analysis/LazyValueInfo.h71
-rw-r--r--include/llvm/Analysis/Loads.h77
-rw-r--r--include/llvm/Analysis/LoopAccessAnalysis.h177
-rw-r--r--include/llvm/Analysis/LoopInfo.h57
-rw-r--r--include/llvm/Analysis/LoopInfoImpl.h2
-rw-r--r--include/llvm/Analysis/LoopPass.h7
-rw-r--r--include/llvm/Analysis/LoopPassManager.h142
-rw-r--r--include/llvm/Analysis/LoopUnrollAnalyzer.h95
-rw-r--r--include/llvm/Analysis/MemoryBuiltins.h22
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h863
-rw-r--r--include/llvm/Analysis/MemoryLocation.h2
-rw-r--r--include/llvm/Analysis/ModuleSummaryAnalysis.h91
-rw-r--r--include/llvm/Analysis/ObjCARCAliasAnalysis.h20
-rw-r--r--include/llvm/Analysis/ObjCARCAnalysisUtils.h1
-rw-r--r--include/llvm/Analysis/ObjCARCInstKind.h1
-rw-r--r--include/llvm/Analysis/OptimizationDiagnosticInfo.h104
-rw-r--r--include/llvm/Analysis/Passes.h13
-rw-r--r--include/llvm/Analysis/PostDominators.h89
-rw-r--r--include/llvm/Analysis/ProfileSummaryInfo.h113
-rw-r--r--include/llvm/Analysis/RegionInfo.h63
-rw-r--r--include/llvm/Analysis/RegionInfoImpl.h7
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h623
-rw-r--r--include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h19
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpander.h64
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h178
-rw-r--r--include/llvm/Analysis/ScopedNoAliasAA.h19
-rw-r--r--include/llvm/Analysis/SparsePropagation.h1
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.def5
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.h97
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h154
-rw-r--r--include/llvm/Analysis/TargetTransformInfoImpl.h43
-rw-r--r--include/llvm/Analysis/TypeBasedAliasAnalysis.h19
-rw-r--r--include/llvm/Analysis/TypeMetadataUtils.h45
-rw-r--r--include/llvm/Analysis/ValueTracking.h226
-rw-r--r--include/llvm/Analysis/VectorUtils.h40
-rw-r--r--include/llvm/AsmParser/Parser.h19
-rw-r--r--include/llvm/Bitcode/BitCodes.h8
-rw-r--r--include/llvm/Bitcode/BitcodeWriterPass.h24
-rw-r--r--include/llvm/Bitcode/BitstreamReader.h349
-rw-r--r--include/llvm/Bitcode/BitstreamWriter.h51
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h891
-rw-r--r--include/llvm/Bitcode/ReaderWriter.h81
-rw-r--r--include/llvm/CodeGen/Analysis.h2
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h11
-rw-r--r--include/llvm/CodeGen/BasicTTIImpl.h215
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h20
-rw-r--r--include/llvm/CodeGen/CommandFlags.h64
-rw-r--r--include/llvm/CodeGen/DFAPacketizer.h94
-rw-r--r--include/llvm/CodeGen/DIE.h69
-rw-r--r--include/llvm/CodeGen/DIEValue.def1
-rw-r--r--include/llvm/CodeGen/FastISel.h10
-rw-r--r--include/llvm/CodeGen/FaultMaps.h1
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h72
-rw-r--r--include/llvm/CodeGen/GCMetadata.h5
-rw-r--r--include/llvm/CodeGen/GlobalISel/CallLowering.h72
-rw-r--r--include/llvm/CodeGen/GlobalISel/GISelAccessor.h33
-rw-r--r--include/llvm/CodeGen/GlobalISel/IRTranslator.h158
-rw-r--r--include/llvm/CodeGen/GlobalISel/MachineIRBuilder.h146
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegBankSelect.h614
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBank.h101
-rw-r--r--include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h602
-rw-r--r--include/llvm/CodeGen/GlobalISel/Types.h32
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h55
-rw-r--r--include/llvm/CodeGen/LiveInterval.h18
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h28
-rw-r--r--include/llvm/CodeGen/LivePhysRegs.h36
-rw-r--r--include/llvm/CodeGen/LiveRangeEdit.h45
-rw-r--r--include/llvm/CodeGen/LiveVariables.h49
-rw-r--r--include/llvm/CodeGen/MIRParser/MIRParser.h2
-rw-r--r--include/llvm/CodeGen/MIRYamlMapping.h6
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h95
-rw-r--r--include/llvm/CodeGen/MachineBlockFrequencyInfo.h4
-rw-r--r--include/llvm/CodeGen/MachineCombinerPattern.h35
-rw-r--r--include/llvm/CodeGen/MachineDominators.h23
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h130
-rw-r--r--include/llvm/CodeGen/MachineFunction.h102
-rw-r--r--include/llvm/CodeGen/MachineFunctionPass.h26
-rw-r--r--include/llvm/CodeGen/MachineInstr.h61
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h158
-rw-r--r--include/llvm/CodeGen/MachineInstrBundle.h43
-rw-r--r--include/llvm/CodeGen/MachineInstrBundleIterator.h92
-rw-r--r--include/llvm/CodeGen/MachineLoopInfo.h54
-rw-r--r--include/llvm/CodeGen/MachineMemOperand.h136
-rw-r--r--include/llvm/CodeGen/MachineModuleInfoImpls.h27
-rw-r--r--include/llvm/CodeGen/MachineOperand.h9
-rw-r--r--include/llvm/CodeGen/MachineRegisterInfo.h149
-rw-r--r--include/llvm/CodeGen/MachineSSAUpdater.h1
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h96
-rw-r--r--include/llvm/CodeGen/MachineTraceMetrics.h13
-rw-r--r--include/llvm/CodeGen/MachineValueType.h25
-rw-r--r--include/llvm/CodeGen/PBQP/Graph.h16
-rw-r--r--include/llvm/CodeGen/ParallelCG.h25
-rw-r--r--include/llvm/CodeGen/Passes.h421
-rw-r--r--include/llvm/CodeGen/PreISelIntrinsicLowering.h26
-rw-r--r--include/llvm/CodeGen/PseudoSourceValue.h4
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h1
-rw-r--r--include/llvm/CodeGen/RegisterPressure.h128
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h13
-rw-r--r--include/llvm/CodeGen/RegisterUsageInfo.h75
-rw-r--r--include/llvm/CodeGen/ResourcePriorityQueue.h8
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.h86
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h11
-rw-r--r--include/llvm/CodeGen/ScheduleDAGInstrs.h76
-rw-r--r--include/llvm/CodeGen/ScheduleDAGMutation.h31
-rw-r--r--include/llvm/CodeGen/ScheduleHazardRecognizer.h11
-rw-r--r--include/llvm/CodeGen/ScoreboardHazardRecognizer.h6
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h544
-rw-r--r--include/llvm/CodeGen/SelectionDAGISel.h42
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h507
-rw-r--r--include/llvm/CodeGen/SelectionDAGTargetInfo.h156
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h78
-rw-r--r--include/llvm/CodeGen/StackMaps.h2
-rw-r--r--include/llvm/CodeGen/StackProtector.h10
-rw-r--r--include/llvm/CodeGen/TailDuplicator.h92
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h19
-rw-r--r--include/llvm/CodeGen/TargetPassConfig.h376
-rw-r--r--include/llvm/CodeGen/UnreachableBlockElim.h37
-rw-r--r--include/llvm/CodeGen/ValueTypes.h8
-rw-r--r--include/llvm/CodeGen/ValueTypes.td20
-rw-r--r--include/llvm/CodeGen/WinEHFuncInfo.h2
-rw-r--r--include/llvm/Config/config.h.cmake26
-rw-r--r--include/llvm/Config/config.h.in538
-rw-r--r--include/llvm/Config/llvm-config.h.in104
-rw-r--r--include/llvm/DebugInfo/CodeView/ByteStream.h58
-rw-r--r--include/llvm/DebugInfo/CodeView/CVRecord.h56
-rw-r--r--include/llvm/DebugInfo/CodeView/CVSymbolTypes.def258
-rw-r--r--include/llvm/DebugInfo/CodeView/CVSymbolVisitor.h103
-rw-r--r--include/llvm/DebugInfo/CodeView/CVTypeVisitor.h44
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeView.h509
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewError.h44
-rw-r--r--include/llvm/DebugInfo/CodeView/EnumTables.h42
-rw-r--r--include/llvm/DebugInfo/CodeView/FieldListRecordBuilder.h37
-rw-r--r--include/llvm/DebugInfo/CodeView/Line.h50
-rw-r--r--include/llvm/DebugInfo/CodeView/ListRecordBuilder.h22
-rw-r--r--include/llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h48
-rw-r--r--include/llvm/DebugInfo/CodeView/ModuleSubstream.h87
-rw-r--r--include/llvm/DebugInfo/CodeView/ModuleSubstreamVisitor.h121
-rw-r--r--include/llvm/DebugInfo/CodeView/RecordSerialization.h278
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamArray.h275
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamInterface.h55
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamReader.h111
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamRef.h104
-rw-r--r--include/llvm/DebugInfo/CodeView/StreamWriter.h86
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolDumpDelegate.h37
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolDumper.h54
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolRecord.h1452
-rw-r--r--include/llvm/DebugInfo/CodeView/SymbolVisitorDelegate.h33
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeDumper.h105
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeIndex.h76
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecord.h1024
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h17
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecords.def252
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeStreamMerger.h26
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h3
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeTableBuilder.h26
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeVisitorCallbacks.h63
-rw-r--r--include/llvm/DebugInfo/DIContext.h5
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h6
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFContext.h17
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugAbbrev.h1
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugFrame.h6
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h1
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFFormValue.h2
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h6
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnit.h18
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h11
-rw-r--r--include/llvm/DebugInfo/PDB/ConcreteSymbolEnumerator.h2
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIADataStream.h2
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAEnumDebugStreams.h2
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAEnumLineNumbers.h3
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAEnumSourceFiles.h3
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAEnumSymbols.h3
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIAError.h46
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIALineNumber.h3
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIARawSymbol.h8
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIASession.h33
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIASourceFile.h7
-rw-r--r--include/llvm/DebugInfo/PDB/DIA/DIASupport.h11
-rw-r--r--include/llvm/DebugInfo/PDB/GenericError.h42
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBDataStream.h2
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBEnumChildren.h2
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBLineNumber.h3
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBRawSymbol.h11
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBSession.h22
-rw-r--r--include/llvm/DebugInfo/PDB/IPDBSourceFile.h7
-rw-r--r--include/llvm/DebugInfo/PDB/PDB.h14
-rw-r--r--include/llvm/DebugInfo/PDB/PDBContext.h73
-rw-r--r--include/llvm/DebugInfo/PDB/PDBExtras.h9
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymDumper.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbol.h12
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolAnnotation.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolBlock.h5
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompiland.h7
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompilandDetails.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCompilandEnv.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolCustom.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolData.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolExe.h5
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFunc.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugEnd.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolFuncDebugStart.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolLabel.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolPublicSymbol.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolThunk.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeArray.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeBaseClass.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeBuiltin.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeCustom.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeDimension.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeEnum.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFriend.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionArg.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeFunctionSig.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeManaged.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypePointer.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeTypedef.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeUDT.h4
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeVTable.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolTypeVTableShape.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolUnknown.h2
-rw-r--r--include/llvm/DebugInfo/PDB/PDBSymbolUsingNamespace.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBTypes.h272
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DbiStream.h149
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DbiStreamBuilder.h56
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/DirectoryStreamData.h37
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/EnumTables.h22
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/Hash.h25
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/IPDBFile.h44
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/IPDBStreamData.h38
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ISectionContribVisitor.h28
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/IndexedStreamData.h34
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/InfoStream.h77
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/InfoStreamBuilder.h53
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/MappedBlockStream.h68
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ModInfo.h79
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/ModStream.h57
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/MsfBuilder.h141
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/MsfCommon.h90
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameHashTable.h54
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameMap.h45
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/NameMapBuilder.h41
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PDBFile.h113
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PDBFileBuilder.h59
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/PublicsStream.h74
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawConstants.h94
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawError.h49
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawSession.h75
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/RawTypes.h86
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/SymbolStream.h41
-rw-r--r--include/llvm/DebugInfo/PDB/Raw/TpiStream.h72
-rw-r--r--include/llvm/DebugInfo/Symbolize/DIPrinter.h2
-rw-r--r--include/llvm/DebugInfo/Symbolize/SymbolizableModule.h2
-rw-r--r--include/llvm/DebugInfo/Symbolize/Symbolize.h34
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h10
-rw-r--r--include/llvm/ExecutionEngine/GenericValue.h1
-rw-r--r--include/llvm/ExecutionEngine/JITEventListener.h4
-rw-r--r--include/llvm/ExecutionEngine/JITSymbolFlags.h10
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h69
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileUtils.h5
-rw-r--r--include/llvm/ExecutionEngine/Orc/IRCompileLayer.h31
-rw-r--r--include/llvm/ExecutionEngine/Orc/IndirectionUtils.h127
-rw-r--r--include/llvm/ExecutionEngine/Orc/JITSymbol.h10
-rw-r--r--include/llvm/ExecutionEngine/Orc/LambdaResolver.h37
-rw-r--r--include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h9
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h260
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h4
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcABISupport.h232
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcArchitectureSupport.h148
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcError.h6
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetClient.h562
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h181
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcRemoteTargetServer.h233
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCChannel.h188
-rw-r--r--include/llvm/ExecutionEngine/Orc/RPCUtils.h614
-rw-r--r--include/llvm/ExecutionEngine/RTDyldMemoryManager.h16
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h47
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyldChecker.h6
-rw-r--r--include/llvm/IR/Argument.h17
-rw-r--r--include/llvm/IR/Attributes.h92
-rw-r--r--include/llvm/IR/Attributes.td16
-rw-r--r--include/llvm/IR/AutoUpgrade.h17
-rw-r--r--include/llvm/IR/BasicBlock.h8
-rw-r--r--include/llvm/IR/CallSite.h83
-rw-r--r--include/llvm/IR/CallingConv.h25
-rw-r--r--include/llvm/IR/Comdat.h5
-rw-r--r--include/llvm/IR/Constant.h50
-rw-r--r--include/llvm/IR/ConstantRange.h50
-rw-r--r--include/llvm/IR/Constants.h473
-rw-r--r--include/llvm/IR/DIBuilder.h73
-rw-r--r--include/llvm/IR/DataLayout.h18
-rw-r--r--include/llvm/IR/DebugInfo.h23
-rw-r--r--include/llvm/IR/DebugInfoFlags.def5
-rw-r--r--include/llvm/IR/DebugInfoMetadata.h350
-rw-r--r--include/llvm/IR/DerivedTypes.h180
-rw-r--r--include/llvm/IR/DiagnosticInfo.h215
-rw-r--r--include/llvm/IR/Dominators.h66
-rw-r--r--include/llvm/IR/Function.h152
-rw-r--r--include/llvm/IR/FunctionInfo.h241
-rw-r--r--include/llvm/IR/GVMaterializer.h10
-rw-r--r--include/llvm/IR/GetElementPtrTypeIterator.h12
-rw-r--r--include/llvm/IR/GlobalAlias.h44
-rw-r--r--include/llvm/IR/GlobalIFunc.h76
-rw-r--r--include/llvm/IR/GlobalIndirectSymbol.h84
-rw-r--r--include/llvm/IR/GlobalObject.h78
-rw-r--r--include/llvm/IR/GlobalValue.h255
-rw-r--r--include/llvm/IR/GlobalVariable.h12
-rw-r--r--include/llvm/IR/IRBuilder.h97
-rw-r--r--include/llvm/IR/IRPrintingPasses.h5
-rw-r--r--include/llvm/IR/InlineAsm.h24
-rw-r--r--include/llvm/IR/InstrTypes.h73
-rw-r--r--include/llvm/IR/Instruction.h198
-rw-r--r--include/llvm/IR/Instructions.h313
-rw-r--r--include/llvm/IR/IntrinsicInst.h68
-rw-r--r--include/llvm/IR/Intrinsics.h28
-rw-r--r--include/llvm/IR/Intrinsics.td131
-rw-r--r--include/llvm/IR/IntrinsicsAArch64.td35
-rw-r--r--include/llvm/IR/IntrinsicsAMDGPU.td425
-rw-r--r--include/llvm/IR/IntrinsicsARM.td66
-rw-r--r--include/llvm/IR/IntrinsicsHexagon.td24
-rw-r--r--include/llvm/IR/IntrinsicsMips.td22
-rw-r--r--include/llvm/IR/IntrinsicsNVVM.td244
-rw-r--r--include/llvm/IR/IntrinsicsPowerPC.td36
-rw-r--r--include/llvm/IR/IntrinsicsSystemZ.td19
-rw-r--r--include/llvm/IR/IntrinsicsWebAssembly.td4
-rw-r--r--include/llvm/IR/IntrinsicsX86.td2642
-rw-r--r--include/llvm/IR/LLVMContext.h80
-rw-r--r--include/llvm/IR/LegacyPassManagers.h15
-rw-r--r--include/llvm/IR/Mangler.h2
-rw-r--r--include/llvm/IR/Metadata.def1
-rw-r--r--include/llvm/IR/Metadata.h152
-rw-r--r--include/llvm/IR/Module.h214
-rw-r--r--include/llvm/IR/ModuleSlotTracker.h6
-rw-r--r--include/llvm/IR/ModuleSummaryIndex.h508
-rw-r--r--include/llvm/IR/Operator.h5
-rw-r--r--include/llvm/IR/OptBisect.h81
-rw-r--r--include/llvm/IR/PassManager.h364
-rw-r--r--include/llvm/IR/PassManagerInternal.h123
-rw-r--r--include/llvm/IR/PatternMatch.h37
-rw-r--r--include/llvm/IR/ProfileSummary.h85
-rw-r--r--include/llvm/IR/Statepoint.h78
-rw-r--r--include/llvm/IR/SymbolTableListTraits.h2
-rw-r--r--include/llvm/IR/TrackingMDRef.h1
-rw-r--r--include/llvm/IR/Type.h176
-rw-r--r--include/llvm/IR/TypeFinder.h3
-rw-r--r--include/llvm/IR/Use.h12
-rw-r--r--include/llvm/IR/UseListOrder.h3
-rw-r--r--include/llvm/IR/User.h4
-rw-r--r--include/llvm/IR/Value.def20
-rw-r--r--include/llvm/IR/Value.h79
-rw-r--r--include/llvm/IR/ValueMap.h25
-rw-r--r--include/llvm/IR/ValueSymbolTable.h3
-rw-r--r--include/llvm/IR/Verifier.h51
-rw-r--r--include/llvm/IRReader/IRReader.h5
-rw-r--r--include/llvm/InitializePasses.h286
-rw-r--r--include/llvm/LTO/LTO.h74
-rw-r--r--include/llvm/LTO/LTOCodeGenerator.h196
-rw-r--r--include/llvm/LTO/LTOModule.h214
-rw-r--r--include/llvm/LTO/legacy/LTOCodeGenerator.h236
-rw-r--r--include/llvm/LTO/legacy/LTOModule.h212
-rw-r--r--include/llvm/LTO/legacy/ThinLTOCodeGenerator.h276
-rw-r--r--include/llvm/LTO/legacy/UpdateCompilerUsed.h32
-rw-r--r--include/llvm/LibDriver/LibDriver.h6
-rw-r--r--include/llvm/LineEditor/LineEditor.h3
-rw-r--r--include/llvm/LinkAllIR.h5
-rw-r--r--include/llvm/LinkAllPasses.h35
-rw-r--r--include/llvm/Linker/IRMover.h24
-rw-r--r--include/llvm/Linker/Linker.h32
-rw-r--r--include/llvm/MC/MCAsmBackend.h28
-rw-r--r--include/llvm/MC/MCAsmInfo.h45
-rw-r--r--include/llvm/MC/MCAsmInfoELF.h4
-rw-r--r--include/llvm/MC/MCAssembler.h9
-rw-r--r--include/llvm/MC/MCCodeGenInfo.h51
-rw-r--r--include/llvm/MC/MCCodeView.h210
-rw-r--r--include/llvm/MC/MCContext.h104
-rw-r--r--include/llvm/MC/MCDirectives.h1
-rw-r--r--include/llvm/MC/MCDisassembler.h113
-rw-r--r--include/llvm/MC/MCDisassembler/MCDisassembler.h113
-rw-r--r--include/llvm/MC/MCDisassembler/MCExternalSymbolizer.h58
-rw-r--r--include/llvm/MC/MCDisassembler/MCRelocationInfo.h51
-rw-r--r--include/llvm/MC/MCDisassembler/MCSymbolizer.h85
-rw-r--r--include/llvm/MC/MCDwarf.h30
-rw-r--r--include/llvm/MC/MCELFObjectWriter.h22
-rw-r--r--include/llvm/MC/MCELFStreamer.h1
-rw-r--r--include/llvm/MC/MCExpr.h37
-rw-r--r--include/llvm/MC/MCExternalSymbolizer.h58
-rw-r--r--include/llvm/MC/MCFragment.h107
-rw-r--r--include/llvm/MC/MCInstPrinter.h2
-rw-r--r--include/llvm/MC/MCLinkerOptimizationHint.h25
-rw-r--r--include/llvm/MC/MCMachObjectWriter.h1
-rw-r--r--include/llvm/MC/MCObjectFileInfo.h31
-rw-r--r--include/llvm/MC/MCObjectStreamer.h24
-rw-r--r--include/llvm/MC/MCObjectWriter.h1
-rw-r--r--include/llvm/MC/MCParser/AsmLexer.h11
-rw-r--r--include/llvm/MC/MCParser/MCAsmLexer.h18
-rw-r--r--include/llvm/MC/MCParser/MCTargetAsmParser.h224
-rw-r--r--include/llvm/MC/MCRegisterInfo.h14
-rw-r--r--include/llvm/MC/MCRelocationInfo.h55
-rw-r--r--include/llvm/MC/MCSchedule.h4
-rw-r--r--include/llvm/MC/MCSection.h1
-rw-r--r--include/llvm/MC/MCSectionCOFF.h13
-rw-r--r--include/llvm/MC/MCSectionELF.h1
-rw-r--r--include/llvm/MC/MCStreamer.h86
-rw-r--r--include/llvm/MC/MCSubtargetInfo.h1
-rw-r--r--include/llvm/MC/MCSymbol.h4
-rw-r--r--include/llvm/MC/MCSymbolMachO.h15
-rw-r--r--include/llvm/MC/MCSymbolizer.h85
-rw-r--r--include/llvm/MC/MCTargetAsmParser.h222
-rw-r--r--include/llvm/MC/MCTargetOptions.h4
-rw-r--r--include/llvm/MC/MCWin64EH.h1
-rw-r--r--include/llvm/MC/MCWinEH.h51
-rw-r--r--include/llvm/MC/SectionKind.h8
-rw-r--r--include/llvm/MC/StringTableBuilder.h16
-rw-r--r--include/llvm/MC/SubtargetFeature.h3
-rw-r--r--include/llvm/MC/YAML.h94
-rw-r--r--include/llvm/Object/Archive.h58
-rw-r--r--include/llvm/Object/ArchiveWriter.h45
-rw-r--r--include/llvm/Object/Binary.h12
-rw-r--r--include/llvm/Object/COFF.h142
-rw-r--r--include/llvm/Object/COFFYAML.h223
-rw-r--r--include/llvm/Object/ELF.h78
-rw-r--r--include/llvm/Object/ELFObjectFile.h146
-rw-r--r--include/llvm/Object/ELFTypes.h89
-rw-r--r--include/llvm/Object/ELFYAML.h319
-rw-r--r--include/llvm/Object/Error.h47
-rw-r--r--include/llvm/Object/FunctionIndexObjectFile.h110
-rw-r--r--include/llvm/Object/IRObjectFile.h10
-rw-r--r--include/llvm/Object/MachO.h30
-rw-r--r--include/llvm/Object/MachOUniversal.h70
-rw-r--r--include/llvm/Object/ModuleSummaryIndexObjectFile.h103
-rw-r--r--include/llvm/Object/ObjectFile.h48
-rw-r--r--include/llvm/Object/RelocVisitor.h16
-rw-r--r--include/llvm/Object/StackMapParser.h3
-rw-r--r--include/llvm/Object/SymbolicFile.h9
-rw-r--r--include/llvm/ObjectYAML/COFFYAML.h223
-rw-r--r--include/llvm/ObjectYAML/ELFYAML.h319
-rw-r--r--include/llvm/ObjectYAML/MachOYAML.h296
-rw-r--r--include/llvm/ObjectYAML/ObjectYAML.h35
-rw-r--r--include/llvm/ObjectYAML/YAML.h103
-rw-r--r--include/llvm/Option/OptParser.td3
-rw-r--r--include/llvm/Option/Option.h2
-rw-r--r--include/llvm/Pass.h20
-rw-r--r--include/llvm/PassAnalysisSupport.h8
-rw-r--r--include/llvm/PassRegistry.h2
-rw-r--r--include/llvm/PassSupport.h210
-rw-r--r--include/llvm/Passes/PassBuilder.h170
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMapping.h630
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingReader.h193
-rw-r--r--include/llvm/ProfileData/Coverage/CoverageMappingWriter.h63
-rw-r--r--include/llvm/ProfileData/CoverageMapping.h578
-rw-r--r--include/llvm/ProfileData/CoverageMappingReader.h182
-rw-r--r--include/llvm/ProfileData/CoverageMappingWriter.h63
-rw-r--r--include/llvm/ProfileData/InstrProf.h545
-rw-r--r--include/llvm/ProfileData/InstrProfData.inc338
-rw-r--r--include/llvm/ProfileData/InstrProfReader.h135
-rw-r--r--include/llvm/ProfileData/InstrProfWriter.h30
-rw-r--r--include/llvm/ProfileData/ProfileCommon.h102
-rw-r--r--include/llvm/ProfileData/SampleProf.h44
-rw-r--r--include/llvm/ProfileData/SampleProfReader.h42
-rw-r--r--include/llvm/ProfileData/SampleProfWriter.h22
-rw-r--r--include/llvm/Support/AArch64TargetParser.def72
-rw-r--r--include/llvm/Support/AIXDataTypesFix.h25
-rw-r--r--include/llvm/Support/ARMBuildAttributes.h6
-rw-r--r--include/llvm/Support/ARMTargetParser.def270
-rw-r--r--include/llvm/Support/AlignOf.h21
-rw-r--r--include/llvm/Support/Allocator.h2
-rw-r--r--include/llvm/Support/Atomic.h9
-rw-r--r--include/llvm/Support/AtomicOrdering.h153
-rw-r--r--include/llvm/Support/BranchProbability.h2
-rw-r--r--include/llvm/Support/COFF.h29
-rw-r--r--include/llvm/Support/CachePruning.h69
-rw-r--r--include/llvm/Support/CodeGen.h47
-rw-r--r--include/llvm/Support/CodeGenCWrappers.h64
-rw-r--r--include/llvm/Support/CommandLine.h89
-rw-r--r--include/llvm/Support/Compiler.h35
-rw-r--r--include/llvm/Support/ConvertUTF.h35
-rw-r--r--include/llvm/Support/CrashRecoveryContext.h11
-rw-r--r--include/llvm/Support/DataTypes.h.cmake41
-rw-r--r--include/llvm/Support/DataTypes.h.in123
-rw-r--r--include/llvm/Support/Dwarf.def23
-rw-r--r--include/llvm/Support/Dwarf.h23
-rw-r--r--include/llvm/Support/ELF.h58
-rw-r--r--include/llvm/Support/ELFRelocs/AMDGPU.def12
-rw-r--r--include/llvm/Support/ELFRelocs/BPF.def9
-rw-r--r--include/llvm/Support/ELFRelocs/Hexagon.def1
-rw-r--r--include/llvm/Support/ELFRelocs/Lanai.def19
-rw-r--r--include/llvm/Support/ELFRelocs/Mips.def4
-rw-r--r--include/llvm/Support/ELFRelocs/i386.def2
-rw-r--r--include/llvm/Support/ELFRelocs/x86_64.def3
-rw-r--r--include/llvm/Support/Endian.h4
-rw-r--r--include/llvm/Support/EndianStream.h5
-rw-r--r--include/llvm/Support/Error.h950
-rw-r--r--include/llvm/Support/ErrorHandling.h2
-rw-r--r--include/llvm/Support/ErrorOr.h29
-rw-r--r--include/llvm/Support/FileSystem.h88
-rw-r--r--include/llvm/Support/Format.h8
-rw-r--r--include/llvm/Support/GenericDomTree.h24
-rw-r--r--include/llvm/Support/Host.h2
-rw-r--r--include/llvm/Support/JamCRC.h3
-rw-r--r--include/llvm/Support/Locale.h4
-rw-r--r--include/llvm/Support/LockFileManager.h13
-rw-r--r--include/llvm/Support/MD5.h15
-rw-r--r--include/llvm/Support/MachO.def106
-rw-r--r--include/llvm/Support/MachO.h150
-rw-r--r--include/llvm/Support/ManagedStatic.h53
-rw-r--r--include/llvm/Support/MathExtras.h140
-rw-r--r--include/llvm/Support/OnDiskHashTable.h18
-rw-r--r--include/llvm/Support/Path.h21
-rw-r--r--include/llvm/Support/PointerLikeTypeTraits.h6
-rw-r--r--include/llvm/Support/PrettyStackTrace.h10
-rw-r--r--include/llvm/Support/Printable.h4
-rw-r--r--include/llvm/Support/Process.h5
-rw-r--r--include/llvm/Support/Program.h4
-rw-r--r--include/llvm/Support/RandomNumberGenerator.h2
-rw-r--r--include/llvm/Support/Registry.h179
-rw-r--r--include/llvm/Support/RegistryParser.h55
-rw-r--r--include/llvm/Support/SHA1.h82
-rw-r--r--include/llvm/Support/ScaledNumber.h4
-rw-r--r--include/llvm/Support/ScopedPrinter.h378
-rw-r--r--include/llvm/Support/Signals.h10
-rw-r--r--include/llvm/Support/StreamingMemoryObject.h10
-rw-r--r--include/llvm/Support/SwapByteOrder.h1
-rw-r--r--include/llvm/Support/TargetParser.h56
-rw-r--r--include/llvm/Support/TargetRegistry.h86
-rw-r--r--include/llvm/Support/ThreadPool.h1
-rw-r--r--include/llvm/Support/Threading.h81
-rw-r--r--include/llvm/Support/Timer.h3
-rw-r--r--include/llvm/Support/TrailingObjects.h49
-rw-r--r--include/llvm/Support/TypeName.h65
-rw-r--r--include/llvm/Support/Unicode.h4
-rw-r--r--include/llvm/Support/Valgrind.h12
-rw-r--r--include/llvm/Support/YAMLParser.h1
-rw-r--r--include/llvm/Support/YAMLTraits.h44
-rw-r--r--include/llvm/Support/raw_sha1_ostream.h47
-rw-r--r--include/llvm/Support/thread.h1
-rw-r--r--include/llvm/Support/type_traits.h12
-rw-r--r--include/llvm/TableGen/Record.h319
-rw-r--r--include/llvm/TableGen/SearchableTable.td41
-rw-r--r--include/llvm/TableGen/StringToOffsetTable.h20
-rw-r--r--include/llvm/Target/GenericOpcodes.td46
-rw-r--r--include/llvm/Target/Target.td64
-rw-r--r--include/llvm/Target/TargetCallingConv.h18
-rw-r--r--include/llvm/Target/TargetCallingConv.td10
-rw-r--r--include/llvm/Target/TargetFrameLowering.h72
-rw-r--r--include/llvm/Target/TargetInstrInfo.h281
-rw-r--r--include/llvm/Target/TargetLowering.h366
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h7
-rw-r--r--include/llvm/Target/TargetMachine.h39
-rw-r--r--include/llvm/Target/TargetOpcodes.def177
-rw-r--r--include/llvm/Target/TargetOpcodes.h122
-rw-r--r--include/llvm/Target/TargetOptions.h40
-rw-r--r--include/llvm/Target/TargetRecip.h9
-rw-r--r--include/llvm/Target/TargetRegisterInfo.h153
-rw-r--r--include/llvm/Target/TargetSchedule.td23
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td42
-rw-r--r--include/llvm/Target/TargetSelectionDAGInfo.h158
-rw-r--r--include/llvm/Target/TargetSubtargetInfo.h24
-rw-r--r--include/llvm/Transforms/GCOVProfiler.h31
-rw-r--r--include/llvm/Transforms/IPO.h35
-rw-r--r--include/llvm/Transforms/IPO/ConstantMerge.h35
-rw-r--r--include/llvm/Transforms/IPO/CrossDSOCFI.h28
-rw-r--r--include/llvm/Transforms/IPO/DeadArgumentElimination.h133
-rw-r--r--include/llvm/Transforms/IPO/ElimAvailExtern.h31
-rw-r--r--include/llvm/Transforms/IPO/ForceFunctionAttrs.h6
-rw-r--r--include/llvm/Transforms/IPO/FunctionAttrs.h57
-rw-r--r--include/llvm/Transforms/IPO/FunctionImport.h100
-rw-r--r--include/llvm/Transforms/IPO/GlobalDCE.h46
-rw-r--r--include/llvm/Transforms/IPO/GlobalOpt.h32
-rw-r--r--include/llvm/Transforms/IPO/InferFunctionAttrs.h6
-rw-r--r--include/llvm/Transforms/IPO/InlinerPass.h32
-rw-r--r--include/llvm/Transforms/IPO/Internalize.h79
-rw-r--r--include/llvm/Transforms/IPO/LowerBitSets.h201
-rw-r--r--include/llvm/Transforms/IPO/LowerTypeTests.h213
-rw-r--r--include/llvm/Transforms/IPO/PartialInlining.h32
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h28
-rw-r--r--include/llvm/Transforms/IPO/SCCP.h34
-rw-r--r--include/llvm/Transforms/IPO/StripDeadPrototypes.h6
-rw-r--r--include/llvm/Transforms/IPO/WholeProgramDevirt.h223
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombine.h32
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombineWorklist.h3
-rw-r--r--include/llvm/Transforms/InstrProfiling.h105
-rw-r--r--include/llvm/Transforms/Instrumentation.h31
-rw-r--r--include/llvm/Transforms/PGOInstrumentation.h48
-rw-r--r--include/llvm/Transforms/SampleProfile.h27
-rw-r--r--include/llvm/Transforms/Scalar.h94
-rw-r--r--include/llvm/Transforms/Scalar/ADCE.h6
-rw-r--r--include/llvm/Transforms/Scalar/AlignmentFromAssumptions.h51
-rw-r--r--include/llvm/Transforms/Scalar/BDCE.h31
-rw-r--r--include/llvm/Transforms/Scalar/ConstantHoisting.h149
-rw-r--r--include/llvm/Transforms/Scalar/CorrelatedValuePropagation.h24
-rw-r--r--include/llvm/Transforms/Scalar/DCE.h29
-rw-r--r--include/llvm/Transforms/Scalar/DeadStoreElimination.h34
-rw-r--r--include/llvm/Transforms/Scalar/EarlyCSE.h7
-rw-r--r--include/llvm/Transforms/Scalar/Float2Int.h51
-rw-r--r--include/llvm/Transforms/Scalar/GVN.h240
-rw-r--r--include/llvm/Transforms/Scalar/GuardWidening.h32
-rw-r--r--include/llvm/Transforms/Scalar/IndVarSimplify.h29
-rw-r--r--include/llvm/Transforms/Scalar/JumpThreading.h141
-rw-r--r--include/llvm/Transforms/Scalar/LICM.h48
-rw-r--r--include/llvm/Transforms/Scalar/LoopDeletion.h38
-rw-r--r--include/llvm/Transforms/Scalar/LoopDistribute.h30
-rw-r--r--include/llvm/Transforms/Scalar/LoopIdiomRecognize.h31
-rw-r--r--include/llvm/Transforms/Scalar/LoopInstSimplify.h29
-rw-r--r--include/llvm/Transforms/Scalar/LoopRotation.h30
-rw-r--r--include/llvm/Transforms/Scalar/LoopSimplifyCFG.h32
-rw-r--r--include/llvm/Transforms/Scalar/LowerAtomic.h29
-rw-r--r--include/llvm/Transforms/Scalar/LowerExpectIntrinsic.h7
-rw-r--r--include/llvm/Transforms/Scalar/MemCpyOptimizer.h68
-rw-r--r--include/llvm/Transforms/Scalar/MergedLoadStoreMotion.h39
-rw-r--r--include/llvm/Transforms/Scalar/PartiallyInlineLibCalls.h30
-rw-r--r--include/llvm/Transforms/Scalar/Reassociate.h100
-rw-r--r--include/llvm/Transforms/Scalar/SCCP.h36
-rw-r--r--include/llvm/Transforms/Scalar/SROA.h8
-rw-r--r--include/llvm/Transforms/Scalar/SimplifyCFG.h6
-rw-r--r--include/llvm/Transforms/Scalar/Sink.h30
-rw-r--r--include/llvm/Transforms/Scalar/TailRecursionElimination.h66
-rw-r--r--include/llvm/Transforms/Utils/AddDiscriminators.h29
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h142
-rw-r--r--include/llvm/Transforms/Utils/BuildLibCalls.h120
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h26
-rw-r--r--include/llvm/Transforms/Utils/CodeExtractor.h2
-rw-r--r--include/llvm/Transforms/Utils/Evaluator.h119
-rw-r--r--include/llvm/Transforms/Utils/FunctionImportUtils.h100
-rw-r--r--include/llvm/Transforms/Utils/LCSSA.h44
-rw-r--r--include/llvm/Transforms/Utils/Local.h180
-rw-r--r--include/llvm/Transforms/Utils/LoopSimplify.h65
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h114
-rw-r--r--include/llvm/Transforms/Utils/LoopVersioning.h40
-rw-r--r--include/llvm/Transforms/Utils/Mem2Reg.h28
-rw-r--r--include/llvm/Transforms/Utils/MemorySSA.h949
-rw-r--r--include/llvm/Transforms/Utils/ModuleUtils.h20
-rw-r--r--include/llvm/Transforms/Utils/PromoteMemToReg.h3
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdater.h6
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdaterImpl.h1
-rw-r--r--include/llvm/Transforms/Utils/SanitizerStats.h56
-rw-r--r--include/llvm/Transforms/Utils/SimplifyIndVar.h13
-rw-r--r--include/llvm/Transforms/Utils/SimplifyInstructions.h31
-rw-r--r--include/llvm/Transforms/Utils/SimplifyLibCalls.h4
-rw-r--r--include/llvm/Transforms/Utils/SplitModule.h5
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h19
-rw-r--r--include/llvm/Transforms/Utils/ValueMapper.h360
-rw-r--r--include/llvm/Transforms/Vectorize.h7
-rw-r--r--include/llvm/Transforms/Vectorize/LoopVectorize.h103
-rw-r--r--include/llvm/Transforms/Vectorize/SLPVectorizer.h113
-rw-r--r--include/llvm/module.modulemap96
-rw-r--r--lib/Analysis/AliasAnalysis.cpp205
-rw-r--r--lib/Analysis/AliasAnalysisEvaluator.cpp174
-rw-r--r--lib/Analysis/AliasAnalysisSummary.cpp105
-rw-r--r--lib/Analysis/AliasAnalysisSummary.h211
-rw-r--r--lib/Analysis/AliasSetTracker.cpp101
-rw-r--r--lib/Analysis/Analysis.cpp25
-rw-r--r--lib/Analysis/AssumptionCache.cpp4
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp425
-rw-r--r--lib/Analysis/BlockFrequencyInfo.cpp144
-rw-r--r--lib/Analysis/BlockFrequencyInfoImpl.cpp38
-rw-r--r--lib/Analysis/BranchProbabilityInfo.cpp88
-rw-r--r--lib/Analysis/CFG.cpp2
-rw-r--r--lib/Analysis/CFLAliasAnalysis.cpp1119
-rw-r--r--lib/Analysis/CFLAndersAliasAnalysis.cpp584
-rw-r--r--lib/Analysis/CFLGraph.h544
-rw-r--r--lib/Analysis/CFLSteensAliasAnalysis.cpp442
-rw-r--r--lib/Analysis/CGSCCPassManager.cpp68
-rw-r--r--lib/Analysis/CMakeLists.txt12
-rw-r--r--lib/Analysis/CallGraph.cpp55
-rw-r--r--lib/Analysis/CallGraphSCCPass.cpp21
-rw-r--r--lib/Analysis/CallPrinter.cpp14
-rw-r--r--lib/Analysis/CaptureTracking.cpp52
-rw-r--r--lib/Analysis/CodeMetrics.cpp28
-rw-r--r--lib/Analysis/ConstantFolding.cpp736
-rw-r--r--lib/Analysis/CostModel.cpp15
-rw-r--r--lib/Analysis/Delinearization.cpp3
-rw-r--r--lib/Analysis/DemandedBits.cpp66
-rw-r--r--lib/Analysis/DependenceAnalysis.cpp493
-rw-r--r--lib/Analysis/DivergenceAnalysis.cpp24
-rw-r--r--lib/Analysis/DomPrinter.cpp48
-rw-r--r--lib/Analysis/DominanceFrontier.cpp50
-rw-r--r--lib/Analysis/EHPersonalities.cpp5
-rw-r--r--lib/Analysis/GlobalsModRef.cpp54
-rw-r--r--lib/Analysis/IVUsers.cpp113
-rw-r--r--lib/Analysis/IndirectCallPromotionAnalysis.cpp109
-rw-r--r--lib/Analysis/InlineCost.cpp312
-rw-r--r--lib/Analysis/InstructionSimplify.cpp425
-rw-r--r--lib/Analysis/Interval.cpp15
-rw-r--r--lib/Analysis/IntervalPartition.cpp5
-rw-r--r--lib/Analysis/IteratedDominanceFrontier.cpp19
-rw-r--r--lib/Analysis/LLVMBuild.txt2
-rw-r--r--lib/Analysis/LazyBlockFrequencyInfo.cpp68
-rw-r--r--lib/Analysis/LazyCallGraph.cpp1699
-rw-r--r--lib/Analysis/LazyValueInfo.cpp707
-rw-r--r--lib/Analysis/Lint.cpp5
-rw-r--r--lib/Analysis/Loads.cpp191
-rw-r--r--lib/Analysis/LoopAccessAnalysis.cpp578
-rw-r--r--lib/Analysis/LoopInfo.cpp285
-rw-r--r--lib/Analysis/LoopPass.cpp25
-rw-r--r--lib/Analysis/LoopPassManager.cpp39
-rw-r--r--lib/Analysis/LoopUnrollAnalyzer.cpp210
-rw-r--r--lib/Analysis/Makefile15
-rw-r--r--lib/Analysis/MemDepPrinter.cpp22
-rw-r--r--lib/Analysis/MemDerefPrinter.cpp2
-rw-r--r--lib/Analysis/MemoryBuiltins.cpp246
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp756
-rw-r--r--lib/Analysis/MemoryLocation.cpp22
-rw-r--r--lib/Analysis/ModuleSummaryAnalysis.cpp249
-rw-r--r--lib/Analysis/ObjCARCAliasAnalysis.cpp18
-rw-r--r--lib/Analysis/ObjCARCInstKind.cpp14
-rw-r--r--lib/Analysis/OptimizationDiagnosticInfo.cpp88
-rw-r--r--lib/Analysis/PHITransAddr.cpp5
-rw-r--r--lib/Analysis/PostDominators.cpp35
-rw-r--r--lib/Analysis/ProfileSummaryInfo.cpp166
-rw-r--r--lib/Analysis/RegionInfo.cpp51
-rw-r--r--lib/Analysis/RegionPrinter.cpp4
-rw-r--r--lib/Analysis/ScalarEvolution.cpp2502
-rw-r--r--lib/Analysis/ScalarEvolutionAliasAnalysis.cpp15
-rw-r--r--lib/Analysis/ScalarEvolutionExpander.cpp381
-rw-r--r--lib/Analysis/ScalarEvolutionNormalization.cpp2
-rw-r--r--lib/Analysis/ScopedNoAliasAA.cpp38
-rw-r--r--lib/Analysis/SparsePropagation.cpp4
-rw-r--r--lib/Analysis/StratifiedSets.h388
-rw-r--r--lib/Analysis/TargetLibraryInfo.cpp552
-rw-r--r--lib/Analysis/TargetTransformInfo.cpp76
-rw-r--r--lib/Analysis/Trace.cpp2
-rw-r--r--lib/Analysis/TypeBasedAliasAnalysis.cpp20
-rw-r--r--lib/Analysis/TypeMetadataUtils.cpp118
-rw-r--r--lib/Analysis/ValueTracking.cpp1898
-rw-r--r--lib/Analysis/VectorUtils.cpp209
-rw-r--r--lib/AsmParser/LLLexer.cpp28
-rw-r--r--lib/AsmParser/LLParser.cpp577
-rw-r--r--lib/AsmParser/LLParser.h37
-rw-r--r--lib/AsmParser/LLToken.h554
-rw-r--r--lib/AsmParser/Makefile14
-rw-r--r--lib/AsmParser/Parser.cpp29
-rw-r--r--lib/AsmParser/module.modulemap1
-rw-r--r--lib/Bitcode/Makefile14
-rw-r--r--lib/Bitcode/Reader/BitReader.cpp5
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp1786
-rw-r--r--lib/Bitcode/Reader/BitstreamReader.cpp68
-rw-r--r--lib/Bitcode/Reader/Makefile15
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp2225
-rw-r--r--lib/Bitcode/Writer/BitcodeWriterPass.cpp44
-rw-r--r--lib/Bitcode/Writer/LLVMBuild.txt2
-rw-r--r--lib/Bitcode/Writer/Makefile15
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.cpp321
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.h121
-rw-r--r--lib/Bitcode/module.modulemap1
-rw-r--r--lib/CMakeLists.txt1
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.cpp159
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.h12
-rw-r--r--lib/CodeGen/Analysis.cpp58
-rw-r--r--lib/CodeGen/AntiDepBreaker.h14
-rw-r--r--lib/CodeGen/AsmPrinter/ARMException.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/AddressPool.h2
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp348
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp6
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterHandler.h7
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/ByteStreamer.h1
-rw-r--r--lib/CodeGen/AsmPrinter/CMakeLists.txt3
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.cpp2076
-rw-r--r--lib/CodeGen/AsmPrinter/CodeViewDebug.h310
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.cpp47
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp3
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.h2
-rw-r--r--lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.cpp72
-rw-r--r--lib/CodeGen/AsmPrinter/DbgValueHistoryCalculator.h3
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp230
-rw-r--r--lib/CodeGen/AsmPrinter/DebugHandlerBase.h109
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocEntry.h16
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCFIException.cpp49
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp161
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h30
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp559
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h148
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfException.h8
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.cpp63
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.h46
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfFile.cpp39
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfFile.h18
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.cpp186
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h24
-rw-r--r--lib/CodeGen/AsmPrinter/EHStreamer.h1
-rw-r--r--lib/CodeGen/AsmPrinter/LLVMBuild.txt2
-rw-r--r--lib/CodeGen/AsmPrinter/Makefile13
-rw-r--r--lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp411
-rw-r--r--lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h138
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.cpp60
-rw-r--r--lib/CodeGen/AtomicExpandPass.cpp1168
-rw-r--r--lib/CodeGen/BranchFolding.cpp240
-rw-r--r--lib/CodeGen/BranchFolding.h32
-rw-r--r--lib/CodeGen/BuiltinGCs.cpp139
-rw-r--r--lib/CodeGen/CMakeLists.txt62
-rw-r--r--lib/CodeGen/CalcSpillWeights.cpp17
-rw-r--r--lib/CodeGen/CallingConvLower.cpp41
-rw-r--r--lib/CodeGen/CodeGen.cpp10
-rw-r--r--lib/CodeGen/CodeGenPrepare.cpp265
-rw-r--r--lib/CodeGen/CoreCLRGC.cpp54
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.cpp65
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.h10
-rw-r--r--lib/CodeGen/DFAPacketizer.cpp183
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp7
-rw-r--r--lib/CodeGen/DetectDeadLanes.cpp602
-rw-r--r--lib/CodeGen/EarlyIfConversion.cpp19
-rw-r--r--lib/CodeGen/ErlangGC.cpp46
-rw-r--r--lib/CodeGen/ExecutionDepsFix.cpp25
-rw-r--r--lib/CodeGen/ExpandISelPseudos.cpp7
-rw-r--r--lib/CodeGen/ExpandPostRAPseudos.cpp30
-rw-r--r--lib/CodeGen/FuncletLayout.cpp4
-rw-r--r--lib/CodeGen/GCRootLowering.cpp7
-rw-r--r--lib/CodeGen/GlobalISel/CMakeLists.txt27
-rw-r--r--lib/CodeGen/GlobalISel/GlobalISel.cpp30
-rw-r--r--lib/CodeGen/GlobalISel/IRTranslator.cpp164
-rw-r--r--lib/CodeGen/GlobalISel/LLVMBuild.txt22
-rw-r--r--lib/CodeGen/GlobalISel/MachineIRBuilder.cpp104
-rw-r--r--lib/CodeGen/GlobalISel/RegBankSelect.cpp897
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBank.cpp107
-rw-r--r--lib/CodeGen/GlobalISel/RegisterBankInfo.cpp663
-rw-r--r--lib/CodeGen/GlobalMerge.cpp28
-rw-r--r--lib/CodeGen/IfConversion.cpp254
-rw-r--r--lib/CodeGen/ImplicitNullChecks.cpp264
-rw-r--r--lib/CodeGen/InlineSpiller.cpp1140
-rw-r--r--lib/CodeGen/InterleavedAccessPass.cpp132
-rw-r--r--lib/CodeGen/LLVMBuild.txt4
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp66
-rw-r--r--lib/CodeGen/LexicalScopes.cpp13
-rw-r--r--lib/CodeGen/LiveDebugValues.cpp420
-rw-r--r--lib/CodeGen/LiveDebugVariables.cpp69
-rw-r--r--lib/CodeGen/LiveDebugVariables.h2
-rw-r--r--lib/CodeGen/LiveInterval.cpp340
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp552
-rw-r--r--lib/CodeGen/LivePhysRegs.cpp65
-rw-r--r--lib/CodeGen/LiveRangeCalc.cpp30
-rw-r--r--lib/CodeGen/LiveRangeCalc.h5
-rw-r--r--lib/CodeGen/LiveRangeEdit.cpp99
-rw-r--r--lib/CodeGen/LiveRangeUtils.h62
-rw-r--r--lib/CodeGen/LiveStackAnalysis.cpp2
-rw-r--r--lib/CodeGen/LiveVariables.cpp65
-rw-r--r--lib/CodeGen/LocalStackSlotAllocation.cpp64
-rw-r--r--lib/CodeGen/LowerEmuTLS.cpp162
-rw-r--r--lib/CodeGen/MIRParser/MILexer.cpp68
-rw-r--r--lib/CodeGen/MIRParser/MILexer.h5
-rw-r--r--lib/CodeGen/MIRParser/MIParser.cpp263
-rw-r--r--lib/CodeGen/MIRParser/MIParser.h60
-rw-r--r--lib/CodeGen/MIRParser/MIRParser.cpp248
-rw-r--r--lib/CodeGen/MIRParser/Makefile13
-rw-r--r--lib/CodeGen/MIRPrinter.cpp52
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp273
-rw-r--r--lib/CodeGen/MachineBlockFrequencyInfo.cpp119
-rw-r--r--lib/CodeGen/MachineBlockPlacement.cpp901
-rw-r--r--lib/CodeGen/MachineBranchProbabilityInfo.cpp24
-rw-r--r--lib/CodeGen/MachineCSE.cpp15
-rw-r--r--lib/CodeGen/MachineCombiner.cpp25
-rw-r--r--lib/CodeGen/MachineCopyPropagation.cpp369
-rw-r--r--lib/CodeGen/MachineDominators.cpp30
-rw-r--r--lib/CodeGen/MachineFunction.cpp124
-rw-r--r--lib/CodeGen/MachineFunctionPass.cpp29
-rw-r--r--lib/CodeGen/MachineInstr.cpp261
-rw-r--r--lib/CodeGen/MachineInstrBundle.cpp15
-rw-r--r--lib/CodeGen/MachineLICM.cpp41
-rw-r--r--lib/CodeGen/MachineLoopInfo.cpp9
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp3
-rw-r--r--lib/CodeGen/MachineRegionInfo.cpp6
-rw-r--r--lib/CodeGen/MachineRegisterInfo.cpp41
-rw-r--r--lib/CodeGen/MachineSSAUpdater.cpp1
-rw-r--r--lib/CodeGen/MachineScheduler.cpp736
-rw-r--r--lib/CodeGen/MachineSink.cpp160
-rw-r--r--lib/CodeGen/MachineTraceMetrics.cpp111
-rw-r--r--lib/CodeGen/MachineVerifier.cpp341
-rw-r--r--lib/CodeGen/Makefile22
-rw-r--r--lib/CodeGen/OcamlGC.cpp36
-rw-r--r--lib/CodeGen/OptimizePHIs.cpp2
-rw-r--r--lib/CodeGen/PHIElimination.cpp39
-rw-r--r--lib/CodeGen/ParallelCG.cpp105
-rw-r--r--lib/CodeGen/Passes.cpp817
-rw-r--r--lib/CodeGen/PatchableFunction.cpp88
-rw-r--r--lib/CodeGen/PeepholeOptimizer.cpp32
-rw-r--r--lib/CodeGen/PostRAHazardRecognizer.cpp98
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp63
-rw-r--r--lib/CodeGen/PreISelIntrinsicLowering.cpp94
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp524
-rw-r--r--lib/CodeGen/PseudoSourceValue.cpp5
-rw-r--r--lib/CodeGen/RegAllocBase.cpp12
-rw-r--r--lib/CodeGen/RegAllocBase.h10
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp5
-rw-r--r--lib/CodeGen/RegAllocFast.cpp81
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp67
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp23
-rw-r--r--lib/CodeGen/RegUsageInfoCollector.cpp142
-rw-r--r--lib/CodeGen/RegUsageInfoPropagate.cpp131
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp259
-rw-r--r--lib/CodeGen/RegisterPressure.cpp695
-rw-r--r--lib/CodeGen/RegisterScavenging.cpp148
-rw-r--r--lib/CodeGen/RegisterUsageInfo.cpp93
-rw-r--r--lib/CodeGen/RenameIndependentSubregs.cpp388
-rw-r--r--lib/CodeGen/SafeStack.cpp851
-rw-r--r--lib/CodeGen/SafeStackColoring.cpp289
-rw-r--r--lib/CodeGen/SafeStackColoring.h149
-rw-r--r--lib/CodeGen/SafeStackLayout.cpp138
-rw-r--r--lib/CodeGen/SafeStackLayout.h68
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp993
-rw-r--r--lib/CodeGen/ScheduleDAGPrinter.cpp1
-rw-r--r--lib/CodeGen/ScoreboardHazardRecognizer.cpp23
-rw-r--r--lib/CodeGen/SelectionDAG/CMakeLists.txt6
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp1673
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp65
-rw-r--r--lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp80
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.cpp8
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.h6
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp757
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp67
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp174
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp101
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.h179
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp32
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp196
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp461
-rw-r--r--lib/CodeGen/SelectionDAG/Makefile13
-rw-r--r--lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp16
-rw-r--r--lib/CodeGen/SelectionDAG/SDNodeDbgValue.h11
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp288
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp4
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp1584
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp1163
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h180
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp9
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp563
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGTargetInfo.cpp17
-rw-r--r--lib/CodeGen/SelectionDAG/StatepointLowering.cpp634
-rw-r--r--lib/CodeGen/SelectionDAG/StatepointLowering.h34
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp695
-rw-r--r--lib/CodeGen/SelectionDAG/TargetSelectionDAGInfo.cpp19
-rw-r--r--lib/CodeGen/ShadowStackGC.cpp55
-rw-r--r--lib/CodeGen/ShadowStackGCLowering.cpp6
-rw-r--r--lib/CodeGen/SjLjEHPrepare.cpp145
-rw-r--r--lib/CodeGen/SlotIndexes.cpp43
-rw-r--r--lib/CodeGen/SpillPlacement.cpp91
-rw-r--r--lib/CodeGen/SpillPlacement.h6
-rw-r--r--lib/CodeGen/Spiller.h4
-rw-r--r--lib/CodeGen/SplitKit.cpp244
-rw-r--r--lib/CodeGen/SplitKit.h84
-rw-r--r--lib/CodeGen/StackColoring.cpp619
-rw-r--r--lib/CodeGen/StackMapLivenessAnalysis.cpp8
-rw-r--r--lib/CodeGen/StackMaps.cpp4
-rw-r--r--lib/CodeGen/StackProtector.cpp204
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp47
-rw-r--r--lib/CodeGen/StatepointExampleGC.cpp55
-rw-r--r--lib/CodeGen/TailDuplication.cpp963
-rw-r--r--lib/CodeGen/TailDuplicator.cpp932
-rw-r--r--lib/CodeGen/TargetFrameLoweringImpl.cpp18
-rw-r--r--lib/CodeGen/TargetInstrInfo.cpp383
-rw-r--r--lib/CodeGen/TargetLoweringBase.cpp237
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp144
-rw-r--r--lib/CodeGen/TargetPassConfig.cpp888
-rw-r--r--lib/CodeGen/TargetRegisterInfo.cpp26
-rw-r--r--lib/CodeGen/TargetSchedule.cpp27
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp175
-rw-r--r--lib/CodeGen/UnreachableBlockElim.cpp66
-rw-r--r--lib/CodeGen/VirtRegMap.cpp49
-rw-r--r--lib/CodeGen/WinEHPrepare.cpp23
-rw-r--r--lib/CodeGen/XRayInstrumentation.cpp96
-rw-r--r--lib/CodeGen/module.modulemap1
-rw-r--r--lib/DebugInfo/CodeView/ByteStream.cpp79
-rw-r--r--lib/DebugInfo/CodeView/CMakeLists.txt13
-rw-r--r--lib/DebugInfo/CodeView/CVTypeVisitor.cpp123
-rw-r--r--lib/DebugInfo/CodeView/CodeViewError.cpp67
-rw-r--r--lib/DebugInfo/CodeView/EnumTables.cpp375
-rw-r--r--lib/DebugInfo/CodeView/FieldListRecordBuilder.cpp141
-rw-r--r--lib/DebugInfo/CodeView/ListRecordBuilder.cpp87
-rw-r--r--lib/DebugInfo/CodeView/Makefile14
-rw-r--r--lib/DebugInfo/CodeView/MemoryTypeTableBuilder.cpp27
-rw-r--r--lib/DebugInfo/CodeView/MethodListRecordBuilder.cpp2
-rw-r--r--lib/DebugInfo/CodeView/ModuleSubstream.cpp42
-rw-r--r--lib/DebugInfo/CodeView/ModuleSubstreamVisitor.cpp104
-rw-r--r--lib/DebugInfo/CodeView/RecordSerialization.cpp171
-rw-r--r--lib/DebugInfo/CodeView/StreamReader.cpp93
-rw-r--r--lib/DebugInfo/CodeView/StreamWriter.cpp77
-rw-r--r--lib/DebugInfo/CodeView/SymbolDumper.cpp642
-rw-r--r--lib/DebugInfo/CodeView/TypeDumper.cpp696
-rw-r--r--lib/DebugInfo/CodeView/TypeRecord.cpp572
-rw-r--r--lib/DebugInfo/CodeView/TypeRecordBuilder.cpp36
-rw-r--r--lib/DebugInfo/CodeView/TypeStreamMerger.cpp149
-rw-r--r--lib/DebugInfo/CodeView/TypeTableBuilder.cpp224
-rw-r--r--lib/DebugInfo/DWARF/DWARFContext.cpp112
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugFrame.cpp209
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLine.cpp77
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugLoc.cpp1
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugMacro.cpp3
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnit.cpp37
-rw-r--r--lib/DebugInfo/DWARF/Makefile14
-rw-r--r--lib/DebugInfo/DWARF/module.modulemap1
-rw-r--r--lib/DebugInfo/Makefile15
-rw-r--r--lib/DebugInfo/PDB/CMakeLists.txt28
-rw-r--r--lib/DebugInfo/PDB/DIA/DIADataStream.cpp2
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAEnumDebugStreams.cpp1
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAEnumLineNumbers.cpp1
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAEnumSourceFiles.cpp1
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAEnumSymbols.cpp1
-rw-r--r--lib/DebugInfo/PDB/DIA/DIAError.cpp59
-rw-r--r--lib/DebugInfo/PDB/DIA/DIALineNumber.cpp1
-rw-r--r--lib/DebugInfo/PDB/DIA/DIARawSymbol.cpp51
-rw-r--r--lib/DebugInfo/PDB/DIA/DIASession.cpp204
-rw-r--r--lib/DebugInfo/PDB/DIA/DIASourceFile.cpp13
-rw-r--r--lib/DebugInfo/PDB/GenericError.cpp67
-rw-r--r--lib/DebugInfo/PDB/IPDBSourceFile.cpp1
-rw-r--r--lib/DebugInfo/PDB/LLVMBuild.txt2
-rw-r--r--lib/DebugInfo/PDB/Makefile14
-rw-r--r--lib/DebugInfo/PDB/PDB.cpp26
-rw-r--r--lib/DebugInfo/PDB/PDBContext.cpp30
-rw-r--r--lib/DebugInfo/PDB/PDBExtras.cpp252
-rw-r--r--lib/DebugInfo/PDB/PDBInterfaceAnchors.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymDumper.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbol.cpp2
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolAnnotation.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolBlock.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompiland.cpp20
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompilandDetails.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCompilandEnv.cpp7
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolCustom.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolData.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolExe.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFunc.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFuncDebugEnd.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolFuncDebugStart.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolLabel.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolPublicSymbol.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolThunk.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeArray.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeBaseClass.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeBuiltin.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeCustom.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeDimension.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeEnum.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFriend.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFunctionArg.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeFunctionSig.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeManaged.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypePointer.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeTypedef.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeUDT.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeVTable.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolTypeVTableShape.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolUnknown.cpp1
-rw-r--r--lib/DebugInfo/PDB/PDBSymbolUsingNamespace.cpp1
-rw-r--r--lib/DebugInfo/PDB/Raw/DbiStream.cpp462
-rw-r--r--lib/DebugInfo/PDB/Raw/DbiStreamBuilder.cpp81
-rw-r--r--lib/DebugInfo/PDB/Raw/EnumTables.cpp38
-rw-r--r--lib/DebugInfo/PDB/Raw/Hash.cpp131
-rw-r--r--lib/DebugInfo/PDB/Raw/IndexedStreamData.cpp25
-rw-r--r--lib/DebugInfo/PDB/Raw/InfoStream.cpp90
-rw-r--r--lib/DebugInfo/PDB/Raw/InfoStreamBuilder.cpp67
-rw-r--r--lib/DebugInfo/PDB/Raw/MappedBlockStream.cpp310
-rw-r--r--lib/DebugInfo/PDB/Raw/ModInfo.cpp127
-rw-r--r--lib/DebugInfo/PDB/Raw/ModStream.cpp82
-rw-r--r--lib/DebugInfo/PDB/Raw/MsfBuilder.cpp279
-rw-r--r--lib/DebugInfo/PDB/Raw/MsfCommon.cpp48
-rw-r--r--lib/DebugInfo/PDB/Raw/NameHashTable.cpp104
-rw-r--r--lib/DebugInfo/PDB/Raw/NameMap.cpp213
-rw-r--r--lib/DebugInfo/PDB/Raw/NameMapBuilder.cpp50
-rw-r--r--lib/DebugInfo/PDB/Raw/PDBFile.cpp365
-rw-r--r--lib/DebugInfo/PDB/Raw/PDBFileBuilder.cpp102
-rw-r--r--lib/DebugInfo/PDB/Raw/PublicsStream.cpp173
-rw-r--r--lib/DebugInfo/PDB/Raw/RawError.cpp67
-rw-r--r--lib/DebugInfo/PDB/Raw/RawSession.cpp146
-rw-r--r--lib/DebugInfo/PDB/Raw/SymbolStream.cpp46
-rw-r--r--lib/DebugInfo/PDB/Raw/TpiStream.cpp273
-rw-r--r--lib/DebugInfo/Symbolize/DIPrinter.cpp20
-rw-r--r--lib/DebugInfo/Symbolize/Makefile15
-rw-r--r--lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp18
-rw-r--r--lib/DebugInfo/Symbolize/Symbolize.cpp185
-rw-r--r--lib/ExecutionEngine/ExecutionEngine.cpp17
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp3
-rw-r--r--lib/ExecutionEngine/IntelJITEvents/CMakeLists.txt6
-rw-r--r--lib/ExecutionEngine/IntelJITEvents/IntelJITEventListener.cpp23
-rw-r--r--lib/ExecutionEngine/IntelJITEvents/Makefile18
-rw-r--r--lib/ExecutionEngine/Interpreter/Makefile13
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.cpp41
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.h1
-rw-r--r--lib/ExecutionEngine/MCJIT/Makefile13
-rw-r--r--lib/ExecutionEngine/Makefile24
-rw-r--r--lib/ExecutionEngine/OProfileJIT/Makefile18
-rw-r--r--lib/ExecutionEngine/OProfileJIT/OProfileWrapper.cpp1
-rw-r--r--lib/ExecutionEngine/Orc/CMakeLists.txt3
-rw-r--r--lib/ExecutionEngine/Orc/IndirectionUtils.cpp57
-rw-r--r--lib/ExecutionEngine/Orc/Makefile13
-rw-r--r--lib/ExecutionEngine/Orc/OrcABISupport.cpp542
-rw-r--r--lib/ExecutionEngine/Orc/OrcArchitectureSupport.cpp171
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindings.cpp34
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.cpp43
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.h140
-rw-r--r--lib/ExecutionEngine/Orc/OrcError.cpp10
-rw-r--r--lib/ExecutionEngine/Orc/OrcMCJITReplacement.h50
-rw-r--r--lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp96
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Makefile13
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RTDyldMemoryManager.cpp34
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp249
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp16
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.h1
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp14
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCheckerImpl.h1
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp147
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h21
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h52
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp90
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h27
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h63
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h291
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h38
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h73
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h65
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h77
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h99
-rw-r--r--lib/ExecutionEngine/TargetSelect.cpp3
-rw-r--r--lib/Fuzzer/CMakeLists.txt23
-rw-r--r--lib/Fuzzer/FuzzerDriver.cpp214
-rw-r--r--lib/Fuzzer/FuzzerExtFunctions.def46
-rw-r--r--lib/Fuzzer/FuzzerExtFunctions.h33
-rw-r--r--lib/Fuzzer/FuzzerExtFunctionsDlsym.cpp49
-rw-r--r--lib/Fuzzer/FuzzerExtFunctionsWeak.cpp50
-rw-r--r--lib/Fuzzer/FuzzerFlags.def53
-rw-r--r--lib/Fuzzer/FuzzerFnAdapter.h187
-rw-r--r--lib/Fuzzer/FuzzerIO.cpp80
-rw-r--r--lib/Fuzzer/FuzzerInterface.cpp30
-rw-r--r--lib/Fuzzer/FuzzerInterface.h233
-rw-r--r--lib/Fuzzer/FuzzerInternal.h441
-rw-r--r--lib/Fuzzer/FuzzerLoop.cpp747
-rw-r--r--lib/Fuzzer/FuzzerMain.cpp6
-rw-r--r--lib/Fuzzer/FuzzerMutate.cpp242
-rw-r--r--lib/Fuzzer/FuzzerSanitizerOptions.cpp19
-rw-r--r--lib/Fuzzer/FuzzerTracePC.cpp71
-rw-r--r--lib/Fuzzer/FuzzerTracePC.h37
-rw-r--r--lib/Fuzzer/FuzzerTraceState.cpp210
-rw-r--r--lib/Fuzzer/FuzzerUtil.cpp131
-rw-r--r--lib/Fuzzer/afl/afl_driver.cpp287
-rwxr-xr-xlib/Fuzzer/pull_and_push_fuzz_corpus.sh17
-rw-r--r--lib/Fuzzer/test/AFLDriverTest.cpp22
-rw-r--r--lib/Fuzzer/test/AccumulateAllocationsTest.cpp17
-rw-r--r--lib/Fuzzer/test/BufferOverflowOnInput.cpp23
-rw-r--r--lib/Fuzzer/test/CMakeLists.txt205
-rw-r--r--lib/Fuzzer/test/CallerCalleeTest.cpp3
-rw-r--r--lib/Fuzzer/test/CounterTest.cpp3
-rw-r--r--lib/Fuzzer/test/CustomCrossOverTest.cpp57
-rw-r--r--lib/Fuzzer/test/CustomMutatorTest.cpp38
-rw-r--r--lib/Fuzzer/test/EmptyTest.cpp11
-rw-r--r--lib/Fuzzer/test/FourIndependentBranchesTest.cpp3
-rw-r--r--lib/Fuzzer/test/FullCoverageSetTest.cpp3
-rw-r--r--lib/Fuzzer/test/FuzzerFnAdapterUnittest.cpp110
-rw-r--r--lib/Fuzzer/test/FuzzerUnittest.cpp103
-rw-r--r--lib/Fuzzer/test/InitializeTest.cpp26
-rw-r--r--lib/Fuzzer/test/LeakTest.cpp17
-rw-r--r--lib/Fuzzer/test/LeakTimeoutTest.cpp17
-rw-r--r--lib/Fuzzer/test/MemcmpTest.cpp5
-rw-r--r--lib/Fuzzer/test/NthRunCrashTest.cpp18
-rw-r--r--lib/Fuzzer/test/NullDerefOnEmptyTest.cpp19
-rw-r--r--lib/Fuzzer/test/NullDerefTest.cpp3
-rw-r--r--lib/Fuzzer/test/OneHugeAllocTest.cpp29
-rw-r--r--lib/Fuzzer/test/OutOfMemoryTest.cpp31
-rw-r--r--lib/Fuzzer/test/RepeatedMemcmp.cpp22
-rw-r--r--lib/Fuzzer/test/SignedIntOverflowTest.cpp28
-rw-r--r--lib/Fuzzer/test/SimpleCmpTest.cpp3
-rw-r--r--lib/Fuzzer/test/SimpleDictionaryTest.cpp3
-rw-r--r--lib/Fuzzer/test/SimpleFnAdapterTest.cpp24
-rw-r--r--lib/Fuzzer/test/SimpleHashTest.cpp3
-rw-r--r--lib/Fuzzer/test/SimpleTest.cpp3
-rw-r--r--lib/Fuzzer/test/SimpleThreadedTest.cpp25
-rw-r--r--lib/Fuzzer/test/SpamyTest.cpp21
-rw-r--r--lib/Fuzzer/test/StrcmpTest.cpp3
-rw-r--r--lib/Fuzzer/test/StrncmpTest.cpp3
-rw-r--r--lib/Fuzzer/test/StrstrTest.cpp18
-rw-r--r--lib/Fuzzer/test/SwitchTest.cpp3
-rw-r--r--lib/Fuzzer/test/ThreadedLeakTest.cpp18
-rw-r--r--lib/Fuzzer/test/ThreadedTest.cpp3
-rw-r--r--lib/Fuzzer/test/TimeoutTest.cpp3
-rw-r--r--lib/Fuzzer/test/UninstrumentedTest.cpp3
-rw-r--r--lib/Fuzzer/test/UserSuppliedFuzzerTest.cpp51
-rw-r--r--lib/Fuzzer/test/afl-driver-extra-stats.test28
-rw-r--r--lib/Fuzzer/test/afl-driver-stderr.test10
-rw-r--r--lib/Fuzzer/test/dfsan/CMakeLists.txt21
-rw-r--r--lib/Fuzzer/test/fuzzer-customcrossover.test10
-rw-r--r--lib/Fuzzer/test/fuzzer-custommutator.test4
-rw-r--r--lib/Fuzzer/test/fuzzer-dfsan.test5
-rw-r--r--lib/Fuzzer/test/fuzzer-dirs.test12
-rw-r--r--lib/Fuzzer/test/fuzzer-fdmask.test30
-rw-r--r--lib/Fuzzer/test/fuzzer-finalstats.test11
-rw-r--r--lib/Fuzzer/test/fuzzer-flags.test8
-rw-r--r--lib/Fuzzer/test/fuzzer-fn-adapter.test3
-rw-r--r--lib/Fuzzer/test/fuzzer-leak.test31
-rw-r--r--lib/Fuzzer/test/fuzzer-oom-with-profile.test6
-rw-r--r--lib/Fuzzer/test/fuzzer-oom.test4
-rw-r--r--lib/Fuzzer/test/fuzzer-printcovpcs.test5
-rw-r--r--lib/Fuzzer/test/fuzzer-prunecorpus.test13
-rw-r--r--lib/Fuzzer/test/fuzzer-runs.test8
-rw-r--r--lib/Fuzzer/test/fuzzer-seed.test3
-rw-r--r--lib/Fuzzer/test/fuzzer-segv.test5
-rw-r--r--lib/Fuzzer/test/fuzzer-singleinputs.test13
-rw-r--r--lib/Fuzzer/test/fuzzer-timeout.test5
-rw-r--r--lib/Fuzzer/test/fuzzer-trace-pc.test7
-rw-r--r--lib/Fuzzer/test/fuzzer-traces-hooks.test25
-rw-r--r--lib/Fuzzer/test/fuzzer-traces.test19
-rw-r--r--lib/Fuzzer/test/fuzzer-trunc.test10
-rw-r--r--lib/Fuzzer/test/fuzzer-ubsan.test4
-rw-r--r--lib/Fuzzer/test/fuzzer.test27
-rw-r--r--lib/Fuzzer/test/lit.cfg20
-rw-r--r--lib/Fuzzer/test/lit.site.cfg.in2
-rw-r--r--lib/Fuzzer/test/merge.test13
-rw-r--r--lib/Fuzzer/test/no-coverage/CMakeLists.txt16
-rw-r--r--lib/Fuzzer/test/trace-bb/CMakeLists.txt15
-rw-r--r--lib/Fuzzer/test/trace-pc/CMakeLists.txt16
-rw-r--r--lib/Fuzzer/test/ubsan/CMakeLists.txt15
-rw-r--r--lib/Fuzzer/test/uninstrumented/CMakeLists.txt20
-rw-r--r--lib/IR/AsmWriter.cpp319
-rw-r--r--lib/IR/AttributeImpl.h80
-rw-r--r--lib/IR/Attributes.cpp300
-rw-r--r--lib/IR/AutoUpgrade.cpp1134
-rw-r--r--lib/IR/BasicBlock.cpp25
-rw-r--r--lib/IR/CMakeLists.txt12
-rw-r--r--lib/IR/Comdat.cpp3
-rw-r--r--lib/IR/ConstantFold.cpp390
-rw-r--r--lib/IR/ConstantFold.h9
-rw-r--r--lib/IR/ConstantRange.cpp219
-rw-r--r--lib/IR/Constants.cpp342
-rw-r--r--lib/IR/ConstantsContext.h71
-rw-r--r--lib/IR/Core.cpp446
-rw-r--r--lib/IR/DIBuilder.cpp311
-rw-r--r--lib/IR/DataLayout.cpp44
-rw-r--r--lib/IR/DebugInfo.cpp158
-rw-r--r--lib/IR/DebugInfoMetadata.cpp237
-rw-r--r--lib/IR/DebugLoc.cpp3
-rw-r--r--lib/IR/DiagnosticInfo.cpp37
-rw-r--r--lib/IR/Dominators.cpp15
-rw-r--r--lib/IR/Function.cpp385
-rw-r--r--lib/IR/FunctionInfo.cpp67
-rw-r--r--lib/IR/GCOV.cpp32
-rw-r--r--lib/IR/Globals.cpp112
-rw-r--r--lib/IR/IRBuilder.cpp109
-rw-r--r--lib/IR/IRPrintingPasses.cpp11
-rw-r--r--lib/IR/InlineAsm.cpp8
-rw-r--r--lib/IR/Instruction.cpp94
-rw-r--r--lib/IR/Instructions.cpp347
-rw-r--r--lib/IR/IntrinsicInst.cpp74
-rw-r--r--lib/IR/LLVMContext.cpp99
-rw-r--r--lib/IR/LLVMContextImpl.cpp71
-rw-r--r--lib/IR/LLVMContextImpl.h402
-rw-r--r--lib/IR/LegacyPassManager.cpp54
-rw-r--r--lib/IR/MDBuilder.cpp2
-rw-r--r--lib/IR/Makefile61
-rw-r--r--lib/IR/Mangler.cpp2
-rw-r--r--lib/IR/Metadata.cpp345
-rw-r--r--lib/IR/Module.cpp70
-rw-r--r--lib/IR/ModuleSummaryIndex.cpp107
-rw-r--r--lib/IR/Operator.cpp6
-rw-r--r--lib/IR/OptBisect.cpp120
-rw-r--r--lib/IR/Pass.cpp25
-rw-r--r--lib/IR/PassManager.cpp37
-rw-r--r--lib/IR/PassRegistry.cpp4
-rw-r--r--lib/IR/ProfileSummary.cpp191
-rw-r--r--lib/IR/Statepoint.cpp79
-rw-r--r--lib/IR/Type.cpp25
-rw-r--r--lib/IR/TypeFinder.cpp18
-rw-r--r--lib/IR/Value.cpp128
-rw-r--r--lib/IR/ValueSymbolTable.cpp12
-rw-r--r--lib/IR/ValueTypes.cpp5
-rw-r--r--lib/IR/Verifier.cpp1461
-rw-r--r--lib/IR/module.modulemap1
-rw-r--r--lib/IRReader/Makefile14
-rw-r--r--lib/LLVMBuild.txt1
-rw-r--r--lib/LTO/CMakeLists.txt55
-rw-r--r--lib/LTO/LLVMBuild.txt1
-rw-r--r--lib/LTO/LTO.cpp119
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp359
-rw-r--r--lib/LTO/LTOModule.cpp98
-rw-r--r--lib/LTO/Makefile15
-rw-r--r--lib/LTO/ThinLTOCodeGenerator.cpp835
-rw-r--r--lib/LTO/UpdateCompilerUsed.cpp146
-rw-r--r--lib/LibDriver/LibDriver.cpp20
-rw-r--r--lib/LibDriver/Makefile20
-rw-r--r--lib/LineEditor/LineEditor.cpp16
-rw-r--r--lib/LineEditor/Makefile15
-rw-r--r--lib/Linker/IRMover.cpp828
-rw-r--r--lib/Linker/LinkModules.cpp607
-rw-r--r--lib/Linker/Makefile15
-rw-r--r--lib/MC/CMakeLists.txt4
-rw-r--r--lib/MC/ConstantPools.cpp17
-rw-r--r--lib/MC/ELFObjectWriter.cpp395
-rw-r--r--lib/MC/MCAsmBackend.cpp6
-rw-r--r--lib/MC/MCAsmInfo.cpp4
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp2
-rw-r--r--lib/MC/MCAsmInfoELF.cpp3
-rw-r--r--lib/MC/MCAsmStreamer.cpp274
-rw-r--r--lib/MC/MCAssembler.cpp87
-rw-r--r--lib/MC/MCCodeGenInfo.cpp23
-rw-r--r--lib/MC/MCCodeView.cpp464
-rw-r--r--lib/MC/MCContext.cpp112
-rw-r--r--lib/MC/MCDisassembler/CMakeLists.txt5
-rw-r--r--lib/MC/MCDisassembler/Disassembler.cpp6
-rw-r--r--lib/MC/MCDisassembler/Disassembler.h30
-rw-r--r--lib/MC/MCDisassembler/MCDisassembler.cpp4
-rw-r--r--lib/MC/MCDisassembler/MCExternalSymbolizer.cpp2
-rw-r--r--lib/MC/MCDisassembler/MCRelocationInfo.cpp8
-rw-r--r--lib/MC/MCDisassembler/MCSymbolizer.cpp15
-rw-r--r--lib/MC/MCDisassembler/Makefile14
-rw-r--r--lib/MC/MCDwarf.cpp69
-rw-r--r--lib/MC/MCELFStreamer.cpp12
-rw-r--r--lib/MC/MCExpr.cpp64
-rw-r--r--lib/MC/MCFragment.cpp36
-rw-r--r--lib/MC/MCInst.cpp4
-rw-r--r--lib/MC/MCLabel.cpp2
-rw-r--r--lib/MC/MCLinkerOptimizationHint.cpp31
-rw-r--r--lib/MC/MCMachOStreamer.cpp26
-rw-r--r--lib/MC/MCObjectFileInfo.cpp108
-rw-r--r--lib/MC/MCObjectStreamer.cpp115
-rw-r--r--lib/MC/MCParser/AsmLexer.cpp206
-rw-r--r--lib/MC/MCParser/AsmParser.cpp1206
-rw-r--r--lib/MC/MCParser/COFFAsmParser.cpp2
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp35
-rw-r--r--lib/MC/MCParser/ELFAsmParser.cpp30
-rw-r--r--lib/MC/MCParser/MCAsmLexer.cpp2
-rw-r--r--lib/MC/MCParser/MCAsmParser.cpp4
-rw-r--r--lib/MC/MCParser/MCTargetAsmParser.cpp2
-rw-r--r--lib/MC/MCParser/Makefile15
-rw-r--r--lib/MC/MCRegisterInfo.cpp9
-rw-r--r--lib/MC/MCSection.cpp2
-rw-r--r--lib/MC/MCStreamer.cpp101
-rw-r--r--lib/MC/MCSymbol.cpp2
-rw-r--r--lib/MC/MCSymbolizer.cpp15
-rw-r--r--lib/MC/MCValue.cpp2
-rw-r--r--lib/MC/MCWin64EH.cpp30
-rw-r--r--lib/MC/MCWinEH.cpp55
-rw-r--r--lib/MC/MachObjectWriter.cpp16
-rw-r--r--lib/MC/Makefile16
-rw-r--r--lib/MC/StringTableBuilder.cpp77
-rw-r--r--lib/MC/SubtargetFeature.cpp3
-rw-r--r--lib/MC/WinCOFFObjectWriter.cpp171
-rw-r--r--lib/MC/WinCOFFStreamer.cpp34
-rw-r--r--lib/MC/YAML.cpp65
-rw-r--r--lib/Makefile17
-rw-r--r--lib/Object/Archive.cpp189
-rw-r--r--lib/Object/ArchiveWriter.cpp208
-rw-r--r--lib/Object/Binary.cpp14
-rw-r--r--lib/Object/CMakeLists.txt4
-rw-r--r--lib/Object/COFFObjectFile.cpp158
-rw-r--r--lib/Object/COFFYAML.cpp503
-rw-r--r--lib/Object/ELF.cpp20
-rw-r--r--lib/Object/ELFObjectFile.cpp67
-rw-r--r--lib/Object/ELFYAML.cpp809
-rw-r--r--lib/Object/Error.cpp43
-rw-r--r--lib/Object/FunctionIndexObjectFile.cpp143
-rw-r--r--lib/Object/IRObjectFile.cpp41
-rw-r--r--lib/Object/MachOObjectFile.cpp404
-rw-r--r--lib/Object/MachOUniversal.cpp120
-rw-r--r--lib/Object/Makefile14
-rw-r--r--lib/Object/ModuleSummaryIndexObjectFile.cpp126
-rw-r--r--lib/Object/Object.cpp40
-rw-r--r--lib/Object/ObjectFile.cpp38
-rw-r--r--lib/Object/RecordStreamer.cpp16
-rw-r--r--lib/Object/RecordStreamer.h4
-rw-r--r--lib/Object/SymbolicFile.cpp14
-rw-r--r--lib/ObjectYAML/CMakeLists.txt7
-rw-r--r--lib/ObjectYAML/COFFYAML.cpp504
-rw-r--r--lib/ObjectYAML/ELFYAML.cpp841
-rw-r--r--lib/ObjectYAML/LLVMBuild.txt14
-rw-r--r--lib/ObjectYAML/MachOYAML.cpp546
-rw-r--r--lib/ObjectYAML/ObjectYAML.cpp57
-rw-r--r--lib/ObjectYAML/YAML.cpp61
-rw-r--r--lib/Option/Makefile14
-rw-r--r--lib/Option/OptTable.cpp2
-rw-r--r--lib/Option/Option.cpp16
-rw-r--r--lib/Passes/LLVMBuild.txt2
-rw-r--r--lib/Passes/Makefile14
-rw-r--r--lib/Passes/PassBuilder.cpp423
-rw-r--r--lib/Passes/PassRegistry.def123
-rw-r--r--lib/ProfileData/CMakeLists.txt6
-rw-r--r--lib/ProfileData/Coverage/CMakeLists.txt11
-rw-r--r--lib/ProfileData/Coverage/CoverageMapping.cpp580
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingReader.cpp709
-rw-r--r--lib/ProfileData/Coverage/CoverageMappingWriter.cpp183
-rw-r--r--lib/ProfileData/Coverage/LLVMBuild.txt23
-rw-r--r--lib/ProfileData/CoverageMapping.cpp522
-rw-r--r--lib/ProfileData/CoverageMappingReader.cpp547
-rw-r--r--lib/ProfileData/CoverageMappingWriter.cpp183
-rw-r--r--lib/ProfileData/InstrProf.cpp471
-rw-r--r--lib/ProfileData/InstrProfReader.cpp289
-rw-r--r--lib/ProfileData/InstrProfWriter.cpp223
-rw-r--r--lib/ProfileData/LLVMBuild.txt5
-rw-r--r--lib/ProfileData/Makefile14
-rw-r--r--lib/ProfileData/ProfileSummaryBuilder.cpp116
-rw-r--r--lib/ProfileData/SampleProf.cpp24
-rw-r--r--lib/ProfileData/SampleProfReader.cpp97
-rw-r--r--lib/ProfileData/SampleProfWriter.cpp60
-rw-r--r--lib/Support/APFloat.cpp75
-rw-r--r--lib/Support/APInt.cpp150
-rw-r--r--lib/Support/APSInt.cpp1
-rw-r--r--lib/Support/ARMBuildAttrs.cpp1
-rw-r--r--lib/Support/Atomic.cpp59
-rw-r--r--lib/Support/BranchProbability.cpp2
-rw-r--r--lib/Support/CMakeLists.txt54
-rw-r--r--lib/Support/CachePruning.cpp159
-rw-r--r--lib/Support/CommandLine.cpp545
-rw-r--r--lib/Support/ConvertUTFWrapper.cpp83
-rw-r--r--lib/Support/CrashRecoveryContext.cpp8
-rw-r--r--lib/Support/Dwarf.cpp37
-rw-r--r--lib/Support/Error.cpp113
-rw-r--r--lib/Support/ErrorHandling.cpp1
-rw-r--r--lib/Support/FileUtilities.cpp6
-rw-r--r--lib/Support/FoldingSet.cpp25
-rw-r--r--lib/Support/Host.cpp1346
-rw-r--r--lib/Support/IntEqClasses.cpp13
-rw-r--r--lib/Support/JamCRC.cpp1
-rw-r--r--lib/Support/Locale.cpp3
-rw-r--r--lib/Support/LockFileManager.cpp37
-rw-r--r--lib/Support/Makefile23
-rw-r--r--lib/Support/ManagedStatic.cpp31
-rw-r--r--lib/Support/MemoryBuffer.cpp10
-rw-r--r--lib/Support/Path.cpp46
-rw-r--r--lib/Support/PrettyStackTrace.cpp47
-rw-r--r--lib/Support/Process.cpp7
-rw-r--r--lib/Support/SHA1.cpp170
-rw-r--r--lib/Support/ScaledNumber.cpp1
-rw-r--r--lib/Support/ScopedPrinter.cpp72
-rw-r--r--lib/Support/Signals.cpp34
-rw-r--r--lib/Support/SmallPtrSet.cpp191
-rw-r--r--lib/Support/SpecialCaseList.cpp2
-rw-r--r--lib/Support/Statistic.cpp74
-rw-r--r--lib/Support/StreamingMemoryObject.cpp6
-rw-r--r--lib/Support/StringMap.cpp16
-rw-r--r--lib/Support/StringRef.cpp4
-rw-r--r--lib/Support/TargetParser.cpp232
-rw-r--r--lib/Support/TargetRegistry.cpp3
-rw-r--r--lib/Support/ThreadPool.cpp5
-rw-r--r--lib/Support/Threading.cpp6
-rw-r--r--lib/Support/Timer.cpp44
-rw-r--r--lib/Support/Triple.cpp248
-rw-r--r--lib/Support/Twine.cpp2
-rw-r--r--lib/Support/Unix/Memory.inc4
-rw-r--r--lib/Support/Unix/Path.inc137
-rw-r--r--lib/Support/Unix/Process.inc4
-rw-r--r--lib/Support/Unix/Signals.inc146
-rw-r--r--lib/Support/Windows/DynamicLibrary.inc2
-rw-r--r--lib/Support/Windows/Path.inc150
-rw-r--r--lib/Support/Windows/Process.inc38
-rw-r--r--lib/Support/Windows/Signals.inc228
-rw-r--r--lib/Support/Windows/WindowsSupport.h28
-rw-r--r--lib/Support/YAMLParser.cpp2
-rw-r--r--lib/Support/YAMLTraits.cpp23
-rw-r--r--lib/Support/raw_ostream.cpp29
-rw-r--r--lib/TableGen/Makefile14
-rw-r--r--lib/TableGen/Record.cpp269
-rw-r--r--lib/TableGen/SetTheory.cpp8
-rw-r--r--lib/TableGen/TGParser.cpp23
-rw-r--r--lib/TableGen/module.modulemap1
-rw-r--r--lib/Target/AArch64/AArch64.h3
-rw-r--r--lib/Target/AArch64/AArch64.td187
-rw-r--r--lib/Target/AArch64/AArch64A53Fix835769.cpp10
-rw-r--r--lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp40
-rw-r--r--lib/Target/AArch64/AArch64AddressTypePromotion.cpp14
-rw-r--r--lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp128
-rw-r--r--lib/Target/AArch64/AArch64AsmPrinter.cpp67
-rw-r--r--lib/Target/AArch64/AArch64BranchRelaxation.cpp30
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.cpp104
-rw-r--r--lib/Target/AArch64/AArch64CallLowering.h36
-rw-r--r--lib/Target/AArch64/AArch64CallingConvention.td18
-rw-r--r--lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp25
-rw-r--r--lib/Target/AArch64/AArch64CollectLOH.cpp23
-rw-r--r--lib/Target/AArch64/AArch64ConditionOptimizer.cpp26
-rw-r--r--lib/Target/AArch64/AArch64ConditionalCompares.cpp24
-rw-r--r--lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp18
-rw-r--r--lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp215
-rw-r--r--lib/Target/AArch64/AArch64FastISel.cpp81
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.cpp895
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.h15
-rw-r--r--lib/Target/AArch64/AArch64ISelDAGToDAG.cpp2400
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.cpp963
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.h60
-rw-r--r--lib/Target/AArch64/AArch64InstrAtomics.td51
-rw-r--r--lib/Target/AArch64/AArch64InstrFormats.td25
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.cpp1743
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.h107
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.td193
-rw-r--r--lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp1050
-rw-r--r--lib/Target/AArch64/AArch64MachineFunctionInfo.h38
-rw-r--r--lib/Target/AArch64/AArch64PBQPRegAlloc.cpp2
-rw-r--r--lib/Target/AArch64/AArch64PromoteConstant.cpp327
-rw-r--r--lib/Target/AArch64/AArch64RedundantCopyElimination.cpp182
-rw-r--r--lib/Target/AArch64/AArch64RegisterBankInfo.cpp168
-rw-r--r--lib/Target/AArch64/AArch64RegisterBankInfo.h69
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.cpp26
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.td2
-rw-r--r--lib/Target/AArch64/AArch64SchedA53.td4
-rw-r--r--lib/Target/AArch64/AArch64SchedA57.td3
-rw-r--r--lib/Target/AArch64/AArch64SchedCyclone.td14
-rw-r--r--lib/Target/AArch64/AArch64SchedKryo.td133
-rw-r--r--lib/Target/AArch64/AArch64SchedKryoDetails.td2358
-rw-r--r--lib/Target/AArch64/AArch64SchedM1.td29
-rw-r--r--lib/Target/AArch64/AArch64SchedVulcan.td855
-rw-r--r--lib/Target/AArch64/AArch64Schedule.td8
-rw-r--r--lib/Target/AArch64/AArch64SelectionDAGInfo.cpp10
-rw-r--r--lib/Target/AArch64/AArch64SelectionDAGInfo.h14
-rw-r--r--lib/Target/AArch64/AArch64StorePairSuppress.cpp9
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.cpp109
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h122
-rw-r--r--lib/Target/AArch64/AArch64SystemOperands.td1018
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.cpp138
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.h12
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.cpp77
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.h11
-rw-r--r--lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp214
-rw-r--r--lib/Target/AArch64/AsmParser/Makefile15
-rw-r--r--lib/Target/AArch64/CMakeLists.txt19
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp15
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.h2
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.cpp8
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64ExternalSymbolizer.h2
-rw-r--r--lib/Target/AArch64/Disassembler/Makefile16
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp149
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h4
-rw-r--r--lib/Target/AArch64/InstPrinter/Makefile15
-rw-r--r--lib/Target/AArch64/LLVMBuild.txt2
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h43
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AsmBackend.cpp230
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFObjectWriter.cpp63
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCCodeEmitter.cpp53
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.cpp22
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h1
-rw-r--r--lib/Target/AArch64/MCTargetDesc/Makefile16
-rw-r--r--lib/Target/AArch64/Makefile25
-rw-r--r--lib/Target/AArch64/TargetInfo/Makefile15
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.cpp943
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.h1003
-rw-r--r--lib/Target/AArch64/Utils/Makefile16
-rw-r--r--lib/Target/AMDGPU/AMDGPU.h57
-rw-r--r--lib/Target/AMDGPU/AMDGPU.td417
-rw-r--r--lib/Target/AMDGPU/AMDGPUAlwaysInlinePass.cpp3
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp122
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp21
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp469
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.h28
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.cpp42
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallLowering.h36
-rw-r--r--lib/Target/AMDGPU/AMDGPUCallingConv.td8
-rw-r--r--lib/Target/AMDGPU/AMDGPUCodeGenPrepare.cpp82
-rw-r--r--lib/Target/AMDGPU/AMDGPUDiagnosticInfoUnsupported.cpp26
-rw-r--r--lib/Target/AMDGPU/AMDGPUDiagnosticInfoUnsupported.h48
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.cpp32
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.h10
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp793
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.cpp1484
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.h78
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.cpp307
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.h143
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.td27
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructions.td263
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsicInfo.cpp38
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsicInfo.h6
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsics.td75
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.cpp57
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.cpp17
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.h34
-rw-r--r--lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp1
-rw-r--r--lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp667
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.cpp19
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.h21
-rw-r--r--lib/Target/AMDGPU/AMDGPURuntimeMetadata.h138
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.cpp227
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.h389
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.cpp370
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.h61
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp56
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.h18
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp163
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h49
-rw-r--r--lib/Target/AMDGPU/AMDILCFGStructurizer.cpp201
-rw-r--r--lib/Target/AMDGPU/AMDKernelCodeT.h31
-rw-r--r--lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp2505
-rw-r--r--lib/Target/AMDGPU/AsmParser/CMakeLists.txt2
-rw-r--r--lib/Target/AMDGPU/AsmParser/Makefile15
-rw-r--r--lib/Target/AMDGPU/CIInstructions.td148
-rw-r--r--lib/Target/AMDGPU/CMakeLists.txt25
-rw-r--r--lib/Target/AMDGPU/CaymanInstructions.td47
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.cpp437
-rw-r--r--lib/Target/AMDGPU/Disassembler/AMDGPUDisassembler.h93
-rw-r--r--lib/Target/AMDGPU/Disassembler/CMakeLists.txt7
-rw-r--r--lib/Target/AMDGPU/Disassembler/LLVMBuild.txt23
-rw-r--r--lib/Target/AMDGPU/EvergreenInstructions.td67
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.cpp264
-rw-r--r--lib/Target/AMDGPU/GCNHazardRecognizer.h62
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp385
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h38
-rw-r--r--lib/Target/AMDGPU/InstPrinter/CMakeLists.txt2
-rw-r--r--lib/Target/AMDGPU/InstPrinter/LLVMBuild.txt2
-rw-r--r--lib/Target/AMDGPU/InstPrinter/Makefile15
-rw-r--r--lib/Target/AMDGPU/LLVMBuild.txt7
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp48
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFObjectWriter.cpp55
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp5
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.h3
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h7
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp5
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.h4
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h4
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp11
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.h7
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp4
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h8
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/Makefile16
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp26
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp42
-rw-r--r--lib/Target/AMDGPU/Makefile23
-rw-r--r--lib/Target/AMDGPU/Processors.td23
-rw-r--r--lib/Target/AMDGPU/R600ClauseMergePass.cpp121
-rw-r--r--lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp158
-rw-r--r--lib/Target/AMDGPU/R600Defines.h4
-rw-r--r--lib/Target/AMDGPU/R600EmitClauseMarkers.cpp65
-rw-r--r--lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp30
-rw-r--r--lib/Target/AMDGPU/R600FrameLowering.cpp15
-rw-r--r--lib/Target/AMDGPU/R600FrameLowering.h30
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.cpp1006
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.h53
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.cpp509
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.h199
-rw-r--r--lib/Target/AMDGPU/R600Instructions.td124
-rw-r--r--lib/Target/AMDGPU/R600Intrinsics.td114
-rw-r--r--lib/Target/AMDGPU/R600MachineFunctionInfo.h7
-rw-r--r--lib/Target/AMDGPU/R600MachineScheduler.cpp136
-rw-r--r--lib/Target/AMDGPU/R600MachineScheduler.h11
-rw-r--r--lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp40
-rw-r--r--lib/Target/AMDGPU/R600Packetizer.cpp103
-rw-r--r--lib/Target/AMDGPU/R600RegisterInfo.cpp11
-rw-r--r--lib/Target/AMDGPU/R600RegisterInfo.h15
-rw-r--r--lib/Target/AMDGPU/R600Schedule.td2
-rw-r--r--lib/Target/AMDGPU/R600TextureIntrinsicsReplacer.cpp303
-rw-r--r--lib/Target/AMDGPU/SIAnnotateControlFlow.cpp88
-rw-r--r--lib/Target/AMDGPU/SIDebuggerInsertNops.cpp96
-rw-r--r--lib/Target/AMDGPU/SIDefines.h148
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRCopies.cpp9
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRLiveRanges.cpp219
-rw-r--r--lib/Target/AMDGPU/SIFoldOperands.cpp28
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.cpp144
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.h6
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.cpp1725
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.h74
-rw-r--r--lib/Target/AMDGPU/SIInsertWaits.cpp198
-rw-r--r--lib/Target/AMDGPU/SIInstrFormats.td126
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.cpp1736
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.h254
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.td1852
-rw-r--r--lib/Target/AMDGPU/SIInstructions.td1298
-rw-r--r--lib/Target/AMDGPU/SIIntrinsics.td32
-rw-r--r--lib/Target/AMDGPU/SILoadStoreOptimizer.cpp50
-rw-r--r--lib/Target/AMDGPU/SILowerControlFlow.cpp645
-rw-r--r--lib/Target/AMDGPU/SILowerI1Copies.cpp17
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.cpp104
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.h129
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.cpp168
-rw-r--r--lib/Target/AMDGPU/SIMachineScheduler.h10
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.cpp604
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.h69
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.td122
-rw-r--r--lib/Target/AMDGPU/SISchedule.td63
-rw-r--r--lib/Target/AMDGPU/SIShrinkInstructions.cpp152
-rw-r--r--lib/Target/AMDGPU/SITypeRewriter.cpp2
-rw-r--r--lib/Target/AMDGPU/SIWholeQuadMode.cpp509
-rw-r--r--lib/Target/AMDGPU/TargetInfo/Makefile15
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.cpp69
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUAsmUtils.h31
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp28
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h7
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTInfo.h165
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.cpp166
-rw-r--r--lib/Target/AMDGPU/Utils/AMDKernelCodeTUtils.h39
-rw-r--r--lib/Target/AMDGPU/Utils/CMakeLists.txt2
-rw-r--r--lib/Target/AMDGPU/Utils/Makefile16
-rw-r--r--lib/Target/AMDGPU/VIInstrFormats.td143
-rw-r--r--lib/Target/AMDGPU/VIInstructions.td50
-rw-r--r--lib/Target/ARM/A15SDOptimizer.cpp74
-rw-r--r--lib/Target/ARM/ARM.h4
-rw-r--r--lib/Target/ARM/ARM.td218
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp134
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.h1
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp1309
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h131
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp41
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h12
-rw-r--r--lib/Target/ARM/ARMCallingConv.h2
-rw-r--r--lib/Target/ARM/ARMCallingConv.td52
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp160
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.cpp25
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h11
-rw-r--r--lib/Target/ARM/ARMExpandPseudoInsts.cpp283
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp143
-rw-r--r--lib/Target/ARM/ARMFrameLowering.cpp162
-rw-r--r--lib/Target/ARM/ARMFrameLowering.h2
-rw-r--r--lib/Target/ARM/ARMHazardRecognizer.cpp3
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp1043
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp1484
-rw-r--r--lib/Target/ARM/ARMISelLowering.h99
-rw-r--r--lib/Target/ARM/ARMInstrFormats.td212
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp22
-rw-r--r--lib/Target/ARM/ARMInstrInfo.h3
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td355
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td157
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td346
-rw-r--r--lib/Target/ARM/ARMInstrVFP.td430
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp265
-rw-r--r--lib/Target/ARM/ARMMCInstLower.cpp43
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.cpp2
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.h1
-rw-r--r--lib/Target/ARM/ARMOptimizeBarriersPass.cpp8
-rw-r--r--lib/Target/ARM/ARMSchedule.td14
-rw-r--r--lib/Target/ARM/ARMScheduleA8.td2
-rw-r--r--lib/Target/ARM/ARMScheduleA9.td4
-rw-r--r--lib/Target/ARM/ARMScheduleSwift.td2
-rw-r--r--lib/Target/ARM/ARMSelectionDAGInfo.cpp58
-rw-r--r--lib/Target/ARM/ARMSelectionDAGInfo.h42
-rw-r--r--lib/Target/ARM/ARMSubtarget.cpp157
-rw-r--r--lib/Target/ARM/ARMSubtarget.h273
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp54
-rw-r--r--lib/Target/ARM/ARMTargetMachine.h31
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.h8
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.cpp42
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.h17
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp309
-rw-r--r--lib/Target/ARM/AsmParser/Makefile15
-rw-r--r--lib/Target/ARM/Disassembler/ARMDisassembler.cpp108
-rw-r--r--lib/Target/ARM/Disassembler/Makefile16
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp120
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.h9
-rw-r--r--lib/Target/ARM/InstPrinter/Makefile15
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAddressingModes.h51
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp83
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h11
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h8
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendELF.h3
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendWinCOFF.h1
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMBaseInfo.h14
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp19
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp6
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMFixupKinds.h10
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp3
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCCodeEmitter.cpp120
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp16
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMachORelocationInfo.cpp2
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp9
-rw-r--r--lib/Target/ARM/MCTargetDesc/Makefile16
-rw-r--r--lib/Target/ARM/MLxExpansionPass.cpp6
-rw-r--r--lib/Target/ARM/Makefile24
-rw-r--r--lib/Target/ARM/README.txt18
-rw-r--r--lib/Target/ARM/TargetInfo/ARMTargetInfo.cpp1
-rw-r--r--lib/Target/ARM/TargetInfo/Makefile15
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.cpp56
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.h2
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.cpp19
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.h8
-rw-r--r--lib/Target/ARM/Thumb2ITBlockPass.cpp11
-rw-r--r--lib/Target/ARM/Thumb2InstrInfo.cpp55
-rw-r--r--lib/Target/ARM/Thumb2InstrInfo.h12
-rw-r--r--lib/Target/ARM/Thumb2SizeReduction.cpp68
-rw-r--r--lib/Target/ARM/ThumbRegisterInfo.cpp120
-rw-r--r--lib/Target/ARM/ThumbRegisterInfo.h5
-rw-r--r--lib/Target/AVR/AVR.h4
-rw-r--r--lib/Target/AVR/AVR.td6
-rw-r--r--lib/Target/AVR/AVRConfig.h15
-rw-r--r--lib/Target/AVR/AVRFrameLowering.h46
-rw-r--r--lib/Target/AVR/AVRISelLowering.h152
-rw-r--r--lib/Target/AVR/AVRInstrFormats.td577
-rw-r--r--lib/Target/AVR/AVRInstrInfo.cpp466
-rw-r--r--lib/Target/AVR/AVRInstrInfo.h110
-rw-r--r--lib/Target/AVR/AVRInstrInfo.td1981
-rw-r--r--lib/Target/AVR/AVRMachineFunctionInfo.h6
-rw-r--r--lib/Target/AVR/AVRRegisterInfo.cpp256
-rw-r--r--lib/Target/AVR/AVRRegisterInfo.h56
-rw-r--r--lib/Target/AVR/AVRSelectionDAGInfo.h11
-rw-r--r--lib/Target/AVR/AVRSubtarget.cpp47
-rw-r--r--lib/Target/AVR/AVRSubtarget.h119
-rw-r--r--lib/Target/AVR/AVRTargetMachine.cpp101
-rw-r--r--lib/Target/AVR/AVRTargetMachine.h51
-rw-r--r--lib/Target/AVR/AVRTargetObjectFile.h5
-rw-r--r--lib/Target/AVR/CMakeLists.txt12
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRELFStreamer.cpp66
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRELFStreamer.h29
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.cpp28
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCAsmInfo.h31
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRMCTargetDesc.h57
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.cpp24
-rw-r--r--lib/Target/AVR/MCTargetDesc/AVRTargetStreamer.h32
-rw-r--r--lib/Target/AVR/MCTargetDesc/CMakeLists.txt8
-rw-r--r--lib/Target/AVR/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--lib/Target/AVR/Makefile19
-rw-r--r--lib/Target/AVR/TODO.md7
-rw-r--r--lib/Target/AVR/TargetInfo/CMakeLists.txt2
-rw-r--r--lib/Target/AVR/TargetInfo/Makefile16
-rw-r--r--lib/Target/BPF/BPFAsmPrinter.cpp28
-rw-r--r--lib/Target/BPF/BPFFrameLowering.h4
-rw-r--r--lib/Target/BPF/BPFISelDAGToDAG.cpp37
-rw-r--r--lib/Target/BPF/BPFISelLowering.cpp148
-rw-r--r--lib/Target/BPF/BPFISelLowering.h13
-rw-r--r--lib/Target/BPF/BPFInstrInfo.cpp12
-rw-r--r--lib/Target/BPF/BPFInstrInfo.h6
-rw-r--r--lib/Target/BPF/BPFMCInstLower.cpp3
-rw-r--r--lib/Target/BPF/BPFSubtarget.h6
-rw-r--r--lib/Target/BPF/BPFTargetMachine.cpp15
-rw-r--r--lib/Target/BPF/BPFTargetMachine.h5
-rw-r--r--lib/Target/BPF/InstPrinter/Makefile16
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp3
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp8
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h4
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCCodeEmitter.cpp1
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCTargetDesc.cpp12
-rw-r--r--lib/Target/BPF/MCTargetDesc/Makefile16
-rw-r--r--lib/Target/BPF/Makefile21
-rw-r--r--lib/Target/BPF/TargetInfo/Makefile16
-rw-r--r--lib/Target/CppBackend/CMakeLists.txt5
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp2143
-rw-r--r--lib/Target/CppBackend/CPPTargetMachine.h44
-rw-r--r--lib/Target/CppBackend/LLVMBuild.txt31
-rw-r--r--lib/Target/CppBackend/Makefile16
-rw-r--r--lib/Target/CppBackend/TargetInfo/CMakeLists.txt3
-rw-r--r--lib/Target/CppBackend/TargetInfo/CppBackendTargetInfo.cpp29
-rw-r--r--lib/Target/CppBackend/TargetInfo/LLVMBuild.txt23
-rw-r--r--lib/Target/CppBackend/TargetInfo/Makefile15
-rw-r--r--lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp408
-rw-r--r--lib/Target/Hexagon/AsmParser/Makefile15
-rw-r--r--lib/Target/Hexagon/BitTracker.cpp220
-rw-r--r--lib/Target/Hexagon/BitTracker.h10
-rw-r--r--lib/Target/Hexagon/CMakeLists.txt6
-rw-r--r--lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp7
-rw-r--r--lib/Target/Hexagon/Disassembler/Makefile16
-rw-r--r--lib/Target/Hexagon/Hexagon.td27
-rw-r--r--lib/Target/Hexagon/HexagonAsmPrinter.cpp51
-rw-r--r--lib/Target/Hexagon/HexagonBitSimplify.cpp50
-rw-r--r--lib/Target/Hexagon/HexagonBitTracker.cpp75
-rw-r--r--lib/Target/Hexagon/HexagonBitTracker.h8
-rw-r--r--lib/Target/Hexagon/HexagonBlockRanges.cpp483
-rw-r--r--lib/Target/Hexagon/HexagonBlockRanges.h239
-rw-r--r--lib/Target/Hexagon/HexagonBranchRelaxation.cpp211
-rw-r--r--lib/Target/Hexagon/HexagonCFGOptimizer.cpp48
-rw-r--r--lib/Target/Hexagon/HexagonCommonGEP.cpp14
-rw-r--r--lib/Target/Hexagon/HexagonCopyToCombine.cpp278
-rw-r--r--lib/Target/Hexagon/HexagonEarlyIfConv.cpp19
-rw-r--r--lib/Target/Hexagon/HexagonExpandCondsets.cpp1062
-rw-r--r--lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp357
-rw-r--r--lib/Target/Hexagon/HexagonFixupHwLoops.cpp20
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.cpp1269
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.h61
-rw-r--r--lib/Target/Hexagon/HexagonGenExtract.cpp3
-rw-r--r--lib/Target/Hexagon/HexagonGenInsert.cpp13
-rw-r--r--lib/Target/Hexagon/HexagonGenMux.cpp21
-rw-r--r--lib/Target/Hexagon/HexagonGenPredicate.cpp28
-rw-r--r--lib/Target/Hexagon/HexagonHardwareLoops.cpp34
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAG.cpp1237
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.cpp458
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.h54
-rw-r--r--lib/Target/Hexagon/HexagonInstrAlias.td192
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormats.td14
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV4.td7
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.cpp1067
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.h62
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.td249
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV3.td25
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV4.td707
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV60.td116
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoVector.td55
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsics.td511
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV4.td193
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV5.td24
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV60.td4
-rw-r--r--lib/Target/Hexagon/HexagonMCInstLower.cpp66
-rw-r--r--lib/Target/Hexagon/HexagonMachineFunctionInfo.h19
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.cpp406
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.h20
-rw-r--r--lib/Target/Hexagon/HexagonNewValueJump.cpp150
-rw-r--r--lib/Target/Hexagon/HexagonOperands.td72
-rw-r--r--lib/Target/Hexagon/HexagonOptAddrMode.cpp663
-rw-r--r--lib/Target/Hexagon/HexagonOptimizeSZextends.cpp3
-rw-r--r--lib/Target/Hexagon/HexagonPeephole.cpp101
-rw-r--r--lib/Target/Hexagon/HexagonRDF.h4
-rw-r--r--lib/Target/Hexagon/HexagonRDFOpt.cpp88
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.cpp108
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.h18
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.td51
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV4.td13
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV55.td186
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV60.td11
-rw-r--r--lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp13
-rw-r--r--lib/Target/Hexagon/HexagonSelectionDAGInfo.h16
-rw-r--r--lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp63
-rw-r--r--lib/Target/Hexagon/HexagonSplitDouble.cpp24
-rw-r--r--lib/Target/Hexagon/HexagonStoreWidening.cpp3
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.cpp244
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.h29
-rw-r--r--lib/Target/Hexagon/HexagonSystemInst.td21
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.cpp54
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.h2
-rw-r--r--lib/Target/Hexagon/HexagonTargetObjectFile.cpp393
-rw-r--r--lib/Target/Hexagon/HexagonTargetObjectFile.h37
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.cpp172
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.h13
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp638
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h22
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonELFObjectWriter.cpp60
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonFixupKinds.h1
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp12
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.cpp1
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h1
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp6
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h5
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp451
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp6
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp19
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp55
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h18
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp182
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h14
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCShuffler.cpp1
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp70
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/Makefile16
-rw-r--r--lib/Target/Hexagon/Makefile26
-rw-r--r--lib/Target/Hexagon/RDFCopy.cpp217
-rw-r--r--lib/Target/Hexagon/RDFCopy.h12
-rw-r--r--lib/Target/Hexagon/RDFDeadCode.cpp50
-rw-r--r--lib/Target/Hexagon/RDFDeadCode.h12
-rw-r--r--lib/Target/Hexagon/RDFGraph.cpp55
-rw-r--r--lib/Target/Hexagon/RDFGraph.h33
-rw-r--r--lib/Target/Hexagon/RDFLiveness.cpp100
-rw-r--r--lib/Target/Hexagon/RDFLiveness.h8
-rw-r--r--lib/Target/Hexagon/TargetInfo/Makefile15
-rw-r--r--lib/Target/LLVMBuild.txt2
-rw-r--r--lib/Target/Lanai/AsmParser/CMakeLists.txt7
-rw-r--r--lib/Target/Lanai/AsmParser/LLVMBuild.txt23
-rw-r--r--lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp1213
-rw-r--r--lib/Target/Lanai/CMakeLists.txt35
-rw-r--r--lib/Target/Lanai/Disassembler/CMakeLists.txt3
-rw-r--r--lib/Target/Lanai/Disassembler/LLVMBuild.txt23
-rw-r--r--lib/Target/Lanai/Disassembler/LanaiDisassembler.cpp240
-rw-r--r--lib/Target/Lanai/Disassembler/LanaiDisassembler.h41
-rw-r--r--lib/Target/Lanai/InstPrinter/CMakeLists.txt3
-rw-r--r--lib/Target/Lanai/InstPrinter/LLVMBuild.txt23
-rw-r--r--lib/Target/Lanai/InstPrinter/LanaiInstPrinter.cpp305
-rw-r--r--lib/Target/Lanai/InstPrinter/LanaiInstPrinter.h65
-rw-r--r--lib/Target/Lanai/LLVMBuild.txt45
-rw-r--r--lib/Target/Lanai/Lanai.h51
-rw-r--r--lib/Target/Lanai/Lanai.td47
-rw-r--r--lib/Target/Lanai/LanaiAluCode.h148
-rw-r--r--lib/Target/Lanai/LanaiAsmPrinter.cpp243
-rw-r--r--lib/Target/Lanai/LanaiCallingConv.td50
-rw-r--r--lib/Target/Lanai/LanaiCondCode.h100
-rw-r--r--lib/Target/Lanai/LanaiDelaySlotFiller.cpp263
-rw-r--r--lib/Target/Lanai/LanaiFrameLowering.cpp220
-rw-r--r--lib/Target/Lanai/LanaiFrameLowering.h57
-rw-r--r--lib/Target/Lanai/LanaiISelDAGToDAG.cpp317
-rw-r--r--lib/Target/Lanai/LanaiISelLowering.cpp1437
-rw-r--r--lib/Target/Lanai/LanaiISelLowering.h148
-rw-r--r--lib/Target/Lanai/LanaiInstrFormats.td561
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.cpp803
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.h184
-rw-r--r--lib/Target/Lanai/LanaiInstrInfo.td892
-rw-r--r--lib/Target/Lanai/LanaiMCInstLower.cpp140
-rw-r--r--lib/Target/Lanai/LanaiMCInstLower.h48
-rw-r--r--lib/Target/Lanai/LanaiMachineFunctionInfo.cpp23
-rw-r--r--lib/Target/Lanai/LanaiMachineFunctionInfo.h58
-rw-r--r--lib/Target/Lanai/LanaiMemAluCombiner.cpp422
-rw-r--r--lib/Target/Lanai/LanaiRegisterInfo.cpp287
-rw-r--r--lib/Target/Lanai/LanaiRegisterInfo.h63
-rw-r--r--lib/Target/Lanai/LanaiRegisterInfo.td64
-rw-r--r--lib/Target/Lanai/LanaiSchedule.td70
-rw-r--r--lib/Target/Lanai/LanaiSelectionDAGInfo.cpp35
-rw-r--r--lib/Target/Lanai/LanaiSelectionDAGInfo.h36
-rw-r--r--lib/Target/Lanai/LanaiSubtarget.cpp47
-rw-r--r--lib/Target/Lanai/LanaiSubtarget.h76
-rw-r--r--lib/Target/Lanai/LanaiTargetMachine.cpp112
-rw-r--r--lib/Target/Lanai/LanaiTargetMachine.h55
-rw-r--r--lib/Target/Lanai/LanaiTargetObjectFile.cpp123
-rw-r--r--lib/Target/Lanai/LanaiTargetObjectFile.h46
-rw-r--r--lib/Target/Lanai/LanaiTargetTransformInfo.h86
-rw-r--r--lib/Target/Lanai/MCTargetDesc/CMakeLists.txt8
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LLVMBuild.txt23
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiAsmBackend.cpp172
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiBaseInfo.h119
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiELFObjectWriter.cpp95
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiFixupKinds.h43
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.cpp43
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCAsmInfo.h31
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCCodeEmitter.cpp326
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.cpp60
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCExpr.h56
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.cpp149
-rw-r--r--lib/Target/Lanai/MCTargetDesc/LanaiMCTargetDesc.h59
-rw-r--r--lib/Target/Lanai/TargetInfo/CMakeLists.txt3
-rw-r--r--lib/Target/Lanai/TargetInfo/LLVMBuild.txt23
-rw-r--r--lib/Target/Lanai/TargetInfo/LanaiTargetInfo.cpp20
-rw-r--r--lib/Target/MSP430/InstPrinter/Makefile15
-rw-r--r--lib/Target/MSP430/MCTargetDesc/MSP430MCTargetDesc.cpp14
-rw-r--r--lib/Target/MSP430/MCTargetDesc/Makefile16
-rw-r--r--lib/Target/MSP430/MSP430BranchSelector.cpp25
-rw-r--r--lib/Target/MSP430/MSP430FrameLowering.cpp40
-rw-r--r--lib/Target/MSP430/MSP430FrameLowering.h6
-rw-r--r--lib/Target/MSP430/MSP430ISelDAGToDAG.cpp134
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.cpp126
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.h31
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.cpp45
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.h16
-rw-r--r--lib/Target/MSP430/MSP430Subtarget.h6
-rw-r--r--lib/Target/MSP430/MSP430TargetMachine.cpp12
-rw-r--r--lib/Target/MSP430/MSP430TargetMachine.h2
-rw-r--r--lib/Target/MSP430/Makefile23
-rw-r--r--lib/Target/MSP430/TargetInfo/Makefile15
-rw-r--r--lib/Target/Makefile20
-rw-r--r--lib/Target/Mips/AsmParser/Makefile15
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmParser.cpp1724
-rw-r--r--lib/Target/Mips/CMakeLists.txt1
-rw-r--r--lib/Target/Mips/Disassembler/Makefile16
-rw-r--r--lib/Target/Mips/Disassembler/MipsDisassembler.cpp376
-rw-r--r--lib/Target/Mips/InstPrinter/Makefile16
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp96
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.h4
-rw-r--r--lib/Target/Mips/MCTargetDesc/Makefile17
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.cpp22
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIFlagsSection.h17
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp47
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIInfo.h9
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp77
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h5
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsBaseInfo.h10
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp614
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h19
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.cpp5
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp415
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h27
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCExpr.cpp295
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCExpr.h66
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCTargetDesc.cpp55
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp378
-rw-r--r--lib/Target/Mips/Makefile25
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrFormats.td238
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrInfo.td717
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrFormats.td141
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrInfo.td404
-rw-r--r--lib/Target/Mips/MicroMipsDSPInstrFormats.td58
-rw-r--r--lib/Target/Mips/MicroMipsDSPInstrInfo.td79
-rw-r--r--lib/Target/Mips/MicroMipsInstrFPU.td39
-rw-r--r--lib/Target/Mips/MicroMipsInstrFormats.td9
-rw-r--r--lib/Target/Mips/MicroMipsInstrInfo.td360
-rw-r--r--lib/Target/Mips/Mips.h3
-rw-r--r--lib/Target/Mips/Mips.td5
-rw-r--r--lib/Target/Mips/Mips16FrameLowering.cpp1
-rw-r--r--lib/Target/Mips/Mips16HardFloat.cpp28
-rw-r--r--lib/Target/Mips/Mips16ISelDAGToDAG.cpp182
-rw-r--r--lib/Target/Mips/Mips16ISelDAGToDAG.h26
-rw-r--r--lib/Target/Mips/Mips16ISelLowering.cpp137
-rw-r--r--lib/Target/Mips/Mips16ISelLowering.h28
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.cpp25
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.h16
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.td85
-rw-r--r--lib/Target/Mips/Mips16RegisterInfo.cpp3
-rw-r--r--lib/Target/Mips/Mips32r6InstrFormats.td2
-rw-r--r--lib/Target/Mips/Mips32r6InstrInfo.td343
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td475
-rw-r--r--lib/Target/Mips/Mips64r6InstrInfo.td98
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.cpp65
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.h2
-rw-r--r--lib/Target/Mips/MipsCCState.cpp4
-rw-r--r--lib/Target/Mips/MipsCallingConv.td48
-rw-r--r--lib/Target/Mips/MipsCondMov.td12
-rw-r--r--lib/Target/Mips/MipsConstantIslandPass.cpp114
-rw-r--r--lib/Target/Mips/MipsDSPInstrFormats.td4
-rw-r--r--lib/Target/Mips/MipsDSPInstrInfo.td69
-rw-r--r--lib/Target/Mips/MipsDelaySlotFiller.cpp144
-rw-r--r--lib/Target/Mips/MipsEVAInstrInfo.td73
-rw-r--r--lib/Target/Mips/MipsFastISel.cpp39
-rw-r--r--lib/Target/Mips/MipsFrameLowering.cpp16
-rw-r--r--lib/Target/Mips/MipsFrameLowering.h2
-rw-r--r--lib/Target/Mips/MipsHazardSchedule.cpp147
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.cpp53
-rw-r--r--lib/Target/Mips/MipsISelDAGToDAG.h25
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp419
-rw-r--r--lib/Target/Mips/MipsISelLowering.h96
-rw-r--r--lib/Target/Mips/MipsInstrFPU.td130
-rw-r--r--lib/Target/Mips/MipsInstrFormats.td7
-rw-r--r--lib/Target/Mips/MipsInstrInfo.cpp236
-rw-r--r--lib/Target/Mips/MipsInstrInfo.h26
-rw-r--r--lib/Target/Mips/MipsInstrInfo.td1036
-rw-r--r--lib/Target/Mips/MipsLongBranch.cpp72
-rw-r--r--lib/Target/Mips/MipsMCInstLower.cpp155
-rw-r--r--lib/Target/Mips/MipsMCInstLower.h8
-rw-r--r--lib/Target/Mips/MipsMSAInstrInfo.td220
-rw-r--r--lib/Target/Mips/MipsMachineFunction.cpp16
-rw-r--r--lib/Target/Mips/MipsMachineFunction.h15
-rw-r--r--lib/Target/Mips/MipsOs16.cpp26
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.cpp20
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.h22
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.td13
-rw-r--r--lib/Target/