LLVM: llvm::AllocationOrder::Iterator Class Reference (original) (raw)
Forward iterator for an AllocationOrder. More...
#include "[CodeGen/AllocationOrder.h](AllocationOrder%5F8h%5Fsource.html)"
| Public Member Functions | |
|---|---|
| Iterator (const AllocationOrder &AO, int Pos) | |
| bool | isHint () const |
| Return true if the current position is that of a preferred register. | |
| MCRegister | operator* () const |
| Return the next physical register in the allocation order. | |
| Iterator & | operator++ () |
| Advance the iterator to the next position. | |
| bool | operator== (const Iterator &Other) const |
| bool | operator!= (const Iterator &Other) const |
Forward iterator for an AllocationOrder.
Definition at line 44 of file AllocationOrder.h.
◆ isHint()
| bool llvm::AllocationOrder::Iterator::isHint ( ) const | inline |
|---|
Return true if the current position is that of a preferred register.
Definition at line 52 of file AllocationOrder.h.
◆ operator!=()
| bool llvm::AllocationOrder::Iterator::operator!= ( const Iterator & Other) const | inline |
|---|
◆ operator*()
| MCRegister llvm::AllocationOrder::Iterator::operator* ( ) const | inline |
|---|
◆ operator++()
| Iterator & llvm::AllocationOrder::Iterator::operator++ ( ) | inline |
|---|
Advance the iterator to the next position.
If that's past the Hints list, advance to the first value that's not also in the Hints list.
Definition at line 64 of file AllocationOrder.h.
References Iterator().
◆ operator==()
| bool llvm::AllocationOrder::Iterator::operator== ( const Iterator & Other) const | inline |
|---|
The documentation for this class was generated from the following file:
- lib/CodeGen/AllocationOrder.h