class OptimizationRemarkAnalysisAliasing
Declaration
class OptimizationRemarkAnalysisAliasing
: public OptimizationRemarkAnalysis { /* full declaration omitted */ };
Description
Diagnostic information for optimization analysis remarks related to pointer aliasing.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:896
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 OptimizationRemarkAnalysisAliasing(const char * PassName, llvm::StringRef RemarkName, const llvm::DiagnosticLocation & Loc, const llvm::Value * CodeRegion)
- private OptimizationRemarkAnalysisAliasing(const char * PassName, const llvm::Function & Fn, const llvm::DiagnosticLocation & Loc, const llvm::Twine & Msg)
- private void anchor()
- 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
¶OptimizationRemarkAnalysisAliasing(
const char* PassName,
llvm::StringRef RemarkName,
const llvm::DiagnosticLocation& Loc,
const llvm::Value* CodeRegion)
OptimizationRemarkAnalysisAliasing(
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 pointer aliasing legality.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:906
Parameters
- const char* PassName
- llvm::StringRef RemarkName
- const llvm::DiagnosticLocation& Loc
- const llvm::Value* CodeRegion
¶OptimizationRemarkAnalysisAliasing(
const char* PassName,
const llvm::Function& Fn,
const llvm::DiagnosticLocation& Loc,
const llvm::Twine& Msg)
OptimizationRemarkAnalysisAliasing(
const char* PassName,
const llvm::Function& Fn,
const llvm::DiagnosticLocation& Loc,
const llvm::Twine& Msg)
Description
This is deprecated now and only used by the function API below.\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 Fn is the function where the diagnostic is being emitted. \p Loc is the location information to use in the diagnostic. If line table information is available, the diagnostic will include the source code location. \p Msg is the message to show. The front-end will append its own message related to options that address pointer aliasing legality. Note that this class does not copy this message, so this reference must be valid for the whole life time of the diagnostic.
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:928
Parameters
- const char* PassName
- const llvm::Function& Fn
- const llvm::DiagnosticLocation& Loc
- const llvm::Twine& Msg
¶void anchor()
void anchor()
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:897
¶static bool classof(
const llvm::DiagnosticInfo* DI)
static bool classof(
const llvm::DiagnosticInfo* DI)
Declared at: llvm/include/llvm/IR/DiagnosticInfo.h:912
Parameters
- const llvm::DiagnosticInfo* DI