diff options
author | Dan Gohman <gohman@apple.com> | 2009-07-25 16:18:38 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2009-07-25 16:18:38 +0000 |
commit | 7e77f7959162a601291fd5400a88908d021033d3 (patch) | |
tree | c080cc9f4ee8536f5032cd39ee8d82d152640ca3 /include | |
parent | bc3d77a0df8f863956cd681131b7258e91ba6ce8 (diff) | |
download | external_llvm-7e77f7959162a601291fd5400a88908d021033d3.zip external_llvm-7e77f7959162a601291fd5400a88908d021033d3.tar.gz external_llvm-7e77f7959162a601291fd5400a88908d021033d3.tar.bz2 |
Fix a few comments to say "backedge-taken count" instead of
"trip count".
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77081 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/ScalarEvolution.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/llvm/Analysis/ScalarEvolution.h b/include/llvm/Analysis/ScalarEvolution.h index 872c5ec..2566589 100644 --- a/include/llvm/Analysis/ScalarEvolution.h +++ b/include/llvm/Analysis/ScalarEvolution.h @@ -291,7 +291,8 @@ namespace llvm { BasicBlock *FBB); /// ComputeLoadConstantCompareBackedgeTakenCount - Given an exit condition - /// of 'icmp op load X, cst', try to see if we can compute the trip count. + /// of 'icmp op load X, cst', try to see if we can compute the + /// backedge-taken count. const SCEV * ComputeLoadConstantCompareBackedgeTakenCount(LoadInst *LI, Constant *RHS, @@ -302,7 +303,7 @@ namespace llvm { /// a constant number of times (the condition evolves only from constants), /// try to evaluate a few iterations of the loop until we get the exit /// condition gets a value of ExitWhen (true or false). If we cannot - /// evaluate the trip count of the loop, return CouldNotCompute. + /// evaluate the backedge-taken count of the loop, return CouldNotCompute. const SCEV *ComputeBackedgeTakenCountExhaustively(const Loop *L, Value *Cond, bool ExitWhen); |