LLVM  13.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/Passes/PassBuilder.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 35 of file PassBuilder.h.

Member Enumeration Documentation

◆ CSPGOAction

Enumerator
NoCSAction 
CSIRInstr 
CSIRUse 

Definition at line 37 of file PassBuilder.h.

◆ PGOAction

Enumerator
NoAction 
IRInstr 
IRUse 
SampleUse 

Definition at line 36 of file PassBuilder.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 79 of file PassBuilder.h.

Referenced by PGOOptions().

◆ CSAction

CSPGOAction llvm::PGOOptions::CSAction

Definition at line 80 of file PassBuilder.h.

Referenced by PGOOptions().

◆ CSProfileGenFile

std::string llvm::PGOOptions::CSProfileGenFile

Definition at line 77 of file PassBuilder.h.

Referenced by PGOOptions().

◆ DebugInfoForProfiling

bool llvm::PGOOptions::DebugInfoForProfiling

Definition at line 81 of file PassBuilder.h.

Referenced by PGOOptions().

◆ ProfileFile

std::string llvm::PGOOptions::ProfileFile

Definition at line 76 of file PassBuilder.h.

◆ ProfileRemappingFile

std::string llvm::PGOOptions::ProfileRemappingFile

Definition at line 78 of file PassBuilder.h.

◆ PseudoProbeForProfiling

bool llvm::PGOOptions::PseudoProbeForProfiling

Definition at line 82 of file PassBuilder.h.

Referenced by PGOOptions().


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