LLVM 22.0.0git
|
Forward iterator for an AllocationOrder. More...
#include "CodeGen/AllocationOrder.h"
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.
|
inline |
Definition at line 49 of file AllocationOrder.h.
References llvm::AllocationOrder::AllocationOrder().
Referenced by operator!=(), operator++(), and operator==().
|
inline |
Return true if the current position is that of a preferred register.
Definition at line 52 of file AllocationOrder.h.
Definition at line 77 of file AllocationOrder.h.
References Iterator(), and llvm::Other.
|
inline |
Return the next physical register in the allocation order.
Definition at line 55 of file AllocationOrder.h.
References assert().
|
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().
Definition at line 72 of file AllocationOrder.h.
References assert(), Iterator(), and llvm::Other.