Displaying 3 results from an estimated 3 matches for "collectloopblockset".
2017 Dec 15
2
RFC: Synthetic function entry counts
...hose places that directly reference getEntryCount
> are using it to check "HasProfileData". So adding synthetic values would
> cause us to take a lot of code paths in the compiler that were intended to
> use real profile data.
>
> As a simple example, MachineBlockPlacement::collectLoopBlockSet uses MBFI
> and MBPI guarded by a check of getEntryCount to see if PGO data is present
> (the comment even says "This needs precise profile data and we only do this
> when profile data is available."). Do we need to refactor things first to
> use a more semantically meaningful...
2017 Dec 15
2
RFC: Synthetic function entry counts
...ntryCount
>>> are using it to check "HasProfileData". So adding synthetic values would
>>> cause us to take a lot of code paths in the compiler that were intended to
>>> use real profile data.
>>>
>>> As a simple example, MachineBlockPlacement::collectLoopBlockSet uses
>>> MBFI and MBPI guarded by a check of getEntryCount to see if PGO data is
>>> present (the comment even says "This needs precise profile data and we only
>>> do this when profile data is available."). Do we need to refactor things
>>> first to us...
2017 Dec 15
2
RFC: Synthetic function entry counts
On Fri, Dec 15, 2017 at 12:22 AM, Sean Silva <chisophugis at gmail.com> wrote:
> IIUC, this proposal is just saying that we should infer a static profile
> for entry counts just like we do for branch probabilities. In the case of
> entry counts, we do not hide that information behind an analysis like BPI,
> so currently just annotating synthetic PGO entry counts is a simple
>