LLVM: llvm::PGOOptions Struct Reference (original) (raw)
A struct capturing PGO tunables. More...
#include "[llvm/Support/PGOOptions.h](PGOOptions%5F8h%5Fsource.html)"
| Public Types | |
|---|---|
| enum | PGOAction { NoAction, IRInstr, IRUse, SampleUse } |
| enum | CSPGOAction { NoCSAction, CSIRInstr, CSIRUse } |
| enum class | ColdFuncOpt { Default, OptSize, MinSize, OptNone } |
| 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 |
A struct capturing PGO tunables.
Definition at line 22 of file PGOOptions.h.
◆ ColdFuncOpt
| Enumerator |
|---|
| Default |
| OptSize |
| MinSize |
| OptNone |
Definition at line 25 of file PGOOptions.h.
◆ CSPGOAction
| Enumerator |
|---|
| NoCSAction |
| CSIRInstr |
| CSIRUse |
Definition at line 24 of file PGOOptions.h.
◆ PGOAction
| Enumerator |
|---|
| NoAction |
| IRInstr |
| IRUse |
| SampleUse |
Definition at line 23 of file PGOOptions.h.
| PGOOptions::PGOOptions | ( | std::string | ProfileFile, |
|---|---|---|---|
| std::string | CSProfileGenFile, | ||
| std::string | ProfileRemappingFile, | ||
| std::string | MemoryProfile, | ||
| 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 Action, assert(), AtomicCounterUpdate, ColdOptType, CSAction, CSIRInstr, CSIRUse, CSProfileGenFile, DebugInfoForProfiling, IRInstr, IRUse, MemoryProfile, NoAction, NoCSAction, ProfileFile, ProfileRemappingFile, PseudoProbeForProfiling, and SampleUse.
Referenced by operator=(), and PGOOptions().
◆ PGOOptions() [2/2]
◆ ~PGOOptions()
| PGOOptions::~PGOOptions ( ) | default |
|---|
◆ operator=()
◆ Action
PGOAction llvm::PGOOptions::Action
◆ AtomicCounterUpdate
bool llvm::PGOOptions::AtomicCounterUpdate
◆ ColdOptType
ColdFuncOpt llvm::PGOOptions::ColdOptType
◆ CSAction
CSPGOAction llvm::PGOOptions::CSAction
◆ CSProfileGenFile
std::string llvm::PGOOptions::CSProfileGenFile
◆ DebugInfoForProfiling
bool llvm::PGOOptions::DebugInfoForProfiling
◆ MemoryProfile
std::string llvm::PGOOptions::MemoryProfile
◆ ProfileFile
std::string llvm::PGOOptions::ProfileFile
◆ ProfileRemappingFile
std::string llvm::PGOOptions::ProfileRemappingFile
◆ PseudoProbeForProfiling
bool llvm::PGOOptions::PseudoProbeForProfiling
The documentation for this struct was generated from the following files:
- include/llvm/Support/PGOOptions.h
- lib/Support/PGOOptions.cpp