[llvm] c661bd0 - [llvm] Remove unused forward declarations (NFC)
Kazu Hirata via llvm-commits
llvm-commits at lists.llvm.org
Sun Jul 24 12:27:24 PDT 2022
Author: Kazu Hirata
Date: 2022-07-24T12:27:05-07:00
New Revision: c661bd0886ed0bcebedbc2a0ce7896e576a676a6
URL: https://github.com/llvm/llvm-project/commit/c661bd0886ed0bcebedbc2a0ce7896e576a676a6
DIFF: https://github.com/llvm/llvm-project/commit/c661bd0886ed0bcebedbc2a0ce7896e576a676a6.diff
LOG: [llvm] Remove unused forward declarations (NFC)
Added:
Modified:
llvm/include/llvm/Analysis/MemoryBuiltins.h
llvm/include/llvm/Analysis/TargetTransformInfo.h
llvm/include/llvm/CodeGen/LiveIntervals.h
llvm/include/llvm/CodeGen/TargetInstrInfo.h
llvm/include/llvm/IR/IntrinsicInst.h
llvm/include/llvm/Transforms/IPO.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Analysis/MemoryBuiltins.h b/llvm/include/llvm/Analysis/MemoryBuiltins.h
index 422f63db749f6..5cc85c4677cb2 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 da4410fcac144..6ea6d2361eba7 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 b26aa773c9eab..0c846c6671a74 100644
--- a/llvm/include/llvm/CodeGen/LiveIntervals.h
+++ b/llvm/include/llvm/CodeGen/LiveIntervals.h
@@ -39,7 +39,6 @@ namespace llvm {
extern cl::opt<bool> 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 a1c9061baee6f..72f69f4c6b779 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 fc9111a4f5120..7eaf8eaa3b023 100644
--- a/llvm/include/llvm/IR/IntrinsicInst.h
+++ b/llvm/include/llvm/IR/IntrinsicInst.h
@@ -1356,9 +1356,6 @@ class NoAliasScopeDeclInst : public IntrinsicInst {
}
};
-// 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 0b0f30be4dc9e..52f0bc9346bf9 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;
More information about the llvm-commits
mailing list