LLVM 24.0.0git
llvm::SampleProfileInlineOptions Struct Reference

The thresholds of the priority-based sample profile loader inliner. More...

#include "llvm/Transforms/IPO/SampleProfile.h"

Public Attributes

int HotCallSiteThreshold = 3000
int ColdCallSiteThreshold = 45
unsigned GrowthLimit = 12
unsigned LimitMin = 100
unsigned LimitMax = 10000
bool SortProfiledSCC = true

Detailed Description

The thresholds of the priority-based sample profile loader inliner.

The member initializers are the loader's defaults; llvm-profgen's preinliner passes its own to getInlineOptions.

Definition at line 35 of file SampleProfile.h.

Member Data Documentation

◆ ColdCallSiteThreshold

int llvm::SampleProfileInlineOptions::ColdCallSiteThreshold = 45

Definition at line 37 of file SampleProfile.h.

Referenced by llvm::SampleProfileLoaderPass::getInlineOptions().

◆ GrowthLimit

unsigned llvm::SampleProfileInlineOptions::GrowthLimit = 12

Definition at line 38 of file SampleProfile.h.

Referenced by llvm::SampleProfileLoaderPass::getInlineOptions().

◆ HotCallSiteThreshold

int llvm::SampleProfileInlineOptions::HotCallSiteThreshold = 3000

Definition at line 36 of file SampleProfile.h.

Referenced by llvm::SampleProfileLoaderPass::getInlineOptions().

◆ LimitMax

unsigned llvm::SampleProfileInlineOptions::LimitMax = 10000

Definition at line 40 of file SampleProfile.h.

Referenced by llvm::SampleProfileLoaderPass::getInlineOptions().

◆ LimitMin

unsigned llvm::SampleProfileInlineOptions::LimitMin = 100

Definition at line 39 of file SampleProfile.h.

Referenced by llvm::SampleProfileLoaderPass::getInlineOptions().

◆ SortProfiledSCC

bool llvm::SampleProfileInlineOptions::SortProfiledSCC = true

Definition at line 41 of file SampleProfile.h.

Referenced by llvm::SampleProfileLoaderPass::getInlineOptions().


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