LLVM 20.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 1628 of file Metadata.h.
using llvm::MDTupleTypedArrayWrapper< T >::iterator = TypedMDOperandIterator<T> |
Definition at line 1660 of file Metadata.h.
|
default |
|
inline |
Definition at line 1633 of file Metadata.h.
References N.
|
inline |
Definition at line 1636 of file Metadata.h.
References N.
|
inlineexplicit |
Definition at line 1642 of file Metadata.h.
References N.
|
inline |
Definition at line 1662 of file Metadata.h.
References N.
|
inline |
Definition at line 1656 of file Metadata.h.
References N.
|
inline |
Definition at line 1663 of file Metadata.h.
References N.
|
inline |
Definition at line 1650 of file Metadata.h.
References N.
Referenced by llvm::MDTupleTypedArrayWrapper< T >::operator bool(), llvm::MDTupleTypedArrayWrapper< T >::operator MDTuple *(), llvm::MDTupleTypedArrayWrapper< T >::operator*(), and llvm::MDTupleTypedArrayWrapper< T >::operator->().
|
inlineexplicit |
Definition at line 1647 of file Metadata.h.
References llvm::MDTupleTypedArrayWrapper< T >::get().
|
inlineexplicit |
Definition at line 1648 of file Metadata.h.
References llvm::MDTupleTypedArrayWrapper< T >::get().
|
inline |
Definition at line 1652 of file Metadata.h.
References llvm::MDTupleTypedArrayWrapper< T >::get().
|
inline |
Definition at line 1651 of file Metadata.h.
References llvm::MDTupleTypedArrayWrapper< T >::get().
|
inline |
Definition at line 1657 of file Metadata.h.
|
inline |
Definition at line 1655 of file Metadata.h.
References N.