summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstCount.cpp
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2005-04-21 21:13:18 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2005-04-21 21:13:18 +0000
commit01808caded68f5b8939e5ebed01b2fecc94955f0 (patch)
treea5de79857a8dad40192bf1114cc1b4ce8b6e5b16 /llvm/lib/Analysis/InstCount.cpp
parent13f332cd3fcc00c7867db24784a3018aada46835 (diff)
downloadbcm5719-llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.tar.gz
bcm5719-llvm-01808caded68f5b8939e5ebed01b2fecc94955f0.zip
Remove trailing whitespace
llvm-svn: 21416
Diffstat (limited to 'llvm/lib/Analysis/InstCount.cpp')
-rw-r--r--llvm/lib/Analysis/InstCount.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/llvm/lib/Analysis/InstCount.cpp b/llvm/lib/Analysis/InstCount.cpp
index c3a12eeb241..bd3f4db0c35 100644
--- a/llvm/lib/Analysis/InstCount.cpp
+++ b/llvm/lib/Analysis/InstCount.cpp
@@ -1,13 +1,13 @@
//===-- InstCount.cpp - Collects the count of all instructions ------------===//
-//
+//
// The LLVM Compiler Infrastructure
//
// This file was developed by the LLVM research group and is distributed under
// the University of Illinois Open Source License. See LICENSE.TXT for details.
-//
+//
//===----------------------------------------------------------------------===//
//
-// This pass collects the count of all instructions and reports them
+// This pass collects the count of all instructions and reports them
//
//===----------------------------------------------------------------------===//
@@ -62,11 +62,11 @@ namespace {
//
bool InstCount::runOnFunction(Function &F) {
unsigned StartMemInsts =
- NumGetElementPtrInst + NumLoadInst + NumStoreInst + NumCallInst +
+ NumGetElementPtrInst + NumLoadInst + NumStoreInst + NumCallInst +
NumInvokeInst + NumAllocaInst + NumMallocInst + NumFreeInst;
visit(F);
unsigned EndMemInsts =
- NumGetElementPtrInst + NumLoadInst + NumStoreInst + NumCallInst +
+ NumGetElementPtrInst + NumLoadInst + NumStoreInst + NumCallInst +
NumInvokeInst + NumAllocaInst + NumMallocInst + NumFreeInst;
TotalMemInst += EndMemInsts-StartMemInsts;
return false;
OpenPOWER on IntegriCloud