[cfe-dev] Clang PGO and LLVM PGO commandline interface

Johan Engelen via cfe-dev cfe-dev at lists.llvm.org
Wed Dec 27 14:37:46 PST 2017

Hello all,
  A while ago, I implemented frontend-based PGO in LDC (very similar to
Clang's) and now I'd like to add IR-based PGO. I want the commandline
interface to be the same (or very similar) to Clang's, but I am having
trouble finding the current state of Clang's PGO commandline flags (and
their meaning related to Clang/LLVM-IR PGO).

Can you give me a pointer to where I can find this, or perhaps give me a
brief overview of the current flags and how to select whether to use
frontend-based or IR-based PGO ?

Thanks a lot,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20171227/ba393115/attachment.html>

More information about the cfe-dev mailing list