llvm::setInlineRemark

Set the inline-remark attribute.

Synopsis

Declared in <llvm/Analysis/InlineAdvisor.h>

void
setInlineRemark(
    CallBase& CB,
    StringRef Message);

Parameters

NameDescription
CBBase class for all callable instructions (InvokeInst and CallInst) Holds everything related to calling a function.
MessageRepresent a constant reference to a string, i.e. a character array and a length, which need not be null terminated.