llvm.org GIT mirror llvm / 58a2cbe
Resort the #include lines in include/... and lib/... with the utils/sort_includes.py script. Most of these are updating the new R600 target and fixing up a few regressions that have creeped in since the last time I sorted the includes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171362 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 7 years ago
41 changed file(s) with 43 addition(s) and 55 deletion(s). Raw diff Collapse all Expand all
1414 #include "llvm/MC/MCObjectStreamer.h"
1515 #include "llvm/MC/SectionKind.h"
1616 #include "llvm/Support/DataTypes.h"
17
1817 #include
1918
2019 namespace llvm {
1414 #ifndef LLVM_MC_MCINSTRDESC_H
1515 #define LLVM_MC_MCINSTRDESC_H
1616
17 #include "llvm/MC/MCInst.h"
18 #include "llvm/MC/MCRegisterInfo.h"
1719 #include "llvm/Support/DataTypes.h"
18 #include "llvm/MC/MCRegisterInfo.h"
19 #include "llvm/MC/MCInst.h"
2020
2121 namespace llvm {
2222
1515
1616 #include "llvm/ADT/StringRef.h"
1717 #include "llvm/MC/MCSection.h"
18 #include "llvm/Support/Debug.h"
1819 #include "llvm/Support/ELF.h"
1920 #include "llvm/Support/raw_ostream.h"
20 #include "llvm/Support/Debug.h"
2121
2222 namespace llvm {
2323
1818 #include "llvm/DataLayout.h"
1919 #include "llvm/DerivedTypes.h"
2020 #include "llvm/Instruction.h"
21 #include "llvm/Support/GetElementPtrTypeIterator.h"
2122 #include "llvm/Type.h"
22 #include "llvm/Support/GetElementPtrTypeIterator.h"
2323
2424 namespace llvm {
2525
1111
1212 #include "llvm/ADT/SmallVector.h"
1313 #include "llvm/ADT/StringRef.h"
14 #include "llvm/Option/OptSpecifier.h"
1415 #include "llvm/Option/Option.h"
15 #include "llvm/Option/OptSpecifier.h"
16
1716 #include
1817 #include
1918 #include
99 #ifndef LLVM_SUPPORT_OPTION_H_
1010 #define LLVM_SUPPORT_OPTION_H_
1111
12 #include "llvm/ADT/SmallVector.h"
1213 #include "llvm/ADT/StringRef.h"
13 #include "llvm/ADT/SmallVector.h"
1414 #include "llvm/Option/OptTable.h"
1515 #include "llvm/Support/ErrorHandling.h"
1616
4040 #include "llvm/Support/MathExtras.h"
4141 #include "llvm/Support/Mutex.h"
4242 #include "llvm/Support/raw_ostream.h"
43 #include "llvm/TargetTransformInfo.h"
4443 #include "llvm/Target/TargetInstrInfo.h"
4544 #include "llvm/Target/TargetIntrinsicInfo.h"
4645 #include "llvm/Target/TargetLowering.h"
4847 #include "llvm/Target/TargetOptions.h"
4948 #include "llvm/Target/TargetRegisterInfo.h"
5049 #include "llvm/Target/TargetSelectionDAGInfo.h"
50 #include "llvm/TargetTransformInfo.h"
5151 #include
5252 #include
5353 using namespace llvm;
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Option/Arg.h"
10
1110 #include "llvm/ADT/SmallString.h"
1211 #include "llvm/ADT/Twine.h"
1312 #include "llvm/Option/ArgList.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Option/ArgList.h"
10
1110 #include "llvm/ADT/SmallString.h"
1211 #include "llvm/ADT/Twine.h"
1312 #include "llvm/Option/Arg.h"
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Option/OptTable.h"
10
1110 #include "llvm/Option/Arg.h"
1211 #include "llvm/Option/ArgList.h"
1312 #include "llvm/Option/Option.h"
13 #include "llvm/Support/ErrorHandling.h"
1414 #include "llvm/Support/raw_ostream.h"
15 #include "llvm/Support/ErrorHandling.h"
1615 #include
1716 #include
1817
77 //===----------------------------------------------------------------------===//
88
99 #include "llvm/Option/Option.h"
10
1110 #include "llvm/ADT/Twine.h"
1211 #include "llvm/Option/Arg.h"
1312 #include "llvm/Option/ArgList.h"
13 #include "llvm/Support/ErrorHandling.h"
1414 #include "llvm/Support/raw_ostream.h"
15 #include "llvm/Support/ErrorHandling.h"
16
1715 #include
1816 #include
1917
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "llvm/Config/config.h"
14 #include "llvm/Support/ErrorHandling.h"
1415 #include "llvm/Support/Process.h"
15 #include "llvm/Support/ErrorHandling.h"
1616
1717 using namespace llvm;
1818 using namespace sys;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "ARMMCTargetDesc.h"
14 #include "ARMBaseInfo.h"
1415 #include "ARMELFStreamer.h"
1516 #include "ARMMCAsmInfo.h"
16 #include "ARMBaseInfo.h"
1717 #include "InstPrinter/ARMInstPrinter.h"
1818 #include "llvm/MC/MCCodeGenInfo.h"
1919 #include "llvm/MC/MCInstrAnalysis.h"
1818 #include "llvm/CodeGen/MachineFunctionPass.h"
1919 #include "llvm/CodeGen/MachineInstr.h"
2020 #include "llvm/CodeGen/MachineInstrBuilder.h"
21 #include "llvm/Function.h" // To access Function attributes
2122 #include "llvm/Support/CommandLine.h"
2223 #include "llvm/Support/Debug.h"
2324 #include "llvm/Support/raw_ostream.h"
24 #include "llvm/Function.h" // To access Function attributes
2525 using namespace llvm;
2626
2727 STATISTIC(NumNarrows, "Number of 32-bit instrs reduced to 16-bit ones");
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "Mips16FrameLowering.h"
14 #include "MCTargetDesc/MipsBaseInfo.h"
1415 #include "Mips16InstrInfo.h"
15 #include "MCTargetDesc/MipsBaseInfo.h"
1616 #include "MipsInstrInfo.h"
1717 #include "llvm/CodeGen/MachineFrameInfo.h"
1818 #include "llvm/CodeGen/MachineFunction.h"
2121 #include "SIMachineFunctionInfo.h"
2222 #include "SIRegisterInfo.h"
2323 #include "llvm/MC/MCStreamer.h"
24 #include "llvm/Support/TargetRegistry.h"
2425 #include "llvm/Target/TargetLoweringObjectFile.h"
25 #include "llvm/Support/TargetRegistry.h"
2626
2727 using namespace llvm;
2828
1515 #ifndef AMDGPUINSTRUCTIONINFO_H
1616 #define AMDGPUINSTRUCTIONINFO_H
1717
18 #include "AMDGPUInstrInfo.h"
1819 #include "AMDGPURegisterInfo.h"
19 #include "AMDGPUInstrInfo.h"
2020 #include "llvm/Target/TargetInstrInfo.h"
21
2221 #include
2322
2423 #define GET_INSTRINFO_HEADER
1818 #include "llvm/CodeGen/MachineBasicBlock.h"
1919 #include "llvm/CodeGen/MachineInstr.h"
2020 #include "llvm/Constants.h"
21 #include "llvm/MC/MCExpr.h"
2122 #include "llvm/MC/MCInst.h"
2223 #include "llvm/MC/MCStreamer.h"
23 #include "llvm/MC/MCExpr.h"
2424 #include "llvm/Support/ErrorHandling.h"
2525
2626 using namespace llvm;
1515 //===----------------------------------------------------------------------===//
1616
1717 #include "AMDGPU.h"
18 #include "llvm/ADT/SCCIterator.h"
19 #include "llvm/Analysis/RegionInfo.h"
20 #include "llvm/Analysis/RegionIterator.h"
21 #include "llvm/Analysis/RegionPass.h"
1822 #include "llvm/Module.h"
19 #include "llvm/ADT/SCCIterator.h"
20 #include "llvm/Analysis/RegionIterator.h"
21 #include "llvm/Analysis/RegionInfo.h"
22 #include "llvm/Analysis/RegionPass.h"
2323 #include "llvm/Transforms/Utils/SSAUpdater.h"
2424
2525 using namespace llvm;
1717 #include "llvm/ADT/Statistic.h"
1818 #include "llvm/Analysis/DominatorInternals.h"
1919 #include "llvm/Analysis/Dominators.h"
20 #include "llvm/CodeGen/MachinePostDominators.h"
2120 #include "llvm/CodeGen/MachineDominators.h"
2221 #include "llvm/CodeGen/MachineFunction.h"
2322 #include "llvm/CodeGen/MachineFunctionAnalysis.h"
2524 #include "llvm/CodeGen/MachineInstrBuilder.h"
2625 #include "llvm/CodeGen/MachineJumpTableInfo.h"
2726 #include "llvm/CodeGen/MachineLoopInfo.h"
27 #include "llvm/CodeGen/MachinePostDominators.h"
2828 #include "llvm/CodeGen/MachineRegisterInfo.h"
2929 #include "llvm/Target/TargetInstrInfo.h"
3030
1515 //===----------------------------------------------------------------------===//
1616 #ifndef AMDILEVERGREENDEVICE_H
1717 #define AMDILEVERGREENDEVICE_H
18 #include "AMDGPUSubtarget.h"
1819 #include "AMDILDevice.h"
19 #include "AMDGPUSubtarget.h"
2020
2121 namespace llvm {
2222 class AMDGPUSubtarget;
1313
1414 #include "AMDGPUISelLowering.h"
1515 #include "AMDGPURegisterInfo.h"
16 #include "AMDGPUSubtarget.h"
1617 #include "AMDILDevices.h"
1718 #include "AMDILIntrinsicInfo.h"
18 #include "AMDGPUSubtarget.h"
1919 #include "llvm/CallingConv.h"
2020 #include "llvm/CodeGen/MachineFrameInfo.h"
2121 #include "llvm/CodeGen/MachineRegisterInfo.h"
1212 //===-----------------------------------------------------------------------===//
1313
1414 #include "AMDILIntrinsicInfo.h"
15 #include "AMDGPUSubtarget.h"
1516 #include "AMDIL.h"
16 #include "AMDGPUSubtarget.h"
1717 #include "llvm/DerivedTypes.h"
1818 #include "llvm/Intrinsics.h"
1919 #include "llvm/Module.h"
77 /// \file
88 //==-----------------------------------------------------------------------===//
99 #include "AMDILNIDevice.h"
10 #include "AMDGPUSubtarget.h"
1011 #include "AMDILEvergreenDevice.h"
11 #include "AMDGPUSubtarget.h"
1212
1313 using namespace llvm;
1414
1414 //===---------------------------------------------------------------------===//
1515 #ifndef AMDILNIDEVICE_H
1616 #define AMDILNIDEVICE_H
17 #include "AMDGPUSubtarget.h"
1718 #include "AMDILEvergreenDevice.h"
18 #include "AMDGPUSubtarget.h"
1919
2020 namespace llvm {
2121
77 /// \file
88 //==-----------------------------------------------------------------------===//
99 #include "AMDILSIDevice.h"
10 #include "AMDGPUSubtarget.h"
1011 #include "AMDILEvergreenDevice.h"
1112 #include "AMDILNIDevice.h"
12 #include "AMDGPUSubtarget.h"
1313
1414 using namespace llvm;
1515
1414 #include "AMDGPUMCTargetDesc.h"
1515 #include "AMDGPUMCAsmInfo.h"
1616 #include "InstPrinter/AMDGPUInstPrinter.h"
17 #include "llvm/MC/MachineLocation.h"
1817 #include "llvm/MC/MCCodeGenInfo.h"
1918 #include "llvm/MC/MCInstrInfo.h"
2019 #include "llvm/MC/MCRegisterInfo.h"
2120 #include "llvm/MC/MCStreamer.h"
2221 #include "llvm/MC/MCSubtargetInfo.h"
22 #include "llvm/MC/MachineLocation.h"
2323 #include "llvm/Support/ErrorHandling.h"
2424 #include "llvm/Support/TargetRegistry.h"
2525
1818 //===----------------------------------------------------------------------===//
1919
2020 #include "R600Defines.h"
21 #include "MCTargetDesc/AMDGPUMCCodeEmitter.h"
2122 #include "MCTargetDesc/AMDGPUMCTargetDesc.h"
22 #include "MCTargetDesc/AMDGPUMCCodeEmitter.h"
2323 #include "llvm/MC/MCCodeEmitter.h"
2424 #include "llvm/MC/MCContext.h"
2525 #include "llvm/MC/MCInst.h"
2727 #include "llvm/MC/MCRegisterInfo.h"
2828 #include "llvm/MC/MCSubtargetInfo.h"
2929 #include "llvm/Support/raw_ostream.h"
30
3130 #include
3231
3332 #define SRC_BYTE_COUNT 11
1616 #include "MCTargetDesc/AMDGPUMCCodeEmitter.h"
1717 #include "llvm/MC/MCCodeEmitter.h"
1818 #include "llvm/MC/MCContext.h"
19 #include "llvm/MC/MCFixup.h"
1920 #include "llvm/MC/MCInst.h"
2021 #include "llvm/MC/MCInstrInfo.h"
2122 #include "llvm/MC/MCRegisterInfo.h"
2223 #include "llvm/MC/MCSubtargetInfo.h"
23 #include "llvm/MC/MCFixup.h"
2424 #include "llvm/Support/raw_ostream.h"
2525
2626 #define VGPR_BIT(src_idx) (1ULL << (9 * src_idx - 1))
1616 #include "AMDGPU.h"
1717 #include "R600Defines.h"
1818 #include "R600InstrInfo.h"
19 #include "R600MachineFunctionInfo.h"
1920 #include "R600RegisterInfo.h"
20 #include "R600MachineFunctionInfo.h"
2121 #include "llvm/CodeGen/MachineFunctionPass.h"
2222 #include "llvm/CodeGen/MachineInstrBuilder.h"
2323 #include "llvm/CodeGen/MachineRegisterInfo.h"
1616 #include "R600InstrInfo.h"
1717 #include "R600MachineFunctionInfo.h"
1818 #include "llvm/Argument.h"
19 #include "llvm/Function.h"
2019 #include "llvm/CodeGen/MachineInstrBuilder.h"
2120 #include "llvm/CodeGen/MachineRegisterInfo.h"
2221 #include "llvm/CodeGen/SelectionDAG.h"
22 #include "llvm/Function.h"
2323
2424 using namespace llvm;
2525
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "R600InstrInfo.h"
15 #include "AMDGPUSubtarget.h"
1516 #include "AMDGPUTargetMachine.h"
16 #include "AMDGPUSubtarget.h"
1717 #include "R600Defines.h"
1818 #include "R600RegisterInfo.h"
1919 #include "llvm/CodeGen/MachineInstrBuilder.h"
1414 #ifndef R600INSTRUCTIONINFO_H_
1515 #define R600INSTRUCTIONINFO_H_
1616
17 #include "AMDGPUInstrInfo.h"
1718 #include "AMDIL.h"
18 #include "AMDGPUInstrInfo.h"
1919 #include "R600Defines.h"
2020 #include "R600RegisterInfo.h"
21
2221 #include
2322
2423 namespace llvm {
1414 #ifndef R600REGISTERINFO_H_
1515 #define R600REGISTERINFO_H_
1616
17 #include "AMDGPURegisterInfo.h"
1718 #include "AMDGPUTargetMachine.h"
18 #include "AMDGPURegisterInfo.h"
1919
2020 namespace llvm {
2121
1212 //===----------------------------------------------------------------------===//
1313
1414 #include "AMDGPU.h"
15
15 #include "llvm/ADT/DepthFirstIterator.h"
16 #include "llvm/Analysis/Dominators.h"
17 #include "llvm/Module.h"
1618 #include "llvm/Pass.h"
17 #include "llvm/Module.h"
18 #include "llvm/Analysis/Dominators.h"
1919 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
20 #include "llvm/ADT/DepthFirstIterator.h"
2120 #include "llvm/Transforms/Utils/SSAUpdater.h"
2221
2322 using namespace llvm;
1717 #include "llvm/CodeGen/MachineInstrBuilder.h"
1818 #include "llvm/CodeGen/MachineRegisterInfo.h"
1919 #include "llvm/MC/MCInstrDesc.h"
20
2120 #include
2221
2322 using namespace llvm;
1111 //===----------------------------------------------------------------------===//
1212
1313 #include "XCoreMCTargetDesc.h"
14 #include "InstPrinter/XCoreInstPrinter.h"
1415 #include "XCoreMCAsmInfo.h"
15 #include "InstPrinter/XCoreInstPrinter.h"
1616 #include "llvm/MC/MCCodeGenInfo.h"
1717 #include "llvm/MC/MCInstrInfo.h"
1818 #include "llvm/MC/MCRegisterInfo.h"
1313
1414 #define DEBUG_TYPE "asm-printer"
1515 #include "XCore.h"
16 #include "InstPrinter/XCoreInstPrinter.h"
1617 #include "XCoreInstrInfo.h"
1718 #include "XCoreMCInstLower.h"
18 #include "InstPrinter/XCoreInstPrinter.h"
1919 #include "XCoreSubtarget.h"
2020 #include "XCoreTargetMachine.h"
2121 #include "llvm/ADT/SmallString.h"
2525 #include "llvm/ADT/SmallVector.h"
2626 #include "llvm/ADT/StringExtras.h"
2727 #include "llvm/ADT/Triple.h"
28 #include "llvm/DIBuilder.h"
2829 #include "llvm/DataLayout.h"
29 #include "llvm/DIBuilder.h"
3030 #include "llvm/Function.h"
3131 #include "llvm/IRBuilder.h"
3232 #include "llvm/InlineAsm.h"
2929
3030 #define DEBUG_TYPE "objc-arc"
3131 #include "llvm/ADT/DenseMap.h"
32 #include "llvm/Support/CommandLine.h"
3233 #include "llvm/Support/Debug.h"
33 #include "llvm/Support/CommandLine.h"
3434 #include "llvm/Support/raw_ostream.h"
3535 using namespace llvm;
3636
1313
1414 #include "llvm/Transforms/Utils/Local.h"
1515 #include "llvm/ADT/DenseMap.h"
16 #include "llvm/ADT/STLExtras.h"
1617 #include "llvm/ADT/SmallPtrSet.h"
17 #include "llvm/ADT/STLExtras.h"
1818 #include "llvm/Analysis/Dominators.h"
1919 #include "llvm/Analysis/InstructionSimplify.h"
2020 #include "llvm/Analysis/MemoryBuiltins.h"