diff options
author | Dan Gohman <gohman@apple.com> | 2010-08-10 23:46:30 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-08-10 23:46:30 +0000 |
commit | af08a36bd6b9d32a5ea993849d43094fecbd5bed (patch) | |
tree | 4c8308966b6d5ccda8915a7b0247c4d1816c6833 /include/llvm/Analysis/ScalarEvolution.h | |
parent | ae321ed287009072e94a41d9c912243c558c43cc (diff) | |
download | external_llvm-af08a36bd6b9d32a5ea993849d43094fecbd5bed.zip external_llvm-af08a36bd6b9d32a5ea993849d43094fecbd5bed.tar.gz external_llvm-af08a36bd6b9d32a5ea993849d43094fecbd5bed.tar.bz2 |
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/ScalarEvolution.h')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 7f22420..b084849 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, |