[CodeGen] Remove unused forward declarations (NFC)

This commit is contained in:
Kazu Hirata 2021-12-31 14:10:30 -08:00
parent 732e8968a8
commit 813f00835d
15 changed files with 0 additions and 16 deletions

View File

@ -17,7 +17,6 @@
namespace llvm {
class DILocalVariable;
class DILocation;
class DINode;
class MachineFunction;

View File

@ -18,7 +18,6 @@ namespace llvm {
class AsmPrinter;
class MCExpr;
class raw_ostream;
class FaultMaps {
public:

View File

@ -20,7 +20,6 @@ class GISelChangeObserver;
class LegalizerInfo;
class MachineInstr;
class MachineIRBuilder;
class MachineRegisterInfo;
// Contains information relevant to enabling/disabling various combines for a
// pass.

View File

@ -15,7 +15,6 @@
namespace llvm {
class MachineInstr;
class MachineFunction;
// Worklist which mostly works similar to InstCombineWorkList, but on
// MachineInstrs. The main difference with something like a SetVector is that

View File

@ -25,7 +25,6 @@
namespace llvm {
class MachineRegisterInfo;
class LostDebugLocObserver;
class Legalizer : public MachineFunctionPass {

View File

@ -30,7 +30,6 @@
namespace llvm {
// Forward declarations.
class LegalizerInfo;
class Legalizer;
class MachineRegisterInfo;
class GISelChangeObserver;
class LostDebugLocObserver;

View File

@ -38,7 +38,6 @@ class LegalizerHelper;
class MachineInstr;
class MachineRegisterInfo;
class MCInstrInfo;
class GISelChangeObserver;
namespace LegalizeActions {
enum LegalizeAction : std::uint8_t {

View File

@ -30,7 +30,6 @@
namespace llvm {
// Forward declarations.
class MachineRegisterInfo;
class TargetTransformInfo;
namespace GISelAddressing {
/// Helper struct to store a base, index and offset that forms an address
struct BaseIndexOffset {

View File

@ -44,7 +44,6 @@ class TargetLowering;
class TargetPassConfig;
class TargetRegisterInfo;
class TargetRegisterClass;
class ConstantInt;
class ConstantFP;
class APFloat;
class MachineIRBuilder;

View File

@ -34,9 +34,7 @@ namespace llvm {
class AAResults;
class LiveIntervals;
class MachineBlockFrequencyInfo;
class MachineInstr;
class MachineLoopInfo;
class MachineOperand;
class TargetInstrInfo;
class TargetRegisterInfo;

View File

@ -10,7 +10,6 @@
#define LLVM_CODEGEN_MACHINELOOPUTILS_H
namespace llvm {
class MachineLoop;
class MachineBasicBlock;
class MachineRegisterInfo;
class TargetInstrInfo;

View File

@ -44,7 +44,6 @@
namespace llvm {
class BasicBlock;
class CallInst;
class Function;
class LLVMTargetMachine;
class MMIAddrLabelMap;

View File

@ -30,7 +30,6 @@ class MemoryBuffer;
class ModulePass;
class Pass;
class TargetMachine;
class TargetRegisterClass;
class raw_ostream;
} // End llvm namespace

View File

@ -26,7 +26,6 @@
namespace llvm {
class MachineBasicBlock;
class MachineBlockFrequencyInfo;
class MachineBranchProbabilityInfo;
class MachineFunction;
class MachineInstr;

View File

@ -63,7 +63,6 @@
namespace llvm {
class BranchProbability;
class CCState;
class CCValAssign;
class Constant;