LLVM  14.0.0git
Public Types | Public Member Functions | Public Attributes | List of all members
llvm::PGOOptions Struct Reference

A struct capturing PGO tunables. More...

#include "llvm/Support/PGOOptions.h"

Collaboration diagram for llvm::PGOOptions:
Collaboration graph
[legend]

Public Types

enum  PGOAction { NoAction, IRInstr, IRUse, SampleUse }
 
enum  CSPGOAction { NoCSAction, CSIRInstr, CSIRUse }
 

Public Member Functions

 PGOOptions (std::string ProfileFile="", std::string CSProfileGenFile="", std::string ProfileRemappingFile="", PGOAction Action=NoAction, CSPGOAction CSAction=NoCSAction, bool DebugInfoForProfiling=false, bool PseudoProbeForProfiling=false)
 

Public Attributes

std::string ProfileFile
 
std::string CSProfileGenFile
 
std::string ProfileRemappingFile
 
PGOAction Action
 
CSPGOAction CSAction
 
bool DebugInfoForProfiling
 
bool PseudoProbeForProfiling
 

Detailed Description

A struct capturing PGO tunables.

Definition at line 22 of file PGOOptions.h.

Member Enumeration Documentation

◆ 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.

Constructor & Destructor Documentation

◆ PGOOptions()

llvm::PGOOptions::PGOOptions ( std::string  ProfileFile = "",
std::string  CSProfileGenFile = "",
std::string  ProfileRemappingFile = "",
PGOAction  Action = NoAction,
CSPGOAction  CSAction = NoCSAction,
bool  DebugInfoForProfiling = false,
bool  PseudoProbeForProfiling = false 
)
inline

Member Data Documentation

◆ Action

PGOAction llvm::PGOOptions::Action

Definition at line 58 of file PGOOptions.h.

Referenced by getFSProfileFile(), getFSRemappingFile(), and PGOOptions().

◆ CSAction

CSPGOAction llvm::PGOOptions::CSAction

Definition at line 59 of file PGOOptions.h.

Referenced by PGOOptions().

◆ CSProfileGenFile

std::string llvm::PGOOptions::CSProfileGenFile

Definition at line 56 of file PGOOptions.h.

Referenced by PGOOptions().

◆ DebugInfoForProfiling

bool llvm::PGOOptions::DebugInfoForProfiling

Definition at line 60 of file PGOOptions.h.

Referenced by PGOOptions().

◆ ProfileFile

std::string llvm::PGOOptions::ProfileFile

Definition at line 55 of file PGOOptions.h.

Referenced by getFSProfileFile().

◆ ProfileRemappingFile

std::string llvm::PGOOptions::ProfileRemappingFile

Definition at line 57 of file PGOOptions.h.

Referenced by getFSRemappingFile().

◆ PseudoProbeForProfiling

bool llvm::PGOOptions::PseudoProbeForProfiling

Definition at line 61 of file PGOOptions.h.

Referenced by PGOOptions().


The documentation for this struct was generated from the following file: