summaryrefslogtreecommitdiff
path: root/include/llvm/Analysis
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-08 18:59:03 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-08 18:59:03 +0000
commitc43782cf7163805fb6d727382b5f807ea035b2b0 (patch)
tree6d66db6a874af9d7c48d4357655665c547c1ffd0 /include/llvm/Analysis
parent55e354ac0e294bde258420f80a2cc11ea19db482 (diff)
downloadllvm-c43782cf7163805fb6d727382b5f807ea035b2b0.tar.gz
llvm-c43782cf7163805fb6d727382b5f807ea035b2b0.tar.bz2
llvm-c43782cf7163805fb6d727382b5f807ea035b2b0.tar.xz
Some ProfileInfo cleanups.
- Part of optimal static profiling patch sequence by Andreas Neustifter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Analysis')
-rw-r--r--include/llvm/Analysis/LoopInfo.h2
-rw-r--r--include/llvm/Analysis/ProfileInfo.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/Analysis/LoopInfo.h b/include/llvm/Analysis/LoopInfo.h
index fd12e66f29..fb204069dc 100644
--- a/include/llvm/Analysis/LoopInfo.h
+++ b/include/llvm/Analysis/LoopInfo.h
@@ -229,7 +229,7 @@ public:
I != E; ++I)
if (!std::binary_search(LoopBBs.begin(), LoopBBs.end(), *I))
// Not in current loop? It must be an exit block.
- ExitEdges.push_back(std::make_pair(*BI,*I));
+ ExitEdges.push_back(std::make_pair(*BI, *I));
}
/// getUniqueExitBlocks - Return all unique successor blocks of this loop.
diff --git a/include/llvm/Analysis/ProfileInfo.h b/include/llvm/Analysis/ProfileInfo.h
index 3b76ef9456..9b692515f3 100644
--- a/include/llvm/Analysis/ProfileInfo.h
+++ b/include/llvm/Analysis/ProfileInfo.h
@@ -67,7 +67,7 @@ namespace llvm {
// getEdge() - Creates an Edge from two BasicBlocks.
static Edge getEdge(const BasicBlock* Src, const BasicBlock* Dest) {
- return std::make_pair(Src,Dest);
+ return std::make_pair(Src, Dest);
}
//===------------------------------------------------------------------===//