llvm::DiagnosticInfoMIROptimization::DiagnosticInfoMIROptimization

Construct a MIR optimization remark of kind Kind.

Synopsis

Declared in <llvm/CodeGen/MachineOptimizationRemarkEmitter.h>

DiagnosticInfoMIROptimization(
    DiagnosticKind Kind,
    char const* PassName,
    StringRef RemarkName,
    DiagnosticLocation const& Loc,
    MachineBasicBlock const* MBB);

Parameters

NameDescription
KindDiagnostic kind
PassNameName of the pass emitting this diagnostic
RemarkNameTextual identifier for the remark
LocDebug location for the remark
MBBMachine basic block that the optimization operates in