PGO
The profile data on which this tool depends is generated by PGO. Before using this tool, it is recommended that you become familiar with the compiler's PGO technology.
A typical PGO is based on either IR instrumentation or AST instrumentation. Because IR instrumentation-based PGO lacks necessary source code information, the profile data on which this tool depends comes from AST instrumentation-based PGO.
To use the AST instrumentation-based PGO, perform the following steps:
Generate a profile: -fprofile-instr-gen=/path/to/***.profrow
Use the profile: -fprofile-instr-use=/path/to/***.profdata
Parent topic: Prerequisites