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

Iterator for the Use edges of a User's operands. 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

 OperandUseIterator ()=default
 
value_type operator* () const
 
OperandUseIteratoroperator++ ()
 
bool operator== (const OperandUseIterator &Other) const
 
bool operator!= (const OperandUseIterator &Other) const
 

Friends

class User
 

Detailed Description

Iterator for the Use edges of a User's operands.

\Returns the operand Use when dereferenced.

Definition at line 84 of file SandboxIR.h.

Member Typedef Documentation

◆ difference_type

Definition at line 93 of file SandboxIR.h.

◆ iterator_category

Definition at line 97 of file SandboxIR.h.

◆ pointer

Definition at line 95 of file SandboxIR.h.

◆ reference

Definition at line 96 of file SandboxIR.h.

◆ value_type

Definition at line 94 of file SandboxIR.h.

Constructor & Destructor Documentation

◆ OperandUseIterator()

llvm::sandboxir::OperandUseIterator::OperandUseIterator ( )
default

Member Function Documentation

◆ operator!=()

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

Definition at line 105 of file SandboxIR.h.

References llvm::Other.

◆ operator*()

Use OperandUseIterator::operator* ( ) const

Definition at line 55 of file SandboxIR.cpp.

◆ operator++()

OperandUseIterator & OperandUseIterator::operator++ ( )

◆ operator==()

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

Definition at line 102 of file SandboxIR.h.

References llvm::Other.

Friends And Related Function Documentation

◆ User

friend class User
friend

Definition at line 88 of file SandboxIR.h.


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