LLVM 19.0.0git
Public Types | Public Member Functions | Friends | List of all members
llvm::sandboxir::UserUseIterator Class Reference

Returns user edge when dereferenced. More...

#include "llvm/SandboxIR/SandboxIR.h"

Public Types

using difference_type = std::ptrdiff_t
 
using value_type = sandboxir::Use
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::input_iterator_tag
 

Public Member Functions

 UserUseIterator ()=default
 
value_type operator* () const
 
UserUseIteratoroperator++ ()
 
bool operator== (const UserUseIterator &Other) const
 
bool operator!= (const UserUseIterator &Other) const
 

Friends

class Value
 

Detailed Description

Returns user edge when dereferenced.

Definition at line 141 of file SandboxIR.h.

Member Typedef Documentation

◆ difference_type

Definition at line 148 of file SandboxIR.h.

◆ iterator_category

using llvm::sandboxir::UserUseIterator::iterator_category = std::input_iterator_tag

Definition at line 152 of file SandboxIR.h.

◆ pointer

Definition at line 150 of file SandboxIR.h.

◆ reference

Definition at line 151 of file SandboxIR.h.

◆ value_type

Definition at line 149 of file SandboxIR.h.

Constructor & Destructor Documentation

◆ UserUseIterator()

llvm::sandboxir::UserUseIterator::UserUseIterator ( )
default

Member Function Documentation

◆ operator!=()

bool llvm::sandboxir::UserUseIterator::operator!= ( const UserUseIterator Other) const
inline

Definition at line 160 of file SandboxIR.h.

References llvm::Other.

◆ operator*()

value_type llvm::sandboxir::UserUseIterator::operator* ( ) const
inline

Definition at line 155 of file SandboxIR.h.

◆ operator++()

UserUseIterator & UserUseIterator::operator++ ( )

Definition at line 62 of file SandboxIR.cpp.

References assert().

◆ operator==()

bool llvm::sandboxir::UserUseIterator::operator== ( const UserUseIterator Other) const
inline

Definition at line 157 of file SandboxIR.h.

References llvm::Other.

Friends And Related Function Documentation

◆ Value

friend class Value
friend

Definition at line 145 of file SandboxIR.h.


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