Skip to content

Commit 60f2856

Browse files
committed
public -> private
1 parent 03ae290 commit 60f2856

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

llvm/include/llvm/Transforms/Scalar/JumpThreading.h

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,6 @@ class JumpThreadingPass : public PassInfoMixin<JumpThreadingPass> {
147147

148148
Constant *evaluateOnPredecessorEdge(BasicBlock *BB, BasicBlock *PredPredBB,
149149
Value *cond, const DataLayout &DL);
150-
Constant *evaluateOnPredecessorEdge(BasicBlock *BB, BasicBlock *PredPredBB,
151-
Value *cond, const DataLayout &DL,
152-
SmallPtrSet<Value *, 8> &Visited);
153150
bool maybethreadThroughTwoBasicBlocks(BasicBlock *BB, Value *Cond);
154151
void threadThroughTwoBasicBlocks(BasicBlock *PredPredBB, BasicBlock *PredBB,
155152
BasicBlock *BB, BasicBlock *SuccBB);
@@ -211,6 +208,11 @@ class JumpThreadingPass : public PassInfoMixin<JumpThreadingPass> {
211208
/// if 'HasProfile' is true creates new instance through
212209
/// FunctionAnalysisManager, otherwise nullptr.
213210
BlockFrequencyInfo *getOrCreateBFI(bool Force = false);
211+
212+
// Internal overload of evaluateOnPredecessorEdge().
213+
Constant *evaluateOnPredecessorEdge(BasicBlock *BB, BasicBlock *PredPredBB,
214+
Value *cond, const DataLayout &DL,
215+
SmallPtrSet<Value *, 8> &Visited);
214216
};
215217

216218
} // end namespace llvm

0 commit comments

Comments
 (0)