Emit an ORE message that Callee was inlined into Caller.
Declared in <llvm/Analysis/InlineAdvisor.h>
void
emitInlinedInto(
OptimizationRemarkEmitter& ORE,
DebugLoc DLoc,
BasicBlock const* Block,
Function const& Callee,
Function const& Caller,
bool IsMandatory,
function_ref<void(OptimizationRemark&)> ExtraContext = {},
char const* PassName = nullptr);
| 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. |
| IsMandatory | Whether the inlining was mandatory. |
| ExtraContext | Optional callback to append extra remark context. |
| PassName | Optional pass name override for the remark. |