Add fake indirect edge for AutoFDO+LIPO.
commit9509e195ba5f163816199197f25e9e884b063d3b
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Apr 2014 22:48:31 +0000 (7 22:48 +0000)
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 7 Apr 2014 22:48:31 +0000 (7 22:48 +0000)
treee64fe3028ba0ffc18daf021114f6774c6638770f
parent6d6f714edba9e384ba2aad972b171077c3e7ef12
Add fake indirect edge for AutoFDO+LIPO.

2014-04-07  Dehao Chen  <dehao@google.com>

* gcc/auto-profile.c (get_all_possible_call_targets): New func.
* gcc/auto-profile.h (get_all_possible_call_targets): New func.
* gcc/cgraphbuild.c (add_fake_indirect_call_edges): Process for AutoFDO.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@209203 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8/gcc/auto-profile.c
gcc-4_8/gcc/auto-profile.h
gcc-4_8/gcc/cgraphbuild.c