LLVM  15.0.0git
Classes | Public Member Functions | List of all members
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 416 of file InstrRefBasedImpl.h.

Constructor & Destructor Documentation

◆ MLocIterator()

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

Definition at line 428 of file InstrRefBasedImpl.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 436 of file InstrRefBasedImpl.h.

References Other.

◆ operator*()

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

Definition at line 442 of file InstrRefBasedImpl.h.

◆ operator++()

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

Definition at line 440 of file InstrRefBasedImpl.h.

References LiveDebugValues::LocIdx::asU64().

◆ operator==()

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

Definition at line 431 of file InstrRefBasedImpl.h.

References assert(), and Other.


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