clang  19.0.0git
Public Member Functions | Public Attributes | List of all members
clang::CodeGen::LoopAttributes::SYCLIVDepInfo Struct Reference

#include "/home/runner/work/llvm/llvm/repo/clang/lib/CodeGen/CGLoopInfo.h"

Public Member Functions

 SYCLIVDepInfo (unsigned SL)
 
 SYCLIVDepInfo (unsigned SL, const ValueDecl *A, llvm::MDNode *MD)
 
bool hasArray (const ValueDecl *Array) const
 
decltype(Arrays) ::iterator getArrayPairItr (const ValueDecl *Array)
 
decltype(Arrays) ::iterator getArrayPairItr (const ValueDecl *Array) const
 
void eraseArray (const ValueDecl *Array)
 
bool isSafeLenGreaterOrEqual (unsigned OtherSL) const
 

Public Attributes

unsigned SafeLen
 
llvm::SmallVector< std::pair< const ValueDecl *, llvm::MDNode * >, 4 > Arrays
 

Detailed Description

Definition at line 71 of file CGLoopInfo.h.

Constructor & Destructor Documentation

◆ SYCLIVDepInfo() [1/2]

clang::CodeGen::LoopAttributes::SYCLIVDepInfo::SYCLIVDepInfo ( unsigned  SL)
inline

Definition at line 75 of file CGLoopInfo.h.

◆ SYCLIVDepInfo() [2/2]

clang::CodeGen::LoopAttributes::SYCLIVDepInfo::SYCLIVDepInfo ( unsigned  SL,
const ValueDecl A,
llvm::MDNode *  MD 
)
inline

Definition at line 76 of file CGLoopInfo.h.

References Arrays.

Member Function Documentation

◆ eraseArray()

void clang::CodeGen::LoopAttributes::SYCLIVDepInfo::eraseArray ( const ValueDecl Array)
inline

Definition at line 94 of file CGLoopInfo.h.

References Array.

◆ getArrayPairItr() [1/2]

decltype(Arrays) ::iterator clang::CodeGen::LoopAttributes::SYCLIVDepInfo::getArrayPairItr ( const ValueDecl Array)
inline

Definition at line 84 of file CGLoopInfo.h.

References Array, and Arrays.

Referenced by hasArray().

◆ getArrayPairItr() [2/2]

decltype(Arrays) ::iterator clang::CodeGen::LoopAttributes::SYCLIVDepInfo::getArrayPairItr ( const ValueDecl Array) const
inline

Definition at line 89 of file CGLoopInfo.h.

References Array.

◆ hasArray()

bool clang::CodeGen::LoopAttributes::SYCLIVDepInfo::hasArray ( const ValueDecl Array) const
inline

Definition at line 80 of file CGLoopInfo.h.

References Array, Arrays, and getArrayPairItr().

◆ isSafeLenGreaterOrEqual()

bool clang::CodeGen::LoopAttributes::SYCLIVDepInfo::isSafeLenGreaterOrEqual ( unsigned  OtherSL) const
inline

Definition at line 99 of file CGLoopInfo.h.

References SafeLen.

Member Data Documentation

◆ Arrays

llvm::SmallVector<std::pair<const ValueDecl *, llvm::MDNode *>, 4> clang::CodeGen::LoopAttributes::SYCLIVDepInfo::Arrays
mutable

Definition at line 74 of file CGLoopInfo.h.

Referenced by EmitIVDepLoopMetadata(), getArrayPairItr(), hasArray(), and SYCLIVDepInfo().

◆ SafeLen

unsigned clang::CodeGen::LoopAttributes::SYCLIVDepInfo::SafeLen

Definition at line 72 of file CGLoopInfo.h.

Referenced by EmitIVDepLoopMetadata(), and EmitLegacyIVDepLoopMetadata().


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