From c661bd0886ed0bcebedbc2a0ce7896e576a676a6 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Sun, 24 Jul 2022 12:27:05 -0700 Subject: [PATCH] [llvm] Remove unused forward declarations (NFC) --- llvm/include/llvm/Analysis/MemoryBuiltins.h | 1 - llvm/include/llvm/Analysis/TargetTransformInfo.h | 1 - llvm/include/llvm/CodeGen/LiveIntervals.h | 1 - llvm/include/llvm/CodeGen/TargetInstrInfo.h | 1 - llvm/include/llvm/IR/IntrinsicInst.h | 3 --- llvm/include/llvm/Transforms/IPO.h | 2 -- 6 files changed, 9 deletions(-) diff --git a/llvm/include/llvm/Analysis/MemoryBuiltins.h b/llvm/include/llvm/Analysis/MemoryBuiltins.h index 422f63d..5cc85c4 100644 --- a/llvm/include/llvm/Analysis/MemoryBuiltins.h +++ b/llvm/include/llvm/Analysis/MemoryBuiltins.h @@ -30,7 +30,6 @@ namespace llvm { class AllocaInst; class AAResults; class Argument; -class CallInst; class ConstantPointerNull; class DataLayout; class ExtractElementInst; diff --git a/llvm/include/llvm/Analysis/TargetTransformInfo.h b/llvm/include/llvm/Analysis/TargetTransformInfo.h index da4410f..6ea6d23 100644 --- a/llvm/include/llvm/Analysis/TargetTransformInfo.h +++ b/llvm/include/llvm/Analysis/TargetTransformInfo.h @@ -49,7 +49,6 @@ class InstCombiner; class OptimizationRemarkEmitter; class IntrinsicInst; class LoadInst; -class LoopAccessInfo; class Loop; class LoopInfo; class LoopVectorizationLegality; diff --git a/llvm/include/llvm/CodeGen/LiveIntervals.h b/llvm/include/llvm/CodeGen/LiveIntervals.h index b26aa77..0c846c6 100644 --- a/llvm/include/llvm/CodeGen/LiveIntervals.h +++ b/llvm/include/llvm/CodeGen/LiveIntervals.h @@ -39,7 +39,6 @@ namespace llvm { extern cl::opt UseSegmentSetForPhysRegs; -class AAResults; class BitVector; class LiveIntervalCalc; class MachineBlockFrequencyInfo; diff --git a/llvm/include/llvm/CodeGen/TargetInstrInfo.h b/llvm/include/llvm/CodeGen/TargetInstrInfo.h index a1c9061..72f69f4 100644 --- a/llvm/include/llvm/CodeGen/TargetInstrInfo.h +++ b/llvm/include/llvm/CodeGen/TargetInstrInfo.h @@ -38,7 +38,6 @@ namespace llvm { -class AAResults; class DFAPacketizer; class InstrItineraryData; class LiveIntervals; diff --git a/llvm/include/llvm/IR/IntrinsicInst.h b/llvm/include/llvm/IR/IntrinsicInst.h index fc9111a..7eaf8eaa 100644 --- a/llvm/include/llvm/IR/IntrinsicInst.h +++ b/llvm/include/llvm/IR/IntrinsicInst.h @@ -1356,9 +1356,6 @@ public: } }; -// Defined in Statepoint.h -- NOT a subclass of IntrinsicInst -class GCStatepointInst; - /// Common base class for representing values projected from a statepoint. /// Currently, the only projections available are gc.result and gc.relocate. class GCProjectionInst : public IntrinsicInst { diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h index 0b0f30b..52f0bc9 100644 --- a/llvm/include/llvm/Transforms/IPO.h +++ b/llvm/include/llvm/Transforms/IPO.h @@ -21,8 +21,6 @@ namespace llvm { struct InlineParams; -class StringRef; -class ModuleSummaryIndex; class ModulePass; class Pass; class BasicBlock; -- 2.7.4