aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2015-12-30 11:46:15 +0000
committerDimitry Andric <dim@FreeBSD.org>2015-12-30 11:46:15 +0000
commitdd58ef019b700900793a1eb48b52123db01b654e (patch)
treefcfbb4df56a744f4ddc6122c50521dd3f1c5e196
parent2fe5752e3a7c345cdb59e869278d36af33c13fa4 (diff)
downloadsrc-dd58ef019b700900793a1eb48b52123db01b654e.tar.gz
src-dd58ef019b700900793a1eb48b52123db01b654e.zip
Vendor import of llvm trunk r256633:
Notes
Notes: svn path=/vendor/llvm/dist/; revision=292915
-rw-r--r--.clang-tidy14
-rw-r--r--CMakeLists.txt110
-rw-r--r--CODE_OWNERS.TXT32
-rw-r--r--CREDITS.TXT51
-rw-r--r--Makefile.config.in4
-rw-r--r--Makefile.rules7
-rw-r--r--README.txt2
-rw-r--r--autoconf/configure.ac81
-rw-r--r--autoconf/m4/rand48.m412
-rw-r--r--bindings/go/llvm/DIBuilderBindings.cpp32
-rw-r--r--bindings/go/llvm/DIBuilderBindings.h14
-rw-r--r--bindings/go/llvm/IRBindings.cpp4
-rw-r--r--bindings/go/llvm/IRBindings.h2
-rw-r--r--bindings/go/llvm/analysis.go1
-rw-r--r--bindings/go/llvm/bitreader.go3
-rw-r--r--bindings/go/llvm/dibuilder.go45
-rw-r--r--bindings/go/llvm/executionengine.go1
-rw-r--r--bindings/go/llvm/ir.go10
-rw-r--r--bindings/go/llvm/linker.go7
-rw-r--r--bindings/go/llvm/target.go1
-rw-r--r--bindings/ocaml/Makefile.ocaml2
-rw-r--r--bindings/ocaml/bitreader/bitreader_ocaml.c10
-rw-r--r--bindings/ocaml/linker/linker_ocaml.c6
-rw-r--r--bindings/ocaml/linker/llvm_linker.ml4
-rw-r--r--bindings/ocaml/linker/llvm_linker.mli6
-rw-r--r--bindings/ocaml/llvm/llvm.ml2
-rw-r--r--bindings/ocaml/llvm/llvm.mli10
-rw-r--r--bindings/ocaml/llvm/llvm_ocaml.c11
-rw-r--r--bindings/python/llvm/bit_reader.py9
-rw-r--r--bindings/python/llvm/core.py4
-rwxr-xr-xcmake/config-ix.cmake13
-rw-r--r--cmake/dummy.cpp1
-rwxr-xr-xcmake/modules/AddLLVM.cmake428
-rw-r--r--cmake/modules/AddLLVMDefinitions.cmake6
-rw-r--r--cmake/modules/CrossCompile.cmake2
-rw-r--r--cmake/modules/DetermineGCCCompatible.cmake11
-rw-r--r--cmake/modules/HandleLLVMOptions.cmake125
-rw-r--r--cmake/modules/HandleLLVMStdlib.cmake10
-rwxr-xr-xcmake/modules/LLVM-Config.cmake18
-rw-r--r--cmake/modules/LLVMConfig.cmake.in5
-rw-r--r--cmake/modules/LLVMExternalProjectUtils.cmake195
-rw-r--r--cmake/modules/LLVMInstallSymlink.cmake21
-rw-r--r--cmake/modules/Makefile19
-rw-r--r--cmake/modules/TableGen.cmake24
-rwxr-xr-xconfigure524
-rw-r--r--docs/AliasAnalysis.rst9
-rw-r--r--docs/Atomics.rst2
-rw-r--r--docs/BitCodeFormat.rst5
-rw-r--r--docs/BitSets.rst65
-rw-r--r--docs/BranchWeightMetadata.rst6
-rw-r--r--docs/BuildingLLVMWithAutotools.rst6
-rw-r--r--docs/CMake.rst214
-rw-r--r--docs/CMakeLists.txt4
-rw-r--r--docs/CodeGenerator.rst2
-rw-r--r--docs/CodingStandards.rst4
-rw-r--r--docs/CommandGuide/index.rst1
-rw-r--r--docs/CommandGuide/lit.rst5
-rw-r--r--docs/CommandGuide/llc.rst6
-rw-r--r--docs/CommandGuide/lli.rst168
-rw-r--r--docs/CommandGuide/llvm-lib.rst31
-rw-r--r--docs/CommandGuide/llvm-profdata.rst62
-rw-r--r--docs/CommandGuide/llvm-symbolizer.rst16
-rw-r--r--docs/CommandLine.rst1
-rw-r--r--docs/CompileCudaWithLLVM.rst169
-rw-r--r--docs/CompilerWriterInfo.rst6
-rw-r--r--docs/CoverageMappingFormat.rst2
-rw-r--r--docs/DeveloperPolicy.rst40
-rw-r--r--docs/ExceptionHandling.rst440
-rw-r--r--docs/ExtendingLLVM.rst6
-rw-r--r--docs/Frontend/PerformanceTips.rst233
-rw-r--r--docs/GettingStarted.rst88
-rw-r--r--docs/HowToBuildOnARM.rst56
-rw-r--r--docs/HowToReleaseLLVM.rst57
-rw-r--r--docs/LangRef.rst1202
-rw-r--r--docs/LibFuzzer.rst148
-rw-r--r--docs/MIRLangRef.rst495
-rw-r--r--docs/Phabricator.rst26
-rw-r--r--docs/ProgrammersManual.rst28
-rw-r--r--docs/README.txt2
-rw-r--r--docs/ReleaseNotes.rst489
-rw-r--r--docs/ReleaseProcess.rst2
-rw-r--r--docs/SourceLevelDebugging.rst34
-rw-r--r--docs/StackMaps.rst10
-rw-r--r--docs/Statepoints.rst117
-rw-r--r--docs/TestingGuide.rst4
-rw-r--r--docs/WritingAnLLVMPass.rst30
-rw-r--r--docs/_ocamldoc/style.css97
-rw-r--r--docs/conf.py4
-rw-r--r--docs/doxygen.cfg.in2
-rw-r--r--docs/index.rst14
-rw-r--r--docs/tutorial/LangImpl1.rst25
-rw-r--r--docs/tutorial/LangImpl2.rst185
-rw-r--r--docs/tutorial/LangImpl3.rst271
-rw-r--r--docs/tutorial/LangImpl4.rst360
-rw-r--r--docs/tutorial/LangImpl5.rst201
-rw-r--r--docs/tutorial/LangImpl6.rst118
-rw-r--r--docs/tutorial/LangImpl7.rst117
-rw-r--r--docs/tutorial/LangImpl8.rst43
-rw-r--r--docs/tutorial/LangImpl9.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl1.rst4
-rw-r--r--docs/tutorial/OCamlLangImpl2.rst6
-rw-r--r--docs/tutorial/OCamlLangImpl3.rst24
-rw-r--r--docs/tutorial/OCamlLangImpl4.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl5.rst2
-rw-r--r--docs/tutorial/OCamlLangImpl6.rst4
-rw-r--r--docs/tutorial/OCamlLangImpl7.rst8
-rw-r--r--docs/tutorial/OCamlLangImpl8.rst2
-rw-r--r--docs/yaml2obj.rst1
-rw-r--r--examples/BrainF/BrainF.cpp10
-rw-r--r--examples/BrainF/BrainFDriver.cpp4
-rw-r--r--examples/CMakeLists.txt2
-rw-r--r--examples/ExceptionDemo/CMakeLists.txt8
-rw-r--r--examples/ExceptionDemo/ExceptionDemo.cpp21
-rw-r--r--examples/Fibonacci/fibonacci.cpp7
-rw-r--r--examples/HowToUseJIT/HowToUseJIT.cpp7
-rw-r--r--examples/Kaleidoscope/Chapter2/CMakeLists.txt6
-rw-r--r--examples/Kaleidoscope/Chapter2/Makefile2
-rw-r--r--examples/Kaleidoscope/Chapter2/toy.cpp284
-rw-r--r--examples/Kaleidoscope/Chapter3/toy.cpp462
-rw-r--r--examples/Kaleidoscope/Chapter4/CMakeLists.txt5
-rw-r--r--examples/Kaleidoscope/Chapter4/toy.cpp616
-rw-r--r--examples/Kaleidoscope/Chapter5/CMakeLists.txt4
-rw-r--r--examples/Kaleidoscope/Chapter5/toy.cpp557
-rw-r--r--examples/Kaleidoscope/Chapter6/CMakeLists.txt4
-rw-r--r--examples/Kaleidoscope/Chapter6/toy.cpp602
-rw-r--r--examples/Kaleidoscope/Chapter7/CMakeLists.txt5
-rw-r--r--examples/Kaleidoscope/Chapter7/toy.cpp698
-rw-r--r--examples/Kaleidoscope/Chapter8/CMakeLists.txt5
-rw-r--r--examples/Kaleidoscope/Chapter8/toy.cpp764
-rw-r--r--examples/Kaleidoscope/Orc/fully_lazy/toy.cpp248
-rw-r--r--examples/Kaleidoscope/Orc/initial/toy.cpp239
-rw-r--r--examples/Kaleidoscope/Orc/lazy_codegen/toy.cpp239
-rw-r--r--examples/Kaleidoscope/Orc/lazy_irgen/toy.cpp239
-rw-r--r--examples/Kaleidoscope/include/KaleidoscopeJIT.h114
-rw-r--r--examples/ParallelJIT/ParallelJIT.cpp19
-rw-r--r--include/llvm-c/Analysis.h2
-rw-r--r--include/llvm-c/BitReader.h45
-rw-r--r--include/llvm-c/BitWriter.h2
-rw-r--r--include/llvm-c/Core.h135
-rw-r--r--include/llvm-c/ErrorHandling.h51
-rw-r--r--include/llvm-c/ExecutionEngine.h26
-rw-r--r--include/llvm-c/IRReader.h2
-rw-r--r--include/llvm-c/Initialization.h2
-rw-r--r--include/llvm-c/Linker.h24
-rw-r--r--include/llvm-c/Object.h2
-rw-r--r--include/llvm-c/OrcBindings.h134
-rw-r--r--include/llvm-c/Support.h20
-rw-r--r--include/llvm-c/Target.h2
-rw-r--r--include/llvm-c/TargetMachine.h4
-rw-r--r--include/llvm-c/Transforms/IPO.h2
-rw-r--r--include/llvm-c/Transforms/PassManagerBuilder.h2
-rw-r--r--include/llvm-c/Transforms/Scalar.h2
-rw-r--r--include/llvm-c/Transforms/Vectorize.h3
-rw-r--r--include/llvm-c/Types.h124
-rw-r--r--include/llvm-c/lto.h4
-rw-r--r--include/llvm/ADT/APFloat.h8
-rw-r--r--include/llvm/ADT/APInt.h7
-rw-r--r--include/llvm/ADT/APSInt.h6
-rw-r--r--include/llvm/ADT/ArrayRef.h21
-rw-r--r--include/llvm/ADT/BitVector.h10
-rw-r--r--include/llvm/ADT/DeltaAlgorithm.h2
-rw-r--r--include/llvm/ADT/DenseMap.h26
-rw-r--r--include/llvm/ADT/DenseMapInfo.h28
-rw-r--r--include/llvm/ADT/DenseSet.h5
-rw-r--r--include/llvm/ADT/DepthFirstIterator.h22
-rw-r--r--include/llvm/ADT/FoldingSet.h37
-rw-r--r--include/llvm/ADT/ImmutableList.h12
-rw-r--r--include/llvm/ADT/ImmutableMap.h101
-rw-r--r--include/llvm/ADT/IntrusiveRefCntPtr.h4
-rw-r--r--include/llvm/ADT/Optional.h19
-rw-r--r--include/llvm/ADT/PackedVector.h28
-rw-r--r--include/llvm/ADT/PointerIntPair.h178
-rw-r--r--include/llvm/ADT/PointerUnion.h848
-rw-r--r--include/llvm/ADT/PostOrderIterator.h8
-rw-r--r--include/llvm/ADT/STLExtras.h52
-rw-r--r--include/llvm/ADT/ScopedHashTable.h40
-rw-r--r--include/llvm/ADT/SetOperations.h2
-rw-r--r--include/llvm/ADT/SetVector.h30
-rw-r--r--include/llvm/ADT/SmallBitVector.h23
-rw-r--r--include/llvm/ADT/SmallPtrSet.h13
-rw-r--r--include/llvm/ADT/SmallSet.h4
-rw-r--r--include/llvm/ADT/SmallVector.h7
-rw-r--r--include/llvm/ADT/SparseBitVector.h48
-rw-r--r--include/llvm/ADT/Statistic.h5
-rw-r--r--include/llvm/ADT/StringMap.h22
-rw-r--r--include/llvm/ADT/StringRef.h37
-rw-r--r--include/llvm/ADT/StringSet.h5
-rw-r--r--include/llvm/ADT/StringSwitch.h50
-rw-r--r--include/llvm/ADT/TinyPtrVector.h3
-rw-r--r--include/llvm/ADT/Triple.h97
-rw-r--r--include/llvm/ADT/UniqueVector.h1
-rw-r--r--include/llvm/ADT/ilist.h152
-rw-r--r--include/llvm/ADT/ilist_node.h89
-rw-r--r--include/llvm/ADT/iterator_range.h12
-rw-r--r--include/llvm/Analysis/AliasAnalysis.h1057
-rw-r--r--include/llvm/Analysis/AliasSetTracker.h15
-rw-r--r--include/llvm/Analysis/AssumptionCache.h6
-rw-r--r--include/llvm/Analysis/BasicAliasAnalysis.h223
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfo.h42
-rw-r--r--include/llvm/Analysis/BlockFrequencyInfoImpl.h88
-rw-r--r--include/llvm/Analysis/BranchProbabilityInfo.h91
-rw-r--r--include/llvm/Analysis/CFG.h2
-rw-r--r--include/llvm/Analysis/CFLAliasAnalysis.h158
-rw-r--r--include/llvm/Analysis/CGSCCPassManager.h2
-rw-r--r--include/llvm/Analysis/CallGraph.h33
-rw-r--r--include/llvm/Analysis/CallGraphSCCPass.h17
-rw-r--r--include/llvm/Analysis/CaptureTracking.h7
-rw-r--r--include/llvm/Analysis/DOTGraphTraitsPass.h34
-rw-r--r--include/llvm/Analysis/DemandedBits.h75
-rw-r--r--include/llvm/Analysis/DependenceAnalysis.h61
-rw-r--r--include/llvm/Analysis/DivergenceAnalysis.h48
-rw-r--r--include/llvm/Analysis/EHPersonalities.h94
-rw-r--r--include/llvm/Analysis/GlobalsModRef.h160
-rw-r--r--include/llvm/Analysis/IVUsers.h2
-rw-r--r--include/llvm/Analysis/InlineCost.h65
-rw-r--r--include/llvm/Analysis/InstructionSimplify.h2
-rw-r--r--include/llvm/Analysis/IteratedDominanceFrontier.h6
-rw-r--r--include/llvm/Analysis/LazyCallGraph.h113
-rw-r--r--include/llvm/Analysis/LazyValueInfo.h17
-rw-r--r--include/llvm/Analysis/LibCallAliasAnalysis.h71
-rw-r--r--include/llvm/Analysis/LibCallSemantics.h225
-rw-r--r--include/llvm/Analysis/Loads.h13
-rw-r--r--include/llvm/Analysis/LoopAccessAnalysis.h224
-rw-r--r--include/llvm/Analysis/LoopInfo.h111
-rw-r--r--include/llvm/Analysis/LoopInfoImpl.h8
-rw-r--r--include/llvm/Analysis/LoopPass.h19
-rw-r--r--include/llvm/Analysis/MemoryBuiltins.h5
-rw-r--r--include/llvm/Analysis/MemoryDependenceAnalysis.h39
-rw-r--r--include/llvm/Analysis/ObjCARCAliasAnalysis.h102
-rw-r--r--include/llvm/Analysis/ObjCARCAnalysisUtils.h287
-rw-r--r--include/llvm/Analysis/ObjCARCInstKind.h123
-rw-r--r--include/llvm/Analysis/OrderedBasicBlock.h66
-rw-r--r--include/llvm/Analysis/PHITransAddr.h23
-rw-r--r--include/llvm/Analysis/Passes.h74
-rw-r--r--include/llvm/Analysis/RegionInfo.h57
-rw-r--r--include/llvm/Analysis/RegionInfoImpl.h68
-rw-r--r--include/llvm/Analysis/RegionPrinter.h45
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h1005
-rw-r--r--include/llvm/Analysis/ScalarEvolutionAliasAnalysis.h79
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpander.h36
-rw-r--r--include/llvm/Analysis/ScalarEvolutionExpressions.h149
-rw-r--r--include/llvm/Analysis/ScopedNoAliasAA.h92
-rw-r--r--include/llvm/Analysis/SparsePropagation.h95
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.def90
-rw-r--r--include/llvm/Analysis/TargetLibraryInfo.h8
-rw-r--r--include/llvm/Analysis/TargetTransformInfo.h362
-rw-r--r--include/llvm/Analysis/TargetTransformInfoImpl.h101
-rw-r--r--include/llvm/Analysis/TypeBasedAliasAnalysis.h93
-rw-r--r--include/llvm/Analysis/ValueTracking.h180
-rw-r--r--include/llvm/Analysis/VectorUtils.h52
-rw-r--r--include/llvm/AsmParser/Parser.h12
-rw-r--r--include/llvm/AsmParser/SlotMapping.h12
-rw-r--r--include/llvm/Bitcode/BitcodeWriterPass.h16
-rw-r--r--include/llvm/Bitcode/BitstreamReader.h2
-rw-r--r--include/llvm/Bitcode/BitstreamWriter.h125
-rw-r--r--include/llvm/Bitcode/LLVMBitCodes.h122
-rw-r--r--include/llvm/Bitcode/ReaderWriter.h64
-rw-r--r--include/llvm/CodeGen/Analysis.h8
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h33
-rw-r--r--include/llvm/CodeGen/AtomicExpandUtils.h57
-rw-r--r--include/llvm/CodeGen/BasicTTIImpl.h77
-rw-r--r--include/llvm/CodeGen/CalcSpillWeights.h7
-rw-r--r--include/llvm/CodeGen/CallingConvLower.h19
-rw-r--r--include/llvm/CodeGen/CommandFlags.h36
-rw-r--r--include/llvm/CodeGen/DFAPacketizer.h70
-rw-r--r--include/llvm/CodeGen/DIE.h126
-rw-r--r--include/llvm/CodeGen/FastISel.h28
-rw-r--r--include/llvm/CodeGen/FunctionLoweringInfo.h25
-rw-r--r--include/llvm/CodeGen/GCMetadata.h4
-rw-r--r--include/llvm/CodeGen/GCStrategy.h4
-rw-r--r--include/llvm/CodeGen/ISDOpcodes.h49
-rw-r--r--include/llvm/CodeGen/IntrinsicLowering.h69
-rw-r--r--include/llvm/CodeGen/LiveInterval.h30
-rw-r--r--include/llvm/CodeGen/LiveIntervalAnalysis.h28
-rw-r--r--include/llvm/CodeGen/LivePhysRegs.h8
-rw-r--r--include/llvm/CodeGen/LiveRangeEdit.h2
-rw-r--r--include/llvm/CodeGen/LiveRegMatrix.h2
-rw-r--r--include/llvm/CodeGen/LiveStackAnalysis.h138
-rw-r--r--include/llvm/CodeGen/MIRParser/MIRParser.h6
-rw-r--r--include/llvm/CodeGen/MIRYamlMapping.h202
-rw-r--r--include/llvm/CodeGen/MachineBasicBlock.h468
-rw-r--r--include/llvm/CodeGen/MachineBranchProbabilityInfo.h31
-rw-r--r--include/llvm/CodeGen/MachineCombinerPattern.h31
-rw-r--r--include/llvm/CodeGen/MachineConstantPool.h47
-rw-r--r--include/llvm/CodeGen/MachineDominators.h32
-rw-r--r--include/llvm/CodeGen/MachineFrameInfo.h46
-rw-r--r--include/llvm/CodeGen/MachineFunction.h61
-rw-r--r--include/llvm/CodeGen/MachineInstr.h92
-rw-r--r--include/llvm/CodeGen/MachineInstrBuilder.h85
-rw-r--r--include/llvm/CodeGen/MachineInstrBundle.h61
-rw-r--r--include/llvm/CodeGen/MachineMemOperand.h12
-rw-r--r--include/llvm/CodeGen/MachineModuleInfo.h42
-rw-r--r--include/llvm/CodeGen/MachineModuleInfoImpls.h138
-rw-r--r--include/llvm/CodeGen/MachineRegisterInfo.h118
-rw-r--r--include/llvm/CodeGen/MachineScheduler.h30
-rw-r--r--include/llvm/CodeGen/MachineValueType.h250
-rw-r--r--include/llvm/CodeGen/ParallelCG.h43
-rw-r--r--include/llvm/CodeGen/Passes.h14
-rw-r--r--include/llvm/CodeGen/PseudoSourceValue.h235
-rw-r--r--include/llvm/CodeGen/RegAllocPBQP.h2
-rw-r--r--include/llvm/CodeGen/RegAllocRegistry.h7
-rw-r--r--include/llvm/CodeGen/RegisterPressure.h89
-rw-r--r--include/llvm/CodeGen/RegisterScavenging.h19
-rw-r--r--include/llvm/CodeGen/RuntimeLibcalls.h8
-rw-r--r--include/llvm/CodeGen/ScheduleDAG.h53
-rw-r--r--include/llvm/CodeGen/ScheduleDAGInstrs.h56
-rw-r--r--include/llvm/CodeGen/SchedulerRegistry.h6
-rw-r--r--include/llvm/CodeGen/SelectionDAG.h39
-rw-r--r--include/llvm/CodeGen/SelectionDAGNodes.h210
-rw-r--r--include/llvm/CodeGen/SlotIndexes.h91
-rw-r--r--include/llvm/CodeGen/StackMaps.h1
-rw-r--r--include/llvm/CodeGen/TargetLoweringObjectFileImpl.h12
-rw-r--r--include/llvm/CodeGen/TargetSchedule.h6
-rw-r--r--include/llvm/CodeGen/ValueTypes.h20
-rw-r--r--include/llvm/CodeGen/ValueTypes.td113
-rw-r--r--include/llvm/CodeGen/WinEHFuncInfo.h169
-rw-r--r--include/llvm/Config/config.h.cmake9
-rw-r--r--include/llvm/Config/config.h.in18
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeView.h367
-rw-r--r--include/llvm/DebugInfo/CodeView/CodeViewOStream.h39
-rw-r--r--include/llvm/DebugInfo/CodeView/FieldListRecordBuilder.h78
-rw-r--r--include/llvm/DebugInfo/CodeView/FunctionId.h56
-rw-r--r--include/llvm/DebugInfo/CodeView/Line.h124
-rw-r--r--include/llvm/DebugInfo/CodeView/ListRecordBuilder.h43
-rw-r--r--include/llvm/DebugInfo/CodeView/MemoryTypeTableBuilder.h68
-rw-r--r--include/llvm/DebugInfo/CodeView/MethodListRecordBuilder.h35
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeIndex.h176
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecord.h270
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeRecordBuilder.h57
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeSymbolEmitter.h37
-rw-r--r--include/llvm/DebugInfo/CodeView/TypeTableBuilder.h60
-rw-r--r--include/llvm/DebugInfo/DIContext.h33
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFCompileUnit.h9
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFContext.h21
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugLine.h3
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFDebugMacro.h59
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFFormValue.h3
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFTypeUnit.h10
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnit.h49
-rw-r--r--include/llvm/DebugInfo/DWARF/DWARFUnitIndex.h81
-rw-r--r--include/llvm/DebugInfo/PDB/PDBContext.h3
-rw-r--r--include/llvm/DebugInfo/PDB/PDBTypes.h31
-rw-r--r--include/llvm/DebugInfo/Symbolize/DIPrinter.h47
-rw-r--r--include/llvm/DebugInfo/Symbolize/SymbolizableModule.h53
-rw-r--r--include/llvm/DebugInfo/Symbolize/Symbolize.h105
-rw-r--r--include/llvm/ExecutionEngine/ExecutionEngine.h17
-rw-r--r--include/llvm/ExecutionEngine/Interpreter.h12
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h373
-rw-r--r--include/llvm/ExecutionEngine/Orc/CompileUtils.h1
-rw-r--r--include/llvm/ExecutionEngine/Orc/GlobalMappingLayer.h108
-rw-r--r--include/llvm/ExecutionEngine/Orc/IRCompileLayer.h2
-rw-r--r--include/llvm/ExecutionEngine/Orc/IndirectionUtils.h312
-rw-r--r--include/llvm/ExecutionEngine/Orc/LazyEmittingLayer.h8
-rw-r--r--include/llvm/ExecutionEngine/Orc/LogicalDylib.h40
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectLinkingLayer.h57
-rw-r--r--include/llvm/ExecutionEngine/Orc/ObjectTransformLayer.h8
-rw-r--r--include/llvm/ExecutionEngine/Orc/OrcTargetSupport.h96
-rw-r--r--include/llvm/ExecutionEngine/RuntimeDyld.h31
-rw-r--r--include/llvm/ExecutionEngine/SectionMemoryManager.h25
-rw-r--r--include/llvm/IR/Argument.h9
-rw-r--r--include/llvm/IR/AssemblyAnnotationWriter.h3
-rw-r--r--include/llvm/IR/Attributes.h89
-rw-r--r--include/llvm/IR/Attributes.td192
-rw-r--r--include/llvm/IR/BasicBlock.h44
-rw-r--r--include/llvm/IR/CFG.h150
-rw-r--r--include/llvm/IR/CMakeLists.txt5
-rw-r--r--include/llvm/IR/CallSite.h197
-rw-r--r--include/llvm/IR/CallingConv.h27
-rw-r--r--include/llvm/IR/Comdat.h2
-rw-r--r--include/llvm/IR/Constant.h51
-rw-r--r--include/llvm/IR/ConstantRange.h15
-rw-r--r--include/llvm/IR/Constants.h30
-rw-r--r--include/llvm/IR/DIBuilder.h107
-rw-r--r--include/llvm/IR/DataLayout.h7
-rw-r--r--include/llvm/IR/DebugInfo.h15
-rw-r--r--include/llvm/IR/DebugInfoFlags.def1
-rw-r--r--include/llvm/IR/DebugInfoMetadata.h564
-rw-r--r--include/llvm/IR/DerivedTypes.h100
-rw-r--r--include/llvm/IR/DiagnosticInfo.h133
-rw-r--r--include/llvm/IR/DiagnosticPrinter.h2
-rw-r--r--include/llvm/IR/Dominators.h49
-rw-r--r--include/llvm/IR/Function.h156
-rw-r--r--include/llvm/IR/FunctionInfo.h241
-rw-r--r--include/llvm/IR/GVMaterializer.h23
-rw-r--r--include/llvm/IR/GetElementPtrTypeIterator.h2
-rw-r--r--include/llvm/IR/GlobalAlias.h25
-rw-r--r--include/llvm/IR/GlobalObject.h8
-rw-r--r--include/llvm/IR/GlobalValue.h26
-rw-r--r--include/llvm/IR/GlobalVariable.h24
-rw-r--r--include/llvm/IR/IRBuilder.h159
-rw-r--r--include/llvm/IR/IRPrintingPasses.h6
-rw-r--r--include/llvm/IR/InlineAsm.h65
-rw-r--r--include/llvm/IR/InstIterator.h29
-rw-r--r--include/llvm/IR/InstVisitor.h6
-rw-r--r--include/llvm/IR/InstrTypes.h840
-rw-r--r--include/llvm/IR/Instruction.def173
-rw-r--r--include/llvm/IR/Instruction.h88
-rw-r--r--include/llvm/IR/Instructions.h940
-rw-r--r--include/llvm/IR/IntrinsicInst.h35
-rw-r--r--include/llvm/IR/Intrinsics.h2
-rw-r--r--include/llvm/IR/Intrinsics.td74
-rw-r--r--include/llvm/IR/IntrinsicsAArch64.td3
-rw-r--r--include/llvm/IR/IntrinsicsAMDGPU.td72
-rw-r--r--include/llvm/IR/IntrinsicsARM.td44
-rw-r--r--include/llvm/IR/IntrinsicsHexagon.td4411
-rw-r--r--include/llvm/IR/IntrinsicsPowerPC.td18
-rw-r--r--include/llvm/IR/IntrinsicsWebAssembly.td6
-rw-r--r--include/llvm/IR/IntrinsicsX86.td2508
-rw-r--r--include/llvm/IR/LLVMContext.h25
-rw-r--r--include/llvm/IR/LegacyPassManagers.h75
-rw-r--r--include/llvm/IR/MDBuilder.h3
-rw-r--r--include/llvm/IR/Mangler.h2
-rw-r--r--include/llvm/IR/Metadata.def72
-rw-r--r--include/llvm/IR/Metadata.h115
-rw-r--r--include/llvm/IR/MetadataTracking.h99
-rw-r--r--include/llvm/IR/Module.h117
-rw-r--r--include/llvm/IR/ModuleSlotTracker.h8
-rw-r--r--include/llvm/IR/PassManager.h3
-rw-r--r--include/llvm/IR/PatternMatch.h40
-rw-r--r--include/llvm/IR/Statepoint.h29
-rw-r--r--include/llvm/IR/SymbolTableListTraits.h64
-rw-r--r--include/llvm/IR/TrackingMDRef.h6
-rw-r--r--include/llvm/IR/Type.h117
-rw-r--r--include/llvm/IR/TypeFinder.h2
-rw-r--r--include/llvm/IR/Use.h1
-rw-r--r--include/llvm/IR/UseListOrder.h4
-rw-r--r--include/llvm/IR/User.h37
-rw-r--r--include/llvm/IR/Value.def3
-rw-r--r--include/llvm/IR/Value.h142
-rw-r--r--include/llvm/IR/ValueHandle.h33
-rw-r--r--include/llvm/IR/ValueMap.h4
-rw-r--r--include/llvm/IR/ValueSymbolTable.h44
-rw-r--r--include/llvm/IRReader/IRReader.h9
-rw-r--r--include/llvm/InitializePasses.h47
-rw-r--r--include/llvm/LTO/LTOCodeGenerator.h153
-rw-r--r--include/llvm/LTO/LTOModule.h51
-rw-r--r--include/llvm/LibDriver/LibDriver.h2
-rw-r--r--include/llvm/LinkAllPasses.h29
-rw-r--r--include/llvm/Linker/IRMover.h76
-rw-r--r--include/llvm/Linker/Linker.h102
-rw-r--r--include/llvm/MC/ConstantPools.h10
-rw-r--r--include/llvm/MC/MCAsmBackend.h5
-rw-r--r--include/llvm/MC/MCAsmInfo.h9
-rw-r--r--include/llvm/MC/MCAssembler.h512
-rw-r--r--include/llvm/MC/MCContext.h36
-rw-r--r--include/llvm/MC/MCDirectives.h4
-rw-r--r--include/llvm/MC/MCDwarf.h44
-rw-r--r--include/llvm/MC/MCELFObjectWriter.h2
-rw-r--r--include/llvm/MC/MCELFStreamer.h13
-rw-r--r--include/llvm/MC/MCExpr.h6
-rw-r--r--include/llvm/MC/MCFixedLenDisassembler.h2
-rw-r--r--include/llvm/MC/MCFragment.h506
-rw-r--r--include/llvm/MC/MCInstrDesc.h32
-rw-r--r--include/llvm/MC/MCInstrItineraries.h2
-rw-r--r--include/llvm/MC/MCLinkerOptimizationHint.h2
-rw-r--r--include/llvm/MC/MCMachObjectWriter.h22
-rw-r--r--include/llvm/MC/MCObjectFileInfo.h36
-rw-r--r--include/llvm/MC/MCObjectStreamer.h7
-rw-r--r--include/llvm/MC/MCObjectWriter.h38
-rw-r--r--include/llvm/MC/MCParser/AsmLexer.h3
-rw-r--r--include/llvm/MC/MCParser/MCAsmLexer.h40
-rw-r--r--include/llvm/MC/MCParser/MCAsmParserExtension.h3
-rw-r--r--include/llvm/MC/MCParser/MCParsedAsmOperand.h10
-rw-r--r--include/llvm/MC/MCRegisterInfo.h8
-rw-r--r--include/llvm/MC/MCSchedule.h5
-rw-r--r--include/llvm/MC/MCSection.h16
-rw-r--r--include/llvm/MC/MCSectionCOFF.h109
-rw-r--r--include/llvm/MC/MCSectionELF.h27
-rw-r--r--include/llvm/MC/MCSectionMachO.h27
-rw-r--r--include/llvm/MC/MCStreamer.h31
-rw-r--r--include/llvm/MC/MCSubtargetInfo.h12
-rw-r--r--include/llvm/MC/MCSymbol.h89
-rw-r--r--include/llvm/MC/MCTargetAsmParser.h28
-rw-r--r--include/llvm/MC/MCTargetOptions.h4
-rw-r--r--include/llvm/MC/MCTargetOptionsCommandFlags.h15
-rw-r--r--include/llvm/MC/MCValue.h5
-rw-r--r--include/llvm/MC/MCWinCOFFStreamer.h2
-rw-r--r--include/llvm/MC/MachineLocation.h4
-rw-r--r--include/llvm/MC/SectionKind.h59
-rw-r--r--include/llvm/MC/StringTableBuilder.h40
-rw-r--r--include/llvm/MC/SubtargetFeature.h2
-rw-r--r--include/llvm/Object/Archive.h67
-rw-r--r--include/llvm/Object/ArchiveWriter.h13
-rw-r--r--include/llvm/Object/Binary.h10
-rw-r--r--include/llvm/Object/COFF.h4
-rw-r--r--include/llvm/Object/COFFImportFile.h74
-rw-r--r--include/llvm/Object/ELF.h871
-rw-r--r--include/llvm/Object/ELFObjectFile.h171
-rw-r--r--include/llvm/Object/ELFTypes.h37
-rw-r--r--include/llvm/Object/Error.h1
-rw-r--r--include/llvm/Object/FunctionIndexObjectFile.h110
-rw-r--r--include/llvm/Object/MachO.h26
-rw-r--r--include/llvm/Object/ObjectFile.h13
-rw-r--r--include/llvm/Object/SymbolicFile.h8
-rw-r--r--include/llvm/Option/Arg.h1
-rw-r--r--include/llvm/Option/ArgList.h6
-rw-r--r--include/llvm/Option/OptTable.h8
-rw-r--r--include/llvm/Option/Option.h1
-rw-r--r--include/llvm/PassAnalysisSupport.h33
-rw-r--r--include/llvm/PassInfo.h36
-rw-r--r--include/llvm/PassRegistry.h1
-rw-r--r--include/llvm/PassSupport.h2
-rw-r--r--include/llvm/ProfileData/CoverageMapping.h6
-rw-r--r--include/llvm/ProfileData/InstrProf.h552
-rw-r--r--include/llvm/ProfileData/InstrProfData.inc735
-rw-r--r--include/llvm/ProfileData/InstrProfReader.h175
-rw-r--r--include/llvm/ProfileData/InstrProfWriter.h23
-rw-r--r--include/llvm/ProfileData/SampleProf.h301
-rw-r--r--include/llvm/ProfileData/SampleProfReader.h245
-rw-r--r--include/llvm/ProfileData/SampleProfWriter.h114
-rw-r--r--include/llvm/Support/ARMTargetParser.def223
-rw-r--r--include/llvm/Support/AlignOf.h37
-rw-r--r--include/llvm/Support/Allocator.h15
-rw-r--r--include/llvm/Support/BlockFrequency.h26
-rw-r--r--include/llvm/Support/BranchProbability.h176
-rw-r--r--include/llvm/Support/CBindingWrapping.h1
-rw-r--r--include/llvm/Support/COFF.h2
-rw-r--r--include/llvm/Support/CommandLine.h32
-rw-r--r--include/llvm/Support/Compiler.h74
-rw-r--r--include/llvm/Support/CrashRecoveryContext.h35
-rw-r--r--include/llvm/Support/DOTGraphTraits.h11
-rw-r--r--include/llvm/Support/Debug.h2
-rw-r--r--include/llvm/Support/Dwarf.def10
-rw-r--r--include/llvm/Support/Dwarf.h54
-rw-r--r--include/llvm/Support/ELF.h69
-rw-r--r--include/llvm/Support/ELFRelocs/AVR.def40
-rw-r--r--include/llvm/Support/ELFRelocs/PowerPC.def62
-rw-r--r--include/llvm/Support/ELFRelocs/PowerPC64.def93
-rw-r--r--include/llvm/Support/Endian.h143
-rw-r--r--include/llvm/Support/ErrorHandling.h32
-rw-r--r--include/llvm/Support/ErrorOr.h11
-rw-r--r--include/llvm/Support/FileOutputBuffer.h6
-rw-r--r--include/llvm/Support/FileSystem.h51
-rw-r--r--include/llvm/Support/Format.h5
-rw-r--r--include/llvm/Support/GCOV.h19
-rw-r--r--include/llvm/Support/GenericDomTree.h14
-rw-r--r--include/llvm/Support/GenericDomTreeConstruction.h18
-rw-r--r--include/llvm/Support/GraphWriter.h10
-rw-r--r--include/llvm/Support/JamCRC.h48
-rw-r--r--include/llvm/Support/MachO.h13
-rw-r--r--include/llvm/Support/ManagedStatic.h2
-rw-r--r--include/llvm/Support/MathExtras.h96
-rw-r--r--include/llvm/Support/Memory.h33
-rw-r--r--include/llvm/Support/MemoryBuffer.h6
-rw-r--r--include/llvm/Support/OnDiskHashTable.h210
-rw-r--r--include/llvm/Support/Options.h4
-rw-r--r--include/llvm/Support/OutputBuffer.h166
-rw-r--r--include/llvm/Support/Path.h35
-rw-r--r--include/llvm/Support/PointerLikeTypeTraits.h67
-rw-r--r--include/llvm/Support/PrettyStackTrace.h12
-rw-r--r--include/llvm/Support/Printable.h52
-rw-r--r--include/llvm/Support/Program.h3
-rw-r--r--include/llvm/Support/Recycler.h80
-rw-r--r--include/llvm/Support/Registry.h14
-rw-r--r--include/llvm/Support/SMLoc.h6
-rw-r--r--include/llvm/Support/ScaledNumber.h4
-rw-r--r--include/llvm/Support/Signals.h3
-rw-r--r--include/llvm/Support/StreamingMemoryObject.h4
-rw-r--r--include/llvm/Support/StringSaver.h16
-rw-r--r--include/llvm/Support/TargetParser.h276
-rw-r--r--include/llvm/Support/TargetRegistry.h15
-rw-r--r--include/llvm/Support/TargetSelect.h27
-rw-r--r--include/llvm/Support/ThreadPool.h136
-rw-r--r--include/llvm/Support/Threading.h2
-rw-r--r--include/llvm/Support/Timer.h63
-rw-r--r--include/llvm/Support/TrailingObjects.h349
-rw-r--r--include/llvm/Support/UnicodeCharRanges.h5
-rw-r--r--include/llvm/Support/Valgrind.h39
-rw-r--r--include/llvm/Support/YAMLParser.h7
-rw-r--r--include/llvm/Support/YAMLTraits.h49
-rw-r--r--include/llvm/Support/circular_raw_ostream.h4
-rw-r--r--include/llvm/Support/raw_ostream.h60
-rw-r--r--include/llvm/Support/thread.h66
-rw-r--r--include/llvm/Support/type_traits.h9
-rw-r--r--include/llvm/TableGen/Record.h10
-rw-r--r--include/llvm/Target/CostTable.h60
-rw-r--r--include/llvm/Target/Target.td38
-rw-r--r--include/llvm/Target/TargetCallingConv.h5
-rw-r--r--include/llvm/Target/TargetFrameLowering.h39
-rw-r--r--include/llvm/Target/TargetInstrInfo.h225
-rw-r--r--include/llvm/Target/TargetItinerary.td16
-rw-r--r--include/llvm/Target/TargetLowering.h304
-rw-r--r--include/llvm/Target/TargetLoweringObjectFile.h16
-rw-r--r--include/llvm/Target/TargetMachine.h42
-rw-r--r--include/llvm/Target/TargetOpcodes.h6
-rw-r--r--include/llvm/Target/TargetOptions.h64
-rw-r--r--include/llvm/Target/TargetRecip.h14
-rw-r--r--include/llvm/Target/TargetRegisterInfo.h441
-rw-r--r--include/llvm/Target/TargetSelectionDAG.td61
-rw-r--r--include/llvm/Target/TargetSelectionDAGInfo.h45
-rw-r--r--include/llvm/Target/TargetSubtargetInfo.h6
-rw-r--r--include/llvm/Transforms/IPO.h15
-rw-r--r--include/llvm/Transforms/IPO/ForceFunctionAttrs.h35
-rw-r--r--include/llvm/Transforms/IPO/FunctionImport.h43
-rw-r--r--include/llvm/Transforms/IPO/InferFunctionAttrs.h38
-rw-r--r--include/llvm/Transforms/IPO/InlinerPass.h13
-rw-r--r--include/llvm/Transforms/IPO/LowerBitSets.h7
-rw-r--r--include/llvm/Transforms/IPO/PassManagerBuilder.h10
-rw-r--r--include/llvm/Transforms/IPO/StripDeadPrototypes.h34
-rw-r--r--include/llvm/Transforms/InstCombine/InstCombineWorklist.h12
-rw-r--r--include/llvm/Transforms/Instrumentation.h42
-rw-r--r--include/llvm/Transforms/Scalar.h18
-rw-r--r--include/llvm/Transforms/Scalar/ADCE.h38
-rw-r--r--include/llvm/Transforms/Scalar/SROA.h129
-rw-r--r--include/llvm/Transforms/Utils/BasicBlockUtils.h40
-rw-r--r--include/llvm/Transforms/Utils/Cloning.h32
-rw-r--r--include/llvm/Transforms/Utils/Local.h49
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h161
-rw-r--r--include/llvm/Transforms/Utils/LoopVersioning.h56
-rw-r--r--include/llvm/Transforms/Utils/ModuleUtils.h4
-rw-r--r--include/llvm/Transforms/Utils/SSAUpdaterImpl.h2
-rw-r--r--include/llvm/Transforms/Utils/SimplifyIndVar.h11
-rw-r--r--include/llvm/Transforms/Utils/SimplifyLibCalls.h3
-rw-r--r--include/llvm/Transforms/Utils/SplitModule.h43
-rw-r--r--include/llvm/Transforms/Utils/UnrollLoop.h9
-rw-r--r--include/llvm/Transforms/Utils/ValueMapper.h48
-rw-r--r--include/llvm/module.modulemap12
-rw-r--r--lib/Analysis/AliasAnalysis.cpp615
-rw-r--r--lib/Analysis/AliasAnalysisCounter.cpp173
-rw-r--r--lib/Analysis/AliasAnalysisEvaluator.cpp54
-rw-r--r--lib/Analysis/AliasDebugger.cpp136
-rw-r--r--lib/Analysis/AliasSetTracker.cpp44
-rw-r--r--lib/Analysis/Analysis.cpp32
-rw-r--r--lib/Analysis/BasicAliasAnalysis.cpp1094
-rw-r--r--lib/Analysis/BlockFrequencyInfo.cpp93
-rw-r--r--lib/Analysis/BlockFrequencyInfoImpl.cpp12
-rw-r--r--lib/Analysis/BranchProbabilityInfo.cpp397
-rw-r--r--lib/Analysis/CFG.cpp8
-rw-r--r--lib/Analysis/CFLAliasAnalysis.cpp253
-rw-r--r--lib/Analysis/CMakeLists.txt18
-rw-r--r--lib/Analysis/CallGraph.cpp306
-rw-r--r--lib/Analysis/CallGraphSCCPass.cpp (renamed from lib/Analysis/IPA/CallGraphSCCPass.cpp)0
-rw-r--r--lib/Analysis/CallPrinter.cpp (renamed from lib/Analysis/IPA/CallPrinter.cpp)0
-rw-r--r--lib/Analysis/CaptureTracking.cpp98
-rw-r--r--lib/Analysis/CodeMetrics.cpp15
-rw-r--r--lib/Analysis/ConstantFolding.cpp136
-rw-r--r--lib/Analysis/CostModel.cpp19
-rw-r--r--lib/Analysis/Delinearization.cpp14
-rw-r--r--lib/Analysis/DemandedBits.cpp392
-rw-r--r--lib/Analysis/DependenceAnalysis.cpp182
-rw-r--r--lib/Analysis/DivergenceAnalysis.cpp115
-rw-r--r--lib/Analysis/EHPersonalities.cpp106
-rw-r--r--lib/Analysis/GlobalsModRef.cpp1002
-rw-r--r--lib/Analysis/IPA/CMakeLists.txt10
-rw-r--r--lib/Analysis/IPA/CallGraph.cpp302
-rw-r--r--lib/Analysis/IPA/GlobalsModRef.cpp609
-rw-r--r--lib/Analysis/IPA/IPA.cpp30
-rw-r--r--lib/Analysis/IPA/InlineCost.cpp1437
-rw-r--r--lib/Analysis/IPA/LLVMBuild.txt23
-rw-r--r--lib/Analysis/IPA/Makefile15
-rw-r--r--lib/Analysis/IVUsers.cpp8
-rw-r--r--lib/Analysis/InlineCost.cpp1425
-rw-r--r--lib/Analysis/InstructionSimplify.cpp81
-rw-r--r--lib/Analysis/LLVMBuild.txt3
-rw-r--r--lib/Analysis/LazyCallGraph.cpp8
-rw-r--r--lib/Analysis/LazyValueInfo.cpp345
-rw-r--r--lib/Analysis/LibCallAliasAnalysis.cpp141
-rw-r--r--lib/Analysis/LibCallSemantics.cpp89
-rw-r--r--lib/Analysis/Lint.cpp303
-rw-r--r--lib/Analysis/Loads.cpp24
-rw-r--r--lib/Analysis/LoopAccessAnalysis.cpp551
-rw-r--r--lib/Analysis/LoopInfo.cpp69
-rw-r--r--lib/Analysis/LoopPass.cpp139
-rw-r--r--lib/Analysis/Makefile1
-rw-r--r--lib/Analysis/MemDepPrinter.cpp6
-rw-r--r--lib/Analysis/MemDerefPrinter.cpp18
-rw-r--r--lib/Analysis/MemoryBuiltins.cpp55
-rw-r--r--lib/Analysis/MemoryDependenceAnalysis.cpp174
-rw-r--r--lib/Analysis/NoAliasAnalysis.cpp95
-rw-r--r--lib/Analysis/ObjCARCAliasAnalysis.cpp170
-rw-r--r--lib/Analysis/ObjCARCAnalysisUtils.cpp28
-rw-r--r--lib/Analysis/ObjCARCInstKind.cpp675
-rw-r--r--lib/Analysis/OrderedBasicBlock.cpp85
-rw-r--r--lib/Analysis/RegionInfo.cpp9
-rw-r--r--lib/Analysis/RegionPrinter.cpp151
-rw-r--r--lib/Analysis/ScalarEvolution.cpp3265
-rw-r--r--lib/Analysis/ScalarEvolutionAliasAnalysis.cpp178
-rw-r--r--lib/Analysis/ScalarEvolutionExpander.cpp361
-rw-r--r--lib/Analysis/ScalarEvolutionNormalization.cpp2
-rw-r--r--lib/Analysis/ScopedNoAliasAA.cpp202
-rw-r--r--lib/Analysis/SparsePropagation.cpp14
-rw-r--r--lib/Analysis/TargetLibraryInfo.cpp42
-rw-r--r--lib/Analysis/TargetTransformInfo.cpp234
-rw-r--r--lib/Analysis/TypeBasedAliasAnalysis.cpp654
-rw-r--r--lib/Analysis/ValueTracking.cpp1164
-rw-r--r--lib/Analysis/VectorUtils.cpp199
-rw-r--r--lib/AsmParser/LLLexer.cpp21
-rw-r--r--lib/AsmParser/LLParser.cpp732
-rw-r--r--lib/AsmParser/LLParser.h59
-rw-r--r--lib/AsmParser/LLToken.h16
-rw-r--r--lib/AsmParser/Parser.cpp12
-rw-r--r--lib/Bitcode/Reader/BitReader.cpp105
-rw-r--r--lib/Bitcode/Reader/BitcodeReader.cpp1931
-rw-r--r--lib/Bitcode/Writer/BitcodeWriter.cpp741
-rw-r--r--lib/Bitcode/Writer/BitcodeWriterPass.cpp18
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.cpp96
-rw-r--r--lib/Bitcode/Writer/ValueEnumerator.h7
-rw-r--r--lib/CodeGen/AggressiveAntiDepBreaker.cpp61
-rw-r--r--lib/CodeGen/AllocationOrder.cpp5
-rw-r--r--lib/CodeGen/AllocationOrder.h4
-rw-r--r--lib/CodeGen/Analysis.cpp98
-rw-r--r--lib/CodeGen/AsmPrinter/ARMException.cpp5
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinter.cpp459
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterDwarf.cpp42
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterHandler.h6
-rw-r--r--lib/CodeGen/AsmPrinter/AsmPrinterInlineAsm.cpp14
-rw-r--r--lib/CodeGen/AsmPrinter/ByteStreamer.h13
-rw-r--r--lib/CodeGen/AsmPrinter/DIE.cpp126
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.cpp32
-rw-r--r--lib/CodeGen/AsmPrinter/DIEHash.h3
-rw-r--r--lib/CodeGen/AsmPrinter/DebugLocEntry.h3
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfAccelTable.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCFIException.cpp10
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp59
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfCompileUnit.h10
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.cpp109
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfDebug.h84
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfExpression.cpp15
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.cpp98
-rw-r--r--lib/CodeGen/AsmPrinter/DwarfUnit.h30
-rw-r--r--lib/CodeGen/AsmPrinter/EHStreamer.cpp5
-rw-r--r--lib/CodeGen/AsmPrinter/EHStreamer.h8
-rw-r--r--lib/CodeGen/AsmPrinter/ErlangGCPrinter.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/OcamlGCPrinter.cpp2
-rw-r--r--lib/CodeGen/AsmPrinter/WinCodeViewLineTables.cpp13
-rw-r--r--lib/CodeGen/AsmPrinter/WinCodeViewLineTables.h10
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.cpp1230
-rw-r--r--lib/CodeGen/AsmPrinter/WinException.h31
-rw-r--r--lib/CodeGen/AtomicExpandPass.cpp348
-rw-r--r--lib/CodeGen/BasicTargetTransformInfo.cpp2
-rw-r--r--lib/CodeGen/BranchFolding.cpp284
-rw-r--r--lib/CodeGen/BranchFolding.h1
-rw-r--r--lib/CodeGen/CMakeLists.txt10
-rw-r--r--lib/CodeGen/CalcSpillWeights.cpp39
-rw-r--r--lib/CodeGen/CallingConvLower.cpp3
-rw-r--r--lib/CodeGen/CodeGen.cpp2
-rw-r--r--lib/CodeGen/CodeGenPrepare.cpp1325
-rw-r--r--lib/CodeGen/CoreCLRGC.cpp4
-rw-r--r--lib/CodeGen/CriticalAntiDepBreaker.cpp7
-rw-r--r--lib/CodeGen/DFAPacketizer.cpp87
-rw-r--r--lib/CodeGen/DeadMachineInstructionElim.cpp20
-rw-r--r--lib/CodeGen/DwarfEHPrepare.cpp6
-rw-r--r--lib/CodeGen/EarlyIfConversion.cpp6
-rw-r--r--lib/CodeGen/ExecutionDepsFix.cpp36
-rw-r--r--lib/CodeGen/ExpandISelPseudos.cpp4
-rw-r--r--lib/CodeGen/FuncletLayout.cpp55
-rw-r--r--lib/CodeGen/GCRootLowering.cpp6
-rw-r--r--lib/CodeGen/GlobalMerge.cpp138
-rw-r--r--lib/CodeGen/IfConversion.cpp189
-rw-r--r--lib/CodeGen/ImplicitNullChecks.cpp201
-rw-r--r--lib/CodeGen/InlineSpiller.cpp76
-rw-r--r--lib/CodeGen/InterferenceCache.cpp3
-rw-r--r--lib/CodeGen/InterleavedAccessPass.cpp4
-rw-r--r--lib/CodeGen/IntrinsicLowering.cpp65
-rw-r--r--lib/CodeGen/LLVMBuild.txt2
-rw-r--r--lib/CodeGen/LLVMTargetMachine.cpp7
-rw-r--r--lib/CodeGen/LiveDebugValues.cpp405
-rw-r--r--lib/CodeGen/LiveDebugVariables.cpp107
-rw-r--r--lib/CodeGen/LiveDebugVariables.h1
-rw-r--r--lib/CodeGen/LiveInterval.cpp117
-rw-r--r--lib/CodeGen/LiveIntervalAnalysis.cpp129
-rw-r--r--lib/CodeGen/LivePhysRegs.cpp18
-rw-r--r--lib/CodeGen/LiveRangeCalc.cpp15
-rw-r--r--lib/CodeGen/LiveRangeCalc.h2
-rw-r--r--lib/CodeGen/LiveRangeEdit.cpp37
-rw-r--r--lib/CodeGen/LiveRegMatrix.cpp7
-rw-r--r--lib/CodeGen/LiveVariables.cpp27
-rw-r--r--lib/CodeGen/LocalStackSlotAllocation.cpp2
-rw-r--r--lib/CodeGen/MIRParser/LLVMBuild.txt2
-rw-r--r--lib/CodeGen/MIRParser/MILexer.cpp451
-rw-r--r--lib/CodeGen/MIRParser/MILexer.h102
-rw-r--r--lib/CodeGen/MIRParser/MIParser.cpp1595
-rw-r--r--lib/CodeGen/MIRParser/MIParser.h54
-rw-r--r--lib/CodeGen/MIRParser/MIRParser.cpp432
-rw-r--r--lib/CodeGen/MIRPrinter.cpp767
-rw-r--r--lib/CodeGen/MIRPrintingPass.cpp4
-rw-r--r--lib/CodeGen/MachineBasicBlock.cpp505
-rw-r--r--lib/CodeGen/MachineBlockFrequencyInfo.cpp4
-rw-r--r--lib/CodeGen/MachineBlockPlacement.cpp360
-rw-r--r--lib/CodeGen/MachineBranchProbabilityInfo.cpp75
-rw-r--r--lib/CodeGen/MachineCSE.cpp6
-rw-r--r--lib/CodeGen/MachineCombiner.cpp202
-rw-r--r--lib/CodeGen/MachineFunction.cpp88
-rw-r--r--lib/CodeGen/MachineFunctionPass.cpp10
-rw-r--r--lib/CodeGen/MachineInstr.cpp89
-rw-r--r--lib/CodeGen/MachineInstrBundle.cpp43
-rw-r--r--lib/CodeGen/MachineLICM.cpp261
-rw-r--r--lib/CodeGen/MachineLoopInfo.cpp13
-rw-r--r--lib/CodeGen/MachineModuleInfo.cpp86
-rw-r--r--lib/CodeGen/MachineRegisterInfo.cpp32
-rw-r--r--lib/CodeGen/MachineScheduler.cpp232
-rw-r--r--lib/CodeGen/MachineSink.cpp11
-rw-r--r--lib/CodeGen/MachineTraceMetrics.cpp10
-rw-r--r--lib/CodeGen/MachineVerifier.cpp326
-rw-r--r--lib/CodeGen/PHIElimination.cpp2
-rw-r--r--lib/CodeGen/PHIEliminationUtils.cpp2
-rw-r--r--lib/CodeGen/ParallelCG.cpp96
-rw-r--r--lib/CodeGen/Passes.cpp144
-rw-r--r--lib/CodeGen/PeepholeOptimizer.cpp1017
-rw-r--r--lib/CodeGen/PostRASchedulerList.cpp37
-rw-r--r--lib/CodeGen/ProcessImplicitDefs.cpp6
-rw-r--r--lib/CodeGen/PrologEpilogInserter.cpp149
-rw-r--r--lib/CodeGen/PseudoSourceValue.cpp140
-rw-r--r--lib/CodeGen/RegAllocBasic.cpp8
-rw-r--r--lib/CodeGen/RegAllocFast.cpp21
-rw-r--r--lib/CodeGen/RegAllocGreedy.cpp53
-rw-r--r--lib/CodeGen/RegAllocPBQP.cpp37
-rw-r--r--lib/CodeGen/RegisterCoalescer.cpp256
-rw-r--r--lib/CodeGen/RegisterPressure.cpp373
-rw-r--r--lib/CodeGen/RegisterScavenging.cpp14
-rw-r--r--lib/CodeGen/ScheduleDAG.cpp1
-rw-r--r--lib/CodeGen/ScheduleDAGInstrs.cpp313
-rw-r--r--lib/CodeGen/ScheduleDAGPrinter.cpp9
-rw-r--r--lib/CodeGen/SelectionDAG/DAGCombiner.cpp2644
-rw-r--r--lib/CodeGen/SelectionDAG/FastISel.cpp142
-rw-r--r--lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp196
-rw-r--r--lib/CodeGen/SelectionDAG/InstrEmitter.cpp2
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeDAG.cpp1283
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeFloatTypes.cpp272
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeIntegerTypes.cpp304
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.cpp124
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypes.h110
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeTypesGeneric.cpp14
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorOps.cpp58
-rw-r--r--lib/CodeGen/SelectionDAG/LegalizeVectorTypes.cpp275
-rw-r--r--lib/CodeGen/SelectionDAG/ResourcePriorityQueue.cpp6
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGFast.cpp4
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGRRList.cpp34
-rw-r--r--lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.h6
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAG.cpp530
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp1048
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h109
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp133
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp261
-rw-r--r--lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp13
-rw-r--r--lib/CodeGen/SelectionDAG/StatepointLowering.cpp137
-rw-r--r--lib/CodeGen/SelectionDAG/TargetLowering.cpp267
-rw-r--r--lib/CodeGen/ShadowStackGCLowering.cpp10
-rw-r--r--lib/CodeGen/ShrinkWrap.cpp175
-rw-r--r--lib/CodeGen/SjLjEHPrepare.cpp44
-rw-r--r--lib/CodeGen/SlotIndexes.cpp4
-rw-r--r--lib/CodeGen/SpillPlacement.cpp7
-rw-r--r--lib/CodeGen/SplitKit.cpp49
-rw-r--r--lib/CodeGen/StackMaps.cpp4
-rw-r--r--lib/CodeGen/StackProtector.cpp20
-rw-r--r--lib/CodeGen/StackSlotColoring.cpp2
-rw-r--r--lib/CodeGen/StatepointExampleGC.cpp4
-rw-r--r--lib/CodeGen/TailDuplication.cpp115
-rw-r--r--lib/CodeGen/TargetFrameLoweringImpl.cpp30
-rw-r--r--lib/CodeGen/TargetInstrInfo.cpp310
-rw-r--r--lib/CodeGen/TargetLoweringBase.cpp148
-rw-r--r--lib/CodeGen/TargetLoweringObjectFileImpl.cpp80
-rw-r--r--lib/CodeGen/TargetRegisterInfo.cpp185
-rw-r--r--lib/CodeGen/TargetSchedule.cpp8
-rw-r--r--lib/CodeGen/TwoAddressInstructionPass.cpp302
-rw-r--r--lib/CodeGen/UnreachableBlockElim.cpp8
-rw-r--r--lib/CodeGen/VirtRegMap.cpp166
-rw-r--r--lib/CodeGen/WinEHPrepare.cpp3506
-rw-r--r--lib/DebugInfo/CMakeLists.txt4
-rw-r--r--lib/DebugInfo/CodeView/CMakeLists.txt12
-rw-r--r--lib/DebugInfo/CodeView/FieldListRecordBuilder.cpp165
-rw-r--r--lib/DebugInfo/CodeView/LLVMBuild.txt22
-rw-r--r--lib/DebugInfo/CodeView/Line.cpp22
-rw-r--r--lib/DebugInfo/CodeView/ListRecordBuilder.cpp31
-rw-r--r--lib/DebugInfo/CodeView/Makefile14
-rw-r--r--lib/DebugInfo/CodeView/MemoryTypeTableBuilder.cpp35
-rw-r--r--lib/DebugInfo/CodeView/MethodListRecordBuilder.cpp49
-rw-r--r--lib/DebugInfo/CodeView/TypeRecordBuilder.cpp113
-rw-r--r--lib/DebugInfo/CodeView/TypeTableBuilder.cpp217
-rw-r--r--lib/DebugInfo/DWARF/CMakeLists.txt2
-rw-r--r--lib/DebugInfo/DWARF/DWARFContext.cpp93
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugInfoEntry.cpp2
-rw-r--r--lib/DebugInfo/DWARF/DWARFDebugMacro.cpp103
-rw-r--r--lib/DebugInfo/DWARF/DWARFFormValue.cpp18
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnit.cpp44
-rw-r--r--lib/DebugInfo/DWARF/DWARFUnitIndex.cpp168
-rw-r--r--lib/DebugInfo/DWARF/SyntaxHighlighting.cpp1
-rw-r--r--lib/DebugInfo/DWARF/SyntaxHighlighting.h2
-rw-r--r--lib/DebugInfo/LLVMBuild.txt2
-rw-r--r--lib/DebugInfo/Makefile4
-rw-r--r--lib/DebugInfo/PDB/PDB.cpp2
-rw-r--r--lib/DebugInfo/PDB/PDBContext.cpp21
-rw-r--r--lib/DebugInfo/Symbolize/CMakeLists.txt8
-rw-r--r--lib/DebugInfo/Symbolize/DIPrinter.cpp69
-rw-r--r--lib/DebugInfo/Symbolize/LLVMBuild.txt22
-rw-r--r--lib/DebugInfo/Symbolize/Makefile15
-rw-r--r--lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp254
-rw-r--r--lib/DebugInfo/Symbolize/SymbolizableObjectFile.h82
-rw-r--r--lib/DebugInfo/Symbolize/Symbolize.cpp456
-rw-r--r--lib/ExecutionEngine/ExecutionEngine.cpp69
-rw-r--r--lib/ExecutionEngine/ExecutionEngineBindings.cpp46
-rw-r--r--lib/ExecutionEngine/Interpreter/Execution.cpp76
-rw-r--r--lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp10
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.cpp7
-rw-r--r--lib/ExecutionEngine/Interpreter/Interpreter.h2
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.cpp23
-rw-r--r--lib/ExecutionEngine/MCJIT/MCJIT.h17
-rw-r--r--lib/ExecutionEngine/Orc/CMakeLists.txt2
-rw-r--r--lib/ExecutionEngine/Orc/IndirectionUtils.cpp25
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindings.cpp97
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.cpp43
-rw-r--r--lib/ExecutionEngine/Orc/OrcCBindingsStack.h282
-rw-r--r--lib/ExecutionEngine/Orc/OrcMCJITReplacement.h44
-rw-r--r--lib/ExecutionEngine/Orc/OrcTargetSupport.cpp275
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp165
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldCOFF.cpp15
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp25
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp460
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h13
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h69
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp80
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h8
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h201
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h32
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h23
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h34
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h48
-rw-r--r--lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h69
-rw-r--r--lib/ExecutionEngine/SectionMemoryManager.cpp105
-rw-r--r--lib/Fuzzer/CMakeLists.txt6
-rw-r--r--lib/Fuzzer/FuzzerCrossOver.cpp10
-rw-r--r--lib/Fuzzer/FuzzerDFSan.h61
-rw-r--r--lib/Fuzzer/FuzzerDriver.cpp168
-rw-r--r--lib/Fuzzer/FuzzerFlags.def46
-rw-r--r--lib/Fuzzer/FuzzerIO.cpp27
-rw-r--r--lib/Fuzzer/FuzzerInterface.cpp19
-rw-r--r--lib/Fuzzer/FuzzerInterface.h119
-rw-r--r--lib/Fuzzer/FuzzerInternal.h93
-rw-r--r--lib/Fuzzer/FuzzerLoop.cpp460
-rw-r--r--lib/Fuzzer/FuzzerMain.cpp2
-rw-r--r--lib/Fuzzer/FuzzerMutate.cpp208
-rw-r--r--lib/Fuzzer/FuzzerTraceState.cpp220
-rw-r--r--lib/Fuzzer/FuzzerUtil.cpp129
-rw-r--r--lib/Fuzzer/cxx.dict122
-rw-r--r--lib/Fuzzer/cxx_fuzzer_tokens.txt218
-rw-r--r--lib/Fuzzer/test/CMakeLists.txt36
-rw-r--r--lib/Fuzzer/test/CallerCalleeTest.cpp56
-rw-r--r--lib/Fuzzer/test/CounterTest.cpp3
-rw-r--r--lib/Fuzzer/test/CxxTokensTest.cpp24
-rw-r--r--lib/Fuzzer/test/DFSanMemcmpTest.cpp12
-rw-r--r--lib/Fuzzer/test/DFSanSimpleCmpTest.cpp30
-rw-r--r--lib/Fuzzer/test/FourIndependentBranchesTest.cpp3
-rw-r--r--lib/Fuzzer/test/FullCoverageSetTest.cpp3
-rw-r--r--lib/Fuzzer/test/FuzzerUnittest.cpp308
-rw-r--r--lib/Fuzzer/test/InfiniteTest.cpp24
-rw-r--r--lib/Fuzzer/test/MemcmpTest.cpp20
-rw-r--r--lib/Fuzzer/test/NullDerefTest.cpp3
-rw-r--r--lib/Fuzzer/test/SimpleCmpTest.cpp31
-rw-r--r--lib/Fuzzer/test/SimpleDictionaryTest.cpp26
-rw-r--r--lib/Fuzzer/test/SimpleHashTest.cpp37
-rw-r--r--lib/Fuzzer/test/SimpleTest.cpp5
-rw-r--r--lib/Fuzzer/test/StrcmpTest.cpp29
-rw-r--r--lib/Fuzzer/test/StrncmpTest.cpp25
-rw-r--r--lib/Fuzzer/test/SwitchTest.cpp55
-rw-r--r--lib/Fuzzer/test/TimeoutTest.cpp3
-rw-r--r--lib/Fuzzer/test/UninstrumentedTest.cpp8
-rw-r--r--lib/Fuzzer/test/UserSuppliedFuzzerTest.cpp16
-rw-r--r--lib/Fuzzer/test/dict1.txt4
-rw-r--r--lib/Fuzzer/test/fuzzer-dfsan.test22
-rw-r--r--lib/Fuzzer/test/fuzzer-drill.test8
-rw-r--r--lib/Fuzzer/test/fuzzer-timeout.test13
-rw-r--r--lib/Fuzzer/test/fuzzer-traces.test19
-rw-r--r--lib/Fuzzer/test/fuzzer.test40
-rw-r--r--lib/Fuzzer/test/hi.txt1
-rw-r--r--lib/Fuzzer/test/lit.cfg5
-rw-r--r--lib/Fuzzer/test/merge.test29
-rw-r--r--lib/Fuzzer/test/trace-bb/CMakeLists.txt14
-rw-r--r--lib/Fuzzer/test/uninstrumented/CMakeLists.txt14
-rw-r--r--lib/IR/AsmWriter.cpp407
-rw-r--r--lib/IR/AttributeImpl.h37
-rw-r--r--lib/IR/Attributes.cpp213
-rw-r--r--lib/IR/AttributesCompatFunc.td1
-rw-r--r--lib/IR/AutoUpgrade.cpp103
-rw-r--r--lib/IR/BasicBlock.cpp42
-rw-r--r--lib/IR/CMakeLists.txt14
-rw-r--r--lib/IR/ConstantFold.cpp35
-rw-r--r--lib/IR/ConstantRange.cpp53
-rw-r--r--lib/IR/Constants.cpp326
-rw-r--r--lib/IR/ConstantsContext.h47
-rw-r--r--lib/IR/Core.cpp113
-rw-r--r--lib/IR/DIBuilder.cpp124
-rw-r--r--lib/IR/DataLayout.cpp13
-rw-r--r--lib/IR/DebugInfo.cpp55
-rw-r--r--lib/IR/DebugInfoMetadata.cpp90
-rw-r--r--lib/IR/DiagnosticInfo.cpp41
-rw-r--r--lib/IR/Dominators.cpp32
-rw-r--r--lib/IR/Function.cpp211
-rw-r--r--lib/IR/FunctionInfo.cpp67
-rw-r--r--lib/IR/GCOV.cpp4
-rw-r--r--lib/IR/Globals.cpp78
-rw-r--r--lib/IR/IRBuilder.cpp107
-rw-r--r--lib/IR/InlineAsm.cpp27
-rw-r--r--lib/IR/Instruction.cpp40
-rw-r--r--lib/IR/Instructions.cpp420
-rw-r--r--lib/IR/LLVMContext.cpp48
-rw-r--r--lib/IR/LLVMContextImpl.cpp24
-rw-r--r--lib/IR/LLVMContextImpl.h170
-rw-r--r--lib/IR/LegacyPassManager.cpp157
-rw-r--r--lib/IR/MDBuilder.cpp48
-rw-r--r--lib/IR/Makefile30
-rw-r--r--lib/IR/Metadata.cpp89
-rw-r--r--lib/IR/MetadataImpl.h13
-rw-r--r--lib/IR/MetadataTracking.cpp55
-rw-r--r--lib/IR/Module.cpp60
-rw-r--r--lib/IR/Statepoint.cpp5
-rw-r--r--lib/IR/SymbolTableListTraitsImpl.h50
-rw-r--r--lib/IR/Type.cpp154
-rw-r--r--lib/IR/TypeFinder.cpp14
-rw-r--r--lib/IR/User.cpp64
-rw-r--r--lib/IR/Value.cpp13
-rw-r--r--lib/IR/ValueSymbolTable.cpp50
-rw-r--r--lib/IR/ValueTypes.cpp27
-rw-r--r--lib/IR/Verifier.cpp682
-rw-r--r--lib/IRReader/IRReader.cpp12
-rw-r--r--lib/LTO/LLVMBuild.txt1
-rw-r--r--lib/LTO/LTOCodeGenerator.cpp329
-rw-r--r--lib/LTO/LTOModule.cpp155
-rw-r--r--lib/LibDriver/LibDriver.cpp11
-rw-r--r--lib/LibDriver/Options.td2
-rw-r--r--lib/Linker/CMakeLists.txt1
-rw-r--r--lib/Linker/IRMover.cpp1657
-rw-r--r--lib/Linker/LinkDiagnosticInfo.h25
-rw-r--r--lib/Linker/LinkModules.cpp1894
-rw-r--r--lib/MC/CMakeLists.txt1
-rw-r--r--lib/MC/ConstantPools.cpp10
-rw-r--r--lib/MC/ELFObjectWriter.cpp144
-rw-r--r--lib/MC/MCAsmBackend.cpp4
-rw-r--r--lib/MC/MCAsmInfo.cpp6
-rw-r--r--lib/MC/MCAsmInfoCOFF.cpp3
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp5
-rw-r--r--lib/MC/MCAsmStreamer.cpp95
-rw-r--r--lib/MC/MCAssembler.cpp527
-rw-r--r--lib/MC/MCContext.cpp56
-rw-r--r--lib/MC/MCDisassembler/Disassembler.cpp4
-rw-r--r--lib/MC/MCDwarf.cpp399
-rw-r--r--lib/MC/MCELFObjectTargetWriter.cpp16
-rw-r--r--lib/MC/MCELFStreamer.cpp60
-rw-r--r--lib/MC/MCExpr.cpp74
-rw-r--r--lib/MC/MCFragment.cpp458
-rw-r--r--lib/MC/MCInst.cpp2
-rw-r--r--lib/MC/MCInstrDesc.cpp2
-rw-r--r--lib/MC/MCMachOStreamer.cpp47
-rw-r--r--lib/MC/MCObjectFileInfo.cpp230
-rw-r--r--lib/MC/MCObjectStreamer.cpp96
-rw-r--r--lib/MC/MCObjectWriter.cpp10
-rw-r--r--lib/MC/MCParser/AsmLexer.cpp16
-rw-r--r--lib/MC/MCParser/AsmParser.cpp270
-rw-r--r--lib/MC/MCParser/COFFAsmParser.cpp11
-rw-r--r--lib/MC/MCParser/DarwinAsmParser.cpp78
-rw-r--r--lib/MC/MCParser/ELFAsmParser.cpp22
-rw-r--r--lib/MC/MCParser/MCAsmLexer.cpp4
-rw-r--r--lib/MC/MCParser/MCTargetAsmParser.cpp17
-rw-r--r--lib/MC/MCSection.cpp4
-rw-r--r--lib/MC/MCSectionCOFF.cpp1
-rw-r--r--lib/MC/MCSectionELF.cpp9
-rw-r--r--lib/MC/MCSectionMachO.cpp4
-rw-r--r--lib/MC/MCStreamer.cpp31
-rw-r--r--lib/MC/MCSubtargetInfo.cpp17
-rw-r--r--lib/MC/MCSymbol.cpp7
-rw-r--r--lib/MC/MCTargetOptions.cpp7
-rw-r--r--lib/MC/MCWinEH.cpp8
-rw-r--r--lib/MC/MachObjectWriter.cpp135
-rw-r--r--lib/MC/StringTableBuilder.cpp116
-rw-r--r--lib/MC/SubtargetFeature.cpp2
-rw-r--r--lib/MC/WinCOFFObjectWriter.cpp193
-rw-r--r--lib/MC/WinCOFFStreamer.cpp41
-rw-r--r--lib/Object/Archive.cpp208
-rw-r--r--lib/Object/ArchiveWriter.cpp117
-rw-r--r--lib/Object/CMakeLists.txt1
-rw-r--r--lib/Object/COFFObjectFile.cpp56
-rw-r--r--lib/Object/COFFYAML.cpp2
-rw-r--r--lib/Object/ELF.cpp1
-rw-r--r--lib/Object/ELFYAML.cpp33
-rw-r--r--lib/Object/Error.cpp2
-rw-r--r--lib/Object/FunctionIndexObjectFile.cpp143
-rw-r--r--lib/Object/IRObjectFile.cpp8
-rw-r--r--lib/Object/MachOObjectFile.cpp175
-rw-r--r--lib/Object/MachOUniversal.cpp16
-rw-r--r--lib/Object/Object.cpp4
-rw-r--r--lib/Object/ObjectFile.cpp6
-rw-r--r--lib/Object/SymbolicFile.cpp5
-rw-r--r--lib/Option/Arg.cpp21
-rw-r--r--lib/Option/ArgList.cpp25
-rw-r--r--lib/Option/OptTable.cpp12
-rw-r--r--lib/Option/Option.cpp31
-rw-r--r--lib/Passes/LLVMBuild.txt2
-rw-r--r--lib/Passes/PassBuilder.cpp6
-rw-r--r--lib/Passes/PassRegistry.def7
-rw-r--r--lib/ProfileData/CoverageMapping.cpp18
-rw-r--r--lib/ProfileData/CoverageMappingReader.cpp101
-rw-r--r--lib/ProfileData/InstrProf.cpp434
-rw-r--r--lib/ProfileData/InstrProfIndexed.h56
-rw-r--r--lib/ProfileData/InstrProfReader.cpp452
-rw-r--r--lib/ProfileData/InstrProfWriter.cpp175
-rw-r--r--lib/ProfileData/SampleProf.cpp106
-rw-r--r--lib/ProfileData/SampleProfReader.cpp742
-rw-r--r--lib/ProfileData/SampleProfWriter.cpp184
-rw-r--r--lib/Support/APFloat.cpp46
-rw-r--r--lib/Support/BlockFrequency.cpp36
-rw-r--r--lib/Support/BranchProbability.cpp49
-rw-r--r--lib/Support/CMakeLists.txt5
-rw-r--r--lib/Support/CommandLine.cpp60
-rw-r--r--lib/Support/CrashRecoveryContext.cpp26
-rw-r--r--lib/Support/Dwarf.cpp37
-rw-r--r--lib/Support/ErrorHandling.cpp2
-rw-r--r--lib/Support/FileOutputBuffer.cpp18
-rw-r--r--lib/Support/FoldingSet.cpp20
-rw-r--r--lib/Support/GraphWriter.cpp74
-rw-r--r--lib/Support/Host.cpp43
-rw-r--r--lib/Support/JamCRC.cpp96
-rw-r--r--lib/Support/Locale.cpp1
-rw-r--r--lib/Support/ManagedStatic.cpp1
-rw-r--r--lib/Support/MemoryBuffer.cpp5
-rw-r--r--lib/Support/Path.cpp110
-rw-r--r--lib/Support/PrettyStackTrace.cpp16
-rw-r--r--lib/Support/Signals.cpp140
-rw-r--r--lib/Support/Statistic.cpp18
-rw-r--r--lib/Support/StringRef.cpp103
-rw-r--r--lib/Support/StringSaver.cpp2
-rw-r--r--lib/Support/TargetParser.cpp504
-rw-r--r--lib/Support/ThreadPool.cpp155
-rw-r--r--lib/Support/TimeValue.cpp6
-rw-r--r--lib/Support/Timer.cpp74
-rw-r--r--lib/Support/Triple.cpp209
-rw-r--r--lib/Support/Unix/Memory.inc15
-rw-r--r--lib/Support/Unix/Path.inc120
-rw-r--r--lib/Support/Unix/Process.inc13
-rw-r--r--lib/Support/Unix/Program.inc7
-rw-r--r--lib/Support/Unix/Signals.inc151
-rw-r--r--lib/Support/Unix/Unix.h13
-rw-r--r--lib/Support/Valgrind.cpp21
-rw-r--r--lib/Support/Windows/COM.inc2
-rw-r--r--lib/Support/Windows/DynamicLibrary.inc4
-rw-r--r--lib/Support/Windows/Memory.inc4
-rw-r--r--lib/Support/Windows/Path.inc107
-rw-r--r--lib/Support/Windows/Process.inc11
-rw-r--r--lib/Support/Windows/Program.inc25
-rw-r--r--lib/Support/Windows/Signals.inc129
-rw-r--r--lib/Support/Windows/WindowsSupport.h18
-rw-r--r--lib/Support/YAMLParser.cpp18
-rw-r--r--lib/Support/YAMLTraits.cpp16
-rw-r--r--lib/Support/raw_ostream.cpp83
-rw-r--r--lib/TableGen/Record.cpp10
-rw-r--r--lib/TableGen/SetTheory.cpp2
-rw-r--r--lib/TableGen/TGParser.cpp30
-rw-r--r--lib/TableGen/TGParser.h16
-rw-r--r--lib/Target/AArch64/AArch64.td43
-rw-r--r--lib/Target/AArch64/AArch64A53Fix835769.cpp15
-rw-r--r--lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp1
-rw-r--r--lib/Target/AArch64/AArch64AddressTypePromotion.cpp8
-rw-r--r--lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp17
-rw-r--r--lib/Target/AArch64/AArch64BranchRelaxation.cpp27
-rw-r--r--lib/Target/AArch64/AArch64CallingConvention.h38
-rw-r--r--lib/Target/AArch64/AArch64CallingConvention.td19
-rw-r--r--lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp8
-rw-r--r--lib/Target/AArch64/AArch64CollectLOH.cpp32
-rw-r--r--lib/Target/AArch64/AArch64ConditionOptimizer.cpp22
-rw-r--r--lib/Target/AArch64/AArch64ConditionalCompares.cpp20
-rw-r--r--lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp16
-rw-r--r--lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp15
-rw-r--r--lib/Target/AArch64/AArch64FastISel.cpp221
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.cpp93
-rw-r--r--lib/Target/AArch64/AArch64FrameLowering.h6
-rw-r--r--lib/Target/AArch64/AArch64ISelDAGToDAG.cpp246
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.cpp1446
-rw-r--r--lib/Target/AArch64/AArch64ISelLowering.h110
-rw-r--r--lib/Target/AArch64/AArch64InstrFormats.td1076
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.cpp211
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.h12
-rw-r--r--lib/Target/AArch64/AArch64InstrInfo.td483
-rw-r--r--lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp1304
-rw-r--r--lib/Target/AArch64/AArch64MCInstLower.cpp4
-rw-r--r--lib/Target/AArch64/AArch64MachineCombinerPattern.h42
-rw-r--r--lib/Target/AArch64/AArch64MachineFunctionInfo.h17
-rw-r--r--lib/Target/AArch64/AArch64PromoteConstant.cpp4
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.cpp56
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.h5
-rw-r--r--lib/Target/AArch64/AArch64RegisterInfo.td2
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.cpp31
-rw-r--r--lib/Target/AArch64/AArch64Subtarget.h27
-rw-r--r--lib/Target/AArch64/AArch64TargetMachine.cpp2
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.cpp150
-rw-r--r--lib/Target/AArch64/AArch64TargetTransformInfo.h39
-rw-r--r--lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp201
-rw-r--r--lib/Target/AArch64/Disassembler/AArch64Disassembler.cpp4
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.cpp46
-rw-r--r--lib/Target/AArch64/InstPrinter/AArch64InstPrinter.h10
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64AddressingModes.h26
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp5
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCAsmInfo.cpp4
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.cpp6
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MCExpr.h8
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64MachObjectWriter.cpp88
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.cpp5
-rw-r--r--lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h2
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.cpp33
-rw-r--r--lib/Target/AArch64/Utils/AArch64BaseInfo.h41
-rw-r--r--lib/Target/AMDGPU/AMDGPU.h16
-rw-r--r--lib/Target/AMDGPU/AMDGPU.td10
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateKernelFeatures.cpp126
-rw-r--r--lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp84
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp200
-rw-r--r--lib/Target/AMDGPU/AMDGPUAsmPrinter.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUDiagnosticInfoUnsupported.cpp26
-rw-r--r--lib/Target/AMDGPU/AMDGPUDiagnosticInfoUnsupported.h48
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.cpp10
-rw-r--r--lib/Target/AMDGPU/AMDGPUFrameLowering.h11
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp479
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.cpp195
-rw-r--r--lib/Target/AMDGPU/AMDGPUISelLowering.h15
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.cpp20
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.h6
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstrInfo.td2
-rw-r--r--lib/Target/AMDGPU/AMDGPUInstructions.td4
-rw-r--r--lib/Target/AMDGPU/AMDGPUIntrinsics.td4
-rw-r--r--lib/Target/AMDGPU/AMDGPUMCInstLower.cpp18
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.cpp11
-rw-r--r--lib/Target/AMDGPU/AMDGPUMachineFunction.h5
-rw-r--r--lib/Target/AMDGPU/AMDGPUOpenCLImageTypeLoweringPass.cpp373
-rw-r--r--lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp11
-rw-r--r--lib/Target/AMDGPU/AMDGPURegisterInfo.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.cpp25
-rw-r--r--lib/Target/AMDGPU/AMDGPUSubtarget.h26
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.cpp77
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetMachine.h4
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp87
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetObjectFile.h51
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.cpp102
-rw-r--r--lib/Target/AMDGPU/AMDGPUTargetTransformInfo.h5
-rw-r--r--lib/Target/AMDGPU/AMDILCFGStructurizer.cpp43
-rw-r--r--lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp266
-rw-r--r--lib/Target/AMDGPU/CIInstructions.td340
-rw-r--r--lib/Target/AMDGPU/CMakeLists.txt7
-rw-r--r--lib/Target/AMDGPU/CaymanInstructions.td4
-rw-r--r--lib/Target/AMDGPU/EvergreenInstructions.td11
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.cpp16
-rw-r--r--lib/Target/AMDGPU/InstPrinter/AMDGPUInstPrinter.h2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUAsmBackend.cpp27
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.cpp26
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUELFStreamer.h40
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUFixupKinds.h3
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.cpp14
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCAsmInfo.h3
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCTargetDesc.cpp11
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp51
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h21
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/CMakeLists.txt1
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/LLVMBuild.txt2
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/R600MCCodeEmitter.cpp6
-rw-r--r--lib/Target/AMDGPU/MCTargetDesc/SIMCCodeEmitter.cpp15
-rw-r--r--lib/Target/AMDGPU/Processors.td4
-rw-r--r--lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp4
-rw-r--r--lib/Target/AMDGPU/R600ISelLowering.cpp21
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.cpp6
-rw-r--r--lib/Target/AMDGPU/R600InstrInfo.h6
-rw-r--r--lib/Target/AMDGPU/R600Instructions.td2
-rw-r--r--lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp2
-rw-r--r--lib/Target/AMDGPU/R600Packetizer.cpp18
-rw-r--r--lib/Target/AMDGPU/R600RegisterInfo.h2
-rw-r--r--lib/Target/AMDGPU/SIAnnotateControlFlow.cpp5
-rw-r--r--lib/Target/AMDGPU/SIDefines.h3
-rw-r--r--lib/Target/AMDGPU/SIFixControlFlowLiveIntervals.cpp6
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRCopies.cpp229
-rw-r--r--lib/Target/AMDGPU/SIFixSGPRLiveRanges.cpp133
-rw-r--r--lib/Target/AMDGPU/SIFoldOperands.cpp204
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.cpp243
-rw-r--r--lib/Target/AMDGPU/SIFrameLowering.h34
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.cpp660
-rw-r--r--lib/Target/AMDGPU/SIISelLowering.h12
-rw-r--r--lib/Target/AMDGPU/SIInsertWaits.cpp88
-rw-r--r--lib/Target/AMDGPU/SIInstrFormats.td44
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.cpp1332
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.h154
-rw-r--r--lib/Target/AMDGPU/SIInstrInfo.td837
-rw-r--r--lib/Target/AMDGPU/SIInstructions.td485
-rw-r--r--lib/Target/AMDGPU/SILowerControlFlow.cpp36
-rw-r--r--lib/Target/AMDGPU/SILowerI1Copies.cpp1
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.cpp109
-rw-r--r--lib/Target/AMDGPU/SIMachineFunctionInfo.h232
-rw-r--r--lib/Target/AMDGPU/SIPrepareScratchRegs.cpp193
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.cpp271
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.h64
-rw-r--r--lib/Target/AMDGPU/SIRegisterInfo.td117
-rw-r--r--lib/Target/AMDGPU/SISchedule.td18
-rw-r--r--lib/Target/AMDGPU/SIShrinkInstructions.cpp61
-rw-r--r--lib/Target/AMDGPU/SITypeRewriter.cpp10
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.cpp97
-rw-r--r--lib/Target/AMDGPU/Utils/AMDGPUBaseInfo.h26
-rw-r--r--lib/Target/AMDGPU/Utils/LLVMBuild.txt2
-rw-r--r--lib/Target/AMDGPU/VIInstructions.td61
-rw-r--r--lib/Target/ARM/ARM.h1
-rw-r--r--lib/Target/ARM/ARM.td708
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp119
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.h9
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.cpp174
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h23
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.cpp17
-rw-r--r--lib/Target/ARM/ARMBaseRegisterInfo.h8
-rw-r--r--lib/Target/ARM/ARMCallingConv.h22
-rw-r--r--lib/Target/ARM/ARMCallingConv.td2
-rw-r--r--lib/Target/ARM/ARMConstantIslandPass.cpp44
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.cpp3
-rw-r--r--lib/Target/ARM/ARMConstantPoolValue.h5
-rw-r--r--lib/Target/ARM/ARMExpandPseudoInsts.cpp64
-rw-r--r--lib/Target/ARM/ARMFastISel.cpp112
-rw-r--r--lib/Target/ARM/ARMFrameLowering.cpp202
-rw-r--r--lib/Target/ARM/ARMFrameLowering.h8
-rw-r--r--lib/Target/ARM/ARMISelDAGToDAG.cpp275
-rw-r--r--lib/Target/ARM/ARMISelLowering.cpp2101
-rw-r--r--lib/Target/ARM/ARMISelLowering.h49
-rw-r--r--lib/Target/ARM/ARMInstrInfo.cpp77
-rw-r--r--lib/Target/ARM/ARMInstrInfo.td73
-rw-r--r--lib/Target/ARM/ARMInstrNEON.td440
-rw-r--r--lib/Target/ARM/ARMInstrThumb.td163
-rw-r--r--lib/Target/ARM/ARMInstrThumb2.td95
-rw-r--r--lib/Target/ARM/ARMInstrVFP.td55
-rw-r--r--lib/Target/ARM/ARMLoadStoreOptimizer.cpp504
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.cpp5
-rw-r--r--lib/Target/ARM/ARMMachineFunctionInfo.h14
-rw-r--r--lib/Target/ARM/ARMRegisterInfo.td37
-rw-r--r--lib/Target/ARM/ARMScheduleSwift.td1046
-rw-r--r--lib/Target/ARM/ARMSelectionDAGInfo.cpp56
-rw-r--r--lib/Target/ARM/ARMSubtarget.cpp175
-rw-r--r--lib/Target/ARM/ARMSubtarget.h72
-rw-r--r--lib/Target/ARM/ARMTargetMachine.cpp50
-rw-r--r--lib/Target/ARM/ARMTargetMachine.h3
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.cpp170
-rw-r--r--lib/Target/ARM/ARMTargetTransformInfo.h33
-rw-r--r--lib/Target/ARM/AsmParser/ARMAsmParser.cpp204
-rw-r--r--lib/Target/ARM/Disassembler/ARMDisassembler.cpp113
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.cpp3
-rw-r--r--lib/Target/ARM/InstPrinter/ARMInstPrinter.h3
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.cpp389
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackend.h7
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMAsmBackendDarwin.h8
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFObjectWriter.cpp4
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMELFStreamer.cpp54
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.cpp4
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCAsmInfo.h59
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCExpr.h4
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp99
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.h3
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMMachObjectWriter.cpp32
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMTargetStreamer.cpp4
-rw-r--r--lib/Target/ARM/MCTargetDesc/ARMWinCOFFStreamer.cpp12
-rw-r--r--lib/Target/ARM/README.txt1
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.cpp291
-rw-r--r--lib/Target/ARM/Thumb1FrameLowering.h36
-rw-r--r--lib/Target/ARM/Thumb1InstrInfo.cpp16
-rw-r--r--lib/Target/ARM/Thumb2ITBlockPass.cpp4
-rw-r--r--lib/Target/ARM/Thumb2InstrInfo.cpp16
-rw-r--r--lib/Target/ARM/Thumb2SizeReduction.cpp47
-rw-r--r--lib/Target/AVR/AVR.td563
-rw-r--r--lib/Target/AVR/AVRCallingConv.td65
-rw-r--r--lib/Target/AVR/AVRConfig.h15
-rw-r--r--lib/Target/AVR/AVRMachineFunctionInfo.h73
-rw-r--r--lib/Target/AVR/AVRRegisterInfo.td216
-rw-r--r--lib/Target/AVR/AVRTargetMachine.cpp4
-rw-r--r--lib/Target/AVR/CMakeLists.txt14
-rw-r--r--lib/Target/AVR/LLVMBuild.txt33
-rw-r--r--lib/Target/AVR/Makefile19
-rw-r--r--lib/Target/AVR/TargetInfo/AVRTargetInfo.cpp25
-rw-r--r--lib/Target/AVR/TargetInfo/CMakeLists.txt7
-rw-r--r--lib/Target/AVR/TargetInfo/LLVMBuild.txt23
-rw-r--r--lib/Target/AVR/TargetInfo/Makefile16
-rw-r--r--lib/Target/BPF/BPF.td7
-rw-r--r--lib/Target/BPF/BPFISelLowering.cpp3
-rw-r--r--lib/Target/BPF/InstPrinter/BPFInstPrinter.h2
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFAsmBackend.cpp25
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFELFObjectWriter.cpp4
-rw-r--r--lib/Target/BPF/MCTargetDesc/BPFMCAsmInfo.h2
-rw-r--r--lib/Target/CppBackend/CPPBackend.cpp91
-rw-r--r--lib/Target/Hexagon/AsmParser/CMakeLists.txt7
-rw-r--r--lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp2152
-rw-r--r--lib/Target/Hexagon/AsmParser/LLVMBuild.txt23
-rw-r--r--lib/Target/Hexagon/AsmParser/Makefile15
-rw-r--r--lib/Target/Hexagon/BitTracker.cpp12
-rw-r--r--lib/Target/Hexagon/BitTracker.h16
-rw-r--r--lib/Target/Hexagon/CMakeLists.txt10
-rw-r--r--lib/Target/Hexagon/Disassembler/HexagonDisassembler.cpp1010
-rw-r--r--lib/Target/Hexagon/Disassembler/LLVMBuild.txt2
-rw-r--r--lib/Target/Hexagon/Hexagon.h7
-rw-r--r--lib/Target/Hexagon/Hexagon.td82
-rw-r--r--lib/Target/Hexagon/HexagonAsmPrinter.cpp435
-rwxr-xr-xlib/Target/Hexagon/HexagonAsmPrinter.h4
-rw-r--r--lib/Target/Hexagon/HexagonBitSimplify.cpp2778
-rw-r--r--lib/Target/Hexagon/HexagonBitTracker.cpp33
-rw-r--r--lib/Target/Hexagon/HexagonCFGOptimizer.cpp27
-rw-r--r--lib/Target/Hexagon/HexagonCommonGEP.cpp43
-rw-r--r--lib/Target/Hexagon/HexagonEarlyIfConv.cpp1063
-rw-r--r--lib/Target/Hexagon/HexagonExpandPredSpillCode.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.cpp435
-rw-r--r--lib/Target/Hexagon/HexagonFrameLowering.h11
-rw-r--r--lib/Target/Hexagon/HexagonGenExtract.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonGenInsert.cpp15
-rw-r--r--lib/Target/Hexagon/HexagonGenMux.cpp319
-rw-r--r--lib/Target/Hexagon/HexagonGenPredicate.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonHardwareLoops.cpp16
-rw-r--r--lib/Target/Hexagon/HexagonISelDAGToDAG.cpp160
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.cpp776
-rw-r--r--lib/Target/Hexagon/HexagonISelLowering.h48
-rw-r--r--lib/Target/Hexagon/HexagonInstrAlias.td462
-rw-r--r--lib/Target/Hexagon/HexagonInstrEnc.td1019
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormats.td46
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV4.td2
-rw-r--r--lib/Target/Hexagon/HexagonInstrFormatsV60.td238
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.cpp3980
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.h390
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.td65
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV4.td130
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV5.td10
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoV60.td2241
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfoVector.td43
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsics.td24
-rw-r--r--lib/Target/Hexagon/HexagonIntrinsicsV60.td836
-rw-r--r--lib/Target/Hexagon/HexagonMCInstLower.cpp60
-rw-r--r--lib/Target/Hexagon/HexagonMachineScheduler.cpp6
-rw-r--r--lib/Target/Hexagon/HexagonNewValueJump.cpp53
-rw-r--r--lib/Target/Hexagon/HexagonOperands.td368
-rw-r--r--lib/Target/Hexagon/HexagonOptimizeSZextends.cpp150
-rw-r--r--lib/Target/Hexagon/HexagonPeephole.cpp4
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.cpp94
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.h2
-rw-r--r--lib/Target/Hexagon/HexagonRegisterInfo.td81
-rw-r--r--lib/Target/Hexagon/HexagonRemoveSZExtArgs.cpp91
-rw-r--r--lib/Target/Hexagon/HexagonSchedule.td8
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV4.td5
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV55.td170
-rw-r--r--lib/Target/Hexagon/HexagonScheduleV60.td310
-rw-r--r--lib/Target/Hexagon/HexagonSelectionDAGInfo.cpp50
-rw-r--r--lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp2
-rw-r--r--lib/Target/Hexagon/HexagonSplitDouble.cpp1209
-rw-r--r--lib/Target/Hexagon/HexagonStoreWidening.cpp616
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.cpp92
-rw-r--r--lib/Target/Hexagon/HexagonSubtarget.h20
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.cpp97
-rw-r--r--lib/Target/Hexagon/HexagonTargetMachine.h15
-rw-r--r--lib/Target/Hexagon/HexagonTargetObjectFile.cpp7
-rw-r--r--lib/Target/Hexagon/HexagonTargetTransformInfo.cpp38
-rw-r--r--lib/Target/Hexagon/HexagonTargetTransformInfo.h70
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.cpp1975
-rw-r--r--lib/Target/Hexagon/HexagonVLIWPacketizer.h114
-rw-r--r--lib/Target/Hexagon/LLVMBuild.txt3
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/CMakeLists.txt2
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonAsmBackend.cpp52
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonBaseInfo.h65
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.cpp268
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonInstPrinter.h119
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCAsmInfo.h13
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.cpp581
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCChecker.h218
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCodeEmitter.cpp24
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCCompound.cpp29
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCDuplexInfo.cpp126
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCELFStreamer.cpp12
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.cpp49
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCExpr.h35
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.cpp228
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCInstrInfo.h58
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.cpp52
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonMCTargetDesc.h17
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.cpp90
-rw-r--r--lib/Target/Hexagon/MCTargetDesc/HexagonShuffler.h52
-rw-r--r--lib/Target/Hexagon/Makefile3
-rw-r--r--lib/Target/LLVMBuild.txt1
-rw-r--r--lib/Target/MSP430/InstPrinter/MSP430InstPrinter.h2
-rw-r--r--lib/Target/MSP430/MCTargetDesc/MSP430MCAsmInfo.h13
-rw-r--r--lib/Target/MSP430/MSP430BranchSelector.cpp2
-rw-r--r--lib/Target/MSP430/MSP430ISelLowering.cpp17
-rw-r--r--lib/Target/MSP430/MSP430InstrInfo.cpp18
-rw-r--r--lib/Target/MSP430/MSP430MCInstLower.cpp8
-rw-r--r--lib/Target/MSP430/MSP430MachineFunctionInfo.cpp2
-rw-r--r--lib/Target/MSP430/MSP430MachineFunctionInfo.h2
-rw-r--r--lib/Target/MSP430/README.txt2
-rw-r--r--lib/Target/Mips/AsmParser/MipsAsmParser.cpp2226
-rw-r--r--lib/Target/Mips/Disassembler/MipsDisassembler.cpp318
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.cpp2
-rw-r--r--lib/Target/Mips/InstPrinter/MipsInstPrinter.h2
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIInfo.cpp13
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsABIInfo.h7
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.cpp62
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsAsmBackend.h1
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFObjectWriter.cpp17
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFStreamer.cpp2
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsELFStreamer.h3
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsFixupKinds.h5
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCAsmInfo.h13
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.cpp73
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCCodeEmitter.h25
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsMCExpr.h4
-rw-r--r--lib/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp82
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrFormats.td579
-rw-r--r--lib/Target/Mips/MicroMips32r6InstrInfo.td887
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrFormats.td86
-rw-r--r--lib/Target/Mips/MicroMips64r6InstrInfo.td119
-rw-r--r--lib/Target/Mips/MicroMipsDSPInstrFormats.td244
-rw-r--r--lib/Target/Mips/MicroMipsDSPInstrInfo.td528
-rw-r--r--lib/Target/Mips/MicroMipsInstrFPU.td28
-rw-r--r--lib/Target/Mips/MicroMipsInstrFormats.td81
-rw-r--r--lib/Target/Mips/MicroMipsInstrInfo.td174
-rw-r--r--lib/Target/Mips/Mips.td17
-rw-r--r--lib/Target/Mips/Mips16FrameLowering.cpp8
-rw-r--r--lib/Target/Mips/Mips16HardFloat.cpp202
-rw-r--r--lib/Target/Mips/Mips16ISelDAGToDAG.cpp2
-rw-r--r--lib/Target/Mips/Mips16ISelLowering.cpp9
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.cpp6
-rw-r--r--lib/Target/Mips/Mips16InstrInfo.td120
-rw-r--r--lib/Target/Mips/Mips32r6InstrInfo.td298
-rw-r--r--lib/Target/Mips/Mips64InstrInfo.td91
-rw-r--r--lib/Target/Mips/Mips64r6InstrInfo.td12
-rw-r--r--lib/Target/Mips/MipsAsmPrinter.cpp13
-rw-r--r--lib/Target/Mips/MipsCCState.cpp16
-rw-r--r--lib/Target/Mips/MipsCallingConv.td25
-rw-r--r--lib/Target/Mips/MipsConstantIslandPass.cpp31
-rw-r--r--lib/Target/Mips/MipsDSPInstrFormats.td38
-rw-r--r--lib/Target/Mips/MipsDSPInstrInfo.td378
-rw-r--r--lib/Target/Mips/MipsDelaySlotFiller.cpp34
-rw-r--r--lib/Target/Mips/MipsEVAInstrFormats.td84
-rw-r--r--lib/Target/Mips/MipsEVAInstrInfo.td192
-rw-r--r--lib/Target/Mips/MipsFastISel.cpp59
-rw-r--r--lib/Target/Mips/MipsISelLowering.cpp125
-rw-r--r--lib/Target/Mips/MipsISelLowering.h37
-rw-r--r--lib/Target/Mips/MipsInstrFPU.td42
-rw-r--r--lib/Target/Mips/MipsInstrFormats.td8
-rw-r--r--lib/Target/Mips/MipsInstrInfo.cpp4
-rw-r--r--lib/Target/Mips/MipsInstrInfo.td510
-rw-r--r--lib/Target/Mips/MipsLongBranch.cpp9
-rw-r--r--lib/Target/Mips/MipsMSAInstrFormats.td24
-rw-r--r--lib/Target/Mips/MipsMSAInstrInfo.td210
-rw-r--r--lib/Target/Mips/MipsMachineFunction.cpp69
-rw-r--r--lib/Target/Mips/MipsMachineFunction.h51
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.cpp59
-rw-r--r--lib/Target/Mips/MipsRegisterInfo.h4
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.cpp241
-rw-r--r--lib/Target/Mips/MipsSEFrameLowering.h10
-rw-r--r--lib/Target/Mips/MipsSEISelDAGToDAG.cpp2
-rw-r--r--lib/Target/Mips/MipsSEISelLowering.cpp22
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.cpp85
-rw-r--r--lib/Target/Mips/MipsSEInstrInfo.h2
-rw-r--r--lib/Target/Mips/MipsSERegisterInfo.cpp6
-rw-r--r--lib/Target/Mips/MipsSchedule.td68
-rw-r--r--lib/Target/Mips/MipsScheduleP5600.td392
-rw-r--r--lib/Target/Mips/MipsSubtarget.cpp5
-rw-r--r--lib/Target/Mips/MipsSubtarget.h21
-rw-r--r--lib/Target/Mips/MipsTargetMachine.cpp2
-rw-r--r--lib/Target/Mips/MipsTargetObjectFile.cpp24
-rw-r--r--lib/Target/Mips/MipsTargetObjectFile.h4
-rw-r--r--lib/Target/Mips/MipsTargetStreamer.h19
-rw-r--r--lib/Target/NVPTX/InstPrinter/NVPTXInstPrinter.h2
-rw-r--r--lib/Target/NVPTX/MCTargetDesc/NVPTXMCAsmInfo.h1
-rw-r--r--lib/Target/NVPTX/NVPTX.h18
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.cpp132
-rw-r--r--lib/Target/NVPTX/NVPTXAsmPrinter.h15
-rw-r--r--lib/Target/NVPTX/NVPTXFavorNonGenericAddrSpaces.cpp10
-rw-r--r--lib/Target/NVPTX/NVPTXGenericToNVVM.cpp18
-rw-r--r--lib/Target/NVPTX/NVPTXISelDAGToDAG.cpp59
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.cpp183
-rw-r--r--lib/Target/NVPTX/NVPTXISelLowering.h17
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.cpp66
-rw-r--r--lib/Target/NVPTX/NVPTXInstrInfo.h1
-rw-r--r--lib/Target/NVPTX/NVPTXLowerAggrCopies.cpp353
-rw-r--r--lib/Target/NVPTX/NVPTXLowerAlloca.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXLowerKernelArgs.cpp102
-rw-r--r--lib/Target/NVPTX/NVPTXMCExpr.h4
-rw-r--r--lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp2
-rw-r--r--lib/Target/NVPTX/NVPTXSection.h9
-rw-r--r--lib/Target/NVPTX/NVPTXTargetMachine.cpp60
-rw-r--r--lib/Target/NVPTX/NVPTXTargetObjectFile.h5
-rw-r--r--lib/Target/NVPTX/NVPTXTargetTransformInfo.cpp4
-rw-r--r--lib/Target/NVPTX/NVPTXTargetTransformInfo.h2
-rw-r--r--lib/Target/NVPTX/NVPTXUtilities.cpp105
-rw-r--r--lib/Target/NVPTX/NVPTXUtilities.h21
-rw-r--r--lib/Target/NVPTX/NVPTXVector.td58
-rw-r--r--lib/Target/NVPTX/NVVMReflect.cpp4
-rw-r--r--lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp24
-rw-r--r--lib/Target/PowerPC/CMakeLists.txt2
-rw-r--r--lib/Target/PowerPC/Disassembler/PPCDisassembler.cpp2
-rw-r--r--lib/Target/PowerPC/InstPrinter/PPCInstPrinter.h2
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp16
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCAsmInfo.h25
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMCExpr.h4
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCMachObjectWriter.cpp4
-rw-r--r--lib/Target/PowerPC/MCTargetDesc/PPCPredicates.h8
-rw-r--r--lib/Target/PowerPC/PPC.h3
-rw-r--r--lib/Target/PowerPC/PPC.td14
-rw-r--r--lib/Target/PowerPC/PPCAsmPrinter.cpp267
-rw-r--r--lib/Target/PowerPC/PPCBoolRetToInt.cpp253
-rw-r--r--lib/Target/PowerPC/PPCBranchSelector.cpp2
-rw-r--r--lib/Target/PowerPC/PPCCTRLoops.cpp26
-rw-r--r--lib/Target/PowerPC/PPCEarlyReturn.cpp35
-rw-r--r--lib/Target/PowerPC/PPCFastISel.cpp87
-rw-r--r--lib/Target/PowerPC/PPCFrameLowering.cpp242
-rw-r--r--lib/Target/PowerPC/PPCFrameLowering.h31
-rw-r--r--lib/Target/PowerPC/PPCISelDAGToDAG.cpp140
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.cpp502
-rw-r--r--lib/Target/PowerPC/PPCISelLowering.h22
-rw-r--r--lib/Target/PowerPC/PPCInstr64Bit.td2
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.cpp131
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.h53
-rw-r--r--lib/Target/PowerPC/PPCInstrInfo.td11
-rw-r--r--lib/Target/PowerPC/PPCInstrQPX.td20
-rw-r--r--lib/Target/PowerPC/PPCInstrVSX.td612
-rw-r--r--lib/Target/PowerPC/PPCLoopDataPrefetch.cpp9
-rw-r--r--lib/Target/PowerPC/PPCLoopPreIncPrep.cpp131
-rw-r--r--lib/Target/PowerPC/PPCMCInstLower.cpp6
-rw-r--r--lib/Target/PowerPC/PPCMIPeephole.cpp230
-rw-r--r--lib/Target/PowerPC/PPCMachineFunctionInfo.cpp4
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.cpp114
-rw-r--r--lib/Target/PowerPC/PPCRegisterInfo.h15
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.cpp31
-rw-r--r--lib/Target/PowerPC/PPCSubtarget.h11
-rw-r--r--lib/Target/PowerPC/PPCTargetMachine.cpp52
-rw-r--r--lib/Target/PowerPC/PPCTargetObjectFile.cpp4
-rw-r--r--lib/Target/PowerPC/PPCTargetTransformInfo.cpp141
-rw-r--r--lib/Target/PowerPC/PPCTargetTransformInfo.h32
-rw-r--r--lib/Target/PowerPC/PPCVSXCopy.cpp14
-rw-r--r--lib/Target/PowerPC/PPCVSXFMAMutate.cpp53
-rw-r--r--lib/Target/PowerPC/PPCVSXSwapRemoval.cpp89
-rw-r--r--lib/Target/Sparc/AsmParser/SparcAsmParser.cpp248
-rw-r--r--lib/Target/Sparc/DelaySlotFiller.cpp2
-rw-r--r--lib/Target/Sparc/Disassembler/SparcDisassembler.cpp52
-rw-r--r--lib/Target/Sparc/InstPrinter/SparcInstPrinter.h3
-rw-r--r--lib/Target/Sparc/MCTargetDesc/SparcMCAsmInfo.h1
-rw-r--r--lib/Target/Sparc/MCTargetDesc/SparcMCExpr.h4
-rw-r--r--lib/Target/Sparc/SparcAsmPrinter.cpp8
-rw-r--r--lib/Target/Sparc/SparcCallingConv.td9
-rw-r--r--lib/Target/Sparc/SparcFrameLowering.cpp154
-rw-r--r--lib/Target/Sparc/SparcFrameLowering.h8
-rw-r--r--lib/Target/Sparc/SparcISelDAGToDAG.cpp183
-rw-r--r--lib/Target/Sparc/SparcISelLowering.cpp295
-rw-r--r--lib/Target/Sparc/SparcISelLowering.h18
-rw-r--r--lib/Target/Sparc/SparcInstrAliases.td9
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.cpp39
-rw-r--r--lib/Target/Sparc/SparcInstrInfo.td146
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.cpp64
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.h4
-rw-r--r--lib/Target/Sparc/SparcRegisterInfo.td54
-rw-r--r--lib/Target/Sparc/SparcSubtarget.cpp6
-rw-r--r--lib/Target/Sparc/SparcSubtarget.h3
-rw-r--r--lib/Target/SystemZ/AsmParser/SystemZAsmParser.cpp19
-rw-r--r--lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.cpp8
-rw-r--r--lib/Target/SystemZ/InstPrinter/SystemZInstPrinter.h1
-rw-r--r--lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp2
-rw-r--r--lib/Target/SystemZ/README.txt6
-rw-r--r--lib/Target/SystemZ/SystemZAsmPrinter.cpp2
-rw-r--r--lib/Target/SystemZ/SystemZConstantPoolValue.cpp15
-rw-r--r--lib/Target/SystemZ/SystemZConstantPoolValue.h1
-rw-r--r--lib/Target/SystemZ/SystemZElimCompare.cpp86
-rw-r--r--lib/Target/SystemZ/SystemZFrameLowering.cpp24
-rw-r--r--lib/Target/SystemZ/SystemZFrameLowering.h3
-rw-r--r--lib/Target/SystemZ/SystemZISelDAGToDAG.cpp24
-rw-r--r--lib/Target/SystemZ/SystemZISelLowering.cpp159
-rw-r--r--lib/Target/SystemZ/SystemZISelLowering.h20
-rw-r--r--lib/Target/SystemZ/SystemZInstrBuilder.h8
-rw-r--r--lib/Target/SystemZ/SystemZInstrFP.td55
-rw-r--r--lib/Target/SystemZ/SystemZInstrFormats.td1
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.cpp77
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.h4
-rw-r--r--lib/Target/SystemZ/SystemZInstrInfo.td34
-rw-r--r--lib/Target/SystemZ/SystemZMachineFunctionInfo.cpp2
-rw-r--r--lib/Target/SystemZ/SystemZMachineFunctionInfo.h2
-rw-r--r--lib/Target/SystemZ/SystemZRegisterInfo.cpp4
-rw-r--r--lib/Target/SystemZ/SystemZRegisterInfo.td3
-rw-r--r--lib/Target/SystemZ/SystemZShortenInst.cpp128
-rw-r--r--lib/Target/SystemZ/SystemZTargetMachine.cpp24
-rw-r--r--lib/Target/SystemZ/SystemZTargetMachine.h3
-rw-r--r--lib/Target/SystemZ/SystemZTargetTransformInfo.cpp10
-rw-r--r--lib/Target/SystemZ/SystemZTargetTransformInfo.h11
-rw-r--r--lib/Target/TargetLoweringObjectFile.cpp57
-rw-r--r--lib/Target/TargetMachine.cpp20
-rw-r--r--lib/Target/TargetMachineC.cpp46
-rw-r--r--lib/Target/TargetRecip.cpp12
-rw-r--r--lib/Target/WebAssembly/CMakeLists.txt21
-rw-r--r--lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.cpp94
-rw-r--r--lib/Target/WebAssembly/InstPrinter/WebAssemblyInstPrinter.h18
-rw-r--r--lib/Target/WebAssembly/LLVMBuild.txt2
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/CMakeLists.txt3
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyAsmBackend.cpp103
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyELFObjectWriter.cpp54
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.cpp5
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCAsmInfo.h4
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCCodeEmitter.cpp100
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.cpp41
-rw-r--r--lib/Target/WebAssembly/MCTargetDesc/WebAssemblyMCTargetDesc.h16
-rw-r--r--lib/Target/WebAssembly/Makefile10
-rw-r--r--lib/Target/WebAssembly/README.txt68
-rw-r--r--lib/Target/WebAssembly/Relooper.cpp984
-rw-r--r--lib/Target/WebAssembly/Relooper.h186
-rw-r--r--lib/Target/WebAssembly/WebAssembly.h14
-rw-r--r--lib/Target/WebAssembly/WebAssembly.td12
-rw-r--r--lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp110
-rw-r--r--lib/Target/WebAssembly/WebAssemblyAsmPrinter.cpp285
-rw-r--r--lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp468
-rw-r--r--lib/Target/WebAssembly/WebAssemblyFastISel.cpp81
-rw-r--r--lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp117
-rw-r--r--lib/Target/WebAssembly/WebAssemblyFrameLowering.h3
-rw-r--r--lib/Target/WebAssembly/WebAssemblyISD.def25
-rw-r--r--lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp57
-rw-r--r--lib/Target/WebAssembly/WebAssemblyISelLowering.cpp602
-rw-r--r--lib/Target/WebAssembly/WebAssemblyISelLowering.h50
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrCall.td67
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrControl.td82
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrConv.td125
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrFloat.td117
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrFormats.td84
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp133
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrInfo.h20
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrInfo.td115
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrInteger.td105
-rw-r--r--lib/Target/WebAssembly/WebAssemblyInstrMemory.td529
-rw-r--r--lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp133
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp106
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMCInstLower.h45
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.cpp6
-rw-r--r--lib/Target/WebAssembly/WebAssemblyMachineFunctionInfo.h68
-rw-r--r--lib/Target/WebAssembly/WebAssemblyOptimizeReturned.cpp76
-rw-r--r--lib/Target/WebAssembly/WebAssemblyPEI.cpp1066
-rw-r--r--lib/Target/WebAssembly/WebAssemblyPeephole.cpp86
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegColoring.cpp175
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp109
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegStackify.cpp265
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp60
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegisterInfo.h6
-rw-r--r--lib/Target/WebAssembly/WebAssemblyRegisterInfo.td32
-rw-r--r--lib/Target/WebAssembly/WebAssemblyStoreResults.cpp124
-rw-r--r--lib/Target/WebAssembly/WebAssemblySubtarget.cpp1
-rw-r--r--lib/Target/WebAssembly/WebAssemblySubtarget.h8
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp96
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetObjectFile.cpp24
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetObjectFile.h43
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.cpp5
-rw-r--r--lib/Target/WebAssembly/WebAssemblyTargetTransformInfo.h4
-rw-r--r--lib/Target/WebAssembly/known_gcc_test_failures.txt311
-rw-r--r--lib/Target/X86/AsmParser/CMakeLists.txt3
-rw-r--r--lib/Target/X86/AsmParser/LLVMBuild.txt2
-rw-r--r--lib/Target/X86/AsmParser/Makefile2
-rw-r--r--lib/Target/X86/AsmParser/X86AsmInstrumentation.cpp274
-rw-r--r--lib/Target/X86/AsmParser/X86AsmInstrumentation.h10
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParser.cpp319
-rw-r--r--lib/Target/X86/AsmParser/X86AsmParserCommon.h19
-rw-r--r--lib/Target/X86/CMakeLists.txt11
-rw-r--r--lib/Target/X86/Disassembler/X86Disassembler.cpp7
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoder.cpp47
-rw-r--r--lib/Target/X86/Disassembler/X86DisassemblerDecoder.h2
-rw-r--r--lib/Target/X86/InstPrinter/X86ATTInstPrinter.cpp1
-rw-r--r--lib/Target/X86/InstPrinter/X86ATTInstPrinter.h3
-rw-r--r--lib/Target/X86/InstPrinter/X86InstComments.cpp645
-rw-r--r--lib/Target/X86/InstPrinter/X86IntelInstPrinter.h2
-rw-r--r--lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp83
-rw-r--r--lib/Target/X86/MCTargetDesc/X86BaseInfo.h48
-rw-r--r--lib/Target/X86/MCTargetDesc/X86ELFObjectWriter.cpp11
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCAsmInfo.h69
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp11
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp184
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MCTargetDesc.h13
-rw-r--r--lib/Target/X86/MCTargetDesc/X86MachObjectWriter.cpp99
-rw-r--r--lib/Target/X86/MCTargetDesc/X86WinCOFFStreamer.cpp4
-rw-r--r--lib/Target/X86/Utils/X86ShuffleDecode.cpp199
-rw-r--r--lib/Target/X86/Utils/X86ShuffleDecode.h27
-rw-r--r--lib/Target/X86/X86.h59
-rw-r--r--lib/Target/X86/X86.td655
-rw-r--r--lib/Target/X86/X86AsmPrinter.cpp25
-rw-r--r--lib/Target/X86/X86AsmPrinter.h2
-rw-r--r--lib/Target/X86/X86CallFrameOptimization.cpp109
-rw-r--r--lib/Target/X86/X86CallingConv.h59
-rw-r--r--lib/Target/X86/X86CallingConv.td79
-rw-r--r--lib/Target/X86/X86CompilationCallback_Win64.asm68
-rw-r--r--lib/Target/X86/X86ExpandPseudo.cpp21
-rw-r--r--lib/Target/X86/X86FastISel.cpp168
-rw-r--r--lib/Target/X86/X86FixupLEAs.cpp89
-rw-r--r--lib/Target/X86/X86FloatingPoint.cpp76
-rw-r--r--lib/Target/X86/X86FrameLowering.cpp1162
-rw-r--r--lib/Target/X86/X86FrameLowering.h65
-rw-r--r--lib/Target/X86/X86ISelDAGToDAG.cpp505
-rw-r--r--lib/Target/X86/X86ISelLowering.cpp6416
-rw-r--r--lib/Target/X86/X86ISelLowering.h124
-rw-r--r--lib/Target/X86/X86InstrAVX512.td3696
-rw-r--r--lib/Target/X86/X86InstrArithmetic.td69
-rw-r--r--lib/Target/X86/X86InstrBuilder.h7
-rw-r--r--lib/Target/X86/X86InstrCMovSetCC.td2
-rw-r--r--lib/Target/X86/X86InstrCompiler.td216
-rw-r--r--lib/Target/X86/X86InstrControl.td13
-rw-r--r--lib/Target/X86/X86InstrFMA.td252
-rw-r--r--lib/Target/X86/X86InstrFPStack.td136
-rw-r--r--lib/Target/X86/X86InstrFragmentsSIMD.td336
-rw-r--r--lib/Target/X86/X86InstrInfo.cpp1514
-rw-r--r--lib/Target/X86/X86InstrInfo.h142
-rw-r--r--lib/Target/X86/X86InstrInfo.td257
-rw-r--r--lib/Target/X86/X86InstrMMX.td24
-rw-r--r--lib/Target/X86/X86InstrSSE.td761
-rw-r--r--lib/Target/X86/X86InstrShiftRotate.td140
-rw-r--r--lib/Target/X86/X86InstrSystem.td91
-rw-r--r--lib/Target/X86/X86InstrXOP.td115
-rw-r--r--lib/Target/X86/X86IntrinsicsInfo.h980
-rw-r--r--lib/Target/X86/X86MCInstLower.cpp216
-rw-r--r--lib/Target/X86/X86MachineFunctionInfo.cpp2
-rw-r--r--lib/Target/X86/X86MachineFunctionInfo.h8
-rw-r--r--lib/Target/X86/X86OptimizeLEAs.cpp326
-rw-r--r--lib/Target/X86/X86PadShortFunction.cpp5
-rw-r--r--lib/Target/X86/X86RegisterInfo.cpp318
-rw-r--r--lib/Target/X86/X86RegisterInfo.h25
-rw-r--r--lib/Target/X86/X86RegisterInfo.td41
-rw-r--r--lib/Target/X86/X86SelectionDAGInfo.cpp43
-rw-r--r--lib/Target/X86/X86Subtarget.cpp46
-rw-r--r--lib/Target/X86/X86Subtarget.h57
-rw-r--r--lib/Target/X86/X86TargetMachine.cpp17
-rw-r--r--lib/Target/X86/X86TargetObjectFile.cpp8
-rw-r--r--lib/Target/X86/X86TargetObjectFile.h2
-rw-r--r--lib/Target/X86/X86TargetTransformInfo.cpp879
-rw-r--r--lib/Target/X86/X86TargetTransformInfo.h64
-rw-r--r--lib/Target/X86/X86WinEHState.cpp234
-rw-r--r--lib/Target/XCore/Disassembler/XCoreDisassembler.cpp2
-rw-r--r--lib/Target/XCore/InstPrinter/XCoreInstPrinter.h2
-rw-r--r--lib/Target/XCore/XCoreAsmPrinter.cpp18
-rw-r--r--lib/Target/XCore/XCoreFrameLowering.cpp38
-rw-r--r--lib/Target/XCore/XCoreISelDAGToDAG.cpp5
-rw-r--r--lib/Target/XCore/XCoreISelLowering.cpp26
-rw-r--r--lib/Target/XCore/XCoreISelLowering.h14
-rw-r--r--lib/Target/XCore/XCoreInstrInfo.cpp18
-rw-r--r--lib/Target/XCore/XCoreLowerThreadLocal.cpp9
-rw-r--r--lib/Target/XCore/XCoreMachineFunctionInfo.cpp2
-rw-r--r--lib/Target/XCore/XCoreMachineFunctionInfo.h2
-rw-r--r--lib/Target/XCore/XCoreTargetMachine.cpp2
-rw-r--r--lib/Target/XCore/XCoreTargetObjectFile.cpp14
-rw-r--r--lib/Target/XCore/XCoreTargetObjectFile.h2
-rw-r--r--lib/Target/XCore/XCoreTargetTransformInfo.h2
-rw-r--r--lib/Transforms/IPO/ArgumentPromotion.cpp128
-rw-r--r--lib/Transforms/IPO/CMakeLists.txt5
-rw-r--r--lib/Transforms/IPO/ConstantMerge.cpp4
-rw-r--r--lib/Transforms/IPO/CrossDSOCFI.cpp166
-rw-r--r--lib/Transforms/IPO/DeadArgumentElimination.cpp83
-rw-r--r--lib/Transforms/IPO/ElimAvailExtern.cpp54
-rw-r--r--lib/Transforms/IPO/ExtractGV.cpp8
-rw-r--r--lib/Transforms/IPO/ForceFunctionAttrs.cpp121
-rw-r--r--lib/Transforms/IPO/FunctionAttrs.cpp1873
-rw-r--r--lib/Transforms/IPO/FunctionImport.cpp433
-rw-r--r--lib/Transforms/IPO/GlobalDCE.cpp114
-rw-r--r--lib/Transforms/IPO/GlobalOpt.cpp629
-rw-r--r--lib/Transforms/IPO/IPO.cpp11
-rw-r--r--lib/Transforms/IPO/InferFunctionAttrs.cpp937
-rw-r--r--lib/Transforms/IPO/InlineAlways.cpp27
-rw-r--r--lib/Transforms/IPO/InlineSimple.cpp25
-rw-r--r--lib/Transforms/IPO/Inliner.cpp150
-rw-r--r--lib/Transforms/IPO/Internalize.cpp103
-rw-r--r--lib/Transforms/IPO/LLVMBuild.txt2
-rw-r--r--lib/Transforms/IPO/LoopExtractor.cpp20
-rw-r--r--lib/Transforms/IPO/LowerBitSets.cpp589
-rw-r--r--lib/Transforms/IPO/MergeFunctions.cpp560
-rw-r--r--lib/Transforms/IPO/PartialInlining.cpp18
-rw-r--r--lib/Transforms/IPO/PassManagerBuilder.cpp125
-rw-r--r--lib/Transforms/IPO/PruneEH.cpp31
-rw-r--r--lib/Transforms/IPO/SampleProfile.cpp1265
-rw-r--r--lib/Transforms/IPO/StripDeadPrototypes.cpp62
-rw-r--r--lib/Transforms/IPO/StripSymbols.cpp12
-rw-r--r--lib/Transforms/InstCombine/InstCombineAddSub.cpp58
-rw-r--r--lib/Transforms/InstCombine/InstCombineAndOrXor.cpp443
-rw-r--r--lib/Transforms/InstCombine/InstCombineCalls.cpp930
-rw-r--r--lib/Transforms/InstCombine/InstCombineCasts.cpp353
-rw-r--r--lib/Transforms/InstCombine/InstCombineCompares.cpp242
-rw-r--r--lib/Transforms/InstCombine/InstCombineInternal.h12
-rw-r--r--lib/Transforms/InstCombine/InstCombineLoadStoreAlloca.cpp136
-rw-r--r--lib/Transforms/InstCombine/InstCombineMulDivRem.cpp26
-rw-r--r--lib/Transforms/InstCombine/InstCombinePHI.cpp113
-rw-r--r--lib/Transforms/InstCombine/InstCombineSelect.cpp78
-rw-r--r--lib/Transforms/InstCombine/InstCombineShifts.cpp4
-rw-r--r--lib/Transforms/InstCombine/InstCombineSimplifyDemanded.cpp90
-rw-r--r--lib/Transforms/InstCombine/InstCombineVectorOps.cpp121
-rw-r--r--lib/Transforms/InstCombine/InstructionCombining.cpp346
-rw-r--r--lib/Transforms/Instrumentation/AddressSanitizer.cpp253
-rw-r--r--lib/Transforms/Instrumentation/BoundsChecking.cpp2
-rw-r--r--lib/Transforms/Instrumentation/CFGMST.h217
-rw-r--r--lib/Transforms/Instrumentation/CMakeLists.txt1
-rw-r--r--lib/Transforms/Instrumentation/DataFlowSanitizer.cpp84
-rw-r--r--lib/Transforms/Instrumentation/GCOVProfiling.cpp49
-rw-r--r--lib/Transforms/Instrumentation/InstrProfiling.cpp289
-rw-r--r--lib/Transforms/Instrumentation/Instrumentation.cpp39
-rw-r--r--lib/Transforms/Instrumentation/LLVMBuild.txt2
-rw-r--r--lib/Transforms/Instrumentation/MemorySanitizer.cpp434
-rw-r--r--lib/Transforms/Instrumentation/PGOInstrumentation.cpp718
-rw-r--r--lib/Transforms/Instrumentation/SafeStack.cpp491
-rw-r--r--lib/Transforms/Instrumentation/SanitizerCoverage.cpp117
-rw-r--r--lib/Transforms/Instrumentation/ThreadSanitizer.cpp40
-rw-r--r--lib/Transforms/ObjCARC/ARCInstKind.cpp673
-rw-r--r--lib/Transforms/ObjCARC/ARCInstKind.h123
-rw-r--r--lib/Transforms/ObjCARC/CMakeLists.txt2
-rw-r--r--lib/Transforms/ObjCARC/DependencyAnalysis.cpp6
-rw-r--r--lib/Transforms/ObjCARC/ObjCARC.cpp10
-rw-r--r--lib/Transforms/ObjCARC/ObjCARC.h242
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCAPElim.cpp13
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.cpp168
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCAliasAnalysis.h74
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCContract.cpp28
-rw-r--r--lib/Transforms/ObjCARC/ObjCARCOpts.cpp77
-rw-r--r--lib/Transforms/ObjCARC/ProvenanceAnalysis.h2
-rw-r--r--lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp6
-rw-r--r--lib/Transforms/ObjCARC/PtrState.cpp8
-rw-r--r--lib/Transforms/ObjCARC/PtrState.h8
-rw-r--r--lib/Transforms/Scalar/ADCE.cpp69
-rw-r--r--lib/Transforms/Scalar/AlignmentFromAssumptions.cpp17
-rw-r--r--lib/Transforms/Scalar/BDCE.cpp350
-rw-r--r--lib/Transforms/Scalar/CMakeLists.txt2
-rw-r--r--lib/Transforms/Scalar/ConstantHoisting.cpp10
-rw-r--r--lib/Transforms/Scalar/CorrelatedValuePropagation.cpp120
-rw-r--r--lib/Transforms/Scalar/DCE.cpp78
-rw-r--r--lib/Transforms/Scalar/DeadStoreElimination.cpp264
-rw-r--r--lib/Transforms/Scalar/EarlyCSE.cpp269
-rw-r--r--lib/Transforms/Scalar/FlattenCFGPass.cpp8
-rw-r--r--lib/Transforms/Scalar/Float2Int.cpp49
-rw-r--r--lib/Transforms/Scalar/GVN.cpp319
-rw-r--r--lib/Transforms/Scalar/IndVarSimplify.cpp724
-rw-r--r--lib/Transforms/Scalar/InductiveRangeCheckElimination.cpp24
-rw-r--r--lib/Transforms/Scalar/JumpThreading.cpp263
-rw-r--r--lib/Transforms/Scalar/LICM.cpp65
-rw-r--r--lib/Transforms/Scalar/LLVMBuild.txt2
-rw-r--r--lib/Transforms/Scalar/LoadCombine.cpp12
-rw-r--r--lib/Transforms/Scalar/LoopDeletion.cpp19
-rw-r--r--lib/Transforms/Scalar/LoopDistribute.cpp113
-rw-r--r--lib/Transforms/Scalar/LoopIdiomRecognize.cpp1347
-rw-r--r--lib/Transforms/Scalar/LoopInstSimplify.cpp4
-rw-r--r--lib/Transforms/Scalar/LoopInterchange.cpp79
-rw-r--r--lib/Transforms/Scalar/LoopLoadElimination.cpp566
-rw-r--r--lib/Transforms/Scalar/LoopRerollPass.cpp141
-rw-r--r--lib/Transforms/Scalar/LoopRotation.cpp447
-rw-r--r--lib/Transforms/Scalar/LoopStrengthReduce.cpp828
-rw-r--r--lib/Transforms/Scalar/LoopUnrollPass.cpp278
-rw-r--r--lib/Transforms/Scalar/LoopUnswitch.cpp455
-rw-r--r--lib/Transforms/Scalar/LowerAtomic.cpp6
-rw-r--r--lib/Transforms/Scalar/LowerExpectIntrinsic.cpp2
-rw-r--r--lib/Transforms/Scalar/MemCpyOptimizer.cpp174
-rw-r--r--lib/Transforms/Scalar/MergedLoadStoreMotion.cpp51
-rw-r--r--lib/Transforms/Scalar/NaryReassociate.cpp199
-rw-r--r--lib/Transforms/Scalar/PartiallyInlineLibCalls.cpp2
-rw-r--r--lib/Transforms/Scalar/PlaceSafepoints.cpp104
-rw-r--r--lib/Transforms/Scalar/Reassociate.cpp109
-rw-r--r--lib/Transforms/Scalar/Reg2Mem.cpp9
-rw-r--r--lib/Transforms/Scalar/RewriteStatepointsForGC.cpp1826
-rw-r--r--lib/Transforms/Scalar/SCCP.cpp166
-rw-r--r--lib/Transforms/Scalar/SROA.cpp991
-rw-r--r--lib/Transforms/Scalar/SampleProfile.cpp777
-rw-r--r--lib/Transforms/Scalar/Scalar.cpp15
-rw-r--r--lib/Transforms/Scalar/ScalarReplAggregates.cpp7
-rw-r--r--lib/Transforms/Scalar/Scalarizer.cpp32
-rw-r--r--lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp251
-rw-r--r--lib/Transforms/Scalar/SimplifyCFGPass.cpp11
-rw-r--r--lib/Transforms/Scalar/Sink.cpp25
-rw-r--r--lib/Transforms/Scalar/SpeculativeExecution.cpp2
-rw-r--r--lib/Transforms/Scalar/StraightLineStrengthReduce.cpp9
-rw-r--r--lib/Transforms/Scalar/StructurizeCFG.cpp12
-rw-r--r--lib/Transforms/Scalar/TailRecursionElimination.cpp42
-rw-r--r--lib/Transforms/Utils/ASanStackFrameLayout.cpp2
-rw-r--r--lib/Transforms/Utils/AddDiscriminators.cpp149
-rw-r--r--lib/Transforms/Utils/BasicBlockUtils.cpp54
-rw-r--r--lib/Transforms/Utils/BreakCriticalEdges.cpp19
-rw-r--r--lib/Transforms/Utils/BuildLibCalls.cpp28
-rw-r--r--lib/Transforms/Utils/BypassSlowDivision.cpp6
-rw-r--r--lib/Transforms/Utils/CMakeLists.txt1
-rw-r--r--lib/Transforms/Utils/CloneFunction.cpp122
-rw-r--r--lib/Transforms/Utils/CloneModule.cpp89
-rw-r--r--lib/Transforms/Utils/CodeExtractor.cpp36
-rw-r--r--lib/Transforms/Utils/CtorUtils.cpp2
-rw-r--r--lib/Transforms/Utils/DemoteRegToStack.cpp21
-rw-r--r--lib/Transforms/Utils/FlattenCFG.cpp34
-rw-r--r--lib/Transforms/Utils/GlobalStatus.cpp4
-rw-r--r--lib/Transforms/Utils/InlineFunction.cpp431
-rw-r--r--lib/Transforms/Utils/IntegerDivision.cpp58
-rw-r--r--lib/Transforms/Utils/LCSSA.cpp76
-rw-r--r--lib/Transforms/Utils/LLVMBuild.txt2
-rw-r--r--lib/Transforms/Utils/Local.cpp270
-rw-r--r--lib/Transforms/Utils/LoopSimplify.cpp118
-rw-r--r--lib/Transforms/Utils/LoopUnroll.cpp103
-rw-r--r--lib/Transforms/Utils/LoopUnrollRuntime.cpp36
-rw-r--r--lib/Transforms/Utils/LoopUtils.cpp276
-rw-r--r--lib/Transforms/Utils/LoopVersioning.cpp79
-rw-r--r--lib/Transforms/Utils/LowerInvoke.cpp2
-rw-r--r--lib/Transforms/Utils/LowerSwitch.cpp93
-rw-r--r--lib/Transforms/Utils/Mem2Reg.cpp3
-rw-r--r--lib/Transforms/Utils/MetaRenamer.cpp69
-rw-r--r--lib/Transforms/Utils/ModuleUtils.cpp14
-rw-r--r--lib/Transforms/Utils/PromoteMemoryToRegister.cpp57
-rw-r--r--lib/Transforms/Utils/SimplifyCFG.cpp706
-rw-r--r--lib/Transforms/Utils/SimplifyIndVar.cpp130
-rw-r--r--lib/Transforms/Utils/SimplifyInstructions.cpp4
-rw-r--r--lib/Transforms/Utils/SimplifyLibCalls.cpp445
-rw-r--r--lib/Transforms/Utils/SplitModule.cpp85
-rw-r--r--lib/Transforms/Utils/SymbolRewriter.cpp1
-rw-r--r--lib/Transforms/Utils/UnifyFunctionExitNodes.cpp10
-rw-r--r--lib/Transforms/Utils/ValueMapper.cpp256
-rw-r--r--lib/Transforms/Vectorize/BBVectorize.cpp175
-rw-r--r--lib/Transforms/Vectorize/LoopVectorize.cpp2475
-rw-r--r--lib/Transforms/Vectorize/SLPVectorizer.cpp489
-rw-r--r--llvm.spec.in1
-rw-r--r--projects/CMakeLists.txt3
-rw-r--r--test/Analysis/BasicAA/2007-11-05-SizeCrash.ll2
-rw-r--r--test/Analysis/BasicAA/2007-12-08-OutOfBoundsCrash.ll2
-rw-r--r--test/Analysis/BasicAA/bug.23540.ll17
-rw-r--r--test/Analysis/BasicAA/bug.23626.ll31
-rw-r--r--test/Analysis/BasicAA/cs-cs.ll41
-rw-r--r--test/Analysis/BasicAA/full-store-partial-alias.ll4
-rw-r--r--test/Analysis/BasicAA/intrinsics.ll27
-rw-r--r--test/Analysis/BasicAA/modref.ll37
-rw-r--r--test/Analysis/BasicAA/noalias-bugs.ll2
-rw-r--r--test/Analysis/BasicAA/phi-aa.ll1
-rw-r--r--test/Analysis/BasicAA/phi-loop.ll75
-rw-r--r--test/Analysis/BasicAA/q.bad.ll180
-rw-r--r--test/Analysis/BasicAA/sequential-gep.ll54
-rw-r--r--test/Analysis/BasicAA/zext.ll231
-rw-r--r--test/Analysis/BlockFrequencyInfo/bad_input.ll4
-rw-r--r--test/Analysis/BlockFrequencyInfo/basic.ll6
-rw-r--r--test/Analysis/BlockFrequencyInfo/irreducible_loop_crash.ll155
-rw-r--r--test/Analysis/BlockFrequencyInfo/loops_with_profile_info.ll6
-rw-r--r--test/Analysis/BranchProbabilityInfo/basic.ll68
-rw-r--r--test/Analysis/BranchProbabilityInfo/loop.ll152
-rw-r--r--test/Analysis/BranchProbabilityInfo/noreturn.ll67
-rw-r--r--test/Analysis/BranchProbabilityInfo/pr18705.ll4
-rw-r--r--test/Analysis/BranchProbabilityInfo/pr22718.ll4
-rw-r--r--test/Analysis/CFLAliasAnalysis/arguments-globals.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/basic-interproc.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/branch-alias.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/const-expr-gep.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/full-store-partial-alias.ll4
-rw-r--r--test/Analysis/CFLAliasAnalysis/gep-signed-arithmetic.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/multilevel-combine.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/must-and-partial.ll2
-rw-r--r--test/Analysis/CFLAliasAnalysis/opaque-call-alias.ll20
-rw-r--r--test/Analysis/CFLAliasAnalysis/va.ll2
-rw-r--r--test/Analysis/CallGraph/non-leaf-intrinsics.ll4
-rw-r--r--test/Analysis/CostModel/AArch64/select.ll12
-rw-r--r--test/Analysis/CostModel/AMDGPU/br.ll45
-rw-r--r--test/Analysis/CostModel/AMDGPU/extractelement.ll110
-rw-r--r--test/Analysis/CostModel/AMDGPU/lit.local.cfg2
-rw-r--r--test/Analysis/CostModel/ARM/cast.ll507
-rw-r--r--test/Analysis/CostModel/ARM/gep.ll88
-rw-r--r--test/Analysis/CostModel/ARM/select.ll6
-rw-r--r--test/Analysis/CostModel/PowerPC/load_store.ll4
-rw-r--r--test/Analysis/CostModel/PowerPC/unal-vec-ldst.ll404
-rw-r--r--test/Analysis/CostModel/X86/arith.ll4
-rw-r--r--test/Analysis/CostModel/X86/cast.ll38
-rw-r--r--test/Analysis/CostModel/X86/masked-intrinsic-cost.ll215
-rw-r--r--test/Analysis/CostModel/X86/reduction.ll2
-rw-r--r--test/Analysis/CostModel/X86/sitofp.ll346
-rw-r--r--test/Analysis/CostModel/X86/sse-itoi.ll353
-rw-r--r--test/Analysis/CostModel/X86/testshiftashr.ll32
-rw-r--r--test/Analysis/CostModel/X86/testshiftlshr.ll16
-rw-r--r--test/Analysis/CostModel/X86/testshiftshl.ll16
-rw-r--r--test/Analysis/CostModel/X86/uitofp.ll418
-rw-r--r--test/Analysis/CostModel/X86/vector_gep.ll17
-rw-r--r--test/Analysis/CostModel/X86/vshift-ashr-cost.ll392
-rw-r--r--test/Analysis/CostModel/X86/vshift-cost.ll167
-rw-r--r--test/Analysis/CostModel/X86/vshift-lshr-cost.ll400
-rw-r--r--test/Analysis/CostModel/X86/vshift-shl-cost.ll580
-rw-r--r--test/Analysis/CostModel/no_info.ll22
-rw-r--r--test/Analysis/Delinearization/a.ll2
-rw-r--r--test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_3d.ll2
-rw-r--r--test/Analysis/Delinearization/multidim_ivs_and_integer_offsets_nts_3d.ll2
-rw-r--r--test/Analysis/Delinearization/multidim_ivs_and_parameteric_offsets_3d.ll2
-rw-r--r--test/Analysis/Delinearization/parameter_addrec_product.ll56
-rw-r--r--test/Analysis/DemandedBits/basic.ll34
-rw-r--r--test/Analysis/DependenceAnalysis/GCD.ll14
-rw-r--r--test/Analysis/DependenceAnalysis/NonAffineExpr.ll36
-rw-r--r--test/Analysis/DependenceAnalysis/PR21585.ll2
-rw-r--r--test/Analysis/DivergenceAnalysis/AMDGPU/kernel-args.ll16
-rw-r--r--test/Analysis/DivergenceAnalysis/AMDGPU/lit.local.cfg2
-rw-r--r--test/Analysis/DivergenceAnalysis/NVPTX/diverge.ll23
-rw-r--r--test/Analysis/GlobalsModRef/2008-09-03-ReadGlobals.ll2
-rw-r--r--test/Analysis/GlobalsModRef/aliastest.ll5
-rw-r--r--test/Analysis/GlobalsModRef/argmemonly-escape.ll47
-rw-r--r--test/Analysis/GlobalsModRef/atomic-instrs.ll37
-rw-r--r--test/Analysis/GlobalsModRef/chaining-analysis.ll2
-rw-r--r--test/Analysis/GlobalsModRef/indirect-global.ll5
-rw-r--r--test/Analysis/GlobalsModRef/memset-escape.ll65
-rw-r--r--test/Analysis/GlobalsModRef/modreftest.ll22
-rw-r--r--test/Analysis/GlobalsModRef/nocapture.ll57
-rw-r--r--test/Analysis/GlobalsModRef/nonescaping-noalias.ll116
-rw-r--r--test/Analysis/GlobalsModRef/pr12351.ll2
-rw-r--r--test/Analysis/GlobalsModRef/pr25309.ll27
-rw-r--r--test/Analysis/GlobalsModRef/purecse.ll2
-rw-r--r--test/Analysis/GlobalsModRef/weak-interposition.ll24
-rw-r--r--test/Analysis/LazyCallGraph/non-leaf-intrinsics.ll4
-rw-r--r--test/Analysis/Lint/cppeh-catch-intrinsics.ll278
-rw-r--r--test/Analysis/LoopAccessAnalysis/forward-loop-carried.ll44
-rw-r--r--test/Analysis/LoopAccessAnalysis/forward-loop-independent.ll64
-rw-r--r--test/Analysis/LoopAccessAnalysis/nullptr.ll38
-rw-r--r--test/Analysis/LoopAccessAnalysis/number-of-memchecks.ll51
-rw-r--r--test/Analysis/LoopAccessAnalysis/pointer-with-unknown-bounds.ll4
-rw-r--r--test/Analysis/LoopAccessAnalysis/resort-to-memchecks-only.ll4
-rw-r--r--test/Analysis/LoopAccessAnalysis/reverse-memcheck-bounds.ll89
-rw-r--r--test/Analysis/LoopAccessAnalysis/safe-no-checks.ll8
-rw-r--r--test/Analysis/LoopAccessAnalysis/stride-access-dependence.ll28
-rw-r--r--test/Analysis/LoopAccessAnalysis/underlying-objects-2.ll2
-rw-r--r--test/Analysis/LoopAccessAnalysis/unsafe-and-rt-checks.ll2
-rw-r--r--test/Analysis/MemoryDependenceAnalysis/memdep-block-scan-limit.ll15
-rw-r--r--test/Analysis/ScalarEvolution/avoid-assume-hang.ll139
-rw-r--r--test/Analysis/ScalarEvolution/constant_condition.ll51
-rw-r--r--test/Analysis/ScalarEvolution/flags-from-poison.ll592
-rw-r--r--test/Analysis/ScalarEvolution/infer-prestart-no-wrap.ll10
-rw-r--r--test/Analysis/ScalarEvolution/min-max-exprs.ll2
-rw-r--r--test/Analysis/ScalarEvolution/no-wrap-add-exprs.ll122
-rw-r--r--test/Analysis/ScalarEvolution/non-IV-phi.ll59
-rw-r--r--test/Analysis/ScalarEvolution/pr24757.ll35
-rw-r--r--test/Analysis/ScalarEvolution/pr25369.ll78
-rw-r--r--test/Analysis/ScalarEvolution/scev-aa.ll2
-rw-r--r--test/Analysis/ScalarEvolution/shift-op.ll164
-rw-r--r--test/Analysis/ScalarEvolution/smax-br-phi-idioms.ll128
-rw-r--r--test/Analysis/ScalarEvolution/trip-count.ll5
-rw-r--r--test/Analysis/ScalarEvolution/zext-wrap.ll2
-rw-r--r--test/Analysis/TypeBasedAliasAnalysis/functionattrs.ll8
-rw-r--r--test/Analysis/TypeBasedAliasAnalysis/intrinsics.ll17
-rw-r--r--test/Analysis/TypeBasedAliasAnalysis/licm.ll2
-rw-r--r--test/Analysis/TypeBasedAliasAnalysis/precedence.ll8
-rw-r--r--test/Analysis/ValueTracking/known-bits-from-range-md.ll34
-rw-r--r--test/Analysis/ValueTracking/known-non-equal.ll21
-rw-r--r--test/Analysis/ValueTracking/knownnonzero-shift.ll13
-rw-r--r--test/Analysis/ValueTracking/knownzero-shift.ll14
-rw-r--r--test/Analysis/ValueTracking/memory-dereferenceable.ll117
-rw-r--r--test/Analysis/ValueTracking/monotonic-phi.ll49
-rw-r--r--test/Analysis/ValueTracking/pr24866.ll44
-rw-r--r--test/Assembler/2007-09-10-AliasFwdRef.ll2
-rw-r--r--test/Assembler/2010-02-05-FunctionLocalMetadataBecomesNull.ll8
-rw-r--r--test/Assembler/ConstantExprFoldCast.ll4
-rw-r--r--test/Assembler/ConstantExprNoFold.ll8
-rw-r--r--test/Assembler/addrspacecast-alias.ll4
-rw-r--r--test/Assembler/alias-redefinition.ll6
-rw-r--r--test/Assembler/alias-use-list-order.ll6
-rw-r--r--test/Assembler/anon-functions.ll4
-rw-r--r--test/Assembler/debug-info.ll19
-rw-r--r--test/Assembler/dicompileunit.ll31
-rw-r--r--test/Assembler/diimportedentity.ll4
-rw-r--r--test/Assembler/dilexicalblock.ll2
-rw-r--r--test/Assembler/dilocalvariable-arg-large.ll4
-rw-r--r--test/Assembler/dilocalvariable.ll16
-rw-r--r--test/Assembler/dilocation.ll4
-rw-r--r--test/Assembler/disubprogram.ll31
-rw-r--r--test/Assembler/drop-debug-info.ll6
-rw-r--r--test/Assembler/global-addrspace-forwardref.ll9
-rw-r--r--test/Assembler/incorrect-tdep-attrs-parsing.ll6
-rw-r--r--test/Assembler/internal-hidden-alias.ll2
-rw-r--r--test/Assembler/internal-protected-alias.ll2
-rw-r--r--test/Assembler/invalid-alias-mismatched-explicit-type.ll4
-rw-r--r--test/Assembler/invalid-dicompileunit-language-bad.ll6
-rw-r--r--test/Assembler/invalid-dicompileunit-language-overflow.ll10
-rw-r--r--test/Assembler/invalid-dicompileunit-missing-language.ll4
-rw-r--r--test/Assembler/invalid-dicompileunit-null-file.ll4
-rw-r--r--test/Assembler/invalid-dicompileunit-uniqued.ll4
-rw-r--r--test/Assembler/invalid-dilocalvariable-arg-large.ll6
-rw-r--r--test/Assembler/invalid-dilocalvariable-arg-negative.ll7
-rw-r--r--test/Assembler/invalid-dilocalvariable-missing-scope.ll4
-rw-r--r--test/Assembler/invalid-dilocalvariable-missing-tag.ll4
-rw-r--r--test/Assembler/invalid-disubprogram-uniqued-definition.ll4
-rw-r--r--test/Assembler/invalid-fp80hex.ll6
-rw-r--r--test/Assembler/invalid-fwdref2.ll2
-rw-r--r--test/Assembler/invalid-inline-constraint.ll7
-rw-r--r--test/Assembler/invalid-untyped-metadata.ll6
-rw-r--r--test/Assembler/invalid-uselistorder-indexes-duplicated.ll6
-rw-r--r--test/Assembler/invalid-uselistorder-indexes-one.ll2
-rw-r--r--test/Assembler/invalid-uselistorder-indexes-ordered.ll6
-rw-r--r--test/Assembler/invalid-uselistorder-indexes-range.ll6
-rw-r--r--test/Assembler/invalid-uselistorder-indexes-toofew.ll6
-rw-r--r--test/Assembler/invalid-uselistorder-indexes-toomany.ll4
-rw-r--r--test/Assembler/metadata.ll2
-rw-r--r--test/Assembler/private-hidden-alias.ll2
-rw-r--r--test/Assembler/private-protected-alias.ll2
-rw-r--r--test/Assembler/token.ll11
-rw-r--r--test/Assembler/unnamed-alias.ll8
-rw-r--r--test/Assembler/uselistorder.ll2
-rw-r--r--test/Bindings/Go/go.test2
-rw-r--r--test/Bindings/Go/lit.local.cfg3
-rw-r--r--test/Bindings/OCaml/analysis.ml4
-rw-r--r--test/Bindings/OCaml/bitreader.ml4
-rw-r--r--test/Bindings/OCaml/bitwriter.ml4
-rw-r--r--test/Bindings/OCaml/core.ml4
-rw-r--r--test/Bindings/OCaml/executionengine.ml4
-rw-r--r--test/Bindings/OCaml/ext_exc.ml4
-rw-r--r--test/Bindings/OCaml/ipo.ml4
-rw-r--r--test/Bindings/OCaml/irreader.ml4
-rw-r--r--test/Bindings/OCaml/linker.ml14
-rw-r--r--test/Bindings/OCaml/passmgr_builder.ml4
-rw-r--r--test/Bindings/OCaml/scalar_opts.ml4
-rw-r--r--test/Bindings/OCaml/target.ml4
-rw-r--r--test/Bindings/OCaml/transform_utils.ml4
-rw-r--r--test/Bindings/OCaml/vectorize.ml4
-rw-r--r--test/Bindings/llvm-c/Inputs/invalid.ll.bcbin332 -> 688 bytes
-rw-r--r--test/Bindings/llvm-c/functions.ll11
-rw-r--r--test/Bindings/llvm-c/invalid-bitcode.test9
-rw-r--r--test/Bitcode/DICompileUnit-no-DWOId.ll2
-rw-r--r--test/Bitcode/DILocalVariable-explicit-tags.ll16
-rw-r--r--test/Bitcode/DILocalVariable-explicit-tags.ll.bcbin0 -> 500 bytes
-rw-r--r--test/Bitcode/DISubprogram-distinct-definitions.ll11
-rw-r--r--test/Bitcode/DISubprogram-distinct-definitions.ll.bcbin0 -> 512 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-abbrev.bcbin129 -> 132 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-cast.bcbin0 -> 1236 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-name-with-0-byte.bcbin0 -> 1265 bytes
-rw-r--r--test/Bitcode/Inputs/invalid-no-function-block.bcbin0 -> 548 bytes
-rw-r--r--test/Bitcode/anon-functions.ll18
-rw-r--r--test/Bitcode/attributes.ll32
-rw-r--r--test/Bitcode/compatibility-3.6.ll1207
-rw-r--r--test/Bitcode/compatibility-3.6.ll.bcbin0 -> 10192 bytes
-rw-r--r--test/Bitcode/compatibility-3.7.ll1280