Construct a sample profile loader pass.
Declared in <llvm/Transforms/IPO/SampleProfile.h>
SampleProfileLoaderPass(
std::string File = "",
std::string RemappingFile = "",
ThinOrFullLTOPhase LTOPhase = ThinOrFullLTOPhase::None,
IntrusiveRefCntPtr<vfs::FileSystem> FS = nullptr,
bool DisableSampleProfileInlining = false,
bool UseFlattenedProfile = false);
| Name | Description |
|---|---|
| File | Path to the sample profile file; empty uses the default. |
| RemappingFile | Optional profile remapping file path. |
| LTOPhase | Thin/full LTO phase in which this pass runs. |
| FS | File system used to read profile and remapping files. |
| DisableSampleProfileInlining | If true, skip inline transforms. |
| UseFlattenedProfile | If true, load a flattened sample profile. |