Construct a remark deriving location from instruction Inst.

Synopsis

Declared in <llvm/IR/DiagnosticInfo.h>

OptimizationRemark(
    char const* PassName,
    StringRef RemarkName,
    Instruction const* Inst);

Parameters

Name

Description

PassName

Name of the pass emitting this diagnostic

RemarkName

Textual identifier for the remark

Inst

Instruction used to derive debug location and code region

Created with MrDocs