llvm.org GIT mirror llvm / 39aa893
Remove 3 includes from MCInstrDesc.h and explicitly include them where needed git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@237481 91177308-0d34-0410-b5e6-96231b3b80d8 Pete Cooper 5 years ago
17 changed file(s) with 28 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
1818 #include "llvm/CodeGen/MachineFrameInfo.h"
1919 #include "llvm/CodeGen/MachineFunction.h"
2020 #include "llvm/IR/CallingConv.h"
21 #include "llvm/MC/MCRegisterInfo.h"
2122 #include "llvm/Target/TargetCallingConv.h"
2223
2324 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"
19 #include "llvm/MC/MCSubtargetInfo.h"
2017 #include "llvm/Support/DataTypes.h"
18 #include
2119
2220 namespace llvm {
21 class MCInst;
22 class MCRegisterInfo;
23 class MCSubtargetInfo;
2324
2425 //===----------------------------------------------------------------------===//
2526 // Machine Operand Flags and Description
1313
1414 #include "llvm/MC/MCInstrDesc.h"
1515 #include "llvm/MC/MCInst.h"
16 #include "llvm/MC/MCRegisterInfo.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
1618
1719 using namespace llvm;
1820
1313 #ifndef LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCINSTRINFO_H
1414 #define LLVM_LIB_TARGET_HEXAGON_MCTARGETDESC_HEXAGONMCINSTRINFO_H
1515
16 #include "llvm/MC/MCInst.h"
1617 #include "llvm/MC/MCInstrInfo.h"
1718
1819 #include
2222 #include "llvm/MC/MCFixup.h"
2323 #include "llvm/MC/MCInst.h"
2424 #include "llvm/MC/MCInstrInfo.h"
25 #include "llvm/MC/MCRegisterInfo.h"
2526 #include "llvm/MC/MCSubtargetInfo.h"
2627 #include "llvm/Support/raw_ostream.h"
2728
3939 // (subclass of MCStreamer).
4040
4141 namespace llvm {
42 class MCOperand;
4243
4344 class LineReader {
4445 private:
1616 #include "llvm/MC/MCExpr.h"
1717 #include "llvm/MC/MCInst.h"
1818 #include "llvm/MC/MCInstrInfo.h"
19 #include "llvm/MC/MCRegisterInfo.h"
20 #include "llvm/MC/MCSubtargetInfo.h"
1921 #include "llvm/MC/MCSymbol.h"
2022 #include "llvm/Support/CommandLine.h"
2123 #include "llvm/Support/raw_ostream.h"
1919 #include "llvm/MC/MCExpr.h"
2020 #include "llvm/MC/MCInst.h"
2121 #include "llvm/MC/MCInstrInfo.h"
22 #include "llvm/MC/MCRegisterInfo.h"
2223 #include "llvm/MC/MCSubtargetInfo.h"
2324 #include "llvm/Support/ErrorHandling.h"
2425 #include "llvm/Support/raw_ostream.h"
3030 #include "llvm/CodeGen/SlotIndexes.h"
3131 #include "llvm/CodeGen/StackMaps.h"
3232 #include "llvm/MC/MCAsmInfo.h"
33 #include "llvm/MC/MCInst.h"
3334 #include "llvm/Support/CommandLine.h"
3435 #include "llvm/Support/Debug.h"
3536 #include "llvm/Support/ErrorHandling.h"
1515 #include "SparcSubtarget.h"
1616 #include "llvm/MC/MCDisassembler.h"
1717 #include "llvm/MC/MCFixedLenDisassembler.h"
18 #include "llvm/MC/MCInst.h"
1819 #include "llvm/MC/MCContext.h"
1920 #include "llvm/MC/MCAsmInfo.h"
2021 #include "llvm/Support/TargetRegistry.h"
88
99 #include "SystemZInstPrinter.h"
1010 #include "llvm/MC/MCExpr.h"
11 #include "llvm/MC/MCInst.h"
1112 #include "llvm/MC/MCInstrInfo.h"
1213 #include "llvm/MC/MCSymbol.h"
14 #include "llvm/Support/ErrorHandling.h"
1315 #include "llvm/Support/raw_ostream.h"
1416
1517 using namespace llvm;
1515 #include "llvm/MC/MCCodeEmitter.h"
1616 #include "llvm/MC/MCContext.h"
1717 #include "llvm/MC/MCExpr.h"
18 #include "llvm/MC/MCInst.h"
1819 #include "llvm/MC/MCInstrInfo.h"
20 #include "llvm/MC/MCRegisterInfo.h"
1921
2022 using namespace llvm;
2123
1111 #include "SystemZMCAsmInfo.h"
1212 #include "llvm/MC/MCCodeGenInfo.h"
1313 #include "llvm/MC/MCInstrInfo.h"
14 #include "llvm/MC/MCRegisterInfo.h"
1415 #include "llvm/MC/MCStreamer.h"
1516 #include "llvm/MC/MCSubtargetInfo.h"
1617 #include "llvm/Support/TargetRegistry.h"
1111
1212 #include "X86AsmParserCommon.h"
1313 #include "llvm/MC/MCExpr.h"
14 #include "llvm/MC/MCInst.h"
15 #include "llvm/MC/MCRegisterInfo.h"
1416 #include "llvm/MC/MCParser/MCParsedAsmOperand.h"
1517 #include "llvm/ADT/STLExtras.h"
18 #include "MCTargetDesc/X86MCTargetDesc.h"
1619
1720 namespace llvm {
1821
1313 #include "llvm/MC/MCELFObjectWriter.h"
1414 #include "llvm/MC/MCExpr.h"
1515 #include "llvm/MC/MCFixupKindInfo.h"
16 #include "llvm/MC/MCInst.h"
1617 #include "llvm/MC/MCMachObjectWriter.h"
1718 #include "llvm/MC/MCObjectWriter.h"
19 #include "llvm/MC/MCRegisterInfo.h"
1820 #include "llvm/MC/MCSectionCOFF.h"
1921 #include "llvm/MC/MCSectionELF.h"
2022 #include "llvm/MC/MCSectionMachO.h"
1919 #include "X86GenRegisterInfo.inc"
2020
2121 namespace llvm {
22 class Triple;
23
2224 class X86RegisterInfo final : public X86GenRegisterInfo {
2325 private:
2426 /// Is64Bit - Is the target 64-bits.
2222 #include "llvm/MC/MCInstPrinter.h"
2323 #include "llvm/MC/MCInstrInfo.h"
2424 #include "llvm/MC/MCRegisterInfo.h"
25 #include "llvm/MC/MCSubtargetInfo.h"
2526 #include "llvm/Object/MachO.h"
2627 #include "llvm/Support/CommandLine.h"
2728 #include "llvm/Support/DynamicLibrary.h"