LLVM 22.0.0git
|
Typed, array-like tuple of metadata. More...
#include "llvm/IR/Metadata.h"
Public Types | |
using | iterator = TypedMDOperandIterator<T> |
Public Member Functions | |
MDTupleTypedArrayWrapper ()=default | |
MDTupleTypedArrayWrapper (const MDTuple *N) | |
template<class U> | |
MDTupleTypedArrayWrapper (const MDTupleTypedArrayWrapper< U > &Other, std::enable_if_t< std::is_convertible< U *, T * >::value > *=nullptr) | |
template<class U> | |
MDTupleTypedArrayWrapper (const MDTupleTypedArrayWrapper< U > &Other, std::enable_if_t<!std::is_convertible< U *, T * >::value > *=nullptr) | |
operator bool () const | |
operator MDTuple * () const | |
MDTuple * | get () const |
MDTuple * | operator-> () const |
MDTuple & | operator* () const |
unsigned | size () const |
bool | empty () const |
T * | operator[] (unsigned I) const |
iterator | begin () const |
iterator | end () const |
Typed, array-like tuple of metadata.
This is a wrapper for MDTuple that makes it act like an array holding a particular type of metadata.
Definition at line 1647 of file Metadata.h.
using llvm::MDTupleTypedArrayWrapper< T >::iterator = TypedMDOperandIterator<T> |
Definition at line 1679 of file Metadata.h.
|
default |
Referenced by MDTupleTypedArrayWrapper(), and MDTupleTypedArrayWrapper().
|
inline |
Definition at line 1652 of file Metadata.h.
|
inline |
Definition at line 1655 of file Metadata.h.
References get(), MDTupleTypedArrayWrapper(), and llvm::Other.
|
inlineexplicit |
Definition at line 1661 of file Metadata.h.
References get(), MDTupleTypedArrayWrapper(), and llvm::Other.
|
inline |
Definition at line 1681 of file Metadata.h.
|
inline |
Definition at line 1675 of file Metadata.h.
|
inline |
Definition at line 1682 of file Metadata.h.
|
inline |
Definition at line 1669 of file Metadata.h.
Referenced by MDTupleTypedArrayWrapper(), MDTupleTypedArrayWrapper(), operator bool(), operator MDTuple *(), operator*(), and operator->().
|
inlineexplicit |
Definition at line 1666 of file Metadata.h.
References get().
|
inlineexplicit |
Definition at line 1667 of file Metadata.h.
References get().
|
inline |
Definition at line 1671 of file Metadata.h.
References get().
|
inline |
Definition at line 1670 of file Metadata.h.
References get().
|
inline |
Definition at line 1676 of file Metadata.h.
References llvm::cast_or_null(), I, and T.
|
inline |
Definition at line 1674 of file Metadata.h.