LLVM 19.0.0git
|
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 |
OperandUseIterator & | operator++ () |
bool | operator== (const OperandUseIterator &Other) const |
bool | operator!= (const OperandUseIterator &Other) const |
Friends | |
class | User |
Iterator for the Use
edges of a User's operands.
\Returns the operand Use
when dereferenced.
Definition at line 84 of file SandboxIR.h.
using llvm::sandboxir::OperandUseIterator::difference_type = std::ptrdiff_t |
Definition at line 93 of file SandboxIR.h.
using llvm::sandboxir::OperandUseIterator::iterator_category = std::input_iterator_tag |
Definition at line 97 of file SandboxIR.h.
Definition at line 95 of file SandboxIR.h.
Definition at line 96 of file SandboxIR.h.
Definition at line 94 of file SandboxIR.h.
|
default |
|
inline |
Definition at line 105 of file SandboxIR.h.
References llvm::Other.
Use OperandUseIterator::operator* | ( | ) | const |
Definition at line 55 of file SandboxIR.cpp.
OperandUseIterator & OperandUseIterator::operator++ | ( | ) |
Definition at line 57 of file SandboxIR.cpp.
References assert(), llvm::sandboxir::Use::getOperandNo(), llvm::sandboxir::User::getOperandUseInternal(), and llvm::sandboxir::Use::getUser().
|
inline |
Definition at line 102 of file SandboxIR.h.
References llvm::Other.
|
friend |
Definition at line 88 of file SandboxIR.h.