15 std::string ProfileRemappingFile,
18 bool PseudoProbeForProfiling)
19 : ProfileFile(ProfileFile), CSProfileGenFile(CSProfileGenFile),
20 ProfileRemappingFile(ProfileRemappingFile), Action(Action),
22 DebugInfoForProfiling(DebugInfoForProfiling ||
23 (Action == SampleUse && !PseudoProbeForProfiling)),
24 PseudoProbeForProfiling(PseudoProbeForProfiling), FS(
std::
move(FS)) {
42 this->DebugInfoForProfiling || this->PseudoProbeForProfiling);
Define option tunables for PGO.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
Defines the virtual file system interface vfs::FileSystem.
A smart pointer to a reference-counted object that inherits from RefCountedBase or ThreadSafeRefCount...
This is an optimization pass for GlobalISel generic memory operations.
OutputIt move(R &&Range, OutputIt Out)
Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.
A struct capturing PGO tunables.
PGOOptions(std::string ProfileFile, std::string CSProfileGenFile, std::string ProfileRemappingFile, IntrusiveRefCntPtr< vfs::FileSystem > FS, PGOAction Action=NoAction, CSPGOAction CSAction=NoCSAction, bool DebugInfoForProfiling=false, bool PseudoProbeForProfiling=false)
PGOOptions & operator=(const PGOOptions &)