Skip to content

Commit bc860b4

Browse files
authored
[NFC] [SCCP] remove unused functions (llvm#105603)
1 parent 7d373ce commit bc860b4

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

llvm/include/llvm/Transforms/Utils/SCCPSolver.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,9 +167,6 @@ class SCCPSolver {
167167
/// Return either a Constant or nullptr for a given Value.
168168
Constant *getConstantOrNull(Value *V) const;
169169

170-
/// Return a reference to the set of argument tracked functions.
171-
SmallPtrSetImpl<Function *> &getArgumentTrackedFunctions();
172-
173170
/// Set the Lattice Value for the arguments of a specialization \p F.
174171
/// If an argument is Constant then its lattice value is marked with the
175172
/// corresponding actual argument in \p Args. Otherwise, its lattice value

llvm/lib/Transforms/Utils/SCCPSolver.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -829,10 +829,6 @@ class SCCPInstVisitor : public InstVisitor<SCCPInstVisitor> {
829829

830830
Constant *getConstantOrNull(Value *V) const;
831831

832-
SmallPtrSetImpl<Function *> &getArgumentTrackedFunctions() {
833-
return TrackingIncomingArguments;
834-
}
835-
836832
void setLatticeValueForSpecializationArguments(Function *F,
837833
const SmallVectorImpl<ArgInfo> &Args);
838834

@@ -2157,10 +2153,6 @@ Constant *SCCPSolver::getConstantOrNull(Value *V) const {
21572153
return Visitor->getConstantOrNull(V);
21582154
}
21592155

2160-
SmallPtrSetImpl<Function *> &SCCPSolver::getArgumentTrackedFunctions() {
2161-
return Visitor->getArgumentTrackedFunctions();
2162-
}
2163-
21642156
void SCCPSolver::setLatticeValueForSpecializationArguments(Function *F,
21652157
const SmallVectorImpl<ArgInfo> &Args) {
21662158
Visitor->setLatticeValueForSpecializationArguments(F, Args);

0 commit comments

Comments
 (0)