LLVM 20.0.0git
|
Typed tracking ref. More...
#include "llvm/IR/TrackingMDRef.h"
Public Member Functions | |
TypedTrackingMDRef ()=default | |
TypedTrackingMDRef (T *MD) | |
TypedTrackingMDRef (TypedTrackingMDRef &&X) | |
TypedTrackingMDRef (const TypedTrackingMDRef &X) | |
TypedTrackingMDRef & | operator= (TypedTrackingMDRef &&X) |
TypedTrackingMDRef & | operator= (const TypedTrackingMDRef &X) |
T * | get () const |
operator T* () const | |
T * | operator-> () const |
T & | operator* () const |
bool | operator== (const TypedTrackingMDRef &X) const |
bool | operator!= (const TypedTrackingMDRef &X) const |
void | reset () |
void | reset (T *MD) |
bool | hasTrivialDestructor () const |
Check whether this has a trivial destructor. | |
Typed tracking ref.
Track refererences of a particular type. It's useful to use this for MDNode and ValueAsMetadata.
Definition at line 106 of file TrackingMDRef.h.
|
default |
|
inlineexplicit |
Definition at line 111 of file TrackingMDRef.h.
|
inline |
Definition at line 113 of file TrackingMDRef.h.
|
inline |
Definition at line 114 of file TrackingMDRef.h.
|
inline |
Definition at line 126 of file TrackingMDRef.h.
Referenced by llvm::DebugLoc::get(), llvm::simplify_type< const TypedTrackingMDRef< T > >::getSimplifiedValue(), llvm::simplify_type< TypedTrackingMDRef< T > >::getSimplifiedValue(), llvm::TypedTrackingMDRef< MDNode >::operator MDNode *(), llvm::TypedTrackingMDRef< T >::operator*(), and llvm::TypedTrackingMDRef< T >::operator->().
|
inline |
Check whether this has a trivial destructor.
Definition at line 138 of file TrackingMDRef.h.
Referenced by llvm::DebugLoc::hasTrivialDestructor().
|
inline |
Definition at line 127 of file TrackingMDRef.h.
|
inline |
Definition at line 132 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 129 of file TrackingMDRef.h.
References llvm::TypedTrackingMDRef< T >::get().
|
inline |
Definition at line 128 of file TrackingMDRef.h.
References llvm::TypedTrackingMDRef< T >::get().
|
inline |
Definition at line 121 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 116 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 131 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 134 of file TrackingMDRef.h.
|
inline |
Definition at line 135 of file TrackingMDRef.h.