LLVM 22.0.0git
|
Iterator for the Use edges of a User's operands. More...
#include "llvm/SandboxIR/User.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 | |
LLVM_ABI value_type | operator* () const |
LLVM_ABI OperandUseIterator & | operator++ () |
OperandUseIterator | operator++ (int) |
bool | operator== (const OperandUseIterator &Other) const |
bool | operator!= (const OperandUseIterator &Other) const |
LLVM_ABI OperandUseIterator | operator+ (unsigned Num) const |
LLVM_ABI OperandUseIterator | operator- (unsigned Num) const |
LLVM_ABI int | operator- (const OperandUseIterator &Other) const |
Friends | |
class | User |
using llvm::sandboxir::OperandUseIterator::difference_type = std::ptrdiff_t |
using llvm::sandboxir::OperandUseIterator::iterator_category = std::input_iterator_tag |
|
default |
References LLVM_ABI.
Referenced by operator+(), and operator-().
|
inline |
Definition at line 50 of file User.h.
References llvm::Other.
Use llvm::sandboxir::OperandUseIterator::operator* | ( | ) | const |
OperandUseIterator llvm::sandboxir::OperandUseIterator::operator+ | ( | unsigned | Num | ) | const |
Definition at line 39 of file User.cpp.
References llvm::sandboxir::User::getOperandUseInternal(), llvm::sandboxir::Use::getUser(), and OperandUseIterator().
OperandUseIterator & llvm::sandboxir::OperandUseIterator::operator++ | ( | ) |
|
inline |
Definition at line 42 of file User.h.
References operator++().
int llvm::sandboxir::OperandUseIterator::operator- | ( | const OperandUseIterator & | Other | ) | const |
Definition at line 52 of file User.cpp.
References llvm::Other.
OperandUseIterator llvm::sandboxir::OperandUseIterator::operator- | ( | unsigned | Num | ) | const |
Definition at line 45 of file User.cpp.
References assert(), llvm::sandboxir::User::getOperandUseInternal(), llvm::sandboxir::Use::getUser(), and OperandUseIterator().
|
inline |
Definition at line 47 of file User.h.
References llvm::Other.
|
friend |