The optimization diagnostic interface.

Synopsis

Declared in <llvm/CodeGen/MachineOptimizationRemarkEmitter.h>

class MachineOptimizationRemarkEmitter;

Description

It allows reporting when optimizations are performed and when they are not along with the reasons for it. Hotness information of the corresponding code region can be included in the remark if DiagnosticsHotnessRequested is enabled in the LLVM context.

Member Functions

Name

Description

MachineOptimizationRemarkEmitter [constructor]

Constructors

allowExtraAnalysis

Whether we allow for extra compile‐time budget to perform more analysis to be more informative.

emit

emit overloads

getBFI

Return the machine block frequency info used for hotness, or null.

invalidate

Handle invalidation events in the new pass manager.

Created with MrDocs