Construct a MIR optimization remark of kind Kind.
Declared in <llvm/CodeGen/MachineOptimizationRemarkEmitter.h>
DiagnosticInfoMIROptimization(
DiagnosticKind Kind,
char const* PassName,
StringRef RemarkName,
DiagnosticLocation const& Loc,
MachineBasicBlock const* MBB);
| Name | Description |
|---|---|
| Kind | Diagnostic kind |
| PassName | Name of the pass emitting this diagnostic |
| RemarkName | Textual identifier for the remark |
| Loc | Debug location for the remark |
| MBB | Machine basic block that the optimization operates in |