class MachineOptimizationRemarkAnalysis

Declaration

class MachineOptimizationRemarkAnalysis
    : public DiagnosticInfoMIROptimization { /* full declaration omitted */ };

Description

Diagnostic information for optimization analysis remarks.

Declared at: llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h:109

Inherits from: DiagnosticInfoMIROptimization

Member Variables

Inherited from DiagnosticInfoOptimizationBase:

protected PassName
protected RemarkName
protected Hotness
protected Args
protected IsVerbose = false
protected FirstExtraArgIndex = -1

Method Overview

Inherited from DiagnosticInfoMIROptimization:

Inherited from DiagnosticInfoOptimizationBase:

Inherited from DiagnosticInfoWithLocationBase:

Inherited from DiagnosticInfo:

Methods

MachineOptimizationRemarkAnalysis(
    const char* PassName,
    llvm::StringRef RemarkName,
    const llvm::DiagnosticLocation& Loc,
    const llvm::MachineBasicBlock* MBB)

Description

\p PassName is the name of the pass emitting this diagnostic. If this name matches the regular expression given in -Rpass-analysis=, then the diagnostic will be emitted. \p RemarkName is a textual identifier for the remark. \p Loc is the debug location and \p MBB is the block that the optimization operates in.

Declared at: llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h:116

Parameters

const char* PassName
llvm::StringRef RemarkName
const llvm::DiagnosticLocation& Loc
const llvm::MachineBasicBlock* MBB

MachineOptimizationRemarkAnalysis(
    const char* PassName,
    llvm::StringRef RemarkName,
    const llvm::MachineInstr* MI)

Declared at: llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h:122

Parameters

const char* PassName
llvm::StringRef RemarkName
const llvm::MachineInstr* MI

static bool classof(
    const llvm::DiagnosticInfo* DI)

Declared at: llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h:128

Parameters

const llvm::DiagnosticInfo* DI

bool isEnabled() const

Declared at: llvm/include/llvm/CodeGen/MachineOptimizationRemarkEmitter.h:133