LLVM 22.0.0git
llvm::ir2vec::VocabStorage::const_iterator Class Reference

Iterator support for section-based access. More...

#include "llvm/Analysis/IR2Vec.h"

Public Member Functions

 const_iterator (const VocabStorage *Storage, unsigned SectionId, size_t LocalIndex)
LLVM_ABI const Embeddingoperator* () const
LLVM_ABI const_iteratoroperator++ ()
LLVM_ABI bool operator== (const const_iterator &Other) const
LLVM_ABI bool operator!= (const const_iterator &Other) const

Detailed Description

Iterator support for section-based access.

Definition at line 193 of file IR2Vec.h.

Constructor & Destructor Documentation

◆ const_iterator()

llvm::ir2vec::VocabStorage::const_iterator::const_iterator ( const VocabStorage * Storage,
unsigned SectionId,
size_t LocalIndex )
inline

Definition at line 199 of file IR2Vec.h.

References llvm::ir2vec::VocabStorage::VocabStorage().

Referenced by operator!=(), and operator==().

Member Function Documentation

◆ operator!=()

bool VocabStorage::const_iterator::operator!= ( const const_iterator & Other) const

Definition at line 328 of file IR2Vec.cpp.

References const_iterator(), and llvm::Other.

◆ operator*()

const Embedding & VocabStorage::const_iterator::operator* ( ) const

Definition at line 302 of file IR2Vec.cpp.

References assert(), and llvm::ir2vec::VocabStorage::size().

◆ operator++()

VocabStorage::const_iterator & VocabStorage::const_iterator::operator++ ( )

Definition at line 309 of file IR2Vec.cpp.

References assert(), and llvm::ir2vec::VocabStorage::getNumSections().

◆ operator==()

bool VocabStorage::const_iterator::operator== ( const const_iterator & Other) const

Definition at line 322 of file IR2Vec.cpp.

References const_iterator(), and llvm::Other.


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