Go to the source code of this file.
|
#define | DEBUG_TYPE "inline-ml" |
|
#define | POPULATE_NAMES(DTYPE, SHAPE, NAME, __) TensorSpec::createSpec<DTYPE>(#NAME, SHAPE), |
|
|
static cl::opt< std::string > | InteractiveChannelBaseName ("inliner-interactive-channel-base", cl::Hidden, cl::desc("Base file path for the interactive mode. The incoming filename should " "have the name <inliner-interactive-channel-base>.in, while the " "outgoing name should be <inliner-interactive-channel-base>.out")) |
|
static const std::string | InclDefaultMsg |
|
static cl::opt< bool > | InteractiveIncludeDefault ("inliner-interactive-include-default", cl::Hidden, cl::desc(InclDefaultMsg)) |
|
static cl::opt< SkipMLPolicyCriteria > | SkipPolicy ("ml-inliner-skip-policy", cl::Hidden, cl::init(SkipMLPolicyCriteria::Never), cl::values(clEnumValN(SkipMLPolicyCriteria::Never, "never", "never"), clEnumValN(SkipMLPolicyCriteria::IfCallerIsNotCold, "if-caller-not-cold", "if the caller is not cold"))) |
|
static cl::opt< std::string > | ModelSelector ("ml-inliner-model-selector", cl::Hidden, cl::init("")) |
|
static cl::opt< float > | SizeIncreaseThreshold ("ml-advisor-size-increase-threshold", cl::Hidden, cl::desc("Maximum factor by which expected native size may increase before " "blocking any further inlining."), cl::init(2.0)) |
|
static cl::opt< bool > | KeepFPICache ("ml-advisor-keep-fpi-cache", cl::Hidden, cl::desc("For test - keep the ML Inline advisor's FunctionPropertiesInfo cache"), cl::init(false)) |
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "inline-ml" |
◆ POPULATE_NAMES
#define POPULATE_NAMES |
( |
|
DTYPE, |
|
|
|
SHAPE, |
|
|
|
NAME, |
|
|
|
__ |
|
) |
| TensorSpec::createSpec<DTYPE>(#NAME, SHAPE), |
◆ CompiledModelType
◆ SkipMLPolicyCriteria
◆ getInlinableCS()
◆ InclDefaultMsg
const std::string InclDefaultMsg |
|
static |
Initial value:=
(
Twine(
"In interactive mode, also send the default policy decision: ") +
.str()
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
const char *const DefaultDecisionName
Definition at line 44 of file MLInlineAdvisor.cpp.
◆ InteractiveChannelBaseName
cl::opt< std::string > InteractiveChannelBaseName("inliner-interactive-channel-base", cl::Hidden, cl::desc( "Base file path for the interactive mode. The incoming filename should " "have the name <inliner-interactive-channel-base>.in, while the " "outgoing name should be <inliner-interactive-channel-base>.out")) |
( |
"inliner-interactive-channel-base" |
, |
|
|
cl::Hidden |
, |
|
|
cl::desc( "Base file path for the interactive mode. The incoming filename should " "have the name <inliner-interactive-channel-base>.in, while the " "outgoing name should be <inliner-interactive-channel-base>.out") |
|
|
) |
| |
|
static |
◆ InteractiveIncludeDefault
◆ KeepFPICache
◆ ModelSelector
cl::opt< std::string > ModelSelector("ml-inliner-model-selector", cl::Hidden, cl::init("")) |
( |
"ml-inliner-model-selector" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init("") |
|
|
) |
| |
|
static |
◆ SizeIncreaseThreshold
cl::opt< float > SizeIncreaseThreshold("ml-advisor-size-increase-threshold", cl::Hidden, cl::desc("Maximum factor by which expected native size may increase before " "blocking any further inlining."), cl::init(2.0)) |
( |
"ml-advisor-size-increase-threshold" |
, |
|
|
cl::Hidden |
, |
|
|
cl::desc("Maximum factor by which expected native size may increase before " "blocking any further inlining.") |
, |
|
|
cl::init(2.0) |
|
|
) |
| |
|
static |
◆ SkipPolicy
cl::opt< SkipMLPolicyCriteria > SkipPolicy("ml-inliner-skip-policy", cl::Hidden, cl::init(SkipMLPolicyCriteria::Never), cl::values(clEnumValN(SkipMLPolicyCriteria::Never, "never", "never"), clEnumValN(SkipMLPolicyCriteria::IfCallerIsNotCold, "if-caller-not-cold", "if the caller is not cold"))) |
( |
"ml-inliner-skip-policy" |
, |
|
|
cl::Hidden |
, |
|
|
cl::init(SkipMLPolicyCriteria::Never) |
, |
|
|
cl::values(clEnumValN(SkipMLPolicyCriteria::Never, "never", "never"), clEnumValN(SkipMLPolicyCriteria::IfCallerIsNotCold, "if-caller-not-cold", "if the caller is not cold")) |
|
|
) |
| |
|
static |