* auto-profile.c (AFDO_EINFO): New macro.
commit1cd65f4bb13ce5b8af4f844d6558505aacb587c5
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Dec 2018 05:40:07 +0000 (14 05:40 +0000)
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Dec 2018 05:40:07 +0000 (14 05:40 +0000)
tree9efe394f8e8344fae649f0f8aaeb36be2b0e7959
parent6e7b2077261fd5403ea855b43d1e63ccc705b9f7
* auto-profile.c (AFDO_EINFO): New macro.
(class edge_info): New class.
(is_edge_annotated, set_edge_annotated): Delete.
(afdo_propagate_edge, afdo_propagate_circuit, afdo_propagate): Remove
parameter.  Adjust edge count computation and annotation using class
edge_info.
(afdo_calculate_branch_prob, afdo_annotate_cfg): Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@267119 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/auto-profile.c