|
LLVM 22.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 | |
| LLVM_ABI | 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) |
| LLVM_ABI | PGOOptions (const PGOOptions &) |
| LLVM_ABI | ~PGOOptions () |
| LLVM_ABI 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 |
A struct capturing PGO tunables.
Definition at line 22 of file PGOOptions.h.
|
strong |
| Enumerator | |
|---|---|
| Default | |
| OptSize | |
| MinSize | |
| OptNone | |
Definition at line 25 of file PGOOptions.h.
| Enumerator | |
|---|---|
| NoCSAction | |
| CSIRInstr | |
| CSIRUse | |
Definition at line 24 of file PGOOptions.h.
| 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().
|
default |
References LLVM_ABI, and PGOOptions().
|
default |
References LLVM_ABI.
|
default |
References LLVM_ABI, and PGOOptions().
| PGOAction llvm::PGOOptions::Action |
Definition at line 42 of file PGOOptions.h.
Referenced by PGOOptions().
| bool llvm::PGOOptions::AtomicCounterUpdate |
Definition at line 47 of file PGOOptions.h.
Referenced by PGOOptions().
| ColdFuncOpt llvm::PGOOptions::ColdOptType |
Definition at line 44 of file PGOOptions.h.
Referenced by PGOOptions().
| CSPGOAction llvm::PGOOptions::CSAction |
Definition at line 43 of file PGOOptions.h.
Referenced by PGOOptions().
| std::string llvm::PGOOptions::CSProfileGenFile |
Definition at line 39 of file PGOOptions.h.
Referenced by PGOOptions().
| bool llvm::PGOOptions::DebugInfoForProfiling |
Definition at line 45 of file PGOOptions.h.
Referenced by PGOOptions().
| std::string llvm::PGOOptions::MemoryProfile |
Definition at line 41 of file PGOOptions.h.
Referenced by PGOOptions().
| std::string llvm::PGOOptions::ProfileFile |
Definition at line 38 of file PGOOptions.h.
Referenced by PGOOptions().
| std::string llvm::PGOOptions::ProfileRemappingFile |
Definition at line 40 of file PGOOptions.h.
Referenced by PGOOptions().
| bool llvm::PGOOptions::PseudoProbeForProfiling |
Definition at line 46 of file PGOOptions.h.
Referenced by PGOOptions().