LLVM  10.0.0svn
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 SamplePGOSupport=false)
 

Public Attributes

std::string ProfileFile
 
std::string CSProfileGenFile
 
std::string ProfileRemappingFile
 
PGOAction Action
 
CSPGOAction CSAction
 
bool SamplePGOSupport
 

Detailed Description

A struct capturing PGO tunables.

Definition at line 33 of file PassBuilder.h.

Member Enumeration Documentation

◆ CSPGOAction

Enumerator
NoCSAction 
CSIRInstr 
CSIRUse 

Definition at line 35 of file PassBuilder.h.

◆ PGOAction

Enumerator
NoAction 
IRInstr 
IRUse 
SampleUse 

Definition at line 34 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  SamplePGOSupport = false 
)
inline

Member Data Documentation

◆ Action

PGOAction llvm::PGOOptions::Action

Definition at line 64 of file PassBuilder.h.

Referenced by PGOOptions().

◆ CSAction

CSPGOAction llvm::PGOOptions::CSAction

Definition at line 65 of file PassBuilder.h.

Referenced by PGOOptions().

◆ CSProfileGenFile

std::string llvm::PGOOptions::CSProfileGenFile

Definition at line 62 of file PassBuilder.h.

Referenced by PGOOptions().

◆ ProfileFile

std::string llvm::PGOOptions::ProfileFile

◆ ProfileRemappingFile

std::string llvm::PGOOptions::ProfileRemappingFile

◆ SamplePGOSupport

bool llvm::PGOOptions::SamplePGOSupport

Definition at line 66 of file PassBuilder.h.

Referenced by PGOOptions().


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