forked from OSchip/llvm-project
Remove extra forward declarations and scrub includes for all in tree InstPrinters. NFC
llvm-svn: 256427
This commit is contained in:
parent
c7277d9485
commit
daf2e3ff7a
|
@ -19,6 +19,7 @@
|
|||
#include "llvm/MC/MCExpr.h"
|
||||
#include "llvm/MC/MCInst.h"
|
||||
#include "llvm/MC/MCRegisterInfo.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
||||
|
|
|
@ -15,14 +15,10 @@
|
|||
#define LLVM_LIB_TARGET_AARCH64_INSTPRINTER_AARCH64INSTPRINTER_H
|
||||
|
||||
#include "MCTargetDesc/AArch64MCTargetDesc.h"
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class AArch64InstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
AArch64InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
#include "llvm/MC/MCInstrInfo.h"
|
||||
#include "llvm/MC/MCRegisterInfo.h"
|
||||
#include "llvm/Support/MathExtras.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
using namespace llvm;
|
||||
|
||||
|
|
|
@ -13,9 +13,7 @@
|
|||
#ifndef LLVM_LIB_TARGET_R600_INSTPRINTER_AMDGPUINSTPRINTER_H
|
||||
#define LLVM_LIB_TARGET_R600_INSTPRINTER_AMDGPUINSTPRINTER_H
|
||||
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
|
|
|
@ -19,6 +19,7 @@
|
|||
#include "llvm/MC/MCInst.h"
|
||||
#include "llvm/MC/MCInstrInfo.h"
|
||||
#include "llvm/MC/MCRegisterInfo.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
using namespace llvm;
|
||||
|
||||
|
|
|
@ -15,12 +15,9 @@
|
|||
#define LLVM_LIB_TARGET_ARM_INSTPRINTER_ARMINSTPRINTER_H
|
||||
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class ARMInstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
ARMInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
#include "llvm/MC/MCInstPrinter.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCOperand;
|
||||
|
||||
class BPFInstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
BPFInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -17,8 +17,6 @@
|
|||
#include "llvm/MC/MCInstPrinter.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCOperand;
|
||||
|
||||
class MSP430InstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
MSP430InstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -73,8 +73,6 @@ enum CondCode {
|
|||
const char *MipsFCCToString(Mips::CondCode CC);
|
||||
} // end namespace Mips
|
||||
|
||||
class TargetMachine;
|
||||
|
||||
class MipsInstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
MipsInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -15,11 +15,9 @@
|
|||
#define LLVM_LIB_TARGET_NVPTX_INSTPRINTER_NVPTXINSTPRINTER_H
|
||||
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/Support/raw_ostream.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
class MCSubtargetInfo;
|
||||
|
||||
class NVPTXInstPrinter : public MCInstPrinter {
|
||||
|
|
|
@ -18,8 +18,6 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class PPCInstPrinter : public MCInstPrinter {
|
||||
bool IsDarwin;
|
||||
public:
|
||||
|
|
|
@ -15,12 +15,9 @@
|
|||
#define LLVM_LIB_TARGET_SPARC_INSTPRINTER_SPARCINSTPRINTER_H
|
||||
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class SparcInstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
SparcInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -15,7 +15,6 @@
|
|||
#define LLVM_LIB_TARGET_SYSTEMZ_INSTPRINTER_SYSTEMZINSTPRINTER_H
|
||||
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/Support/Compiler.h"
|
||||
|
||||
namespace llvm {
|
||||
class MCOperand;
|
||||
|
|
|
@ -20,7 +20,6 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
class MCSubtargetInfo;
|
||||
|
||||
class WebAssemblyInstPrinter final : public MCInstPrinter {
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
#include "llvm/MC/MCInst.h"
|
||||
#include "llvm/MC/MCInstrInfo.h"
|
||||
#include "llvm/MC/MCRegisterInfo.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/Support/Format.h"
|
||||
#include "llvm/Support/FormattedStream.h"
|
||||
|
|
|
@ -15,12 +15,9 @@
|
|||
#define LLVM_LIB_TARGET_X86_INSTPRINTER_X86ATTINSTPRINTER_H
|
||||
|
||||
#include "llvm/MC/MCInstPrinter.h"
|
||||
#include "llvm/MC/MCSubtargetInfo.h"
|
||||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class X86ATTInstPrinter final : public MCInstPrinter {
|
||||
public:
|
||||
X86ATTInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class MCOperand;
|
||||
|
||||
class X86IntelInstPrinter final : public MCInstPrinter {
|
||||
public:
|
||||
X86IntelInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
|
@ -19,8 +19,6 @@
|
|||
|
||||
namespace llvm {
|
||||
|
||||
class TargetMachine;
|
||||
|
||||
class XCoreInstPrinter : public MCInstPrinter {
|
||||
public:
|
||||
XCoreInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII,
|
||||
|
|
Loading…
Reference in New Issue