mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-12 13:38:21 +00:00
Remove trailing whitespace
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21416 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user