Movatterモバイル変換


[0]ホーム

URL:


LLVM 20.0.0git
Public Member Functions |Static Public Member Functions |Protected Member Functions |List of all members
llvm::AutoInitRemark Struct Reference

Special case for -ftrivial-auto-var-init remarks.More...

#include "llvm/Transforms/Utils/MemoryOpRemark.h"

Inheritance diagram for llvm::AutoInitRemark:
Inheritance graph
[legend]

Public Member Functions

 AutoInitRemark (OptimizationRemarkEmitter &ORE,StringRefRemarkPass,constDataLayout &DL,constTargetLibraryInfo &TLI)
 
- Public Member Functions inherited fromllvm::MemoryOpRemark
 MemoryOpRemark (OptimizationRemarkEmitter &ORE,StringRefRemarkPass,constDataLayout &DL,constTargetLibraryInfo &TLI)
 
virtual ~MemoryOpRemark ()
 
void visit (constInstruction *I)
 

Static Public Member Functions

staticbool canHandle (constInstruction *I)
 
- Static Public Member Functions inherited fromllvm::MemoryOpRemark
staticbool canHandle (constInstruction *I,constTargetLibraryInfo &TLI)
 

Protected Member Functions

std::string explainSource (StringRefType)const override
 
StringRef remarkName (RemarkKind RK)const override
 
DiagnosticKind diagnosticKind ()const override
 
virtual std::string explainSource (StringRefType)const
 
virtualStringRef remarkName (RemarkKind RK)const
 
virtualDiagnosticKind diagnosticKind ()const
 

Additional Inherited Members

- Public Attributes inherited fromllvm::MemoryOpRemark
OptimizationRemarkEmitterORE
 
StringRef RemarkPass
 
constDataLayoutDL
 
constTargetLibraryInfoTLI
 
- Protected Types inherited fromllvm::MemoryOpRemark
enum  RemarkKind {RK_Store,RK_Unknown,RK_IntrinsicCall,RK_Call }
 

Detailed Description

Special case for -ftrivial-auto-var-init remarks.

Definition at line97 of fileMemoryOpRemark.h.

Constructor & Destructor Documentation

◆ AutoInitRemark()

llvm::AutoInitRemark::AutoInitRemark(OptimizationRemarkEmitterORE,
StringRef RemarkPass,
constDataLayoutDL,
constTargetLibraryInfoTLI 
)
inline

Definition at line98 of fileMemoryOpRemark.h.

Member Function Documentation

◆ canHandle()

bool AutoInitRemark::canHandle(constInstructionI)
static
Returns
true iff the instruction is understood byAutoInitRemark.

Definition at line388 of fileMemoryOpRemark.cpp.

Referencesllvm::any_of(), andI.

Referenced bytryEmitAutoInitRemark().

◆ diagnosticKind()

DiagnosticKind llvm::AutoInitRemark::diagnosticKind() const
inlineoverrideprotectedvirtual

Reimplemented fromllvm::MemoryOpRemark.

Definition at line108 of fileMemoryOpRemark.h.

Referencesllvm::DK_OptimizationRemarkMissed.

◆ explainSource()

std::string AutoInitRemark::explainSource(StringRef Type) const
overrideprotectedvirtual

Reimplemented fromllvm::MemoryOpRemark.

Definition at line398 of fileMemoryOpRemark.cpp.

◆ remarkName()

StringRef AutoInitRemark::remarkName(RemarkKind RK) const
overrideprotectedvirtual

Reimplemented fromllvm::MemoryOpRemark.

Definition at line402 of fileMemoryOpRemark.cpp.

Referencesllvm_unreachable,llvm::MemoryOpRemark::RK_Call,llvm::MemoryOpRemark::RK_IntrinsicCall,llvm::MemoryOpRemark::RK_Store, andllvm::MemoryOpRemark::RK_Unknown.


The documentation for this struct was generated from the following files:

Generated on Sun Jul 20 2025 15:08:40 for LLVM by doxygen 1.9.6
[8]ページ先頭

©2009-2025 Movatter.jp