[#llvm-MachineOptimizationRemarkMissed] = xref:llvm.adoc[llvm]::MachineOptimizationRemarkMissed :relfileprefix: ../ :mrdocs: Diagnostic information for missed‐optimization remarks. == Synopsis Declared in `<llvm/CodeGen/MachineOptimizationRemarkEmitter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- class MachineOptimizationRemarkMissed : public xref:llvm/DiagnosticInfoMIROptimization.adoc[DiagnosticInfoMIROptimization] ---- == Base Classes [cols="1,4"] |=== | Name| Description | `xref:llvm/DiagnosticInfoMIROptimization.adoc[DiagnosticInfoMIROptimization]` | Common features for diagnostics dealing with optimization remarks that are used by machine passes. |=== == Types [cols="1,4"] |=== | Name| Description | xref:llvm/DiagnosticInfoOptimizationBase/Argument.adoc[`Argument`] | Key‐value argument used by the optimization remark stream interface. | xref:llvm/DiagnosticInfoMIROptimization/MachineArgument.adoc[`MachineArgument`] | MI‐specific kinds of diagnostic Arguments. | xref:llvm/DiagnosticInfoOptimizationBase/setExtraArgs.adoc[`setExtraArgs`] | Marker that marks following stream arguments as record‐only. | xref:llvm/DiagnosticInfoOptimizationBase/setIsVerbose.adoc[`setIsVerbose`] | Marker used to set IsVerbose via the stream interface. |=== == Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/MachineOptimizationRemarkMissed/2constructor.adoc[`MachineOptimizationRemarkMissed`] [.small]#[constructor]# | Construct a missed‐optimization remark for the given pass and block. | xref:llvm/DiagnosticInfoWithLocationBase/getAbsolutePath.adoc[`getAbsolutePath`] | Return the absolute path to the file. | xref:llvm/DiagnosticInfoOptimizationBase/getArgs.adoc[`getArgs`] | Return the collected remark arguments. | xref:llvm/DiagnosticInfoMIROptimization/getBlock.adoc[`getBlock`] | Return the machine basic block this remark refers to. | xref:llvm/DiagnosticInfoWithLocationBase/getFunction.adoc[`getFunction`] | Return the function where this diagnostic is triggered. | xref:llvm/DiagnosticInfoOptimizationBase/getHotness.adoc[`getHotness`] | Return the profile hotness, if available. | xref:llvm/DiagnosticInfo/getKind.adoc[`getKind`] | Return the kind of this diagnostic. | xref:llvm/DiagnosticInfoWithLocationBase/getLocation-082.adoc[`getLocation`] | `getLocation` overloads | xref:llvm/DiagnosticInfoWithLocationBase/getLocationStr.adoc[`getLocationStr`] | Return the location as a "file:line:col" string. | xref:llvm/DiagnosticInfoOptimizationBase/getMsg.adoc[`getMsg`] | Return the formatted remark message. | xref:llvm/DiagnosticInfoOptimizationBase/getPassName.adoc[`getPassName`] | Return the name of the pass emitting this remark. | xref:llvm/DiagnosticInfoOptimizationBase/getRemarkName.adoc[`getRemarkName`] | Return the textual remark identifier. | xref:llvm/DiagnosticInfo/getSeverity.adoc[`getSeverity`] | Return the severity of this diagnostic. | xref:llvm/DiagnosticInfoOptimizationBase/insert-04.adoc[`insert`] | `insert` overloads | xref:llvm/DiagnosticInfoOptimizationBase/isAnalysis.adoc[`isAnalysis`] | Return true if this is an optimization analysis remark. | xref:llvm/MachineOptimizationRemarkMissed/isEnabled.adoc[`isEnabled`] [.small]#[virtual]# | Return true if this remark is enabled by ‐Rpass‐missed=. | xref:llvm/DiagnosticInfoWithLocationBase/isLocationAvailable.adoc[`isLocationAvailable`] | Return true if location information is available for this diagnostic. | xref:llvm/DiagnosticInfoOptimizationBase/isMissed.adoc[`isMissed`] | Return true if this is a missed‐optimization remark. | xref:llvm/DiagnosticInfoOptimizationBase/isPassed.adoc[`isPassed`] | Return true if this is a passed‐optimization remark. | xref:llvm/DiagnosticInfoOptimizationBase/isVerbose-0b.adoc[`isVerbose`] | Return true if this remark is expected to be noisy. | xref:llvm/DiagnosticInfoOptimizationBase/print.adoc[`print`] [.small]#[virtual]# | Print this diagnostic using `DP.` | xref:llvm/DiagnosticInfoOptimizationBase/setHotness.adoc[`setHotness`] | Set the profile hotness to `H.` |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/MachineOptimizationRemarkMissed/classof.adoc[`classof`] | Return true if `DI` is a MachineOptimizationRemarkMissed. |=== == Protected Data Members [cols="1,4"] |=== | Name| Description | xref:llvm/DiagnosticInfoOptimizationBase/Args.adoc[`Args`] | Arguments collected via the streaming interface. | xref:llvm/DiagnosticInfoOptimizationBase/FirstExtraArgIndex.adoc[`FirstExtraArgIndex`] | 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. | xref:llvm/DiagnosticInfoOptimizationBase/Hotness.adoc[`Hotness`] | If profile information is available, this is the number of times the corresponding code was executed in a profile instrumentation run. | xref:llvm/DiagnosticInfoOptimizationBase/IsVerbose-04.adoc[`IsVerbose`] | The remark is expected to be noisy. | xref:llvm/DiagnosticInfoOptimizationBase/PassName.adoc[`PassName`] | Name of the pass that triggers this report. If this matches the regular expression given in ‐Rpass=regexp, then the remark will be emitted. | xref:llvm/DiagnosticInfoOptimizationBase/RemarkName.adoc[`RemarkName`] | Textual identifier for the remark (single‐word, CamelCase). |=== == Non-Member Functions [cols="1,4"] |=== | Name| Description | xref:llvm/wrap-004.adoc[`wrap`] | Convert a `DiagnosticInfo` pointer to an opaque `LLVMDiagnosticInfoRef.` |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#