struct AutoInitRemark
Declaration
struct AutoInitRemark : public MemoryOpRemark { /* full declaration omitted */ };
Description
Special case for -ftrivial-auto-var-init remarks.
Declared at: llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h:96
Inherits from: MemoryOpRemark
Member Variables
Inherited from MemoryOpRemark:
Method Overview
- public AutoInitRemark(llvm::OptimizationRemarkEmitter & ORE, llvm::StringRef RemarkPass, const llvm::DataLayout & DL, const llvm::TargetLibraryInfo & TLI)
- public static bool canHandle(const llvm::Instruction * I)
- protected llvm::DiagnosticKind diagnosticKind() const
- protected std::string explainSource(llvm::StringRef Type) const
- protected llvm::StringRef remarkName(llvm::MemoryOpRemark::RemarkKind RK) const
Inherited from MemoryOpRemark:
Methods
¶AutoInitRemark(
llvm::OptimizationRemarkEmitter& ORE,
llvm::StringRef RemarkPass,
const llvm::DataLayout& DL,
const llvm::TargetLibraryInfo& TLI)
AutoInitRemark(
llvm::OptimizationRemarkEmitter& ORE,
llvm::StringRef RemarkPass,
const llvm::DataLayout& DL,
const llvm::TargetLibraryInfo& TLI)
Declared at: llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h:97
Parameters
- llvm::OptimizationRemarkEmitter& ORE
- llvm::StringRef RemarkPass
- const llvm::DataLayout& DL
- const llvm::TargetLibraryInfo& TLI
¶static bool canHandle(const llvm::Instruction* I)
static bool canHandle(const llvm::Instruction* I)
Declared at: llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h:102
Parameters
- const llvm::Instruction* I
Returns
true iff the instruction is understood by AutoInitRemark.
¶llvm::DiagnosticKind diagnosticKind() const
llvm::DiagnosticKind diagnosticKind() const
Declared at: llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h:107
¶std::string explainSource(
llvm::StringRef Type) const
std::string explainSource(
llvm::StringRef Type) const
Declared at: llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h:105
Parameters
- llvm::StringRef Type
¶llvm::StringRef remarkName(
llvm::MemoryOpRemark::RemarkKind RK) const
llvm::StringRef remarkName(
llvm::MemoryOpRemark::RemarkKind RK) const
Declared at: llvm/include/llvm/Transforms/Utils/MemoryOpRemark.h:106
Parameters
- llvm::MemoryOpRemark::RemarkKind RK