[SCCP] Remove unused forward declarations (NFC)
authorKazu Hirata <kazu@google.com>
Thu, 18 May 2023 04:06:29 +0000 (21:06 -0700)
committerKazu Hirata <kazu@google.com>
Thu, 18 May 2023 04:06:29 +0000 (21:06 -0700)
While we are at it, this patch removes unnecessary includes.

llvm/include/llvm/Transforms/Scalar/SCCP.h

index 9d5441a..7803f00 100644 (file)
 #ifndef LLVM_TRANSFORMS_SCALAR_SCCP_H
 #define LLVM_TRANSFORMS_SCALAR_SCCP_H
 
-#include "llvm/ADT/STLFunctionalExtras.h"
 #include "llvm/IR/PassManager.h"
 
-#include <functional>
-
 namespace llvm {
-class AssumptionCache;
-class DataLayout;
 class Function;
-class Module;
-class TargetLibraryInfo;
-class TargetTransformInfo;
-struct AnalysisResultsForFn;
 
 /// This pass performs function-level constant propagation and merging.
 class SCCPPass : public PassInfoMixin<SCCPPass> {