[llvm-dev] Minimal PGO for ORC JIT

Xinliang David Li via llvm-dev llvm-dev at lists.llvm.org
Fri Mar 29 14:43:34 PDT 2019


Currently PGO is based on branch weight metadata, indirect call target meta
data, function entry counts, and profile summary. It is independent of
source of profile data, so most of the support is already there if the
dynamic profiling provides the same/subset of information. However If you
have new types of profile data that no existing PGO passes take advantage
of,  you can certainly need to write your own support for that.

David

On Fri, Mar 29, 2019 at 2:31 PM preejackie via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hi all,
>
> I need to do dynamic profiling in ORC JIT between the runs. Is it possible
> to re-use parts of the static pgo code in llvm for the purpose given that
> JIT uses llvm codegen. Or I need to write my own implementation to support
> profile guide optimization in JIT ?
>
> Please tell me if you want information.
>
> --
> Have a great day!
> PreeJackie
>
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190329/081bb5ec/attachment.html>


More information about the llvm-dev mailing list