-qprofile-use

Category

Optimization and tuning

Purpose

Uses the instrumentation data from a merged profile file to optimize the program.

Syntax

Read syntax diagramSkip visual syntax diagram  -q profile-use =merged profile file path

Usage

Use the llvm-profdata tool included in the compiler to generate the merged profile file from the raw profile files that are produced by the -qprofile-generate option.

If merged profile file path is not specified, the merged profile file is assumed to be in the current directory.

If merged profile file path is a directory or is not specified, the merged profile file name is assumed to be default.profdata.

Related information