|
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. More...
|
|
InlineParams | llvm::getInlineParams (int Threshold) |
| Generate the parameters to tune the inline cost analysis based on command line options. More...
|
|
InlineParams | llvm::getInlineParams (unsigned OptLevel, unsigned SizeOptLevel) |
| Generate the parameters to tune the inline cost analysis based on command line options. More...
|
|
int | llvm::getCallsiteCost (CallBase &Call, const DataLayout &DL) |
| Return the cost associated with a callsite, including parameter passing and the call/return instruction. More...
|
|
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. More...
|
|
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. More...
|
|
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. More...
|
|
Optional< int > | llvm::getInliningCostEstimate (CallBase &Call, TargetTransformInfo &CalleeTTI, function_ref< AssumptionCache &(Function &)> GetAssumptionCache, function_ref< BlockFrequencyInfo &(Function &)> GetBFI=nullptr, ProfileSummaryInfo *PSI=nullptr, OptimizationRemarkEmitter *ORE=nullptr) |
| Get the cost estimate ignoring thresholds. More...
|
|
Optional< InlineCostFeatures > | llvm::getInliningCostFeatures (CallBase &Call, TargetTransformInfo &CalleeTTI, function_ref< AssumptionCache &(Function &)> GetAssumptionCache, function_ref< BlockFrequencyInfo &(Function &)> GetBFI=nullptr, ProfileSummaryInfo *PSI=nullptr, OptimizationRemarkEmitter *ORE=nullptr) |
| Get the expanded cost features. More...
|
|
InlineResult | llvm::isInlineViable (Function &Callee) |
| Minimal filter to detect invalid constructs for inlining. More...
|
|