llvm.org GIT mirror llvm / 30e7d03
Remove extra forward declarations and scrub includes for all in tree InstPrinters. NFC git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@256427 91177308-0d34-0410-b5e6-96231b3b80d8 Craig Topper 4 years ago
18 changed file(s) with 4 addition(s) and 31 deletion(s). Raw diff Collapse all Expand all
1818 #include "llvm/MC/MCExpr.h"
1919 #include "llvm/MC/MCInst.h"
2020 #include "llvm/MC/MCRegisterInfo.h"
21 #include "llvm/MC/MCSubtargetInfo.h"
2122 #include "llvm/Support/Format.h"
2223 #include "llvm/Support/raw_ostream.h"
2324 using namespace llvm;
1414 #define LLVM_LIB_TARGET_AARCH64_INSTPRINTER_AARCH64INSTPRINTER_H
1515
1616 #include "MCTargetDesc/AArch64MCTargetDesc.h"
17 #include "llvm/ADT/StringRef.h"
1817 #include "llvm/MC/MCInstPrinter.h"
19 #include "llvm/MC/MCSubtargetInfo.h"
2018
2119 namespace llvm {
22
23 class MCOperand;
2420
2521 class AArch64InstPrinter : public MCInstPrinter {
2622 public:
1515 #include "llvm/MC/MCInstrInfo.h"
1616 #include "llvm/MC/MCRegisterInfo.h"
1717 #include "llvm/Support/MathExtras.h"
18 #include "llvm/Support/raw_ostream.h"
1819
1920 using namespace llvm;
2021
1212 #ifndef LLVM_LIB_TARGET_R600_INSTPRINTER_AMDGPUINSTPRINTER_H
1313 #define LLVM_LIB_TARGET_R600_INSTPRINTER_AMDGPUINSTPRINTER_H
1414
15 #include "llvm/ADT/StringRef.h"
1615 #include "llvm/MC/MCInstPrinter.h"
17 #include "llvm/Support/raw_ostream.h"
1816
1917 namespace llvm {
2018
1818 #include "llvm/MC/MCInst.h"
1919 #include "llvm/MC/MCInstrInfo.h"
2020 #include "llvm/MC/MCRegisterInfo.h"
21 #include "llvm/MC/MCSubtargetInfo.h"
2122 #include "llvm/Support/raw_ostream.h"
2223 using namespace llvm;
2324
1414 #define LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H
1515
1616 #include "llvm/MC/MCInstPrinter.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
1817
1918 namespace llvm {
20
21 class MCOperand;
2219
2320 class ARMInstPrinter : public MCInstPrinter {
2421 public:
1616 #include "llvm/MC/MCInstPrinter.h"
1717
1818 namespace llvm {
19 class MCOperand;
20
2119 class BPFInstPrinter : public MCInstPrinter {
2220 public:
2321 BPFInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
1616 #include "llvm/MC/MCInstPrinter.h"
1717
1818 namespace llvm {
19 class MCOperand;
20
2119 class MSP430InstPrinter : public MCInstPrinter {
2220 public:
2321 MSP430InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
7272 const char *MipsFCCToString(Mips::CondCode CC);
7373 } // end namespace Mips
7474
75 class TargetMachine;
76
7775 class MipsInstPrinter : public MCInstPrinter {
7876 public:
7977 MipsInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
1414 #define LLVM_LIB_TARGET_NVPTX_INSTPRINTER_NVPTXINSTPRINTER_H
1515
1616 #include "llvm/MC/MCInstPrinter.h"
17 #include "llvm/Support/raw_ostream.h"
1817
1918 namespace llvm {
2019
21 class MCOperand;
2220 class MCSubtargetInfo;
2321
2422 class NVPTXInstPrinter : public MCInstPrinter {
1616 #include "llvm/MC/MCInstPrinter.h"
1717
1818 namespace llvm {
19
20 class MCOperand;
2119
2220 class PPCInstPrinter : public MCInstPrinter {
2321 bool IsDarwin;
1414 #define LLVM_LIB_TARGET_SPARC_INSTPRINTER_SPARCINSTPRINTER_H
1515
1616 #include "llvm/MC/MCInstPrinter.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
1817
1918 namespace llvm {
20
21 class MCOperand;
2219
2320 class SparcInstPrinter : public MCInstPrinter {
2421 public:
1414 #define LLVM_LIB_TARGET_SYSTEMZ_INSTPRINTER_SYSTEMZINSTPRINTER_H
1515
1616 #include "llvm/MC/MCInstPrinter.h"
17 #include "llvm/Support/Compiler.h"
1817
1918 namespace llvm {
2019 class MCOperand;
1919
2020 namespace llvm {
2121
22 class MCOperand;
2322 class MCSubtargetInfo;
2423
2524 class WebAssemblyInstPrinter final : public MCInstPrinter {
2020 #include "llvm/MC/MCInst.h"
2121 #include "llvm/MC/MCInstrInfo.h"
2222 #include "llvm/MC/MCRegisterInfo.h"
23 #include "llvm/MC/MCSubtargetInfo.h"
2324 #include "llvm/Support/ErrorHandling.h"
2425 #include "llvm/Support/Format.h"
2526 #include "llvm/Support/FormattedStream.h"
1414 #define LLVM_LIB_TARGET_X86_INSTPRINTER_X86ATTINSTPRINTER_H
1515
1616 #include "llvm/MC/MCInstPrinter.h"
17 #include "llvm/MC/MCSubtargetInfo.h"
1817
1918 namespace llvm {
20
21 class MCOperand;
2219
2320 class X86ATTInstPrinter final : public MCInstPrinter {
2421 public:
1717 #include "llvm/Support/raw_ostream.h"
1818
1919 namespace llvm {
20
21 class MCOperand;
2220
2321 class X86IntelInstPrinter final : public MCInstPrinter {
2422 public:
1717 #include "llvm/MC/MCInstPrinter.h"
1818
1919 namespace llvm {
20
21 class TargetMachine;
2220
2321 class XCoreInstPrinter : public MCInstPrinter {
2422 public: