OSDN Git Service

Preparation for Optimal Edge Profiling:
authorAndreas Neustifter <astifter-llvm@gmx.at>
Tue, 1 Sep 2009 10:06:05 +0000 (10:06 +0000)
committerAndreas Neustifter <astifter-llvm@gmx.at>
Tue, 1 Sep 2009 10:06:05 +0000 (10:06 +0000)
commite885af9fb773f5a01a5b31fa0a0b7fd0489bde56
treec78caf02d8f9bab167ab83f8649a8de7a2fe799c
parente7ddcfdebe357b4067f9c7d68d44616e11351a23
Preparation for Optimal Edge Profiling:
Optimal edge profiling is only possible when blocks with no predecessors get an
virtual edge (BB,0) that counts the execution frequencies of this
function-exiting blocks.
This patch makes the necessary changes before actually enabling optimal edge profiling.

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