LLVM  10.0.0svn
Namespaces | Functions | Variables
MachineSizeOpts.cpp File Reference
#include "llvm/CodeGen/MachineSizeOpts.h"
#include "llvm/Analysis/ProfileSummaryInfo.h"
#include "llvm/CodeGen/MachineBlockFrequencyInfo.h"
Include dependency graph for MachineSizeOpts.cpp:

Go to the source code of this file.

Namespaces

 machine_size_opts_detail
 

Functions

bool machine_size_opts_detail::isColdBlock (const MachineBasicBlock *MBB, ProfileSummaryInfo *PSI, const MachineBlockFrequencyInfo *MBFI)
 Like ProfileSummaryInfo::isColdBlock but for MachineBasicBlock. More...
 
static bool machine_size_opts_detail::isHotBlockNthPercentile (int PercentileCutoff, const MachineBasicBlock *MBB, ProfileSummaryInfo *PSI, const MachineBlockFrequencyInfo *MBFI)
 Like ProfileSummaryInfo::isHotBlockNthPercentile but for MachineBasicBlock. More...
 
bool machine_size_opts_detail::isFunctionColdInCallGraph (const MachineFunction *MF, ProfileSummaryInfo *PSI, const MachineBlockFrequencyInfo &MBFI)
 Like ProfileSummaryInfo::isFunctionColdInCallGraph but for MachineFunction. More...
 
bool machine_size_opts_detail::isFunctionHotInCallGraphNthPercentile (int PercentileCutoff, const MachineFunction *MF, ProfileSummaryInfo *PSI, const MachineBlockFrequencyInfo &MBFI)
 Like ProfileSummaryInfo::isFunctionHotInCallGraphNthPercentile but for MachineFunction. More...
 

Variables

cl::opt< boolEnablePGSO
 
cl::opt< boolPGSOLargeWorkingSetSizeOnly
 
cl::opt< boolForcePGSO
 
cl::opt< int > PgsoCutoffInstrProf
 
cl::opt< int > PgsoCutoffSampleProf
 

Variable Documentation

◆ EnablePGSO

cl::opt<bool> EnablePGSO

◆ ForcePGSO

cl::opt<bool> ForcePGSO

◆ PgsoCutoffInstrProf

cl::opt<int> PgsoCutoffInstrProf

◆ PgsoCutoffSampleProf

cl::opt<int> PgsoCutoffSampleProf

◆ PGSOLargeWorkingSetSizeOnly

cl::opt<bool> PGSOLargeWorkingSetSizeOnly