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 |
|
Constructors |
Whether we allow for extra compile‐time budget to perform more analysis to be more informative. |
|
|
|
Return the machine block frequency info used for hotness, or null. |
|
Handle invalidation events in the new pass manager. |
Created with MrDocs