Skip to content

Commit 8b11811

Browse files
[Transforms] Remove unused forward declarations (NFC)
1 parent 0044173 commit 8b11811

File tree

9 files changed

+0
-14
lines changed

9 files changed

+0
-14
lines changed

llvm/include/llvm/Transforms/HipStdPar/HipStdPar.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
namespace llvm {
2424

2525
class Module;
26-
class ModuleAnaysisManager;
2726

2827
class HipStdParAcceleratorCodeSelectionPass
2928
: public PassInfoMixin<HipStdParAcceleratorCodeSelectionPass> {

llvm/include/llvm/Transforms/IPO/EmbedBitcodePass.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222

2323
namespace llvm {
2424
class Module;
25-
class ModulePass;
2625
class Pass;
2726

2827
/// Pass embeds a copy of the module optimized with the provided pass pipeline

llvm/include/llvm/Transforms/Instrumentation/MemProfiler.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@
1717

1818
namespace llvm {
1919
class Function;
20-
class FunctionPass;
2120
class Module;
22-
class ModulePass;
2321

2422
namespace vfs {
2523
class FileSystem;

llvm/include/llvm/Transforms/Scalar/Scalarizer.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
namespace llvm {
2525

2626
class Function;
27-
class FunctionPass;
2827

2928
struct ScalarizerPassOptions {
3029
// These options correspond 1:1 to cl::opt options defined in

llvm/include/llvm/Transforms/Scalar/SimpleLoopUnswitch.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ namespace llvm {
1717

1818
class LPMUpdater;
1919
class Loop;
20-
class Pass;
2120
class StringRef;
2221
class raw_ostream;
2322

llvm/include/llvm/Transforms/Utils/ValueMapper.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
namespace llvm {
2323

2424
class Constant;
25-
class DIBuilder;
2625
class DPValue;
2726
class Function;
2827
class GlobalVariable;

llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@
4747
#include <utility>
4848

4949
namespace llvm {
50-
class AssumptionCache;
5150
class DataLayout;
52-
class DominatorTree;
5351
class LLVMContext;
5452
} // namespace llvm
5553

llvm/lib/Transforms/Vectorize/VPlanAnalysis.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,9 @@ namespace llvm {
1616
class LLVMContext;
1717
class VPValue;
1818
class VPBlendRecipe;
19-
class VPInterleaveRecipe;
2019
class VPInstruction;
21-
class VPReductionPHIRecipe;
2220
class VPWidenRecipe;
2321
class VPWidenCallRecipe;
24-
class VPWidenCastRecipe;
2522
class VPWidenIntOrFpInductionRecipe;
2623
class VPWidenMemoryInstructionRecipe;
2724
struct VPWidenSelectRecipe;

llvm/lib/Transforms/Vectorize/VPlanTransforms.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,9 @@ class InductionDescriptor;
2222
class Instruction;
2323
class PHINode;
2424
class ScalarEvolution;
25-
class Loop;
2625
class PredicatedScalarEvolution;
2726
class TargetLibraryInfo;
2827
class VPBuilder;
29-
class VPRecipeBuilder;
3028

3129
struct VPlanTransforms {
3230
/// Replaces the VPInstructions in \p Plan with corresponding

0 commit comments

Comments
 (0)