|
int | llvm::InlineConstants::getInstrCost () |
|
std::optional< int > | llvm::getStringFnAttrAsInt (CallBase &CB, StringRef AttrKind) |
|
InlineParams | llvm::getInlineParams () |
| Generate the parameters to tune the inline cost analysis based only on the commandline options.
|
|
InlineParams | llvm::getInlineParams (int Threshold) |
| Generate the parameters to tune the inline cost analysis based on command line options.
|
|
InlineParams | llvm::getInlineParams (unsigned OptLevel, unsigned SizeOptLevel) |
| Generate the parameters to tune the inline cost analysis based on command line options.
|
|
int | llvm::getCallsiteCost (const TargetTransformInfo &TTI, const CallBase &Call, const DataLayout &DL) |
| Return the cost associated with a callsite, including parameter passing and the call/return instruction.
|
|
InlineCost | llvm::getInlineCost (CallBase &Call, const InlineParams &Params, TargetTransformInfo &CalleeTTI, function_ref< AssumptionCache &(Function &)> GetAssumptionCache, function_ref< const TargetLibraryInfo &(Function &)> GetTLI, function_ref< BlockFrequencyInfo &(Function &)> GetBFI=nullptr, ProfileSummaryInfo *PSI=nullptr, OptimizationRemarkEmitter *ORE=nullptr) |
| Get an InlineCost object representing the cost of inlining this callsite.
|
|
InlineCost | llvm::getInlineCost (CallBase &Call, Function *Callee, const InlineParams &Params, TargetTransformInfo &CalleeTTI, function_ref< AssumptionCache &(Function &)> GetAssumptionCache, function_ref< const TargetLibraryInfo &(Function &)> GetTLI, function_ref< BlockFrequencyInfo &(Function &)> GetBFI=nullptr, ProfileSummaryInfo *PSI=nullptr, OptimizationRemarkEmitter *ORE=nullptr) |
| Get an InlineCost with the callee explicitly specified.
|
|
std::optional< InlineResult > | llvm::getAttributeBasedInliningDecision (CallBase &Call, Function *Callee, TargetTransformInfo &CalleeTTI, function_ref< const TargetLibraryInfo &(Function &)> GetTLI) |
| Returns InlineResult::success() if the call site should be always inlined because of user directives, and the inlining is viable.
|
|
std::optional< int > | llvm::getInliningCostEstimate (CallBase &Call, TargetTransformInfo &CalleeTTI, function_ref< AssumptionCache &(Function &)> GetAssumptionCache, function_ref< BlockFrequencyInfo &(Function &)> GetBFI=nullptr, function_ref< const TargetLibraryInfo &(Function &)> GetTLI=nullptr, ProfileSummaryInfo *PSI=nullptr, OptimizationRemarkEmitter *ORE=nullptr) |
| Get the cost estimate ignoring thresholds.
|
|
std::optional< InlineCostFeatures > | llvm::getInliningCostFeatures (CallBase &Call, TargetTransformInfo &CalleeTTI, function_ref< AssumptionCache &(Function &)> GetAssumptionCache, function_ref< BlockFrequencyInfo &(Function &)> GetBFI=nullptr, function_ref< const TargetLibraryInfo &(Function &)> GetTLI=nullptr, ProfileSummaryInfo *PSI=nullptr, OptimizationRemarkEmitter *ORE=nullptr) |
| Get the expanded cost features.
|
|
InlineResult | llvm::isInlineViable (Function &Callee) |
| Minimal filter to detect invalid constructs for inlining.
|
|