Diagnostic information for applied optimization remarks.
Synopsis
Declared in <llvm/IR/DiagnosticInfo.h>
class OptimizationRemark
: public DiagnosticInfoIROptimization
Base Classes
Name |
Description |
Common features for diagnostics dealing with optimization remarks that are used by IR passes. |
Types
Name |
Description |
Key‐value argument used by the optimization remark stream interface. |
|
Marker that marks following stream arguments as record‐only. |
|
Marker used to set IsVerbose via the stream interface. |
Member Functions
Name |
Description |
|
Constructors |
Return the absolute path to the file. |
|
Return the collected remark arguments. |
|
Return the IR region the optimization operates on. |
|
Return the function where this diagnostic is triggered. |
|
Return the profile hotness, if available. |
|
Return the kind of this diagnostic. |
|
|
|
Return the location as a "file:line:col" string. |
|
Return the formatted remark message. |
|
Return the name of the pass emitting this remark. |
|
Return the textual remark identifier. |
|
Return the severity of this diagnostic. |
|
|
|
Return true if this is an optimization analysis remark. |
|
|
Return true if this remark is enabled by ‐Rpass=. |
Return true if location information is available for this diagnostic. |
|
Return true if this is a missed‐optimization remark. |
|
Return true if this is a passed‐optimization remark. |
|
Return true if this remark is expected to be noisy. |
|
|
Print this diagnostic using |
Set the profile hotness to |
Static Member Functions
Name |
Description |
Return true if |
Protected Data Members
Name |
Description |
Arguments collected via the streaming interface. |
|
If positive, the index of the first argument that only appear in the optimization records and not in the remark printed in the compiler output. |
|
If profile information is available, this is the number of times the corresponding code was executed in a profile instrumentation run. |
|
The remark is expected to be noisy. |
|
Name of the pass that triggers this report. If this matches the regular expression given in ‐Rpass=regexp, then the remark will be emitted. |
|
Textual identifier for the remark (single‐word, CamelCase). |
Non-Member Functions
Name |
Description |
Add location info from |
|
Convert a |
Created with MrDocs