Iterator for directly iterating over the operand Values.
Declared in <llvm/IR/User.h>
struct value_op_iterator
: iterator_adaptor_base<value_op_iterator, op_iterator, std::random_access_iterator_tag, Value*, ptrdiff_t, Value*, Value*>
| Name | Description |
|---|---|
iterator_adaptor_base<value_op_iterator, op_iterator, std::random_access_iterator_tag, Value*, ptrdiff_t, Value*, Value*> | CRTP base class for adapting an iterator to a different type. |
| Name | Description |
|---|---|
difference_type | Signed type used to express the distance between iterators. |
| Name | Description |
|---|---|
value_op_iterator [constructor] | Construct an iterator over operand values, starting at use U. |
operator* | Dereference to the operand value. |
operator++ | Pre-increment the wrapped iterator. |
operator+= | Advance the wrapped iterator by n. |
operator- | Return the distance between this iterator and RHS. |
operator-- | Pre-decrement the wrapped iterator. |
operator-= | Retreat the wrapped iterator by n. |
operator-> | Member access through the operand value. |
| Name | Description |
|---|---|
operator++ | Bring the postfix increment operator into scope. |
operator- | Bring the offset-subtraction operator from the facade into scope. |
operator-- | Bring the postfix decrement operator into scope. |
| Name | Description |
|---|---|
wrapped | Return the wrapped underlying iterator. |
| Name | Description |
|---|---|
I | Wrapped underlying iterator. |
| Name | Description |
|---|---|
::llvm::operator+ | Return an iterator n positions after i. |