summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-25 16:18:38 +0000
committerDan Gohman <gohman@apple.com>2009-07-25 16:18:38 +0000
commit3d0b52caf1fefe5abd79d115bc6c938085711b9d (patch)
tree3421544ff66d7964a529bc2f2c26c2a4301a3d5f /llvm
parentef2ae2c8ee440d94f70ad7b9f2a84a5af6cf07af (diff)
downloadbcm5719-llvm-3d0b52caf1fefe5abd79d115bc6c938085711b9d.tar.gz
bcm5719-llvm-3d0b52caf1fefe5abd79d115bc6c938085711b9d.zip
Fix a few comments to say "backedge-taken count" instead of
"trip count". llvm-svn: 77081
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/ScalarEvolution.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/include/llvm/Analysis/ScalarEvolution.h b/llvm/include/llvm/Analysis/ScalarEvolution.h
index 872c5ec0e49..25665898927 100644
--- a/llvm/include/llvm/Analysis/ScalarEvolution.h
+++ b/llvm/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);
OpenPOWER on IntegriCloud