|
std::unique_ptr< InlineAdvisor > | llvm::getReleaseModeAdvisor (Module &M, ModuleAnalysisManager &MAM) |
|
std::unique_ptr< InlineAdvisor > | llvm::getDevelopmentModeAdvisor (Module &M, ModuleAnalysisManager &MAM, std::function< bool(CallBase &)> GetDefaultAdvice) |
|
Optional< InlineCost > | llvm::shouldInline (CallBase &CB, function_ref< InlineCost(CallBase &CB)> GetInlineCost, OptimizationRemarkEmitter &ORE, bool EnableDeferral=true) |
| Return the cost only if the inliner should attempt to inline at the given CallSite. More...
|
|
void | llvm::emitInlinedInto (OptimizationRemarkEmitter &ORE, DebugLoc DLoc, const BasicBlock *Block, const Function &Callee, const Function &Caller, bool IsMandatory, function_ref< void(OptimizationRemark &)> ExtraContext={}, const char *PassName=nullptr) |
| Emit ORE message. More...
|
|
void | llvm::emitInlinedIntoBasedOnCost (OptimizationRemarkEmitter &ORE, DebugLoc DLoc, const BasicBlock *Block, const Function &Callee, const Function &Caller, const InlineCost &IC, bool ForProfileContext=false, const char *PassName=nullptr) |
| Emit ORE message based in cost (default heuristic). More...
|
|
void | llvm::addLocationToRemarks (OptimizationRemark &Remark, DebugLoc DLoc) |
| Add location info to ORE message. More...
|
|
void | llvm::setInlineRemark (CallBase &CB, StringRef Message) |
| Set the inline-remark attribute. More...
|
|
std::string | llvm::inlineCostStr (const InlineCost &IC) |
| Utility for extracting the inline cost message to a string. More...
|
|