ProfileInfo interface tweaks.
authorDaniel Dunbar <daniel@zuster.org>
Tue, 14 Jul 2009 06:58:59 +0000 (06:58 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Tue, 14 Jul 2009 06:58:59 +0000 (06:58 +0000)
commit858cb8a5e07d4fe4b516a99eef7e8c028516a679
treeff34da69a12554b93f8bc94551280ae165b40cb7
parente11c4db848d4b9c0e8a2bd1752ec87a451ff3a55
ProfileInfo interface tweaks.
 - Add getExecutionCount(const Function).

 - Add helper Edge type.

 - constify.

 - No functionality change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75623 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Analysis/ProfileInfo.h
lib/Analysis/ProfileInfo.cpp