Emit an ORE inlined‐into message based on default‐heuristic cost IC.
Synopsis
Declared in <llvm/Analysis/InlineAdvisor.h>
void
emitInlinedIntoBasedOnCost(
OptimizationRemarkEmitter& ORE,
DebugLoc DLoc,
BasicBlock const* Block,
Function const& Callee,
Function const& Caller,
InlineCost const& IC,
bool ForProfileContext = false,
char const* PassName = nullptr);
Parameters
Name |
Description |
ORE |
Remark emitter that receives the message. |
DLoc |
Debug location of the original call site. |
Block |
Basic block containing the original call site. |
Callee |
Function that was inlined. |
Caller |
Function that received the inlined body. |
IC |
Inline cost used to format the remark. |
ForProfileContext |
Whether the remark is for profile context. |
PassName |
Optional pass name override for the remark. |
Created with MrDocs