Synopsis
Declared in <llvm/ADT/ArrayRef.h>
template<>
class [[nodiscard]] ArrayRef<MachineMemOperand*>;
Type Aliases
Name |
Description |
Const iterator over the referenced array elements. |
|
Pointer to a const element. |
|
Const reference to an element. |
|
Const reverse iterator over the referenced array elements. |
|
Signed type used to express distances between iterators. |
|
Iterator over the referenced array elements. |
|
Mutable pointer to an element. |
|
Mutable reference to an element. |
|
Reverse iterator over the referenced array elements. |
|
Unsigned type used to express the size of the array. |
|
Element type stored in the referenced array. |
Member Functions
Name |
Description |
|
Constructors |
Disallow accidental assignment from a temporary. |
|
Get the last element. |
|
Return an iterator to the first element. |
|
consume_back() ‐ Returns the last element and drops it from ArrayRef. |
|
consume_front() ‐ Returns the first element and drops it from ArrayRef. |
|
Allocate a mutable copy in |
|
Return a pointer to the first element of the array. |
|
Drop the last |
|
Drop the first |
|
Return a copy of *this with the first N elements not satisfying the given predicate removed. |
|
Return a copy of *this with the first N elements satisfying the given predicate removed. |
|
Check if the array is empty. |
|
Return an iterator past the last element. |
|
Check for element‐wise equality. |
|
Get the first element. |
|
@} |
|
Return a reverse iterator to the last element. |
|
Return a reverse iterator to the element before the first element. |
|
Get the array size. |
|
|
|
Return a copy of *this with only the last |
|
Return a copy of *this with only the first |
|
Return the first N elements of this Array that don't satisfy the given predicate. |
|
Return the first N elements of this Array that satisfy the given predicate. |
|
@} |
|
@} |
Return Value
|
Note
|
The return value should not be discarded. |
Created with MrDocs