summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenPGO.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2014-02-17 19:21:03 +0000
committerBob Wilson <bob.wilson@apple.com>2014-02-17 19:21:03 +0000
commita7b16e0ffde87990d3c6ae53e7bb456e2d888bd9 (patch)
treeea165ce5d18ac4abb4c48466324f8d56a4fcf784 /clang/lib/CodeGen/CodeGenPGO.h
parent95a27b0e60dd838094b1f64bda7ad7ad6148dbee (diff)
downloadbcm5719-llvm-a7b16e0ffde87990d3c6ae53e7bb456e2d888bd9.tar.gz
bcm5719-llvm-a7b16e0ffde87990d3c6ae53e7bb456e2d888bd9.zip
Some nitpicky comment fixes for "i.e." and "e.g." abbreviations.
llvm-svn: 201527
Diffstat (limited to 'clang/lib/CodeGen/CodeGenPGO.h')
-rw-r--r--clang/lib/CodeGen/CodeGenPGO.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/lib/CodeGen/CodeGenPGO.h b/clang/lib/CodeGen/CodeGenPGO.h
index 6409a10525b..38923d1b98f 100644
--- a/clang/lib/CodeGen/CodeGenPGO.h
+++ b/clang/lib/CodeGen/CodeGenPGO.h
@@ -158,7 +158,7 @@ public:
/// number of direct jumps to that label.
uint64_t getCount() const { return Count; }
/// Get the value of the counter with adjustments applied. Adjustments occur
- /// when control enters or leaves the region abnormally, ie, if there is a
+ /// when control enters or leaves the region abnormally; i.e., if there is a
/// jump to a label within the region, or if the function can return from
/// within the region. The adjusted count, then, is the value of the counter
/// at the end of the region.
@@ -166,10 +166,10 @@ public:
assert((Adjust > 0 || (uint64_t)(-Adjust) <= Count) && "Negative count");
return Count + Adjust;
}
- /// Get the value of the counter in this region's parent, ie, the region that
- /// was active when this region began. This is useful for deriving counts in
- /// implicitly counted regions, like the false case of a condition or the
- /// normal exits of a loop.
+ /// Get the value of the counter in this region's parent, i.e., the region
+ /// that was active when this region began. This is useful for deriving
+ /// counts in implicitly counted regions, like the false case of a condition
+ /// or the normal exits of a loop.
uint64_t getParentCount() const { return ParentCount; }
/// Get the number of times the condition of a loop will evaluate false. This
OpenPOWER on IntegriCloud