LLVM 22.0.0git
LiveDebugValues::MLocTracker::MLocIterator Class Reference

Iterator for locations and the values they contain. More...

#include "CodeGen/LiveDebugValues/InstrRefBasedImpl.h"

Classes

class  value_type

Public Member Functions

 MLocIterator (LocToValueType &ValueMap, LocIdx Idx)
bool operator== (const MLocIterator &Other) const
bool operator!= (const MLocIterator &Other) const
void operator++ ()
value_type operator* ()

Detailed Description

Iterator for locations and the values they contain.

Dereferencing produces a struct/pair containing the LocIdx key for this location, and a reference to the value currently stored. Simplifies the process of seeking a particular location.

Definition at line 763 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ MLocIterator()

LiveDebugValues::MLocTracker::MLocIterator::MLocIterator ( LocToValueType & ValueMap,
LocIdx Idx )
inline

Definition at line 775 of file InstrRefBasedImpl.h.

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

Member Function Documentation

◆ operator!=()

bool LiveDebugValues::MLocTracker::MLocIterator::operator!= ( const MLocIterator & Other) const
inline

Definition at line 783 of file InstrRefBasedImpl.h.

References MLocIterator(), and llvm::Other.

◆ operator*()

value_type LiveDebugValues::MLocTracker::MLocIterator::operator* ( )
inline

Definition at line 789 of file InstrRefBasedImpl.h.

◆ operator++()

void LiveDebugValues::MLocTracker::MLocIterator::operator++ ( )
inline

Definition at line 787 of file InstrRefBasedImpl.h.

◆ operator==()

bool LiveDebugValues::MLocTracker::MLocIterator::operator== ( const MLocIterator & Other) const
inline

Definition at line 778 of file InstrRefBasedImpl.h.

References assert(), MLocIterator(), and llvm::Other.


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