[#llvm-getReplayInlineAdvisor] = xref:llvm.adoc[llvm]::getReplayInlineAdvisor :relfileprefix: ../ :mrdocs: Create a replay inline advisor that consults prior inlining remarks. == Synopsis Declared in `<llvm/Analysis/ReplayInlineAdvisor.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- std::unique_ptr<InlineAdvisor> getReplayInlineAdvisor( xref:llvm/Module.adoc[Module]& M, xref:llvm/FunctionAnalysisManager.adoc[FunctionAnalysisManager]& FAM, xref:llvm/LLVMContext.adoc[LLVMContext]& Context, std::unique_ptr<InlineAdvisor> OriginalAdvisor, xref:llvm/ReplayInlinerSettings.adoc[ReplayInlinerSettings] const& ReplaySettings, bool EmitRemarks, xref:llvm/InlineContext.adoc[InlineContext] IC); ---- == Return Value A ReplayInlineAdvisor, or null if remarks could not be loaded. == Parameters [cols="1,4"] |=== | Name| Description | *M* | Module whose call sites are advised. | *FAM* | Function analysis manager providing analyses for advice. | *Context* | LLVM context used for diagnostics and remarks. | *OriginalAdvisor* | Advisor to fall back to when replay has no match. | *ReplaySettings* | Replay file, scope, fallback, and location format. | *EmitRemarks* | Whether to emit optimization remarks for replay decisions. | *IC* | Pipeline context identifying the inline pass using this advisor. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#