llvm::reportGISelFailure

reportGISelFailure overloads

Synopses

Declared in <llvm/CodeGen/GlobalISel/Utils.h>

Report an ISel error as a missed optimization remark to the LLVMContext's diagnostic stream. Set the FailedISel MachineFunction property.

void
reportGISelFailure(
    MachineFunction& MF,
    MachineOptimizationRemarkEmitter& MORE,
    MachineOptimizationRemarkMissed& R);
» more...

Report an ISel failure for a specific instruction with a custom message.

void
reportGISelFailure(
    MachineFunction& MF,
    MachineOptimizationRemarkEmitter& MORE,
    char const* PassName,
    StringRef Msg,
    MachineInstr const& MI);
» more...

Parameters

NameDescription
MFMachine function for which selection failed.
MORERemark emitter used to report the failure.
RMissed-optimization remark describing the failure.
PassNameName of the pass reporting the failure.
MsgFailure message to include in the remark.
MIInstruction associated with the failure.