LLVM 20.0.0git
|
A struct capturing PGO tunables. More...
#include "llvm/Support/PGOOptions.h"
Public Types | |
enum | PGOAction { NoAction , IRInstr , IRUse , SampleUse } |
enum | CSPGOAction { NoCSAction , CSIRInstr , CSIRUse } |
enum class | ColdFuncOpt { Default , OptSize , MinSize , OptNone } |
Public Member Functions | |
PGOOptions (std::string ProfileFile, std::string CSProfileGenFile, std::string ProfileRemappingFile, std::string MemoryProfile, IntrusiveRefCntPtr< vfs::FileSystem > FS, PGOAction Action=NoAction, CSPGOAction CSAction=NoCSAction, ColdFuncOpt ColdType=ColdFuncOpt::Default, bool DebugInfoForProfiling=false, bool PseudoProbeForProfiling=false, bool AtomicCounterUpdate=false) | |
PGOOptions (const PGOOptions &) | |
~PGOOptions () | |
PGOOptions & | operator= (const PGOOptions &) |
Public Attributes | |
std::string | ProfileFile |
std::string | CSProfileGenFile |
std::string | ProfileRemappingFile |
std::string | MemoryProfile |
PGOAction | Action |
CSPGOAction | CSAction |
ColdFuncOpt | ColdOptType |
bool | DebugInfoForProfiling |
bool | PseudoProbeForProfiling |
bool | AtomicCounterUpdate |
IntrusiveRefCntPtr< vfs::FileSystem > | FS |
A struct capturing PGO tunables.
Definition at line 27 of file PGOOptions.h.
|
strong |
Enumerator | |
---|---|
Default | |
OptSize | |
MinSize | |
OptNone |
Definition at line 30 of file PGOOptions.h.
Enumerator | |
---|---|
NoCSAction | |
CSIRInstr | |
CSIRUse |
Definition at line 29 of file PGOOptions.h.
Enumerator | |
---|---|
NoAction | |
IRInstr | |
IRUse | |
SampleUse |
Definition at line 28 of file PGOOptions.h.
PGOOptions::PGOOptions | ( | std::string | ProfileFile, |
std::string | CSProfileGenFile, | ||
std::string | ProfileRemappingFile, | ||
std::string | MemoryProfile, | ||
IntrusiveRefCntPtr< vfs::FileSystem > | FS, | ||
PGOAction | Action = NoAction , |
||
CSPGOAction | CSAction = NoCSAction , |
||
ColdFuncOpt | ColdType = ColdFuncOpt::Default , |
||
bool | DebugInfoForProfiling = false , |
||
bool | PseudoProbeForProfiling = false , |
||
bool | AtomicCounterUpdate = false |
||
) |
Definition at line 14 of file PGOOptions.cpp.
References assert(), CSIRInstr, CSIRUse, IRInstr, IRUse, NoAction, NoCSAction, and SampleUse.
|
default |
|
default |
|
default |
PGOAction llvm::PGOOptions::Action |
Definition at line 47 of file PGOOptions.h.
bool llvm::PGOOptions::AtomicCounterUpdate |
Definition at line 52 of file PGOOptions.h.
ColdFuncOpt llvm::PGOOptions::ColdOptType |
Definition at line 49 of file PGOOptions.h.
CSPGOAction llvm::PGOOptions::CSAction |
Definition at line 48 of file PGOOptions.h.
std::string llvm::PGOOptions::CSProfileGenFile |
Definition at line 44 of file PGOOptions.h.
bool llvm::PGOOptions::DebugInfoForProfiling |
Definition at line 50 of file PGOOptions.h.
IntrusiveRefCntPtr<vfs::FileSystem> llvm::PGOOptions::FS |
Definition at line 53 of file PGOOptions.h.
std::string llvm::PGOOptions::MemoryProfile |
Definition at line 46 of file PGOOptions.h.
std::string llvm::PGOOptions::ProfileFile |
Definition at line 43 of file PGOOptions.h.
std::string llvm::PGOOptions::ProfileRemappingFile |
Definition at line 45 of file PGOOptions.h.
bool llvm::PGOOptions::PseudoProbeForProfiling |
Definition at line 51 of file PGOOptions.h.