[NFC] [SCCP] remove unused functions (#105603)
diff --git a/llvm/include/llvm/Transforms/Utils/SCCPSolver.h b/llvm/include/llvm/Transforms/Utils/SCCPSolver.h
index 9f7ccd4..1f95931 100644
--- a/llvm/include/llvm/Transforms/Utils/SCCPSolver.h
+++ b/llvm/include/llvm/Transforms/Utils/SCCPSolver.h
@@ -167,9 +167,6 @@
/// Return either a Constant or nullptr for a given Value.
Constant *getConstantOrNull(Value *V) const;
- /// Return a reference to the set of argument tracked functions.
- SmallPtrSetImpl<Function *> &getArgumentTrackedFunctions();
-
/// Set the Lattice Value for the arguments of a specialization \p F.
/// If an argument is Constant then its lattice value is marked with the
/// corresponding actual argument in \p Args. Otherwise, its lattice value
diff --git a/llvm/lib/Transforms/Utils/SCCPSolver.cpp b/llvm/lib/Transforms/Utils/SCCPSolver.cpp
index c944859..40f0f04 100644
--- a/llvm/lib/Transforms/Utils/SCCPSolver.cpp
+++ b/llvm/lib/Transforms/Utils/SCCPSolver.cpp
@@ -829,10 +829,6 @@
Constant *getConstantOrNull(Value *V) const;
- SmallPtrSetImpl<Function *> &getArgumentTrackedFunctions() {
- return TrackingIncomingArguments;
- }
-
void setLatticeValueForSpecializationArguments(Function *F,
const SmallVectorImpl<ArgInfo> &Args);
@@ -2157,10 +2153,6 @@
return Visitor->getConstantOrNull(V);
}
-SmallPtrSetImpl<Function *> &SCCPSolver::getArgumentTrackedFunctions() {
- return Visitor->getArgumentTrackedFunctions();
-}
-
void SCCPSolver::setLatticeValueForSpecializationArguments(Function *F,
const SmallVectorImpl<ArgInfo> &Args) {
Visitor->setLatticeValueForSpecializationArguments(F, Args);