reportGISelFailure overloads
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...
| Name | Description |
|---|---|
| MF | Machine function for which selection failed. |
| MORE | Remark emitter used to report the failure. |
| R | Missed-optimization remark describing the failure. |
| PassName | Name of the pass reporting the failure. |
| Msg | Failure message to include in the remark. |
| MI | Instruction associated with the failure. |