summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-10 23:46:30 +0000
committerDan Gohman <gohman@apple.com>2010-08-10 23:46:30 +0000
commitaf08a36bd6b9d32a5ea993849d43094fecbd5bed (patch)
tree4c8308966b6d5ccda8915a7b0247c4d1816c6833 /include/llvm/Analysis
parentae321ed287009072e94a41d9c912243c558c43cc (diff)
downloadllvm-af08a36bd6b9d32a5ea993849d43094fecbd5bed.tar.gz
llvm-af08a36bd6b9d32a5ea993849d43094fecbd5bed.tar.bz2
llvm-af08a36bd6b9d32a5ea993849d43094fecbd5bed.tar.xz
Rename and reorder the arguments to isImpliedCond, for consistency and clarity.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@110750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/ScalarEvolution.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h
index 7f224203ab..b084849190 100644
--- a/include/llvm/Analysis/ScalarEvolution.h
+++ b/include/llvm/Analysis/ScalarEvolution.h
@@ -352,10 +352,11 @@ namespace llvm {
std::pair<BasicBlock *, BasicBlock *>
getPredecessorWithUniqueSuccessorForBB(BasicBlock *BB);
- /// isImpliedCond - Test whether the condition described by Pred, LHS,
- /// and RHS is true whenever the given Cond value evaluates to true.
- bool isImpliedCond(Value *Cond, ICmpInst::Predicate Pred,
+ /// isImpliedCond - Test whether the condition described by Pred, LHS, and
+ /// RHS is true whenever the given FoundCondValue value evaluates to true.
+ bool isImpliedCond(ICmpInst::Predicate Pred,
const SCEV *LHS, const SCEV *RHS,
+ Value *FoundCondValue,
bool Inverse);
/// isImpliedCondOperands - Test whether the condition described by Pred,