LLVM 20.0.0git
Public Member Functions | List of all members
llvm::DbgVariableRecord::location_op_iterator Class Reference

Iterator for ValueAsMetadata that internally uses direct pointer iteration over either a ValueAsMetadata* or a ValueAsMetadata**, dereferencing to the ValueAsMetadata . More...

#include "llvm/IR/DebugProgramInstruction.h"

Inheritance diagram for llvm::DbgVariableRecord::location_op_iterator:
Inheritance graph
[legend]

Public Member Functions

 location_op_iterator (ValueAsMetadata *SingleIter)
 
 location_op_iterator (ValueAsMetadata **MultiIter)
 
 location_op_iterator (const location_op_iterator &R)
 
location_op_iteratoroperator= (const location_op_iterator &R)
 
bool operator== (const location_op_iterator &RHS) const
 
const Valueoperator* () const
 
Valueoperator* ()
 
location_op_iteratoroperator++ ()
 
location_op_iteratoroperator-- ()
 
- Public Member Functions inherited from llvm::iterator_facade_base< location_op_iterator, std::bidirectional_iterator_tag, Value * >
location_op_iterator operator+ (std::ptrdiff_t n) const
 
location_op_iterator operator- (std::ptrdiff_t n) const
 
location_op_iteratoroperator++ ()
 
location_op_iterator operator++ (int)
 
location_op_iteratoroperator-- ()
 
location_op_iterator operator-- (int)
 
bool operator!= (const location_op_iterator &RHS) const
 
bool operator> (const location_op_iterator &RHS) const
 
bool operator<= (const location_op_iterator &RHS) const
 
bool operator>= (const location_op_iterator &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< location_op_iterator, std::bidirectional_iterator_tag, Value * >
using iterator_category = std::bidirectional_iterator_tag
 
using value_type = Value *
 
using difference_type = std::ptrdiff_t
 
using pointer = Value * *
 
using reference = Value * &
 
- Protected Types inherited from llvm::iterator_facade_base< location_op_iterator, std::bidirectional_iterator_tag, Value * >
enum  
 

Detailed Description

Iterator for ValueAsMetadata that internally uses direct pointer iteration over either a ValueAsMetadata* or a ValueAsMetadata**, dereferencing to the ValueAsMetadata .

Definition at line 356 of file DebugProgramInstruction.h.

Constructor & Destructor Documentation

◆ location_op_iterator() [1/3]

llvm::DbgVariableRecord::location_op_iterator::location_op_iterator ( ValueAsMetadata SingleIter)
inline

Definition at line 362 of file DebugProgramInstruction.h.

References I.

◆ location_op_iterator() [2/3]

llvm::DbgVariableRecord::location_op_iterator::location_op_iterator ( ValueAsMetadata **  MultiIter)
inline

Definition at line 363 of file DebugProgramInstruction.h.

References I.

◆ location_op_iterator() [3/3]

llvm::DbgVariableRecord::location_op_iterator::location_op_iterator ( const location_op_iterator R)
inline

Definition at line 365 of file DebugProgramInstruction.h.

References I.

Member Function Documentation

◆ operator*() [1/2]

Value * llvm::DbgVariableRecord::location_op_iterator::operator* ( )
inline

Definition at line 379 of file DebugProgramInstruction.h.

References llvm::ValueAsMetadata::getValue(), and I.

◆ operator*() [2/2]

const Value * llvm::DbgVariableRecord::location_op_iterator::operator* ( ) const
inline

Definition at line 373 of file DebugProgramInstruction.h.

References llvm::ValueAsMetadata::getValue(), and I.

◆ operator++()

location_op_iterator & llvm::DbgVariableRecord::location_op_iterator::operator++ ( )
inline

Definition at line 385 of file DebugProgramInstruction.h.

References I.

◆ operator--()

location_op_iterator & llvm::DbgVariableRecord::location_op_iterator::operator-- ( )
inline

Definition at line 392 of file DebugProgramInstruction.h.

References I.

◆ operator=()

location_op_iterator & llvm::DbgVariableRecord::location_op_iterator::operator= ( const location_op_iterator R)
inline

Definition at line 366 of file DebugProgramInstruction.h.

References I.

◆ operator==()

bool llvm::DbgVariableRecord::location_op_iterator::operator== ( const location_op_iterator RHS) const
inline

Definition at line 370 of file DebugProgramInstruction.h.

References I, and RHS.


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