From d0ec61c9ffb32891ed02e57fd2327aa4d641ecde Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 7 Aug 2022 00:16:16 -0700 Subject: [PATCH] [Target] Remove unused forward declarations (NFC) --- llvm/lib/Target/AArch64/AArch64FrameLowering.h | 2 -- llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h | 1 - llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h | 1 - llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h | 1 - llvm/lib/Target/AMDGPU/SIInstrInfo.cpp | 3 --- 5 files changed, 8 deletions(-) diff --git a/llvm/lib/Target/AArch64/AArch64FrameLowering.h b/llvm/lib/Target/AArch64/AArch64FrameLowering.h index f59860a..2d9c346 100644 --- a/llvm/lib/Target/AArch64/AArch64FrameLowering.h +++ b/llvm/lib/Target/AArch64/AArch64FrameLowering.h @@ -18,8 +18,6 @@ namespace llvm { -class MCCFIInstruction; - class AArch64FrameLowering : public TargetFrameLowering { public: explicit AArch64FrameLowering() diff --git a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h index 7d1de3e..049c497 100644 --- a/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h +++ b/llvm/lib/Target/AArch64/MCTargetDesc/AArch64MCTargetDesc.h @@ -33,7 +33,6 @@ class MCSubtargetInfo; class MCTargetOptions; class MCTargetStreamer; class Target; -class FeatureBitset; MCCodeEmitter *createAArch64MCCodeEmitter(const MCInstrInfo &MCII, MCContext &Ctx); diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h index 228963f..200c9b8 100644 --- a/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h +++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/AMDGPUMCCodeEmitter.h @@ -23,7 +23,6 @@ class MCInst; class MCInstrInfo; class MCOperand; class MCSubtargetInfo; -class FeatureBitset; class AMDGPUMCCodeEmitter : public MCCodeEmitter { virtual void anchor(); diff --git a/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h b/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h index b4ce748..cf40e7e 100644 --- a/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h +++ b/llvm/lib/Target/AMDGPU/MCTargetDesc/R600MCTargetDesc.h @@ -21,7 +21,6 @@ namespace llvm { class MCCodeEmitter; class MCContext; class MCInstrInfo; -class MCRegisterInfo; MCCodeEmitter *createR600MCCodeEmitter(const MCInstrInfo &MCII, MCContext &Ctx); diff --git a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp index 8eed1b0..02384e3 100644 --- a/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp +++ b/llvm/lib/Target/AMDGPU/SIInstrInfo.cpp @@ -39,9 +39,6 @@ using namespace llvm; #include "AMDGPUGenInstrInfo.inc" namespace llvm { - -class AAResults; - namespace AMDGPU { #define GET_D16ImageDimIntrinsics_IMPL #define GET_ImageDimIntrinsicTable_IMPL -- 2.7.4