llvm.org GIT mirror llvm / 974a445
Re-sort all of the includes with ./utils/sort_includes.py so that subsequent changes are easier to review. About to fix some layering issues, and wanted to separate out the necessary churn. Also comment and sink the include of "Windows.h" in three .inc files to match the usage in Memory.inc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198685 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 6 years ago
211 changed file(s) with 342 addition(s) and 375 deletion(s). Raw diff Collapse all Expand all
1616 #define LLVM_ADT_OPTIONAL_H
1717
1818 #include "llvm/ADT/None.h"
19 #include "llvm/Support/AlignOf.h"
1920 #include "llvm/Support/Compiler.h"
20 #include "llvm/Support/AlignOf.h"
2121 #include
2222
2323 #if LLVM_HAS_RVALUE_REFERENCES
1414 #ifndef LLVM_ADT_POINTERUNION_H
1515 #define LLVM_ADT_POINTERUNION_H
1616
17 #include "llvm/ADT/PointerIntPair.h"
1718 #include "llvm/Support/Compiler.h"
18 #include "llvm/ADT/PointerIntPair.h"
1919
2020 namespace llvm {
2121
1313 #ifndef LLVM_ADT_STRINGEXTRAS_H
1414 #define LLVM_ADT_STRINGEXTRAS_H
1515
16 #include
1716 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/Support/DataTypes.h"
18 #include
1919
2020 namespace llvm {
2121 template class SmallVectorImpl;
1515
1616 #include "llvm/ADT/DenseMap.h"
1717 #include "llvm/ADT/SmallPtrSet.h"
18 #include "llvm/Support/CFG.h"
1918 #include "llvm/InitializePasses.h"
2019 #include "llvm/Pass.h"
2120 #include "llvm/Support/BranchProbability.h"
21 #include "llvm/Support/CFG.h"
2222
2323 namespace llvm {
2424 class LoopInfo;
3535 #include "llvm/ADT/SmallPtrSet.h"
3636 #include "llvm/ADT/SmallVector.h"
3737 #include "llvm/IR/Instruction.h"
38 #include "llvm/Pass.h"
3839 #include "llvm/Support/CFG.h"
39 #include "llvm/Pass.h"
4040 #include
4141
4242 namespace llvm {
1414 #ifndef LLVM_CODEGEN_SCHEDULEDAGINSTRS_H
1515 #define LLVM_CODEGEN_SCHEDULEDAGINSTRS_H
1616
17 #include "llvm/ADT/SparseMultiSet.h"
1718 #include "llvm/ADT/SparseSet.h"
18 #include "llvm/ADT/SparseMultiSet.h"
1919 #include "llvm/CodeGen/ScheduleDAG.h"
2020 #include "llvm/CodeGen/TargetSchedule.h"
2121 #include "llvm/Support/Compiler.h"
1616 #ifndef LLVM_DEBUGINFO_H
1717 #define LLVM_DEBUGINFO_H
1818
19 #include "llvm/Support/Casting.h"
2019 #include "llvm/ADT/DenseMap.h"
2120 #include "llvm/ADT/SmallPtrSet.h"
2221 #include "llvm/ADT/SmallVector.h"
2322 #include "llvm/ADT/StringRef.h"
2423 #include "llvm/IR/Metadata.h"
24 #include "llvm/Support/Casting.h"
2525 #include "llvm/Support/Dwarf.h"
2626
2727 namespace llvm {
1313 #ifndef LLVM_EXECUTIONENGINE_RT_DYLD_MEMORY_MANAGER_H
1414 #define LLVM_EXECUTIONENGINE_RT_DYLD_MEMORY_MANAGER_H
1515
16 #include "llvm-c/ExecutionEngine.h"
1617 #include "llvm/ADT/StringRef.h"
1718 #include "llvm/Support/CBindingWrapping.h"
1819 #include "llvm/Support/Memory.h"
19 #include "llvm-c/ExecutionEngine.h"
2020
2121 namespace llvm {
2222
2424 #include "llvm/ADT/APInt.h"
2525 #include "llvm/ADT/ArrayRef.h"
2626 #include "llvm/IR/Constant.h"
27 #include "llvm/IR/DerivedTypes.h"
2728 #include "llvm/IR/OperandTraits.h"
28 #include "llvm/IR/DerivedTypes.h"
2929
3030 namespace llvm {
3131
1414 #ifndef LLVM_IR_LLVMCONTEXT_H
1515 #define LLVM_IR_LLVMCONTEXT_H
1616
17 #include "llvm-c/Core.h"
1718 #include "llvm/Support/CBindingWrapping.h"
1819 #include "llvm/Support/Compiler.h"
19 #include "llvm-c/Core.h"
2020
2121 namespace llvm {
2222
3737 #include "llvm/ADT/DenseMap.h"
3838 #include "llvm/ADT/SmallPtrSet.h"
3939 #include "llvm/ADT/polymorphic_ptr.h"
40 #include "llvm/Support/type_traits.h"
4140 #include "llvm/IR/Function.h"
4241 #include "llvm/IR/Module.h"
42 #include "llvm/Support/type_traits.h"
4343 #include
4444 #include
4545
1414 #ifndef LLVM_IR_TYPE_H
1515 #define LLVM_IR_TYPE_H
1616
17 #include "llvm-c/Core.h"
1718 #include "llvm/ADT/APFloat.h"
1819 #include "llvm/ADT/SmallPtrSet.h"
20 #include "llvm/Support/CBindingWrapping.h"
1921 #include "llvm/Support/Casting.h"
20 #include "llvm/Support/CBindingWrapping.h"
2122 #include "llvm/Support/DataTypes.h"
2223 #include "llvm/Support/ErrorHandling.h"
23 #include "llvm-c/Core.h"
2424
2525 namespace llvm {
2626
2424 #ifndef LLVM_IR_USE_H
2525 #define LLVM_IR_USE_H
2626
27 #include "llvm-c/Core.h"
2728 #include "llvm/ADT/PointerIntPair.h"
2829 #include "llvm/Support/CBindingWrapping.h"
2930 #include "llvm/Support/Compiler.h"
30 #include "llvm-c/Core.h"
3131 #include
3232 #include
3333
1313 #ifndef LLVM_IR_VALUE_H
1414 #define LLVM_IR_VALUE_H
1515
16 #include "llvm-c/Core.h"
1617 #include "llvm/IR/Use.h"
18 #include "llvm/Support/CBindingWrapping.h"
1719 #include "llvm/Support/Casting.h"
18 #include "llvm/Support/CBindingWrapping.h"
1920 #include "llvm/Support/Compiler.h"
20 #include "llvm-c/Core.h"
2121
2222 namespace llvm {
2323
3535 #define LTO_CODE_GENERATOR_H
3636
3737 #include "llvm-c/lto.h"
38 #include "llvm/ADT/ArrayRef.h"
3839 #include "llvm/ADT/SmallPtrSet.h"
3940 #include "llvm/ADT/StringMap.h"
40 #include "llvm/ADT/ArrayRef.h"
4141 #include "llvm/Linker.h"
4242 #include "llvm/Target/TargetOptions.h"
4343 #include
1010
1111 #include "llvm-c/Disassembler.h"
1212 #include "llvm/ADT/OwningPtr.h"
13 #include "llvm/MC/MCRelocationInfo.h"
1314 #include "llvm/MC/MCSymbolizer.h"
14 #include "llvm/MC/MCRelocationInfo.h"
1515 #include "llvm/Support/DataTypes.h"
1616
1717 namespace llvm {
99 #ifndef LLVM_MC_TARGETPARSER_H
1010 #define LLVM_MC_TARGETPARSER_H
1111
12 #include "llvm/MC/MCExpr.h"
1213 #include "llvm/MC/MCParser/MCAsmParserExtension.h"
13 #include "llvm/MC/MCExpr.h"
1414
1515 namespace llvm {
1616 class MCStreamer;
1616 #define LLVM_OBJECT_RELOCVISITOR_H
1717
1818 #include "llvm/ADT/StringRef.h"
19 #include "llvm/Object/ELFObjectFile.h"
1920 #include "llvm/Object/ObjectFile.h"
20 #include "llvm/Object/ELFObjectFile.h"
2121 #include "llvm/Support/Debug.h"
2222 #include "llvm/Support/ELF.h"
2323 #include "llvm/Support/raw_ostream.h"
1616 #ifndef LLVM_PASSREGISTRY_H
1717 #define LLVM_PASSREGISTRY_H
1818
19 #include "llvm-c/Core.h"
1920 #include "llvm/ADT/StringRef.h"
2021 #include "llvm/Support/CBindingWrapping.h"
21 #include "llvm-c/Core.h"
2222
2323 namespace llvm {
2424
2020 #define LLVM_SUPPORT_COMMANDLINE_H
2121
2222 #include "llvm/ADT/SmallVector.h"
23 #include "llvm/ADT/StringMap.h"
2324 #include "llvm/ADT/Twine.h"
24 #include "llvm/ADT/StringMap.h"
2525 #include "llvm/Support/Compiler.h"
2626 #include "llvm/Support/type_traits.h"
2727 #include
1919 #include "llvm/Support/AlignOf.h"
2020 #include "llvm/Support/system_error.h"
2121 #include "llvm/Support/type_traits.h"
22
2322 #include
2423 #if LLVM_HAS_CXX11_TYPETRAITS
2524 #include
1616 #include "llvm/Support/Compiler.h"
1717 #include "llvm/Support/SwapByteOrder.h"
1818 #include "llvm/Support/type_traits.h"
19
2019 #include
2120
2221 #ifdef _MSC_VER
1313 #ifndef LLVM_SUPPORT_MEMORYBUFFER_H
1414 #define LLVM_SUPPORT_MEMORYBUFFER_H
1515
16 #include "llvm-c/Core.h"
1617 #include "llvm/ADT/Twine.h"
1718 #include "llvm/Support/CBindingWrapping.h"
1819 #include "llvm/Support/Compiler.h"
1920 #include "llvm/Support/DataTypes.h"
20 #include "llvm-c/Core.h"
2121
2222 namespace llvm {
2323
2828 #include "llvm/ADT/Optional.h"
2929 #include "llvm/Config/llvm-config.h"
3030 #include "llvm/Support/Allocator.h"
31 #include "llvm/Support/system_error.h"
3231 #include "llvm/Support/DataTypes.h"
3332 #include "llvm/Support/TimeValue.h"
33 #include "llvm/Support/system_error.h"
3434
3535 namespace llvm {
3636 class StringRef;
1818 #ifndef LLVM_SUPPORT_TARGETREGISTRY_H
1919 #define LLVM_SUPPORT_TARGETREGISTRY_H
2020
21 #include "llvm-c/Disassembler.h"
2122 #include "llvm/ADT/Triple.h"
2223 #include "llvm/Support/CodeGen.h"
23 #include "llvm-c/Disassembler.h"
2424 #include
2525 #include
2626
1515 #include "llvm/Support/Mutex.h"
1616 #include "llvm/Support/MutexGuard.h"
1717 #include "llvm/Support/raw_ostream.h"
18
1918 #include
2019
2120 namespace llvm {
4242 #include "llvm/ADT/StringRef.h"
4343 #include "llvm/Support/Allocator.h"
4444 #include "llvm/Support/SMLoc.h"
45
45 #include
4646 #include
47 #include
4847 #include
4948
5049 namespace llvm {
2424 //===----------------------------------------------------------------------===//
2525
2626 #include "llvm/Analysis/AliasAnalysis.h"
27 #include "llvm/Analysis/CFG.h"
2728 #include "llvm/Analysis/CaptureTracking.h"
28 #include "llvm/Analysis/CFG.h"
2929 #include "llvm/Analysis/Dominators.h"
3030 #include "llvm/Analysis/ValueTracking.h"
3131 #include "llvm/IR/BasicBlock.h"
99 #include "llvm-c/Analysis.h"
1010 #include "llvm-c/Initialization.h"
1111 #include "llvm/Analysis/Verifier.h"
12 #include "llvm/IR/Module.h"
1213 #include "llvm/InitializePasses.h"
13 #include "llvm/IR/Module.h"
1414 #include "llvm/PassRegistry.h"
1515 #include
1616
1616 #include "llvm/ADT/SmallPtrSet.h"
1717 #include "llvm/ADT/SmallVector.h"
1818 #include "llvm/Analysis/AliasAnalysis.h"
19 #include "llvm/Analysis/CFG.h"
1920 #include "llvm/Analysis/CaptureTracking.h"
20 #include "llvm/Analysis/CFG.h"
2121 #include "llvm/Analysis/Dominators.h"
2222 #include "llvm/Analysis/InstructionSimplify.h"
2323 #include "llvm/Analysis/LoopInfo.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/Analysis/CFG.h"
15
1615 #include "llvm/ADT/SmallSet.h"
1716 #include "llvm/Analysis/Dominators.h"
1817 #include "llvm/Analysis/LoopInfo.h"
1616 #define DL_NAME "delinearize"
1717 #define DEBUG_TYPE DL_NAME
1818 #include "llvm/IR/Constants.h"
19 #include "llvm/Analysis/LoopInfo.h"
20 #include "llvm/Analysis/Passes.h"
21 #include "llvm/Analysis/ScalarEvolution.h"
22 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
1923 #include "llvm/IR/DerivedTypes.h"
2024 #include "llvm/IR/Function.h"
2125 #include "llvm/IR/Instructions.h"
2226 #include "llvm/IR/LLVMContext.h"
27 #include "llvm/IR/Type.h"
2328 #include "llvm/Pass.h"
24 #include "llvm/IR/Type.h"
25 #include "llvm/Analysis/LoopInfo.h"
26 #include "llvm/Analysis/Passes.h"
27 #include "llvm/Analysis/ScalarEvolution.h"
28 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
2929 #include "llvm/Support/CommandLine.h"
3030 #include "llvm/Support/Debug.h"
3131 #include "llvm/Support/InstIterator.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/InitializePasses.h"
14 #include "llvm-c/Initialization.h"
1415 #include "llvm/PassRegistry.h"
15 #include "llvm-c/Initialization.h"
1616
1717 using namespace llvm;
1818
2222 #include "llvm/ADT/Statistic.h"
2323 #include "llvm/Analysis/ConstantFolding.h"
2424 #include "llvm/Analysis/Dominators.h"
25 #include "llvm/Analysis/MemoryBuiltins.h"
2526 #include "llvm/Analysis/ValueTracking.h"
26 #include "llvm/Analysis/MemoryBuiltins.h"
2727 #include "llvm/IR/DataLayout.h"
2828 #include "llvm/IR/GlobalAlias.h"
2929 #include "llvm/IR/Operator.h"
1616 #include "llvm/Analysis/RegionIterator.h"
1717 #include "llvm/Assembly/Writer.h"
1818 #include "llvm/Support/CommandLine.h"
19 #include "llvm/Support/Debug.h"
1920 #include "llvm/Support/ErrorHandling.h"
20 #include "llvm/Support/Debug.h"
2121 #include
2222 #include
2323
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/Analysis/ScalarEvolutionExpander.h"
16 #include "llvm/ADT/STLExtras.h"
1617 #include "llvm/ADT/SmallSet.h"
17 #include "llvm/ADT/STLExtras.h"
1818 #include "llvm/Analysis/Dominators.h"
1919 #include "llvm/Analysis/LoopInfo.h"
2020 #include "llvm/Analysis/TargetTransformInfo.h"
99 #define DEBUG_TYPE "tti"
1010 #include "llvm/Analysis/TargetTransformInfo.h"
1111 #include "llvm/IR/DataLayout.h"
12 #include "llvm/IR/Instruction.h"
13 #include "llvm/IR/Instructions.h"
14 #include "llvm/IR/IntrinsicInst.h"
1215 #include "llvm/IR/Operator.h"
13 #include "llvm/IR/Instruction.h"
14 #include "llvm/IR/IntrinsicInst.h"
15 #include "llvm/IR/Instructions.h"
1616 #include "llvm/Support/CallSite.h"
1717 #include "llvm/Support/ErrorHandling.h"
1818
2020 #include "llvm/IR/Attributes.h"
2121 #include "llvm/IR/OperandTraits.h"
2222 #include "llvm/IR/Type.h"
23 #include "llvm/Support/ValueHandle.h"
2324 #include "llvm/Support/system_error.h"
24 #include "llvm/Support/ValueHandle.h"
2525 #include
2626
2727 namespace llvm {
1515
1616 #include "llvm/ADT/FoldingSet.h"
1717 #include "llvm/ADT/SmallVector.h"
18 #include "llvm/MC/MCExpr.h"
1819 #include "llvm/Support/Compiler.h"
1920 #include "llvm/Support/Dwarf.h"
20 #include "llvm/MC/MCExpr.h"
2121 #include
2222
2323 namespace llvm {
1313 #define DEBUG_TYPE "dwarfdebug"
1414
1515 #include "DIEHash.h"
16
1716 #include "DIE.h"
1817 #include "llvm/ADT/ArrayRef.h"
1918 #include "llvm/ADT/StringRef.h"
2424 #include "llvm/MC/MCAsmInfo.h"
2525 #include "llvm/MC/MCSection.h"
2626 #include "llvm/MC/MCStreamer.h"
27 #include "llvm/Support/CommandLine.h"
2728 #include "llvm/Target/Mangler.h"
2829 #include "llvm/Target/TargetFrameLowering.h"
30 #include "llvm/Target/TargetLoweringObjectFile.h"
2931 #include "llvm/Target/TargetMachine.h"
30 #include "llvm/Target/TargetLoweringObjectFile.h"
3132 #include "llvm/Target/TargetRegisterInfo.h"
32 #include "llvm/Support/CommandLine.h"
3333
3434 using namespace llvm;
3535
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/CodeGen/AsmPrinter.h"
16 #include "llvm/CodeGen/GCMetadataPrinter.h"
1617 #include "llvm/CodeGen/GCs.h"
17 #include "llvm/CodeGen/GCMetadataPrinter.h"
1818 #include "llvm/IR/DataLayout.h"
1919 #include "llvm/IR/Function.h"
2020 #include "llvm/IR/Instruction.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/InitializePasses.h"
15 #include "llvm-c/Initialization.h"
1516 #include "llvm/PassRegistry.h"
16 #include "llvm-c/Initialization.h"
1717
1818 using namespace llvm;
1919
1616 #include "llvm/ADT/STLExtras.h"
1717 #include "llvm/ADT/SmallSet.h"
1818 #include "llvm/ADT/Statistic.h"
19 #include "llvm/CodeGen/LivePhysRegs.h"
1920 #include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
2021 #include "llvm/CodeGen/MachineFunctionPass.h"
2122 #include "llvm/CodeGen/MachineInstrBuilder.h"
2223 #include "llvm/CodeGen/MachineModuleInfo.h"
2324 #include "llvm/CodeGen/MachineRegisterInfo.h"
2425 #include "llvm/CodeGen/TargetSchedule.h"
25 #include "llvm/CodeGen/LivePhysRegs.h"
2626 #include "llvm/MC/MCInstrItineraries.h"
2727 #include "llvm/Support/CommandLine.h"
2828 #include "llvm/Support/Debug.h"
2020 #include "llvm/CodeGen/LiveIntervalAnalysis.h"
2121 #include "llvm/CodeGen/LiveRangeEdit.h"
2222 #include "llvm/CodeGen/LiveStackAnalysis.h"
23 #include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
2324 #include "llvm/CodeGen/MachineDominators.h"
24 #include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
2525 #include "llvm/CodeGen/MachineFrameInfo.h"
2626 #include "llvm/CodeGen/MachineFunction.h"
2727 #include "llvm/CodeGen/MachineInstrBuilder.h"
1212
1313 #include "llvm/CodeGen/MachineRegisterInfo.h"
1414 #include "llvm/CodeGen/MachineInstrBuilder.h"
15 #include "llvm/Support/raw_os_ostream.h"
1516 #include "llvm/Target/TargetInstrInfo.h"
1617 #include "llvm/Target/TargetMachine.h"
17 #include "llvm/Support/raw_os_ostream.h"
1818
1919 using namespace llvm;
2020
2929 #include "llvm/CodeGen/MachineModuleInfo.h"
3030 #include "llvm/CodeGen/MachineRegisterInfo.h"
3131 #include "llvm/CodeGen/RegisterScavenging.h"
32 #include "llvm/CodeGen/StackProtector.h"
3233 #include "llvm/IR/DiagnosticInfo.h"
33 #include "llvm/CodeGen/StackProtector.h"
3434 #include "llvm/IR/InlineAsm.h"
3535 #include "llvm/IR/LLVMContext.h"
3636 #include "llvm/Support/CommandLine.h"
99 #define DEBUG_TYPE "stackmaps"
1010
1111 #include "llvm/CodeGen/StackMaps.h"
12
1312 #include "llvm/CodeGen/AsmPrinter.h"
1413 #include "llvm/CodeGen/MachineInstr.h"
1514 #include "llvm/IR/DataLayout.h"
2019 #include "llvm/MC/MCStreamer.h"
2120 #include "llvm/Support/Debug.h"
2221 #include "llvm/Support/raw_ostream.h"
22 #include "llvm/Target/TargetMachine.h"
2323 #include "llvm/Target/TargetOpcodes.h"
24 #include "llvm/Target/TargetMachine.h"
2524 #include "llvm/Target/TargetRegisterInfo.h"
26
2725 #include
2826
2927 using namespace llvm;
1515
1616 #define DEBUG_TYPE "stack-protector"
1717 #include "llvm/CodeGen/StackProtector.h"
18 #include "llvm/CodeGen/Analysis.h"
19 #include "llvm/CodeGen/Passes.h"
2018 #include "llvm/ADT/SmallPtrSet.h"
2119 #include "llvm/ADT/Statistic.h"
2220 #include "llvm/Analysis/ValueTracking.h"
21 #include "llvm/CodeGen/Analysis.h"
22 #include "llvm/CodeGen/Passes.h"
2323 #include "llvm/IR/Attributes.h"
2424 #include "llvm/IR/Constants.h"
2525 #include "llvm/IR/DataLayout.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/IR/Function.h"
14 #include "llvm/CodeGen/MachineFrameInfo.h"
1415 #include "llvm/CodeGen/MachineFunction.h"
15 #include "llvm/CodeGen/MachineFrameInfo.h"
1616 #include "llvm/Target/TargetOptions.h"
1717 using namespace llvm;
1818
77 //===----------------------------------------------------------------------===//
88
99 #include "DWARFContext.h"
10 #include "llvm/ADT/STLExtras.h"
1011 #include "llvm/ADT/SmallString.h"
1112 #include "llvm/ADT/StringSwitch.h"
12 #include "llvm/ADT/STLExtras.h"
1313 #include "llvm/Support/Compression.h"
1414 #include "llvm/Support/Dwarf.h"
1515 #include "llvm/Support/Format.h"
1616 #include "DWARFDebugLoc.h"
1717 #include "DWARFDebugRangeList.h"
1818 #include "DWARFTypeUnit.h"
19 #include "llvm/ADT/MapVector.h"
1920 #include "llvm/ADT/OwningPtr.h"
2021 #include "llvm/ADT/SmallVector.h"
21 #include "llvm/ADT/MapVector.h"
2222 #include "llvm/DebugInfo/DIContext.h"
2323
2424 namespace llvm {
99 #include "DWARFDebugFrame.h"
1010 #include "llvm/ADT/SmallString.h"
1111 #include "llvm/Support/DataTypes.h"
12 #include "llvm/Support/Dwarf.h"
1213 #include "llvm/Support/ErrorHandling.h"
13 #include "llvm/Support/Dwarf.h"
1414 #include "llvm/Support/Format.h"
1515 #include "llvm/Support/raw_ostream.h"
1616 #include
99 #ifndef LLVM_DEBUGINFO_DWARFUNIT_H
1010 #define LLVM_DEBUGINFO_DWARFUNIT_H
1111
12 #include "llvm/ADT/OwningPtr.h"
1312 #include "DWARFDebugAbbrev.h"
1413 #include "DWARFDebugInfoEntry.h"
1514 #include "DWARFDebugRangeList.h"
1615 #include "DWARFRelocMap.h"
16 #include "llvm/ADT/OwningPtr.h"
1717 #include
1818
1919 namespace llvm {
1313
1414 #define DEBUG_TYPE "jit"
1515 #include "llvm/ExecutionEngine/ExecutionEngine.h"
16 #include "llvm/ExecutionEngine/JITMemoryManager.h"
17 #include "llvm/ExecutionEngine/ObjectCache.h"
1816 #include "llvm/ADT/SmallString.h"
1917 #include "llvm/ADT/Statistic.h"
2018 #include "llvm/ExecutionEngine/GenericValue.h"
19 #include "llvm/ExecutionEngine/JITMemoryManager.h"
20 #include "llvm/ExecutionEngine/ObjectCache.h"
2121 #include "llvm/IR/Constants.h"
2222 #include "llvm/IR/DataLayout.h"
2323 #include "llvm/IR/DerivedTypes.h"
1313 #include "llvm/ExecutionEngine/MCJIT.h"
1414 #include "llvm/ExecutionEngine/ObjectBuffer.h"
1515 #include "llvm/ExecutionEngine/ObjectImage.h"
16 #include "llvm/PassManager.h"
1716 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
1817 #include "llvm/IR/DataLayout.h"
1918 #include "llvm/IR/DerivedTypes.h"
2019 #include "llvm/IR/Function.h"
2120 #include "llvm/IR/Module.h"
2221 #include "llvm/MC/MCAsmInfo.h"
22 #include "llvm/PassManager.h"
2323 #include "llvm/Support/DynamicLibrary.h"
2424 #include "llvm/Support/ErrorHandling.h"
2525 #include "llvm/Support/MemoryBuffer.h"
1414
1515 #define DEBUG_TYPE "oprofile-wrapper"
1616 #include "llvm/ExecutionEngine/OProfileWrapper.h"
17 #include "llvm/ADT/SmallString.h"
1718 #include "llvm/Support/Debug.h"
18 #include "llvm/Support/raw_ostream.h"
1919 #include "llvm/Support/DynamicLibrary.h"
2020 #include "llvm/Support/Mutex.h"
2121 #include "llvm/Support/MutexGuard.h"
22 #include "llvm/ADT/SmallString.h"
22 #include "llvm/Support/raw_ostream.h"
2323 #include
2424 #include
2525 #include
1414 #include "llvm/ExecutionEngine/RTDyldMemoryManager.h"
1515 #include "llvm/Support/DynamicLibrary.h"
1616 #include "llvm/Support/ErrorHandling.h"
17
1817 #include
1918
2019 #ifdef __linux__
1717 #include "RuntimeDyldELF.h"
1818 #include "RuntimeDyldImpl.h"
1919 #include "RuntimeDyldMachO.h"
20 #include "llvm/Object/ELF.h"
2021 #include "llvm/Support/FileSystem.h"
2122 #include "llvm/Support/MathExtras.h"
2223 #include "llvm/Support/MutexGuard.h"
23 #include "llvm/Object/ELF.h"
2424
2525 using namespace llvm;
2626 using namespace llvm::object;
1414 //===----------------------------------------------------------------------===//
1515
1616 #include "AsmWriter.h"
17
18 #include "llvm/Assembly/Writer.h"
1917 #include "llvm/ADT/DenseMap.h"
2018 #include "llvm/ADT/STLExtras.h"
2119 #include "llvm/ADT/SmallString.h"
2220 #include "llvm/ADT/StringExtras.h"
2321 #include "llvm/Assembly/AssemblyAnnotationWriter.h"
2422 #include "llvm/Assembly/PrintModulePass.h"
23 #include "llvm/Assembly/Writer.h"
2524 #include "llvm/DebugInfo.h"
2625 #include "llvm/IR/CallingConv.h"
2726 #include "llvm/IR/Constants.h"
3938 #include "llvm/Support/ErrorHandling.h"
4039 #include "llvm/Support/FormattedStream.h"
4140 #include "llvm/Support/MathExtras.h"
42
4341 #include
4442 #include
4543 using namespace llvm;
1818 #include "llvm/IR/DerivedTypes.h"
1919 #include "llvm/IR/GlobalAlias.h"
2020 #include "llvm/IR/GlobalVariable.h"
21 #include "llvm/IR/IRBuilder.h"
2122 #include "llvm/IR/InlineAsm.h"
2223 #include "llvm/IR/IntrinsicInst.h"
23 #include "llvm/IR/IRBuilder.h"
2424 #include "llvm/IR/LLVMContext.h"
2525 #include "llvm/IR/Module.h"
2626 #include "llvm/PassManager.h"
2929 #include "llvm/Support/ErrorHandling.h"
3030 #include "llvm/Support/ManagedStatic.h"
3131 #include "llvm/Support/MemoryBuffer.h"
32 #include "llvm/Support/Threading.h"
3233 #include "llvm/Support/raw_ostream.h"
3334 #include "llvm/Support/system_error.h"
34 #include "llvm/Support/Threading.h"
3535 #include
3636 #include
3737 #include
1919 #include "llvm/IR/Instruction.h"
2020 #include "llvm/IR/Metadata.h"
2121 #include "llvm/Support/Atomic.h"
22
2322 #include
2423
2524 using namespace llvm;
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/Support/Debug.h"
15 #include "llvm/Support/GCOV.h"
1615 #include "llvm/ADT/OwningPtr.h"
1716 #include "llvm/ADT/STLExtras.h"
1817 #include "llvm/Support/Format.h"
18 #include "llvm/Support/GCOV.h"
1919 #include "llvm/Support/MemoryObject.h"
2020 #include "llvm/Support/system_error.h"
2121 #include
1414 #include "llvm/Assembly/PrintModulePass.h"
1515 #include "llvm/Assembly/Writer.h"
1616 #include "llvm/IR/LegacyPassManager.h"
17 #include "llvm/IR/LegacyPassManagers.h"
1718 #include "llvm/IR/Module.h"
18 #include "llvm/IR/LegacyPassManagers.h"
1919 #include "llvm/Support/CommandLine.h"
2020 #include "llvm/Support/Debug.h"
2121 #include "llvm/Support/ErrorHandling.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/IRReader/IRReader.h"
10 #include "llvm-c/Core.h"
11 #include "llvm-c/IRReader.h"
1012 #include "llvm/ADT/OwningPtr.h"
1113 #include "llvm/Assembly/Parser.h"
1214 #include "llvm/Bitcode/ReaderWriter.h"
1416 #include "llvm/IR/Module.h"
1517 #include "llvm/Support/MemoryBuffer.h"
1618 #include "llvm/Support/SourceMgr.h"
17 #include "llvm/Support/system_error.h"
1819 #include "llvm/Support/Timer.h"
1920 #include "llvm/Support/raw_ostream.h"
20 #include "llvm-c/Core.h"
21 #include "llvm-c/IRReader.h"
21 #include "llvm/Support/system_error.h"
2222
2323 using namespace llvm;
2424
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/LTO/LTOCodeGenerator.h"
15 #include "llvm/LTO/LTOModule.h"
1615 #include "llvm/ADT/StringExtras.h"
1716 #include "llvm/Analysis/Passes.h"
1817 #include "llvm/Analysis/Verifier.h"
2524 #include "llvm/IR/LLVMContext.h"
2625 #include "llvm/IR/Module.h"
2726 #include "llvm/InitializePasses.h"
27 #include "llvm/LTO/LTOModule.h"
2828 #include "llvm/Linker.h"
2929 #include "llvm/MC/MCAsmInfo.h"
3030 #include "llvm/MC/MCContext.h"
4040 #include "llvm/Support/TargetSelect.h"
4141 #include "llvm/Support/ToolOutputFile.h"
4242 #include "llvm/Support/system_error.h"
43 #include "llvm/Target/Mangler.h"
4344 #include "llvm/Target/TargetLibraryInfo.h"
4445 #include "llvm/Target/TargetLowering.h"
4546 #include "llvm/Target/TargetOptions.h"
4647 #include "llvm/Target/TargetRegisterInfo.h"
47 #include "llvm/Target/Mangler.h"
4848 #include "llvm/Transforms/IPO.h"
4949 #include "llvm/Transforms/IPO/PassManagerBuilder.h"
5050 #include "llvm/Transforms/ObjCARC.h"
2828 #include "llvm/MC/MCTargetAsmParser.h"
2929 #include "llvm/MC/SubtargetFeature.h"
3030 #include "llvm/Support/CommandLine.h"
31 #include "llvm/Support/FileSystem.h"
3132 #include "llvm/Support/Host.h"
32 #include "llvm/Support/FileSystem.h"
3333 #include "llvm/Support/MemoryBuffer.h"
3434 #include "llvm/Support/Path.h"
3535 #include "llvm/Support/SourceMgr.h"
2424 #include "llvm/Support/MemoryBuffer.h"
2525 #include "llvm/Support/Signals.h"
2626 #include "llvm/Support/SourceMgr.h"
27
2827 #include
2928
3029 using namespace llvm;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/MC/MCELFStreamer.h"
14 #include "llvm/ADT/STLExtras.h"
1415 #include "llvm/ADT/SmallPtrSet.h"
15 #include "llvm/ADT/STLExtras.h"
16 #include "llvm/MC/MCAsmBackend.h"
1617 #include "llvm/MC/MCAssembler.h"
17 #include "llvm/MC/MCAsmBackend.h"
1818 #include "llvm/MC/MCCodeEmitter.h"
1919 #include "llvm/MC/MCContext.h"
2020 #include "llvm/MC/MCELF.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/MC/MCObjectFileInfo.h"
10 #include "llvm/ADT/StringExtras.h"
1011 #include "llvm/ADT/Triple.h"
11 #include "llvm/ADT/StringExtras.h"
1212 #include "llvm/MC/MCContext.h"
1313 #include "llvm/MC/MCSection.h"
1414 #include "llvm/MC/MCSectionCOFF.h"
1616 #include "llvm/MC/MCDwarf.h"
1717 #include "llvm/MC/MCExpr.h"
1818 #include "llvm/MC/MCObjectWriter.h"
19 #include "llvm/MC/MCSection.h"
1920 #include "llvm/MC/MCSymbol.h"
20 #include "llvm/MC/MCSection.h"
2121 #include "llvm/Support/ErrorHandling.h"
2222 using namespace llvm;
2323
1313 #include "llvm/MC/MCInst.h"
1414 #include "llvm/MC/MCRelocationInfo.h"
1515 #include "llvm/MC/MCSymbol.h"
16 #include "llvm/Object/ELFObjectFile.h"
1617 #include "llvm/Object/MachO.h"
17 #include "llvm/Object/ELFObjectFile.h"
1818 #include "llvm/Support/raw_ostream.h"
1919 #include
2020
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/ADT/APFloat.h"
14 #include "llvm/ADT/STLExtras.h"
1415 #include "llvm/ADT/SmallString.h"
15 #include "llvm/ADT/STLExtras.h"
1616 #include "llvm/ADT/StringMap.h"
1717 #include "llvm/ADT/Twine.h"
1818 #include "llvm/MC/MCAsmInfo.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/MC/MCRelocationInfo.h"
10 #include "llvm-c/Disassembler.h"
1011 #include "llvm/Object/ObjectFile.h"
1112 #include "llvm/Support/TargetRegistry.h"
12 #include "llvm-c/Disassembler.h"
1313
1414 using namespace llvm;
1515
1212
1313 #include "llvm/Object/Binary.h"
1414 #include "llvm/ADT/StringRef.h"
15 #include "llvm/Support/FileSystem.h"
1516 #include "llvm/Support/MemoryBuffer.h"
16 #include "llvm/Support/FileSystem.h"
1717 #include "llvm/Support/Path.h"
1818
1919 // Include headers for createBinary.
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Object/MachOUniversal.h"
14
1514 #include "llvm/Object/MachO.h"
1615 #include "llvm/Object/ObjectFile.h"
1716 #include "llvm/Support/Casting.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/ADT/SmallVector.h"
15 #include "llvm-c/Object.h"
1516 #include "llvm/Object/ObjectFile.h"
16 #include "llvm-c/Object.h"
1717
1818 using namespace llvm;
1919 using namespace object;
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/Support/DynamicLibrary.h"
16 #include "llvm/Support/ManagedStatic.h"
16 #include "llvm-c/Support.h"
1717 #include "llvm/ADT/DenseSet.h"
1818 #include "llvm/ADT/StringMap.h"
1919 #include "llvm/Config/config.h"
20 #include "llvm/Support/ManagedStatic.h"
2021 #include "llvm/Support/Mutex.h"
21 #include "llvm-c/Support.h"
2222 #include
2323 #include
2424
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/Support/ErrorHandling.h"
15 #include "llvm-c/Core.h"
1516 #include "llvm/ADT/SmallVector.h"
1617 #include "llvm/ADT/Twine.h"
1718 #include "llvm/Config/config.h"
1920 #include "llvm/Support/Signals.h"
2021 #include "llvm/Support/Threading.h"
2122 #include "llvm/Support/raw_ostream.h"
22 #include "llvm-c/Core.h"
2323 #include
2424 #include
2525
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/Support/PrettyStackTrace.h"
15 #include "llvm-c/Core.h"
1516 #include "llvm/ADT/SmallString.h"
1617 #include "llvm/Config/config.h" // Get autoconf configuration settings
1718 #include "llvm/Support/ManagedStatic.h"
1920 #include "llvm/Support/ThreadLocal.h"
2021 #include "llvm/Support/Watchdog.h"
2122 #include "llvm/Support/raw_ostream.h"
22 #include "llvm-c/Core.h"
2323
2424 #ifdef HAVE_CRASHREPORTERCLIENT_H
2525 #include
1616 //===----------------------------------------------------------------------===//
1717
1818 #include "llvm/ADT/STLExtras.h"
19 #include "Windows.h"
2019 #include
2120 #include
2221 #include
2322 #include
23
24 // The Windows.h header must be the last one included.
25 #include "Windows.h"
2426
2527 #undef max
2628
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Support/Allocator.h"
14
15 #include "Windows.h"
1614 #include
1715 #include
1816 #include
1917 #include
2018 #include
19
20 // The Windows.h header must be the last one included.
21 #include "Windows.h"
2122
2223 #ifdef __MINGW32__
2324 #if (HAVE_LIBPSAPI != 1)
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Support/FileSystem.h"
14
15 #include "Windows.h"
1614 #include
1715 #include
1816 #include
2321 #include
2422 #endif
2523 #include
24
25 // The Windows.h header must be the last one included.
26 #include "Windows.h"
2627
2728 #ifdef _MSC_VER
2829 #pragma comment(lib, "psapi.lib")
1313 #include "llvm/Support/Format.h"
1414 #include "llvm/Support/YAMLParser.h"
1515 #include "llvm/Support/raw_ostream.h"
16 #include
1617 #include
17 #include
1818 using namespace llvm;
1919 using namespace yaml;
2020
1414 #define DEBUG_TYPE "asm-printer"
1515 #include "AArch64AsmPrinter.h"
1616 #include "InstPrinter/AArch64InstPrinter.h"
17 #include "llvm/DebugInfo.h"
1817 #include "llvm/ADT/SmallString.h"
1918 #include "llvm/CodeGen/MachineModuleInfoImpls.h"
2019 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
20 #include "llvm/DebugInfo.h"
2121 #include "llvm/MC/MCAsmInfo.h"
2222 #include "llvm/MC/MCInst.h"
2323 #include "llvm/MC/MCSymbol.h"
1515 #include "AArch64.h"
1616 #include "AArch64InstrInfo.h"
1717 #include "Utils/AArch64BaseInfo.h"
18 #include "llvm/ADT/Statistic.h"
1819 #include "llvm/CodeGen/MachineFunctionPass.h"
1920 #include "llvm/CodeGen/MachineInstrBuilder.h"
2021 #include "llvm/CodeGen/MachineRegisterInfo.h"
2122 #include "llvm/Support/Debug.h"
2223 #include "llvm/Support/Format.h"
2324 #include "llvm/Support/raw_ostream.h"
24 #include "llvm/ADT/Statistic.h"
2525 using namespace llvm;
2626
2727 STATISTIC(NumSplit, "Number of uncond branches inserted");
1212
1313 #include "AArch64.h"
1414 #include "AArch64FrameLowering.h"
15 #include "AArch64InstrInfo.h"
1516 #include "AArch64MachineFunctionInfo.h"
16 #include "AArch64InstrInfo.h"
1717 #include "llvm/CodeGen/MachineFrameInfo.h"
1818 #include "llvm/CodeGen/MachineFunction.h"
1919 #include "llvm/CodeGen/MachineInstrBuilder.h"
1717 #include "Utils/AArch64BaseInfo.h"
1818 #include "llvm/CodeGen/CallingConvLower.h"
1919 #include "llvm/CodeGen/SelectionDAG.h"
20 #include "llvm/IR/Intrinsics.h"
2021 #include "llvm/Target/TargetLowering.h"
21 #include "llvm/IR/Intrinsics.h"
2222
2323 namespace llvm {
2424 namespace AArch64ISD {
2525 #include "llvm/IR/Function.h"
2626 #include "llvm/Support/ErrorHandling.h"
2727 #include "llvm/Support/TargetRegistry.h"
28
2928 #include
3029
3130 #define GET_INSTRINFO_CTOR_DTOR
1313 #ifndef LLVM_TARGET_AARCH64INSTRINFO_H
1414 #define LLVM_TARGET_AARCH64INSTRINFO_H
1515
16 #include "AArch64RegisterInfo.h"
1617 #include "llvm/Target/TargetInstrInfo.h"
17 #include "AArch64RegisterInfo.h"
1818
1919 #define GET_INSTRINFO_HEADER
2020 #include "AArch64GenInstrInfo.inc"
1717 #include "AArch64MachineFunctionInfo.h"
1818 #include "AArch64TargetMachine.h"
1919 #include "MCTargetDesc/AArch64MCTargetDesc.h"
20 #include "llvm/ADT/BitVector.h"
2021 #include "llvm/CodeGen/MachineFrameInfo.h"
2122 #include "llvm/CodeGen/MachineInstrBuilder.h"
2223 #include "llvm/CodeGen/MachineRegisterInfo.h"
2324 #include "llvm/CodeGen/RegisterScavenging.h"
24 #include "llvm/ADT/BitVector.h"
2525
2626 #define GET_REGINFO_TARGET_DESC
2727 #include "AArch64GenRegisterInfo.inc"
1313 #include "AArch64Subtarget.h"
1414 #include "AArch64RegisterInfo.h"
1515 #include "MCTargetDesc/AArch64MCTargetDesc.h"
16 #include "llvm/ADT/SmallVector.h"
1617 #include "llvm/IR/GlobalValue.h"
18 #include "llvm/Support/CommandLine.h"
1719 #include "llvm/Target/TargetSubtargetInfo.h"
18 #include "llvm/Support/CommandLine.h"
19 #include "llvm/ADT/SmallVector.h"
2020
2121 #define GET_SUBTARGETINFO_TARGET_DESC
2222 #define GET_SUBTARGETINFO_CTOR
1515 #include "AArch64.h"
1616 #include "AArch64TargetMachine.h"
1717 #include "MCTargetDesc/AArch64MCTargetDesc.h"
18 #include "llvm/CodeGen/Passes.h"
1819 #include "llvm/PassManager.h"
19 #include "llvm/CodeGen/Passes.h"
2020 #include "llvm/Support/TargetRegistry.h"
2121
2222 using namespace llvm;
1414 #define LLVM_TARGET_AARCH64_TARGETOBJECTFILE_H
1515
1616 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
17 #include "llvm/Target/TargetLoweringObjectFile.h"
1718 #include "llvm/Target/TargetMachine.h"
18 #include "llvm/Target/TargetLoweringObjectFile.h"
1919
2020 namespace llvm {
2121
1717 #include "Utils/AArch64BaseInfo.h"
1818 #include "llvm/ADT/APFloat.h"
1919 #include "llvm/ADT/APInt.h"
20 #include "llvm/ADT/STLExtras.h"
2021 #include "llvm/ADT/StringSwitch.h"
21 #include "llvm/ADT/STLExtras.h"
2222 #include "llvm/MC/MCContext.h"
23 #include "llvm/MC/MCExpr.h"
2324 #include "llvm/MC/MCInst.h"
24 #include "llvm/MC/MCSubtargetInfo.h"
25 #include "llvm/MC/MCTargetAsmParser.h"
26 #include "llvm/MC/MCExpr.h"
27 #include "llvm/MC/MCRegisterInfo.h"
28 #include "llvm/MC/MCStreamer.h"
2925 #include "llvm/MC/MCParser/MCAsmLexer.h"
3026 #include "llvm/MC/MCParser/MCAsmParser.h"
3127 #include "llvm/MC/MCParser/MCParsedAsmOperand.h"
28 #include "llvm/MC/MCRegisterInfo.h"
29 #include "llvm/MC/MCStreamer.h"
30 #include "llvm/MC/MCSubtargetInfo.h"
31 #include "llvm/MC/MCTargetAsmParser.h"
3232 #include "llvm/Support/ErrorHandling.h"
33 #include "llvm/Support/TargetRegistry.h"
3334 #include "llvm/Support/raw_ostream.h"
34 #include "llvm/Support/TargetRegistry.h"
3535
3636 using namespace llvm;
3737
1818 #include "AArch64RegisterInfo.h"
1919 #include "AArch64Subtarget.h"
2020 #include "Utils/AArch64BaseInfo.h"
21 #include "llvm/MC/MCContext.h"
22 #include "llvm/MC/MCDisassembler.h"
23 #include "llvm/MC/MCExpr.h"
24 #include "llvm/MC/MCFixedLenDisassembler.h"
2125 #include "llvm/MC/MCInst.h"
2226 #include "llvm/MC/MCInstrDesc.h"
23 #include "llvm/MC/MCExpr.h"
24 #include "llvm/MC/MCContext.h"
25 #include "llvm/MC/MCDisassembler.h"
26 #include "llvm/MC/MCFixedLenDisassembler.h"
2727 #include "llvm/Support/Debug.h"
28 #include "llvm/Support/ErrorHandling.h"
2829 #include "llvm/Support/MemoryObject.h"
29 #include "llvm/Support/ErrorHandling.h"
3030 #include "llvm/Support/TargetRegistry.h"
3131 #include "llvm/Support/raw_ostream.h"
3232
1414 #include "AArch64InstPrinter.h"
1515 #include "MCTargetDesc/AArch64MCTargetDesc.h"
1616 #include "Utils/AArch64BaseInfo.h"
17 #include "llvm/MC/MCExpr.h"
1718 #include "llvm/MC/MCInst.h"
18 #include "llvm/MC/MCExpr.h"
1919 #include "llvm/MC/MCRegisterInfo.h"
2020 #include "llvm/Support/ErrorHandling.h"
2121 #include "llvm/Support/Format.h"
1414 #include "MCTargetDesc/AArch64FixupKinds.h"
1515 #include "MCTargetDesc/AArch64MCTargetDesc.h"
1616 #include "llvm/MC/MCAsmBackend.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
1817 #include "llvm/MC/MCELFObjectWriter.h"
1918 #include "llvm/MC/MCFixupKindInfo.h"
2019 #include "llvm/MC/MCObjectWriter.h"
20 #include "llvm/MC/MCSubtargetInfo.h"
2121 #include "llvm/Support/ELF.h"
2222 #include "llvm/Support/ErrorHandling.h"
2323 #include "llvm/Support/raw_ostream.h"
1313
1414 #define DEBUG_TYPE "aarch64mcexpr"
1515 #include "AArch64MCExpr.h"
16 #include "llvm/MC/MCAssembler.h"
1617 #include "llvm/MC/MCContext.h"
17 #include "llvm/MC/MCAssembler.h"
1818 #include "llvm/MC/MCELF.h"
1919 #include "llvm/Object/ELF.h"
2020
2121 #include "llvm/MC/MCRegisterInfo.h"
2222 #include "llvm/MC/MCStreamer.h"
2323 #include "llvm/MC/MCSubtargetInfo.h"
24 #include "llvm/Support/ErrorHandling.h"
2425 #include "llvm/Support/TargetRegistry.h"
25 #include "llvm/Support/ErrorHandling.h"
2626
2727 #define GET_REGINFO_MC_DESC
2828 #include "AArch64GenRegisterInfo.inc"
1616 #ifndef LLVM_AARCH64_BASEINFO_H
1717 #define LLVM_AARCH64_BASEINFO_H
1818
19 #include "llvm/ADT/STLExtras.h"
1920 #include "llvm/ADT/StringSwitch.h"
20 #include "llvm/ADT/STLExtras.h"
2121 #include "llvm/Support/ErrorHandling.h"
2222
2323 namespace llvm {
2626 #define DEBUG_TYPE "a15-sd-optimizer"
2727 #include "ARM.h"
2828 #include "ARMBaseInstrInfo.h"
29 #include "ARMISelLowering.h"
2930 #include "ARMSubtarget.h"
30 #include "ARMISelLowering.h"
3131 #include "ARMTargetMachine.h"
32
3332 #include "llvm/ADT/SmallPtrSet.h"
3433 #include "llvm/ADT/Statistic.h"
3534 #include "llvm/CodeGen/MachineFunctionPass.h"
4039 #include "llvm/Support/Debug.h"
4140 #include "llvm/Support/raw_ostream.h"
4241 #include "llvm/Target/TargetRegisterInfo.h"
43
4442 #include
4543
4644 using namespace llvm;
1414 #include "ARMBaseInstrInfo.h"
1515 #include "ARMBaseRegisterInfo.h"
1616 #include "llvm/IR/Attributes.h"
17 #include "llvm/IR/Function.h"
1718 #include "llvm/IR/GlobalValue.h"
18 #include "llvm/IR/Function.h"
1919 #include "llvm/Support/CommandLine.h"
2020 #include "llvm/Target/TargetInstrInfo.h"
2121 #include "llvm/Target/TargetOptions.h"
1818 #include "ARMTargetMachine.h"
1919 #include "llvm/Analysis/TargetTransformInfo.h"
2020 #include "llvm/Support/Debug.h"
21 #include "llvm/Target/CostTable.h"
2122 #include "llvm/Target/TargetLowering.h"
22 #include "llvm/Target/CostTable.h"
2323 using namespace llvm;
2424
2525 // Declare the pass initialization routine locally as target-specific passes
88
99 #include "ARMFPUName.h"
1010 #include "ARMFeatures.h"
11 #include "llvm/MC/MCTargetAsmParser.h"
1211 #include "MCTargetDesc/ARMAddressingModes.h"
13 #include "MCTargetDesc/ARMBuildAttrs.h"
1412 #include "MCTargetDesc/ARMArchName.h"
1513 #include "MCTargetDesc/ARMBaseInfo.h"
14 #include "MCTargetDesc/ARMBuildAttrs.h"
1615 #include "MCTargetDesc/ARMMCExpr.h"
1716 #include "llvm/ADT/BitVector.h"
1817 #include "llvm/ADT/MapVector.h"
3130 #include "llvm/MC/MCInst.h"
3231 #include "llvm/MC/MCInstrDesc.h"
3332 #include "llvm/MC/MCInstrInfo.h"
34 #include "llvm/MC/MCSection.h"
3533 #include "llvm/MC/MCParser/MCAsmLexer.h"
3634 #include "llvm/MC/MCParser/MCAsmParser.h"
3735 #include "llvm/MC/MCParser/MCParsedAsmOperand.h"
3836 #include "llvm/MC/MCRegisterInfo.h"
37 #include "llvm/MC/MCSection.h"
3938 #include "llvm/MC/MCStreamer.h"
4039 #include "llvm/MC/MCSubtargetInfo.h"
4140 #include "llvm/MC/MCSymbol.h"
41 #include "llvm/MC/MCTargetAsmParser.h"
4242 #include "llvm/Support/Debug.h"
4343 #include "llvm/Support/ELF.h"
4444 #include "llvm/Support/MathExtras.h"
88
99 #include "MCTargetDesc/ARMMCTargetDesc.h"
1010 #include "ARMMCExpr.h"
11 #include "llvm-c/Disassembler.h"
1112 #include "llvm/MC/MCContext.h"
1213 #include "llvm/MC/MCExpr.h"
1314 #include "llvm/MC/MCRelocationInfo.h"
14 #include "llvm-c/Disassembler.h"
1515
1616 using namespace llvm;
1717 using namespace object;
1616 #include "Hexagon.h"
1717 #include "HexagonAsmPrinter.h"
1818 #include "HexagonMachineFunctionInfo.h"
19 #include "HexagonSubtarget.h"
1920 #include "HexagonTargetMachine.h"
20 #include "HexagonSubtarget.h"
21 #include "InstPrinter/HexagonInstPrinter.h"
2122 #include "MCTargetDesc/HexagonMCInst.h"
22 #include "InstPrinter/HexagonInstPrinter.h"
2323 #include "llvm/ADT/SmallString.h"
2424 #include "llvm/ADT/SmallVector.h"
2525 #include "llvm/ADT/StringExtras.h"
1313 #define DEBUG_TYPE "hexagon-copy-combine"
1414
1515 #include "llvm/PassSupport.h"
16 #include "Hexagon.h"
17 #include "HexagonInstrInfo.h"
18 #include "HexagonMachineFunctionInfo.h"
19 #include "HexagonRegisterInfo.h"
20 #include "HexagonSubtarget.h"
21 #include "HexagonTargetMachine.h"
22 #include "llvm/ADT/DenseMap.h"
1623 #include "llvm/ADT/DenseSet.h"
17 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/CodeGen/Passes.h"
1924 #include "llvm/CodeGen/MachineBasicBlock.h"
2025 #include "llvm/CodeGen/MachineFunction.h"
2126 #include "llvm/CodeGen/MachineFunctionPass.h"
2227 #include "llvm/CodeGen/MachineInstr.h"
2328 #include "llvm/CodeGen/MachineInstrBuilder.h"
24 #include "llvm/Target/TargetRegisterInfo.h"
29 #include "llvm/CodeGen/Passes.h"
2530 #include "llvm/Support/CodeGen.h"
2631 #include "llvm/Support/CommandLine.h"
2732 #include "llvm/Support/Debug.h"
2833 #include "llvm/Support/raw_ostream.h"
29
30 #include "Hexagon.h"
31 #include "HexagonInstrInfo.h"
32 #include "HexagonRegisterInfo.h"
33 #include "HexagonSubtarget.h"
34 #include "HexagonTargetMachine.h"
35 #include "HexagonMachineFunctionInfo.h"
34 #include "llvm/Target/TargetRegisterInfo.h"
3635
3736 using namespace llvm;
3837
1414
1515
1616 #include "llvm/ADT/DenseMap.h"
17 #include "Hexagon.h"
18 #include "HexagonTargetMachine.h"
1719 #include "llvm/CodeGen/MachineFunction.h"
1820 #include "llvm/CodeGen/MachineFunctionPass.h"
1921 #include "llvm/CodeGen/MachineInstrBuilder.h"
2123 #include "llvm/CodeGen/RegisterScavenging.h"
2224 #include "llvm/PassSupport.h"
2325 #include "llvm/Target/TargetInstrInfo.h"
24 #include "Hexagon.h"
25 #include "HexagonTargetMachine.h"
2626
2727 using namespace llvm;
2828
2727
2828 #define DEBUG_TYPE "hwloops"
2929 #include "llvm/ADT/SmallSet.h"
30 #include "Hexagon.h"
31 #include "HexagonTargetMachine.h"
3032 #include "llvm/ADT/Statistic.h"
3133 #include "llvm/CodeGen/MachineDominators.h"
3234 #include "llvm/CodeGen/MachineFunction.h"
3941 #include "llvm/Support/Debug.h"
4042 #include "llvm/Support/raw_ostream.h"
4143 #include "llvm/Target/TargetInstrInfo.h"
42 #include "Hexagon.h"
43 #include "HexagonTargetMachine.h"
44
4544 #include
4645 #include
4746
1515 #include "HexagonISelLowering.h"
1616 #include "HexagonTargetMachine.h"
1717 #include "llvm/ADT/DenseMap.h"
18 #include "llvm/CodeGen/SelectionDAGISel.h"
1819 #include "llvm/IR/Intrinsics.h"
19 #include "llvm/CodeGen/SelectionDAGISel.h"
2020 #include "llvm/Support/CommandLine.h"
2121 #include "llvm/Support/Compiler.h"
2222 #include "llvm/Support/Debug.h"
1515
1616 #include "HexagonRegisterInfo.h"
1717 #include "MCTargetDesc/HexagonBaseInfo.h"
18 #include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
19 #include "llvm/Target/TargetFrameLowering.h"
1820 #include "llvm/Target/TargetInstrInfo.h"
19 #include "llvm/Target/TargetFrameLowering.h"
20 #include "llvm/CodeGen/MachineBranchProbabilityInfo.h"
2121
2222 #define GET_INSTRINFO_HEADER
2323 #include "HexagonGenInstrInfo.inc"
99 #ifndef HexagonMACHINEFUNCTIONINFO_H
1010 #define HexagonMACHINEFUNCTIONINFO_H
1111
12 #include "llvm/CodeGen/MachineFunction.h"
1213 #include
13 #include "llvm/CodeGen/MachineFunction.h"
1414
1515 namespace llvm {
1616
2222 //===----------------------------------------------------------------------===//
2323 #define DEBUG_TYPE "hexagon-nvj"
2424 #include "llvm/PassSupport.h"
25 #include "Hexagon.h"
26 #include "HexagonInstrInfo.h"
27 #include "HexagonMachineFunctionInfo.h"
28 #include "HexagonRegisterInfo.h"
29 #include "HexagonSubtarget.h"
30 #include "HexagonTargetMachine.h"
31 #include "llvm/ADT/DenseMap.h"
32 #include "llvm/ADT/Statistic.h"
33 #include "llvm/CodeGen/LiveVariables.h"
34 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
35 #include "llvm/CodeGen/MachineFunctionPass.h"
36 #include "llvm/CodeGen/MachineInstrBuilder.h"
37 #include "llvm/CodeGen/MachineRegisterInfo.h"
38 #include "llvm/CodeGen/Passes.h"
39 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
40 #include "llvm/Support/CommandLine.h"
2541 #include "llvm/Support/Compiler.h"
2642 #include "llvm/Support/Debug.h"
27 #include "llvm/ADT/DenseMap.h"
28 #include "llvm/ADT/Statistic.h"
29 #include "llvm/CodeGen/Passes.h"
30 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
31 #include "llvm/CodeGen/MachineInstrBuilder.h"
32 #include "llvm/CodeGen/MachineFunctionPass.h"
33 #include "llvm/CodeGen/LiveVariables.h"
34 #include "llvm/CodeGen/MachineRegisterInfo.h"
35 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
43 #include "llvm/Target/TargetInstrInfo.h"
3644 #include "llvm/Target/TargetMachine.h"
37 #include "llvm/Target/TargetInstrInfo.h"
3845 #include "llvm/Target/TargetRegisterInfo.h"
39 #include "Hexagon.h"
40 #include "HexagonTargetMachine.h"
41 #include "HexagonRegisterInfo.h"
42 #include "HexagonSubtarget.h"
43 #include "HexagonInstrInfo.h"
44 #include "HexagonMachineFunctionInfo.h"
45
4646 #include
47
48 #include "llvm/Support/CommandLine.h"
4947 using namespace llvm;
5048
5149 STATISTIC(NumNVJGenerated, "Number of New Value Jump Instructions created");
1313
1414 #include "HexagonRegisterInfo.h"
1515 #include "Hexagon.h"
16 #include "HexagonMachineFunctionInfo.h"
1617 #include "HexagonSubtarget.h"
1718 #include "HexagonTargetMachine.h"
18 #include "HexagonMachineFunctionInfo.h"
1919 #include "llvm/ADT/BitVector.h"
2020 #include "llvm/ADT/STLExtras.h"
21 #include "llvm/CodeGen/MachineInstrBuilder.h"
21 #include "llvm/CodeGen/MachineFrameInfo.h"
2222 #include "llvm/CodeGen/MachineFunction.h"
2323 #include "llvm/CodeGen/MachineFunctionPass.h"
24 #include "llvm/CodeGen/MachineFrameInfo.h"
24 #include "llvm/CodeGen/MachineInstrBuilder.h"
2525 #include "llvm/CodeGen/MachineRegisterInfo.h"
2626 #include "llvm/CodeGen/PseudoSourceValue.h"
2727 #include "llvm/CodeGen/RegisterScavenging.h"
2828 #include "llvm/IR/Function.h"
2929 #include "llvm/IR/Type.h"
3030 #include "llvm/MC/MachineLocation.h"
31 #include "llvm/Support/CommandLine.h"
32 #include "llvm/Support/ErrorHandling.h"
3133 #include "llvm/Target/TargetInstrInfo.h"
3234 #include "llvm/Target/TargetMachine.h"
3335 #include "llvm/Target/TargetOptions.h"
34 #include "llvm/Support/CommandLine.h"
35 #include "llvm/Support/ErrorHandling.h"
3636
3737 using namespace llvm;
3838
1919 #define DEBUG_TYPE "xfer"
2020
2121 #include "HexagonTargetMachine.h"
22 #include "HexagonMachineFunctionInfo.h"
2223 #include "HexagonSubtarget.h"
23 #include "HexagonMachineFunctionInfo.h"
2424 #include "llvm/ADT/Statistic.h"
2525 #include "llvm/CodeGen/LatencyPriorityQueue.h"
2626 #include "llvm/CodeGen/MachineDominators.h"
3232 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
3333 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
3434 #include "llvm/CodeGen/SchedulerRegistry.h"
35 #include "llvm/Target/TargetMachine.h"
36 #include "llvm/Target/TargetInstrInfo.h"
37 #include "llvm/Target/TargetRegisterInfo.h"
35 #include "llvm/Support/CommandLine.h"
3836 #include "llvm/Support/Compiler.h"
3937 #include "llvm/Support/Debug.h"
40 #include "llvm/Support/CommandLine.h"
4138 #include "llvm/Support/MathExtras.h"
39 #include "llvm/Target/TargetInstrInfo.h"
40 #include "llvm/Target/TargetMachine.h"
41 #include "llvm/Target/TargetRegisterInfo.h"
4242 #include
4343
4444 using namespace llvm;
1717 //===----------------------------------------------------------------------===//
1818 #define DEBUG_TYPE "packets"
1919 #include "llvm/CodeGen/DFAPacketizer.h"
20 #include "Hexagon.h"
21 #include "HexagonMachineFunctionInfo.h"
22 #include "HexagonRegisterInfo.h"
23 #include "HexagonSubtarget.h"
24 #include "HexagonTargetMachine.h"
25 #include "llvm/ADT/DenseMap.h"
26 #include "llvm/ADT/Statistic.h"
27 #include "llvm/CodeGen/LatencyPriorityQueue.h"
28 #include "llvm/CodeGen/MachineDominators.h"
29 #include "llvm/CodeGen/MachineFrameInfo.h"
30 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
31 #include "llvm/CodeGen/MachineFunctionPass.h"
32 #include "llvm/CodeGen/MachineInstrBuilder.h"
33 #include "llvm/CodeGen/MachineLoopInfo.h"
34 #include "llvm/CodeGen/MachineRegisterInfo.h"
2035 #include "llvm/CodeGen/Passes.h"
21 #include "llvm/CodeGen/MachineDominators.h"
22 #include "llvm/CodeGen/MachineFunctionPass.h"
23 #include "llvm/CodeGen/MachineLoopInfo.h"
2436 #include "llvm/CodeGen/ScheduleDAG.h"
2537 #include "llvm/CodeGen/ScheduleDAGInstrs.h"
26 #include "llvm/CodeGen/LatencyPriorityQueue.h"
38 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
2739 #include "llvm/CodeGen/SchedulerRegistry.h"
28 #include "llvm/CodeGen/MachineFrameInfo.h"
29 #include "llvm/CodeGen/MachineInstrBuilder.h"
30 #include "llvm/CodeGen/MachineRegisterInfo.h"
31 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
32 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
40 #include "llvm/MC/MCInstrItineraries.h"
41 #include "llvm/Support/CommandLine.h"
42 #include "llvm/Support/Compiler.h"
43 #include "llvm/Support/Debug.h"
44 #include "llvm/Support/MathExtras.h"
45 #include "llvm/Target/TargetInstrInfo.h"
3346 #include "llvm/Target/TargetMachine.h"
34 #include "llvm/Target/TargetInstrInfo.h"
3547 #include "llvm/Target/TargetRegisterInfo.h"
36 #include "llvm/ADT/DenseMap.h"
37 #include "llvm/ADT/Statistic.h"
38 #include "llvm/Support/MathExtras.h"
39 #include "llvm/MC/MCInstrItineraries.h"
40 #include "llvm/Support/Compiler.h"
41 #include "llvm/Support/CommandLine.h"
42 #include "llvm/Support/Debug.h"
43 #include "Hexagon.h"
44 #include "HexagonTargetMachine.h"
45 #include "HexagonRegisterInfo.h"
46 #include "HexagonSubtarget.h"
47 #include "HexagonMachineFunctionInfo.h"
48
4948 #include
5049 #include
5150
1515 #include "Hexagon.h"
1616 #include "HexagonInstPrinter.h"
1717 #include "MCTargetDesc/HexagonMCInst.h"
18 #include "llvm/MC/MCInst.h"
1918 #include "llvm/ADT/StringExtras.h"
2019 #include "llvm/MC/MCAsmInfo.h"
2120 #include "llvm/MC/MCExpr.h"
21 #include "llvm/MC/MCInst.h"
2222 #include "llvm/Support/raw_ostream.h"
2323
2424 using namespace llvm;
1313 #include "HexagonMCTargetDesc.h"
1414 #include "HexagonMCAsmInfo.h"
1515 #include "InstPrinter/HexagonInstPrinter.h"
16 #include "llvm/MC/MachineLocation.h"
1716 #include "llvm/MC/MCCodeGenInfo.h"
1817 #include "llvm/MC/MCInstrInfo.h"
1918 #include "llvm/MC/MCRegisterInfo.h"
2019 #include "llvm/MC/MCStreamer.h"
2120 #include "llvm/MC/MCSubtargetInfo.h"
21 #include "llvm/MC/MachineLocation.h"
2222 #include "llvm/Support/ErrorHandling.h"
2323 #include "llvm/Support/TargetRegistry.h"
2424
99 #include "MCTargetDesc/MipsMCTargetDesc.h"
1010 #include "MipsRegisterInfo.h"
1111 #include "MipsTargetStreamer.h"
12 #include "llvm/ADT/APInt.h"
1213 #include "llvm/ADT/StringSwitch.h"
1314 #include "llvm/MC/MCContext.h"
1415 #include "llvm/MC/MCExpr.h"
1920 #include "llvm/MC/MCSubtargetInfo.h"
2021 #include "llvm/MC/MCSymbol.h"
2122 #include "llvm/MC/MCTargetAsmParser.h"
23 #include "llvm/Support/MathExtras.h"
2224 #include "llvm/Support/TargetRegistry.h"
23 #include "llvm/ADT/APInt.h"
24 #include "llvm/Support/MathExtras.h"
2525
2626 using namespace llvm;
2727
2222 #include "llvm/MC/MCObjectWriter.h"
2323 #include "llvm/MC/MCSubtargetInfo.h"
2424 #include "llvm/Support/ErrorHandling.h"
25 #include "llvm/Support/MathExtras.h"
2526 #include "llvm/Support/raw_ostream.h"
26 #include "llvm/Support/MathExtras.h"
2727
2828 using namespace llvm;
2929
1414 #include "llvm/MC/MCELF.h"
1515 #include "llvm/MC/MCSymbol.h"
1616 #include "llvm/Support/CommandLine.h"
17 #include "llvm/Support/ELF.h"
1718 #include "llvm/Support/ErrorHandling.h"
1819 #include "llvm/Support/FormattedStream.h"
19 #include "llvm/Support/ELF.h"
2020
2121 using namespace llvm;
2222
1212
1313 #define DEBUG_TYPE "mips16-hard-float"
1414 #include "Mips16HardFloat.h"
15 #include "llvm/IR/Module.h"
1516 #include "llvm/IR/Value.h"
16 #include "llvm/IR/Module.h"
1717 #include "llvm/Support/Debug.h"
1818 #include "llvm/Support/raw_ostream.h"
1919 #include
1212
1313 #define DEBUG_TYPE "mips-isel"
1414 #include "Mips16ISelDAGToDAG.h"
15 #include "MCTargetDesc/MipsBaseInfo.h"
1516 #include "Mips.h"
16 #include "MCTargetDesc/MipsBaseInfo.h"
1717 #include "MipsAnalyzeImmediate.h"
1818 #include "MipsMachineFunction.h"
1919 #include "MipsRegisterInfo.h"
1111 //===----------------------------------------------------------------------===//
1212 #define DEBUG_TYPE "mips-lower"
1313 #include "Mips16ISelLowering.h"
14 #include "MCTargetDesc/MipsBaseInfo.h"
1415 #include "MipsRegisterInfo.h"
1516 #include "MipsTargetMachine.h"
16 #include "MCTargetDesc/MipsBaseInfo.h"
1717 #include "llvm/CodeGen/MachineInstrBuilder.h"
1818 #include "llvm/Support/CommandLine.h"
1919 #include "llvm/Target/TargetInstrInfo.h"
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "Mips16RegisterInfo.h"
14 #include "Mips16InstrInfo.h"
1514 #include "Mips.h"
1615 #include "Mips16InstrInfo.h"
1716 #include "MipsAnalyzeImmediate.h"
2323 #include "llvm/CodeGen/MachineConstantPool.h"
2424 #include "llvm/CodeGen/MachineFunctionPass.h"
2525 #include "llvm/CodeGen/MachineInstr.h"
26 #include "llvm/CodeGen/MachineInstrBuilder.h"
2627 #include "llvm/CodeGen/MachineJumpTableInfo.h"
27 #include "llvm/CodeGen/MachineInstrBuilder.h"
2828 #include "llvm/CodeGen/MachineModuleInfo.h"
2929 #include "llvm/CodeGen/MachineOperand.h"
3030 #include "llvm/CodeGen/Passes.h"
3535 #include "llvm/IR/Function.h"
3636 #include "llvm/Support/CommandLine.h"
3737 #include "llvm/Support/Debug.h"
38 #include "llvm/Support/Format.h"
3839 #include "llvm/Support/InstIterator.h"
3940 #include "llvm/Support/MathExtras.h"
4041 #include "llvm/Support/raw_ostream.h"
4142 #include "llvm/Target/TargetInstrInfo.h"
4243 #include "llvm/Target/TargetMachine.h"
4344 #include "llvm/Target/TargetRegisterInfo.h"
44 #include "llvm/Support/Format.h"
4545 #include
4646
4747 using namespace llvm;
1212
1313 #define DEBUG_TYPE "mips-isel"
1414 #include "MipsISelDAGToDAG.h"
15 #include "MCTargetDesc/MipsBaseInfo.h"
16 #include "Mips.h"
1517 #include "Mips16ISelDAGToDAG.h"
16 #include "MipsSEISelDAGToDAG.h"
17 #include "Mips.h"
18 #include "MCTargetDesc/MipsBaseInfo.h"
1918 #include "MipsMachineFunction.h"
2019 #include "MipsRegisterInfo.h"
20 #include "MipsSEISelDAGToDAG.h"
2121 #include "llvm/CodeGen/MachineConstantPool.h"
2222 #include "llvm/CodeGen/MachineFrameInfo.h"
2323 #include "llvm/CodeGen/MachineFunction.h"
1414 #ifndef MipsISELLOWERING_H
1515 #define MipsISELLOWERING_H
1616
17 #include "MCTargetDesc/MipsBaseInfo.h"
1718 #include "Mips.h"
1819 #include "MipsSubtarget.h"
19 #include "MCTargetDesc/MipsBaseInfo.h"
2020 #include "llvm/CodeGen/CallingConvLower.h"
2121 #include "llvm/CodeGen/SelectionDAG.h"
2222 #include "llvm/IR/Function.h"
1414 #define DEBUG_TYPE "optimize-mips-pic-call"
1515
1616 #include "Mips.h"
17 #include "MCTargetDesc/MipsBaseInfo.h"
18 #include "MipsMachineFunction.h"
1719 #include "MipsTargetMachine.h"
18 #include "MipsMachineFunction.h"
19 #include "MCTargetDesc/MipsBaseInfo.h"
2020 #include "llvm/ADT/ScopedHashTable.h"
2121 #include "llvm/CodeGen/MachineDominators.h"
2222 #include "llvm/CodeGen/MachineRegisterInfo.h"
1212
1313 #define DEBUG_TYPE "mips-isel"
1414 #include "MipsSEISelDAGToDAG.h"
15 #include "MCTargetDesc/MipsBaseInfo.h"
1516 #include "Mips.h"
16 #include "MCTargetDesc/MipsBaseInfo.h"
1717 #include "MipsAnalyzeImmediate.h"
1818 #include "MipsMachineFunction.h"
1919 #include "MipsRegisterInfo.h"
1313 #define DEBUG_TYPE "mips-subtarget"
1414
1515 #include "MipsMachineFunction.h"
16 #include "Mips.h"
17 #include "MipsRegisterInfo.h"
1618 #include "MipsSubtarget.h"
1719 #include "MipsTargetMachine.h"
18 #include "Mips.h"
19 #include "MipsRegisterInfo.h"
2020 #include "llvm/IR/Attributes.h"
2121 #include "llvm/IR/Function.h"
2222 #include "llvm/Support/CommandLine.h"
1717 #include "llvm/MC/MCInstrItineraries.h"
1818 #include "llvm/Support/ErrorHandling.h"
1919 #include "llvm/Target/TargetSubtargetInfo.h"
20
2120 #include
2221
2322 #define GET_SUBTARGETINFO_HEADER
1212
1313 #include "MipsTargetMachine.h"
1414 #include "Mips.h"
15 #include "Mips16FrameLowering.h"
16 #include "Mips16HardFloat.h"
17 #include "Mips16ISelDAGToDAG.h"
18 #include "Mips16ISelLowering.h"
19 #include "Mips16InstrInfo.h"
1520 #include "MipsFrameLowering.h"
1621 #include "MipsInstrInfo.h"
1722 #include "MipsModuleISelDAGToDAG.h"
1823 #include "MipsOs16.h"
1924 #include "MipsSEFrameLowering.h"
25 #include "MipsSEISelDAGToDAG.h"
26 #include "MipsSEISelLowering.h"
2027 #include "MipsSEInstrInfo.h"
21 #include "MipsSEISelLowering.h"
22 #include "MipsSEISelDAGToDAG.h"
23 #include "Mips16FrameLowering.h"
24 #include "Mips16HardFloat.h"
25 #include "Mips16InstrInfo.h"
26 #include "Mips16ISelDAGToDAG.h"
27 #include "Mips16ISelLowering.h"
2828 #include "llvm/Analysis/TargetTransformInfo.h"
2929 #include "llvm/CodeGen/Passes.h"
3030 #include "llvm/PassManager.h"
3131 #include "llvm/Support/Debug.h"
32 #include "llvm/Support/TargetRegistry.h"
3233 #include "llvm/Support/raw_ostream.h"
33 #include "llvm/Support/TargetRegistry.h"
3434 #include "llvm/Transforms/Scalar.h"
3535 using namespace llvm;
3636
1212
1313 #define DEBUG_TYPE "asm-printer"
1414 #include "InstPrinter/NVPTXInstPrinter.h"
15 #include "MCTargetDesc/NVPTXBaseInfo.h"
1516 #include "NVPTX.h"
16 #include "MCTargetDesc/NVPTXBaseInfo.h"
1717 #include "llvm/MC/MCExpr.h"
1818 #include "llvm/MC/MCInst.h"
1919 #include "llvm/MC/MCInstrInfo.h"
20 #include "llvm/MC/MCSubtargetInfo.h"
2021 #include "llvm/MC/MCSymbol.h"
21 #include "llvm/MC/MCSubtargetInfo.h"
2222 #include "llvm/Support/ErrorHandling.h"
2323 #include "llvm/Support/FormattedStream.h"
2424 #include
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "NVPTXMCTargetDesc.h"
14 #include "InstPrinter/NVPTXInstPrinter.h"
1415 #include "NVPTXMCAsmInfo.h"
15 #include "InstPrinter/NVPTXInstPrinter.h"
1616 #include "llvm/MC/MCCodeGenInfo.h"
1717 #include "llvm/MC/MCInstrInfo.h"
1818 #include "llvm/MC/MCRegisterInfo.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "NVPTXAsmPrinter.h"
15 #include "InstPrinter/NVPTXInstPrinter.h"
1516 #include "MCTargetDesc/NVPTXMCAsmInfo.h"
1617 #include "NVPTX.h"
1718 #include "NVPTXInstrInfo.h"
1920 #include "NVPTXRegisterInfo.h"
2021 #include "NVPTXTargetMachine.h"
2122 #include "NVPTXUtilities.h"
22 #include "InstPrinter/NVPTXInstPrinter.h"
2323 #include "cl_common_defines.h"
2424 #include "llvm/ADT/StringExtras.h"
2525 #include "llvm/Analysis/ConstantFolding.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "NVPTX.h"
15 #include "MCTargetDesc/NVPTXBaseInfo.h"
1516 #include "NVPTXUtilities.h"
16 #include "MCTargetDesc/NVPTXBaseInfo.h"
17
18 #include "llvm/PassManager.h"
17 #include "llvm/ADT/ValueMap.h"
18 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
19 #include "llvm/CodeGen/ValueTypes.h"
1920 #include "llvm/IR/Constants.h"
2021 #include "llvm/IR/DerivedTypes.h"
22 #include "llvm/IR/IRBuilder.h"
2123 #include "llvm/IR/Instructions.h"
2224 #include "llvm/IR/Intrinsics.h"
2325 #include "llvm/IR/Module.h"
2426 #include "llvm/IR/Operator.h"
25 #include "llvm/ADT/ValueMap.h"
26 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
27 #include "llvm/CodeGen/ValueTypes.h"
28 #include "llvm/IR/IRBuilder.h"
27 #include "llvm/PassManager.h"
2928
3029 using namespace llvm;
3130
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "NVPTX.h"
16 #include "llvm/Pass.h"
1716 #include "llvm/CodeGen/MachineFrameInfo.h"
1817 #include "llvm/CodeGen/MachineFunction.h"
1918 #include "llvm/CodeGen/MachineFunctionPass.h"
19 #include "llvm/Pass.h"
20 #include "llvm/Support/Debug.h"
21 #include "llvm/Support/raw_ostream.h"
2022 #include "llvm/Target/TargetFrameLowering.h"
2123 #include "llvm/Target/TargetRegisterInfo.h"
22 #include "llvm/Support/Debug.h"
23 #include "llvm/Support/raw_ostream.h"
2424
2525 using namespace llvm;
2626
1717 #include "llvm/ADT/DenseMap.h"
1818 #include "llvm/ADT/SmallVector.h"
1919 #include "llvm/ADT/StringMap.h"
20 #include "llvm/Pass.h"
20 #include "llvm/IR/Constants.h"
21 #include "llvm/IR/DerivedTypes.h"
2122 #include "llvm/IR/Function.h"
23 #include "llvm/IR/Instructions.h"
2224 #include "llvm/IR/Module.h"
2325 #include "llvm/IR/Type.h"
24 #include "llvm/IR/DerivedTypes.h"
25 #include "llvm/IR/Instructions.h"
26 #include "llvm/IR/Constants.h"
26 #include "llvm/Pass.h"
2727 #include "llvm/Support/CommandLine.h"
2828 #include "llvm/Support/Debug.h"
2929 #include "llvm/Support/raw_os_ostream.h"
88
99 #include "MCTargetDesc/PPCMCTargetDesc.h"
1010 #include "MCTargetDesc/PPCMCExpr.h"
11 #include "llvm/MC/MCTargetAsmParser.h"
12 #include "llvm/MC/MCStreamer.h"
13 #include "llvm/MC/MCExpr.h"
14 #include "llvm/MC/MCInst.h"
15 #include "llvm/MC/MCInstrInfo.h"
16 #include "llvm/MC/MCRegisterInfo.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
18 #include "llvm/MC/MCParser/MCAsmLexer.h"
19 #include "llvm/MC/MCParser/MCAsmParser.h"
20 #include "llvm/MC/MCParser/MCParsedAsmOperand.h"
2111 #include "llvm/ADT/STLExtras.h"
2212 #include "llvm/ADT/SmallString.h"
2313 #include "llvm/ADT/SmallVector.h"
2414 #include "llvm/ADT/StringSwitch.h"
2515 #include "llvm/ADT/Twine.h"
16 #include "llvm/MC/MCExpr.h"
17 #include "llvm/MC/MCInst.h"
18 #include "llvm/MC/MCInstrInfo.h"
19 #include "llvm/MC/MCParser/MCAsmLexer.h"
20 #include "llvm/MC/MCParser/MCAsmParser.h"
21 #include "llvm/MC/MCParser/MCParsedAsmOperand.h"
22 #include "llvm/MC/MCRegisterInfo.h"
23 #include "llvm/MC/MCStreamer.h"
24 #include "llvm/MC/MCSubtargetInfo.h"
25 #include "llvm/MC/MCTargetAsmParser.h"
2626 #include "llvm/Support/SourceMgr.h"
2727 #include "llvm/Support/TargetRegistry.h"
2828 #include "llvm/Support/raw_ostream.h"
88
99 #define DEBUG_TYPE "ppcmcexpr"
1010 #include "PPCMCExpr.h"
11 #include "llvm/MC/MCAsmInfo.h"
1112 #include "llvm/MC/MCAssembler.h"
1213 #include "llvm/MC/MCContext.h"
13 #include "llvm/MC/MCAsmInfo.h"
1414
1515 using namespace llvm;
1616
99 #ifndef PPCMCEXPR_H
1010 #define PPCMCEXPR_H
1111
12 #include "llvm/MC/MCAsmLayout.h"
1213 #include "llvm/MC/MCExpr.h"
1314 #include "llvm/MC/MCValue.h"
14 #include "llvm/MC/MCAsmLayout.h"
1515
1616 namespace llvm {
1717
1818 #define DEBUG_TYPE "asmprinter"
1919 #include "PPC.h"
2020 #include "InstPrinter/PPCInstPrinter.h"
21 #include "MCTargetDesc/PPCMCExpr.h"
2122 #include "MCTargetDesc/PPCPredicates.h"
22 #include "MCTargetDesc/PPCMCExpr.h"
2323 #include "PPCSubtarget.h"
2424 #include "PPCTargetMachine.h"
2525 #include "PPCTargetStreamer.h"
2525 #define DEBUG_TYPE "ctrloops"
2626
2727 #include "llvm/Transforms/Scalar.h"
28 #include "PPC.h"
29 #include "PPCTargetMachine.h"
30 #include "llvm/ADT/STLExtras.h"
2831 #include "llvm/ADT/Statistic.h"
29 #include "llvm/ADT/STLExtras.h"
3032 #include "llvm/Analysis/Dominators.h"
3133 #include "llvm/Analysis/LoopInfo.h"
3234 #include "llvm/Analysis/ScalarEvolutionExpander.h"
4143 #include "llvm/Support/Debug.h"
4244 #include "llvm/Support/ValueHandle.h"
4345 #include "llvm/Support/raw_ostream.h"
46 #include "llvm/Target/TargetLibraryInfo.h"
4447 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
4548 #include "llvm/Transforms/Utils/Local.h"
4649 #include "llvm/Transforms/Utils/LoopUtils.h"
47 #include "llvm/Target/TargetLibraryInfo.h"
48 #include "PPCTargetMachine.h"
49 #include "PPC.h"
5050
5151 #ifndef NDEBUG
5252 #include "llvm/CodeGen/MachineDominators.h"
1414
1515 #define DEBUG_TYPE "ppcfastisel"
1616 #include "PPC.h"
17 #include "MCTargetDesc/PPCPredicates.h"
1718 #include "PPCISelLowering.h"
1819 #include "PPCSubtarget.h"
1920 #include "PPCTargetMachine.h"
20 #include "MCTargetDesc/PPCPredicates.h"
2121 #include "llvm/ADT/Optional.h"
2222 #include "llvm/CodeGen/CallingConvLower.h"
2323 #include "llvm/CodeGen/FastISel.h"
1818 #include "PPCInstrInfo.h"
1919 #include "PPCRegisterInfo.h"
2020 #include "PPCSubtarget.h"
21 #include "llvm/CodeGen/CallingConvLower.h"
2122 #include "llvm/CodeGen/SelectionDAG.h"
22 #include "llvm/CodeGen/CallingConvLower.h"
2323 #include "llvm/Target/TargetLowering.h"
2424
2525 namespace llvm {
1717 #include "PPCInstrBuilder.h"
1818 #include "PPCMachineFunctionInfo.h"
1919 #include "PPCTargetMachine.h"
20 #include "llvm/ADT/STLExtras.h"
2021 #include "llvm/ADT/Statistic.h"
21 #include "llvm/ADT/STLExtras.h"
2222 #include "llvm/CodeGen/MachineFrameInfo.h"
2323 #include "llvm/CodeGen/MachineFunctionPass.h"
2424 #include "llvm/CodeGen/MachineInstrBuilder.h"
1414 #ifndef POWERPC32_REGISTERINFO_H
1515 #define POWERPC32_REGISTERINFO_H
1616
17 #include "PPC.h"
1718 #include "llvm/ADT/DenseMap.h"
18 #include "PPC.h"
1919
2020 #define GET_REGINFO_HEADER
2121 #include "PPCGenRegisterInfo.inc"
1616 #include "llvm/CodeGen/MachineFunction.h"
1717 #include "llvm/CodeGen/MachineScheduler.h"
1818 #include "llvm/IR/Attributes.h"
19 #include "llvm/IR/Function.h"
1920 #include "llvm/IR/GlobalValue.h"
20 #include "llvm/IR/Function.h"
2121 #include "llvm/Support/Host.h"
2222 #include "llvm/Support/TargetRegistry.h"
2323 #include "llvm/Target/TargetMachine.h"
1818 #include "PPCTargetMachine.h"
1919 #include "llvm/Analysis/TargetTransformInfo.h"
2020 #include "llvm/Support/Debug.h"
21 #include "llvm/Target/CostTable.h"
2122 #include "llvm/Target/TargetLowering.h"
22 #include "llvm/Target/CostTable.h"
2323 using namespace llvm;
2424
2525 // Declare the pass initialization routine locally as target-specific passes
1919 #include "AMDGPUTargetMachine.h"
2020 #include "llvm/Analysis/TargetTransformInfo.h"
2121 #include "llvm/Support/Debug.h"
22 #include "llvm/Target/CostTable.h"
2223 #include "llvm/Target/TargetLowering.h"
23 #include "llvm/Target/CostTable.h"
2424 using namespace llvm;
2525
2626 // Declare the pass initialization routine locally as target-specific passes
1212 #include "AMDGPU.h"
1313 #include "AMDGPUInstrInfo.h"
1414 #include "R600InstrInfo.h"
15 #include "llvm/Support/Debug.h"
16 #include "llvm/Support/raw_ostream.h"
15 #include "llvm/ADT/DepthFirstIterator.h"
1716 #include "llvm/ADT/SCCIterator.h"
1817 #include "llvm/ADT/SmallVector.h"
1918 #include "llvm/ADT/Statistic.h"
20 #include "llvm/ADT/DepthFirstIterator.h"
2119 #include "llvm/Analysis/DominatorInternals.h"
2220 #include "llvm/Analysis/Dominators.h"
2321 #include "llvm/CodeGen/MachineDominators.h"
2927 #include "llvm/CodeGen/MachineLoopInfo.h"
3028 #include "llvm/CodeGen/MachinePostDominators.h"
3129 #include "llvm/CodeGen/MachineRegisterInfo.h"
30 #include "llvm/Support/Debug.h"
31 #include "llvm/Support/raw_ostream.h"
3232 #include "llvm/Target/TargetInstrInfo.h"
3333 #include "llvm/Target/TargetMachine.h"
3434
3333 #include "llvm/CodeGen/DFAPacketizer.h"
3434 #include "llvm/CodeGen/MachineDominators.h"
3535 #include "llvm/CodeGen/MachineFunctionPass.h"
36 #include "llvm/CodeGen/MachineInstrBuilder.h"
3637 #include "llvm/CodeGen/MachineLoopInfo.h"
38 #include "llvm/CodeGen/MachineRegisterInfo.h"
3739 #include "llvm/CodeGen/Passes.h"
38 #include "llvm/CodeGen/MachineInstrBuilder.h"
3940 #include "llvm/Support/raw_ostream.h"
40 #include "llvm/CodeGen/MachineRegisterInfo.h"
4141
4242 using namespace llvm;
4343
2121 //===----------------------------------------------------------------------===//
2222
2323 #include "AMDGPU.h"
24
2524 #include "llvm/IR/IRBuilder.h"
2625 #include "llvm/InstVisitor.h"
2726
1212
1313 #define DEBUG_TYPE "asm-printer"
1414 #include "SparcInstPrinter.h"
15
15 #include "MCTargetDesc/SparcBaseInfo.h"
1616 #include "Sparc.h"
17 #include "MCTargetDesc/SparcBaseInfo.h"
1817 #include "llvm/MC/MCExpr.h"
1918 #include "llvm/MC/MCInst.h"
2019 #include "llvm/MC/MCSymbol.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/MC/MCAsmBackend.h"
10 #include "MCTargetDesc/SparcFixupKinds.h"
1011 #include "MCTargetDesc/SparcMCTargetDesc.h"
11 #include "MCTargetDesc/SparcFixupKinds.h"
1212 #include "llvm/MC/MCELFObjectWriter.h"
1313 #include "llvm/MC/MCFixupKindInfo.h"
1414 #include "llvm/MC/MCObjectWriter.h"
1212
1313 #define DEBUG_TYPE "mccodeemitter"
1414 #include "SparcMCExpr.h"
15 #include "MCTargetDesc/SparcFixupKinds.h"
1516 #include "SparcMCTargetDesc.h"
16 #include "MCTargetDesc/SparcFixupKinds.h"
17 #include "llvm/ADT/Statistic.h"
1718 #include "llvm/MC/MCCodeEmitter.h"
1819 #include "llvm/MC/MCContext.h"
1920 #include "llvm/MC/MCExpr.h"
2021 #include "llvm/MC/MCInst.h"
2122 #include "llvm/MC/MCRegisterInfo.h"
22 #include "llvm/ADT/Statistic.h"
2323 #include "llvm/Support/raw_ostream.h"
2424
2525 using namespace llvm;
1313
1414 #define DEBUG_TYPE "sparcmcexpr"
1515 #include "SparcMCExpr.h"
16 #include "llvm/MC/MCAssembler.h"
1617 #include "llvm/MC/MCContext.h"
17 #include "llvm/MC/MCAssembler.h"
1818 #include "llvm/MC/MCELF.h"
1919 #include "llvm/Object/ELF.h"
2020
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "SparcMCTargetDesc.h"
14 #include "InstPrinter/SparcInstPrinter.h"
1415 #include "SparcMCAsmInfo.h"
1516 #include "SparcTargetStreamer.h"
16 #include "InstPrinter/SparcInstPrinter.h"
1717 #include "llvm/MC/MCCodeGenInfo.h"
1818 #include "llvm/MC/MCInstrInfo.h"
1919 #include "llvm/MC/MCRegisterInfo.h"
1313
1414 #define DEBUG_TYPE "asm-printer"
1515 #include "Sparc.h"
16 #include "InstPrinter/SparcInstPrinter.h"
17 #include "MCTargetDesc/SparcBaseInfo.h"
18 #include "MCTargetDesc/SparcMCExpr.h"
1619 #include "SparcInstrInfo.h"
1720 #include "SparcTargetMachine.h"
1821 #include "SparcTargetStreamer.h"
19 #include "InstPrinter/SparcInstPrinter.h"
20 #include "MCTargetDesc/SparcBaseInfo.h"
21 #include "MCTargetDesc/SparcMCExpr.h"
2222 #include "llvm/ADT/SmallString.h"
2323 #include "llvm/CodeGen/AsmPrinter.h"
2424 #include "llvm/CodeGen/MachineInstr.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "SparcISelLowering.h"
15 #include "MCTargetDesc/SparcBaseInfo.h"
1516 #include "SparcMachineFunctionInfo.h"
1617 #include "SparcRegisterInfo.h"
1718 #include "SparcTargetMachine.h"
18 #include "MCTargetDesc/SparcBaseInfo.h"
1919 #include "llvm/CodeGen/CallingConvLower.h"
2020 #include "llvm/CodeGen/MachineFrameInfo.h"
2121 #include "llvm/CodeGen/MachineFunction.h"
1212 #define DEBUG_TYPE "jit"
1313 #include "SparcJITInfo.h"
1414 #include "SparcRelocations.h"
15
1615 #include "llvm/CodeGen/JITCodeEmitter.h"
1716 #include "llvm/Support/Memory.h"
1817
1414 #include "Sparc.h"
1515 #include "MCTargetDesc/SparcBaseInfo.h"
1616 #include "MCTargetDesc/SparcMCExpr.h"
17 #include "llvm/ADT/SmallString.h"
1718 #include "llvm/CodeGen/AsmPrinter.h"
1819 #include "llvm/CodeGen/MachineFunction.h"
1920 #include "llvm/CodeGen/MachineInstr.h"
2021 #include "llvm/CodeGen/MachineOperand.h"
22 #include "llvm/MC/MCAsmInfo.h"
2123 #include "llvm/MC/MCContext.h"
22 #include "llvm/MC/MCAsmInfo.h"
2324 #include "llvm/MC/MCExpr.h"
2425 #include "llvm/MC/MCInst.h"
2526 #include "llvm/Target/Mangler.h"
26 #include "llvm/ADT/SmallString.h"
2727
2828 using namespace llvm;
2929
2121 #include "llvm/CodeGen/MachineInstrBuilder.h"
2222 #include "llvm/CodeGen/MachineRegisterInfo.h"
2323 #include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
24
2524 #include
2625
2726 using namespace llvm;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "SystemZInstrInfo.h"
14 #include "SystemZInstrBuilder.h"
1415 #include "SystemZTargetMachine.h"
15 #include "SystemZInstrBuilder.h"
1616 #include "llvm/CodeGen/LiveVariables.h"
1717 #include "llvm/CodeGen/MachineRegisterInfo.h"
1818
1010 #define LLVM_SYSTEMZMCINSTLOWER_H
1111
1212 #include "llvm/MC/MCExpr.h"
13 #include "llvm/Support/Compiler.h"
1314 #include "llvm/Support/DataTypes.h"
14 #include "llvm/Support/Compiler.h"
1515
1616 namespace llvm {
1717 class MCInst;
77 //===----------------------------------------------------------------------===//
88
99 #include "SystemZSubtarget.h"
10 #include "MCTargetDesc/SystemZMCTargetDesc.h"
1011 #include "llvm/IR/GlobalValue.h"
1112 #include "llvm/Support/Host.h"
12 #include "MCTargetDesc/SystemZMCTargetDesc.h"
1313
1414 #define GET_SUBTARGETINFO_TARGET_DESC
1515 #define GET_SUBTARGETINFO_CTOR
1818 #include "SystemZISelLowering.h"
1919 #include "SystemZInstrInfo.h"
2020 #include "SystemZRegisterInfo.h"
21 #include "SystemZSelectionDAGInfo.h"
2122 #include "SystemZSubtarget.h"
22 #include "SystemZSelectionDAGInfo.h"
2323 #include "llvm/IR/DataLayout.h"
2424 #include "llvm/Target/TargetFrameLowering.h"
2525 #include "llvm/Target/TargetMachine.h"
1818 #include "llvm/PassManager.h"
1919 #include "llvm/Support/CodeGen.h"
2020 #include "llvm/Support/FormattedStream.h"
21 #include "llvm/Support/Host.h"
2122 #include "llvm/Support/TargetRegistry.h"
2223 #include "llvm/Support/raw_ostream.h"
23 #include "llvm/Support/Host.h"
2424 #include "llvm/Target/TargetMachine.h"
2525 #include
2626 #include
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Support/CommandLine.h"
14 #include "llvm/ADT/SmallVector.h"
1415 #include "llvm/Target/TargetSubtargetInfo.h"
15 #include "llvm/ADT/SmallVector.h"
1616 using namespace llvm;
1717
1818 //---------------------------------------------------------------------------
1717 #define X86BASEINFO_H
1818
1919 #include "X86MCTargetDesc.h"
20 #include "llvm/MC/MCInstrInfo.h"
2021 #include "llvm/Support/DataTypes.h"
2122 #include "llvm/Support/ErrorHandling.h"
22 #include "llvm/MC/MCInstrInfo.h"
2323
2424 namespace llvm {
2525
1010 #include "llvm/MC/MCContext.h"
1111 #include "llvm/MC/MCExpr.h"
1212 #include "llvm/MC/MCInst.h"
13 #include "llvm/MC/MCRelocationInfo.h"
1314 #include "llvm/MC/MCSymbol.h"
14 #include "llvm/MC/MCRelocationInfo.h"
1515 #include "llvm/Object/ELFObjectFile.h"
1616 #include "llvm/Support/ELF.h"
1717
1010 #include "llvm/MC/MCContext.h"
1111 #include "llvm/MC/MCExpr.h"
1212 #include "llvm/MC/MCInst.h"
13 #include "llvm/MC/MCRelocationInfo.h"
1314 #include "llvm/MC/MCSymbol.h"
14 #include "llvm/MC/MCRelocationInfo.h"
1515 #include "llvm/Object/MachO.h"
1616
1717 using namespace llvm;
1414 #include "X86TargetMachine.h"
1515 #include "llvm/CodeGen/AsmPrinter.h"
1616 #include "llvm/CodeGen/MachineModuleInfo.h"
17 #include "llvm/CodeGen/StackMaps.h"
1718 #include "llvm/CodeGen/ValueTypes.h"
18 #include "llvm/CodeGen/StackMaps.h"
1919 #include "llvm/Support/Compiler.h"
2020
2121 namespace llvm {
1818 #include "X86TargetMachine.h"
1919 #include "llvm/Analysis/TargetTransformInfo.h"
2020 #include "llvm/Support/Debug.h"
21 #include "llvm/Target/CostTable.h"
2122 #include "llvm/Target/TargetLowering.h"
22 #include "llvm/Target/CostTable.h"
2323 using namespace llvm;
2424
2525 // Declare the pass initialization routine locally as target-specific passes
3232 #include "llvm/IR/DerivedTypes.h"
3333 #include "llvm/IR/Module.h"
3434 #include "llvm/MC/MCAsmInfo.h"
35 #include "llvm/MC/MCExpr.h"
3536 #include "llvm/MC/MCInst.h"
3637 #include "llvm/MC/MCStreamer.h"
3738 #include "llvm/MC/MCSymbol.h"
38 #include "llvm/MC/MCExpr.h"
3939 #include "llvm/Support/ErrorHandling.h"
4040 #include "llvm/Support/TargetRegistry.h"
4141 #include "llvm/Support/raw_ostream.h"
1616 #include "llvm/IR/Constants.h"
1717 #include "llvm/IR/DerivedTypes.h"
1818 #include "llvm/IR/GlobalVariable.h"
19 #include "llvm/IR/IRBuilder.h"
1920 #include "llvm/IR/Intrinsics.h"
20 #include "llvm/IR/IRBuilder.h"
2121 #include "llvm/IR/Module.h"
2222 #include "llvm/Pass.h"
2323 #include "llvm/Support/CommandLine.h"
1717 #include "XCore.h"
1818 #include "llvm/Analysis/TargetTransformInfo.h"
1919 #include "llvm/Support/Debug.h"
20 #include "llvm/Target/CostTable.h"
2021 #include "llvm/Target/TargetLowering.h"
21 #include "llvm/Target/CostTable.h"
2222 using namespace llvm;
2323
2424 // Declare the pass initialization routine locally as target-specific passes
3535 #include "llvm/Support/ErrorHandling.h"
3636 #include "llvm/Support/GetElementPtrTypeIterator.h"
3737 #include "llvm/Support/MathExtras.h"
38 #include "llvm/Support/ValueHandle.h"
3839 #include "llvm/Support/raw_ostream.h"
39 #include "llvm/Support/ValueHandle.h"
4040 #include "llvm/Target/TargetLibraryInfo.h"
4141 #include "llvm/Transforms/Utils/GlobalStatus.h"
4242 #include "llvm/Transforms/Utils/ModuleUtils.h"
4949 #include "llvm/ADT/DepthFirstIterator.h"
5050 #include "llvm/ADT/StringExtras.h"
5151 #include "llvm/Analysis/ValueTracking.h"
52 #include "llvm/IR/IRBuilder.h"
5253 #include "llvm/IR/InlineAsm.h"
53 #include "llvm/IR/IRBuilder.h"
5454 #include "llvm/IR/LLVMContext.h"
5555 #include "llvm/IR/MDBuilder.h"
5656 #include "llvm/IR/Type.h"
1818 #define DEBUG_TYPE "debug-ir"
1919
2020 #include "llvm/ADT/ValueMap.h"
21 #include "DebugIR.h"
2122 #include "llvm/Assembly/AssemblyAnnotationWriter.h"
23 #include "llvm/DIBuilder.h"
2224 #include "llvm/DebugInfo.h"
23 #include "llvm/DIBuilder.h"
24 #include "llvm/InstVisitor.h"
2525 #include "llvm/IR/DataLayout.h"
2626 #include "llvm/IR/Instruction.h"
2727 #include "llvm/IR/LLVMContext.h"
2828 #include "llvm/IR/Module.h"
29 #include "llvm/InstVisitor.h"
30 #include "llvm/Support/Debug.h"
31 #include "llvm/Support/FileSystem.h"
32 #include "llvm/Support/FormattedStream.h"
33 #include "llvm/Support/Path.h"
34 #include "llvm/Support/ToolOutputFile.h"
2935 #include "llvm/Transforms/Instrumentation.h"
3036 #include "llvm/Transforms/Utils/Cloning.h"
31 #include "llvm/Support/Debug.h"
32 #include "llvm/Support/ToolOutputFile.h"
33 #include "llvm/Support/FormattedStream.h"
34 #include "llvm/Support/FileSystem.h"
35 #include "llvm/Support/Path.h"
36
37 #include "DebugIR.h"
38
3937 #include
4038
4139 #define STR_HELPER(x) #x
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/InitializePasses.h"
15 #include "llvm-c/Initialization.h"
1516 #include "llvm/PassRegistry.h"
16 #include "llvm-c/Initialization.h"
1717
1818 using namespace llvm;
1919
1919 #include "llvm/ADT/DenseMap.h"
2020 #include "llvm/ADT/DepthFirstIterator.h"
2121 #include "llvm/ADT/Hashing.h"
22 #include "llvm/ADT/SetVector.h"
2223 #include "llvm/ADT/SmallPtrSet.h"
23 #include "llvm/ADT/SetVector.h"
2424 #include "llvm/ADT/Statistic.h"
2525 #include "llvm/Analysis/AliasAnalysis.h"
2626 #include "llvm/Analysis/CFG.h"
1212
1313 #define DEBUG_TYPE "loop-instsimplify"
1414 #include "llvm/Transforms/Scalar.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/ADT/Statistic.h"
16 #include "llvm/ADT/STLExtras.h"
1717 #include "llvm/Analysis/Dominators.h"
1818 #include "llvm/Analysis/InstructionSimplify.h"
1919 #include "llvm/Analysis/LoopInfo.h"
1212
1313 #define DEBUG_TYPE "loop-reroll"
1414 #include "llvm/Transforms/Scalar.h"
15 #include "llvm/ADT/STLExtras.h"
1516 #include "llvm/ADT/SmallSet.h"
1617 #include "llvm/ADT/Statistic.h"
17 #include "llvm/ADT/STLExtras.h"
1818 #include "llvm/Analysis/AliasAnalysis.h"
1919 #include "llvm/Analysis/AliasSetTracker.h"
2020 #include "llvm/Analysis/Dominators.h"
5555 #define DEBUG_TYPE "loop-reduce"
5656 #include "llvm/Transforms/Scalar.h"
5757 #include "llvm/ADT/DenseSet.h"
58 #include "llvm/ADT/STLExtras.h"
5859 #include "llvm/ADT/SetVector.h"
5960 #include "llvm/ADT/SmallBitVector.h"
60 #include "llvm/ADT/STLExtras.h"
6161 #include "llvm/Analysis/Dominators.h"
6262 #include "llvm/Analysis/IVUsers.h"
6363 #include "llvm/Analysis/LoopPass.h"
3232 #include "llvm/IR/Function.h"
3333 #include "llvm/IR/Instructions.h"
3434 #include "llvm/IR/LLVMContext.h"
35 #include "llvm/IR/MDBuilder.h"
3536 #include "llvm/IR/Metadata.h"
36 #include "llvm/IR/MDBuilder.h"
3737 #include "llvm/IR/Module.h"
3838 #include "llvm/Pass.h"
3939 #include "llvm/Support/CommandLine.h"
1313 //===----------------------------------------------------------------------===//
1414
1515 #include "llvm/Transforms/Utils/CodeExtractor.h"
16 #include "llvm/ADT/STLExtras.h"
1617 #include "llvm/ADT/SetVector.h"
17 #include "llvm/ADT/STLExtras.h"
1818 #include "llvm/ADT/StringExtras.h"
1919 #include "llvm/Analysis/Dominators.h"
2020 #include "llvm/Analysis/LoopInfo.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
10 #include "llvm/Transforms/Utils/Local.h"
1110 #include "llvm/ADT/DenseMap.h"
1211 #include "llvm/Analysis/CFG.h"
1312 #include "llvm/IR/Function.h"
1413 #include "llvm/IR/Instructions.h"
1514 #include "llvm/IR/Type.h"
15 #include "llvm/Transforms/Utils/Local.h"
1616 using namespace llvm;
1717
1818 /// DemoteRegToStack - This function takes a virtual register computed by an
1515 #define DEBUG_TYPE "indvars"
1616
1717 #include "llvm/Transforms/Utils/SimplifyIndVar.h"
18 #include "llvm/ADT/STLExtras.h"
1819 #include "llvm/ADT/SmallVector.h"
1920 #include "llvm/ADT/Statistic.h"
20 #include "llvm/ADT/STLExtras.h"
2121 #include "llvm/Analysis/Dominators.h"
2222 #include "llvm/Analysis/IVUsers.h"
2323 #include "llvm/Analysis/LoopInfo.h"
2424 #include "llvm/Analysis/LoopPass.h"
2525 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
2626 #include "llvm/IR/DataLayout.h"
27 #include "llvm/IR/IRBuilder.h"
2728 #include "llvm/IR/Instructions.h"
2829 #include "llvm/IR/IntrinsicInst.h"
29 #include "llvm/IR/IRBuilder.h"
3030 #include "llvm/Support/CommandLine.h"
3131 #include "llvm/Support/Debug.h"
3232 #include "llvm/Support/raw_ostream.h"
1515
1616 #include "llvm/Transforms/Utils/SpecialCaseList.h"
1717 #include "llvm/ADT/OwningPtr.h"
18 #include "llvm/ADT/STLExtras.h"
1819 #include "llvm/ADT/SmallVector.h"
19 #include "llvm/ADT/STLExtras.h"
2020 #include "llvm/ADT/StringExtras.h"
2121 #include "llvm/ADT/StringSet.h"
2222 #include "llvm/IR/DerivedTypes.h"
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/InitializePasses.h"
15 #include "llvm-c/Initialization.h"
1516 #include "llvm/PassRegistry.h"
16 #include "llvm-c/Initialization.h"
1717
1818 using namespace llvm;
1919
8080 #include "llvm/Support/CommandLine.h"
8181 #include "llvm/Support/Debug.h"
8282 #include "llvm/Support/PatternMatch.h"
83 #include "llvm/Support/ValueHandle.h"
8384 #include "llvm/Support/raw_ostream.h"
84 #include "llvm/Support/ValueHandle.h"
8585 #include "llvm/Target/TargetLibraryInfo.h"
8686 #include "llvm/Transforms/Scalar.h"
8787 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
2323 #include "llvm/ADT/SetVector.h"
2424 #include "llvm/Analysis/AliasAnalysis.h"
2525 #include "llvm/Analysis/Dominators.h"
26 #include "llvm/Analysis/LoopInfo.h"
2627 #include "llvm/Analysis/ScalarEvolution.h"
2728 #include "llvm/Analysis/ScalarEvolutionExpressions.h"
2829 #include "llvm/Analysis/TargetTransformInfo.h"
2930 #include "llvm/Analysis/ValueTracking.h"
3031 #include "llvm/Analysis/Verifier.h"
31 #include "llvm/Analysis/LoopInfo.h"
3232 #include "llvm/IR/DataLayout.h"
33 #include "llvm/IR/IRBuilder.h"
3334 #include "llvm/IR/Instructions.h"
3435 #include "llvm/IR/IntrinsicInst.h"
35 #include "llvm/IR/IRBuilder.h"
3636 #include "llvm/IR/Module.h"
3737 #include "llvm/IR/Type.h"
3838 #include "llvm/IR/Value.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/ADT/StringRef.h"
10 #include "llvm/ADT/StringExtras.h"
1110 #include "llvm/ADT/Hashing.h"
1211 #include "llvm/ADT/SmallVector.h"
12 #include "llvm/ADT/StringExtras.h"
1313 #include "llvm/Support/raw_ostream.h"
1414 #include "gtest/gtest.h"
1515 using namespace llvm;
1111 #include "llvm/Analysis/Dominators.h"
1212 #include "llvm/Analysis/LoopInfo.h"
1313 #include "llvm/Assembly/Parser.h"
14 #include "llvm/IR/Function.h"
1415 #include "llvm/IR/LLVMContext.h"
15 #include "llvm/IR/Function.h"
1616 #include "llvm/IR/Module.h"
17 #include "llvm/Pass.h"
18 #include "llvm/PassManager.h"
1719 #include "llvm/Support/ErrorHandling.h"
1820 #include "llvm/Support/InstIterator.h"
1921 #include "llvm/Support/SourceMgr.h"
20 #include "llvm/Pass.h"
21 #include "llvm/PassManager.h"
2222 #include "gtest/gtest.h"
2323
2424 using namespace llvm;
88
99 #include "../lib/CodeGen/AsmPrinter/DIE.h"
1010 #include "../lib/CodeGen/AsmPrinter/DIEHash.h"
11 #include "llvm/Support/Debug.h"
1112 #include "llvm/Support/Dwarf.h"
12 #include "llvm/Support/Debug.h"
1313 #include "llvm/Support/Format.h"
1414 #include "gtest/gtest.h"
1515
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm-c/Analysis.h"
15 #include "MCJITTestAPICommon.h"
1516 #include "llvm-c/Core.h"
1617 #include "llvm-c/ExecutionEngine.h"
1718 #include "llvm-c/Target.h"
1819 #include "llvm-c/Transforms/Scalar.h"
1920 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
2021 #include "llvm/Support/Host.h"
21 #include "MCJITTestAPICommon.h"
2222 #include "gtest/gtest.h"
2323
2424 using namespace llvm;
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/ADT/OwningPtr.h"
10 #include "MCJITTestBase.h"
1011 #include "llvm/ADT/SmallVector.h"
1112 #include "llvm/ADT/StringMap.h"
1213 #include "llvm/ADT/StringSet.h"
1415 #include "llvm/ExecutionEngine/MCJIT.h"
1516 #include "llvm/ExecutionEngine/ObjectCache.h"
1617 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
17 #include "MCJITTestBase.h"
1818 #include "gtest/gtest.h"
1919
2020 using namespace llvm;
1616 #ifndef MCJIT_TEST_BASE_H
1717 #define MCJIT_TEST_BASE_H
1818
19 #include "MCJITTestAPICommon.h"
1920 #include "llvm/Config/config.h"
2021 #include "llvm/ExecutionEngine/ExecutionEngine.h"
2122 #include "llvm/ExecutionEngine/SectionMemoryManager.h"
2526 #include "llvm/IR/Module.h"
2627 #include "llvm/IR/TypeBuilder.h"
2728 #include "llvm/Support/CodeGen.h"
28 #include "MCJITTestAPICommon.h"
2929
3030 namespace llvm {
3131
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Support/Casting.h"
10 #include "llvm/IR/User.h"
1011 #include "llvm/Support/Debug.h"
1112 #include "llvm/Support/raw_ostream.h"
12 #include "llvm/IR/User.h"
1313 #include "gtest/gtest.h"
1414 #include
1515
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/ADT/STLExtras.h"
10 #include "llvm/Config/config.h"
1011 #include "llvm/Support/CommandLine.h"
11 #include "llvm/Config/config.h"
1212 #include "gtest/gtest.h"
1313 #include
1414 #include
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Support/ErrorOr.h"
10
1110 #include "gtest/gtest.h"
12
1311 #include
1412
1513 using namespace llvm;
99 #include "llvm/Support/LockFileManager.h"
1010 #include "llvm/Support/FileSystem.h"
1111 #include "llvm/Support/Path.h"
12
1312 #include "gtest/gtest.h"
14
1513 #include
1614
1715 using namespace llvm;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Support/FileSystem.h"
14 #include "llvm/ADT/OwningPtr.h"
1415 #include "llvm/Support/MemoryBuffer.h"
1516 #include "llvm/Support/raw_ostream.h"
16 #include "llvm/ADT/OwningPtr.h"
1717 #include "gtest/gtest.h"
1818
1919 using namespace llvm;
1111 #include "llvm/Support/Path.h"
1212 #include "llvm/Support/Program.h"
1313 #include "gtest/gtest.h"
14
1514 #include
1615 #if defined(__APPLE__)
1716 # include
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "llvm/ADT/Triple.h"
15 #include "../lib/Transforms/Instrumentation/DebugIR.h"
1516 #include "llvm/Config/config.h"
17 #include "llvm/DIBuilder.h"
1618 #include "llvm/DebugInfo.h"
17 #include "llvm/DIBuilder.h"
1819 #include "llvm/IR/Module.h"
20 #include "llvm/Support/FileSystem.h"
1921 #include "llvm/Support/Host.h"
20 #include "llvm/Support/FileSystem.h"
2122 #include "llvm/Support/Path.h"
2223 #include "llvm/Transforms/Instrumentation.h"
23
24 #include "../lib/Transforms/Instrumentation/DebugIR.h"
2524
2625 // These tests do not depend on MCJIT, but we use the TrivialModuleBuilder
2726 // helper class to construct some trivial Modules.
77 //===----------------------------------------------------------------------===//
88 #include "llvm/Transforms/Utils/ASanStackFrameLayout.h"
99 #include "llvm/ADT/ArrayRef.h"
10 #include "gtest/gtest.h"
1011 #include
11 #include "gtest/gtest.h"
1212
1313 using namespace llvm;
1414
1111 #include "llvm/IR/Argument.h"
1212 #include "llvm/IR/Constant.h"
1313 #include "llvm/IR/Function.h"
14 #include "llvm/IR/IRBuilder.h"
1415 #include "llvm/IR/Instructions.h"
15 #include "llvm/IR/IRBuilder.h"
1616 #include "llvm/IR/LLVMContext.h"
1717 #include "llvm/Transforms/Utils/Cloning.h"
1818 #include "gtest/gtest.h"