The optimization diagnostic interface.
Synopsis
Declared in <llvm/Analysis/OptimizationRemarkEmitter.h>
class OptimizationRemarkEmitter;
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 |
Move‐assign from |
|
Whether we allow for extra compile‐time budget to perform more analysis to produce fewer false positives. |
|
|
|
Return true iff at least some remarks are enabled. |
|
Handle invalidation events in the new pass manager. |
Static Member Functions
Name |
Description |
|
Non-Member Functions
Name |
Description |
Emit an ORE message that |
|
Emit an ORE inlined‐into message based on default‐heuristic cost |
Created with MrDocs