Go to the source code of this file.
|
namespace | llvm |
| This is an optimization pass for GlobalISel generic memory operations.
|
|
|
static cl::opt< bool > | InlineRemarkAttribute ("inline-remark-attribute", cl::init(false), cl::Hidden, cl::desc("Enable adding inline-remark attribute to" " callsites processed by inliner but decided" " to be not inlined")) |
| Flag to add inline messages as callsite attributes 'inline-remark'.
|
|
static cl::opt< bool > | EnableInlineDeferral ("inline-deferral", cl::init(false), cl::Hidden, cl::desc("Enable deferred inlining")) |
|
static cl::opt< int > | InlineDeferralScale ("inline-deferral-scale", cl::desc("Scale to limit the cost of inline deferral"), cl::init(2), cl::Hidden) |
|
static cl::opt< bool > | AnnotateInlinePhase ("annotate-inline-phase", cl::Hidden, cl::init(false), cl::desc("If true, annotate inline advisor remarks " "with LTO and pass information.")) |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "inline" |
◆ getDefaultInlineAdvice()
Definition at line 135 of file InlineAdvisor.cpp.
References DEBUG_TYPE, llvm::InlineParams::EnableDeferral, EnableInlineDeferral, F, FAM, llvm::CallBase::getCalledFunction(), llvm::CallBase::getCaller(), llvm::getInlineCost(), llvm::ilist_detail::node_parent_access< NodeTy, ParentTy >::getParent(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), and llvm::shouldInline().
Referenced by llvm::InlineAdvisorAnalysis::Result::tryCreate().
◆ getInlineAdvisorContext()
◆ getLTOPhase()
◆ shouldBeDeferred()
◆ STATISTIC()
STATISTIC |
( |
NumCallerCallersAnalyzed |
, |
|
|
"Number of caller-callers analyzed" |
|
|
) |
| |
◆ AnnotateInlinePhase
◆ EnableInlineDeferral
cl::opt< bool > EnableInlineDeferral("inline-deferral", cl::init(false), cl::Hidden, cl::desc("Enable deferred inlining")) |
( |
"inline-deferral" |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
, |
|
|
cl::desc("Enable deferred inlining") |
|
|
) |
| |
|
static |
◆ InlineDeferralScale
cl::opt< int > InlineDeferralScale("inline-deferral-scale", cl::desc("Scale to limit the cost of inline deferral"), cl::init(2), cl::Hidden) |
( |
"inline-deferral-scale" |
, |
|
|
cl::desc("Scale to limit the cost of inline deferral") |
, |
|
|
cl::init(2) |
, |
|
|
cl::Hidden |
|
|
) |
| |
|
static |
◆ InlineRemarkAttribute
cl::opt< bool > InlineRemarkAttribute("inline-remark-attribute", cl::init(false), cl::Hidden, cl::desc("Enable adding inline-remark attribute to" " callsites processed by inliner but decided" " to be not inlined")) |
( |
"inline-remark-attribute" |
, |
|
|
cl::init(false) |
, |
|
|
cl::Hidden |
, |
|
|
cl::desc("Enable adding inline-remark attribute to" " callsites processed by inliner but decided" " to be not inlined") |
|
|
) |
| |
|
static |