class OptimizationRemarkAnalysisFPCommute
Declaration
class OptimizationRemarkAnalysisFPCommute
: public OptimizationRemarkAnalysis { /* full declaration omitted */ };
Description
Diagnostic information for optimization analysis remarks related to floating-point non-commutativity.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:826
Inherits from: OptimizationRemarkAnalysis
Member Variables
Inherited from OptimizationRemarkAnalysis:
Inherited from DiagnosticInfoOptimizationBase:
- protected PassName
- protected RemarkName
- protected Hotness
- protected Args
- protected IsVerbose = false
- protected FirstExtraArgIndex = -1
Method Overview
- public OptimizationRemarkAnalysisFPCommute(const char * PassName, llvm::StringRef RemarkName, const llvm::DiagnosticLocation & Loc, const llvm::Value * CodeRegion)
- public static bool classof(const llvm::DiagnosticInfo * DI)
Inherited from OptimizationRemarkAnalysis:
Inherited from DiagnosticInfoIROptimization:
Inherited from DiagnosticInfoOptimizationBase:
- public classof
- public getArgs
- public getHotness
- public getMsg
- public getPassName
- public getRemarkName
- public insert
- public insert
- public insert
- public insert
- public isAnalysis
- public isEnabled
- public isMissed
- public isPassed
- public isVerbose
- public print
- public setHotness
Inherited from DiagnosticInfoWithLocationBase:
- public getAbsolutePath
- public getFunction
- public getLocation
- public getLocation
- public getLocationStr
- public isLocationAvailable
Inherited from DiagnosticInfo:
Methods
¶OptimizationRemarkAnalysisFPCommute(
const char* PassName,
llvm::StringRef RemarkName,
const llvm::DiagnosticLocation& Loc,
const llvm::Value* CodeRegion)
OptimizationRemarkAnalysisFPCommute(
const char* PassName,
llvm::StringRef RemarkName,
const llvm::DiagnosticLocation& Loc,
const llvm::Value* CodeRegion)
Description
\p PassName is the name of the pass emitting this diagnostic. If this name matches the regular expression given in -Rpass-analysis=, then the diagnostic will be emitted. \p RemarkName is a textual identifier for the remark (single-word, camel-case). \p Loc is the debug location and \p CodeRegion is the region that the optimization operates on (currently only block is supported). The front-end will append its own message related to options that address floating-point non-commutativity.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:836
Parameters
- const char* PassName
- llvm::StringRef RemarkName
- const llvm::DiagnosticLocation& Loc
- const llvm::Value* CodeRegion
¶static bool classof(
const llvm::DiagnosticInfo* DI)
static bool classof(
const llvm::DiagnosticInfo* DI)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:843
Parameters
- const llvm::DiagnosticInfo* DI