LLVM 20.0.0git
|
Special case for -ftrivial-auto-var-init remarks. More...
#include "llvm/Transforms/Utils/MemoryOpRemark.h"
Public Member Functions | |
AutoInitRemark (OptimizationRemarkEmitter &ORE, StringRef RemarkPass, const DataLayout &DL, const TargetLibraryInfo &TLI) | |
Public Member Functions inherited from llvm::MemoryOpRemark | |
MemoryOpRemark (OptimizationRemarkEmitter &ORE, StringRef RemarkPass, const DataLayout &DL, const TargetLibraryInfo &TLI) | |
virtual | ~MemoryOpRemark () |
void | visit (const Instruction *I) |
Static Public Member Functions | |
static bool | canHandle (const Instruction *I) |
Static Public Member Functions inherited from llvm::MemoryOpRemark | |
static bool | canHandle (const Instruction *I, const TargetLibraryInfo &TLI) |
Protected Member Functions | |
std::string | explainSource (StringRef Type) const override |
StringRef | remarkName (RemarkKind RK) const override |
DiagnosticKind | diagnosticKind () const override |
virtual std::string | explainSource (StringRef Type) const |
virtual StringRef | remarkName (RemarkKind RK) const |
virtual DiagnosticKind | diagnosticKind () const |
Additional Inherited Members | |
Public Attributes inherited from llvm::MemoryOpRemark | |
OptimizationRemarkEmitter & | ORE |
StringRef | RemarkPass |
const DataLayout & | DL |
const TargetLibraryInfo & | TLI |
Protected Types inherited from llvm::MemoryOpRemark | |
enum | RemarkKind { RK_Store , RK_Unknown , RK_IntrinsicCall , RK_Call } |
Special case for -ftrivial-auto-var-init remarks.
Definition at line 97 of file MemoryOpRemark.h.
|
inline |
Definition at line 98 of file MemoryOpRemark.h.
|
static |
Definition at line 388 of file MemoryOpRemark.cpp.
References llvm::any_of(), and I.
Referenced by tryEmitAutoInitRemark().
|
inlineoverrideprotectedvirtual |
Reimplemented from llvm::MemoryOpRemark.
Definition at line 108 of file MemoryOpRemark.h.
References llvm::DK_OptimizationRemarkMissed.
|
overrideprotectedvirtual |
Reimplemented from llvm::MemoryOpRemark.
Definition at line 398 of file MemoryOpRemark.cpp.
|
overrideprotectedvirtual |
Reimplemented from llvm::MemoryOpRemark.
Definition at line 402 of file MemoryOpRemark.cpp.
References llvm_unreachable, llvm::MemoryOpRemark::RK_Call, llvm::MemoryOpRemark::RK_IntrinsicCall, llvm::MemoryOpRemark::RK_Store, and llvm::MemoryOpRemark::RK_Unknown.