LLVM 20.0.0git
|
Tracking metadata reference. More...
#include "llvm/IR/TrackingMDRef.h"
Public Member Functions | |
TrackingMDRef ()=default | |
TrackingMDRef (Metadata *MD) | |
TrackingMDRef (TrackingMDRef &&X) | |
TrackingMDRef (const TrackingMDRef &X) | |
TrackingMDRef & | operator= (TrackingMDRef &&X) |
TrackingMDRef & | operator= (const TrackingMDRef &X) |
~TrackingMDRef () | |
Metadata * | get () const |
operator Metadata * () const | |
Metadata * | operator-> () const |
Metadata & | operator* () const |
void | reset () |
void | reset (Metadata *MD) |
bool | hasTrivialDestructor () const |
Check whether this has a trivial destructor. | |
bool | operator== (const TrackingMDRef &X) const |
bool | operator!= (const TrackingMDRef &X) const |
Tracking metadata reference.
This class behaves like TrackingVH, but for metadata.
Definition at line 25 of file TrackingMDRef.h.
|
default |
|
inlineexplicit |
Definition at line 30 of file TrackingMDRef.h.
|
inline |
Definition at line 32 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 33 of file TrackingMDRef.h.
|
inline |
Definition at line 55 of file TrackingMDRef.h.
|
inline |
Definition at line 57 of file TrackingMDRef.h.
Referenced by llvm::simplify_type< const TrackingMDRef >::getSimplifiedValue(), llvm::simplify_type< TrackingMDRef >::getSimplifiedValue(), operator Metadata *(), operator*(), and operator->().
|
inline |
Check whether this has a trivial destructor.
If MD
isn't replaceable, the destructor will be a no-op.
Definition at line 75 of file TrackingMDRef.h.
References llvm::MetadataTracking::isReplaceable().
|
inline |
Definition at line 58 of file TrackingMDRef.h.
References get().
|
inline |
Definition at line 80 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 60 of file TrackingMDRef.h.
References get().
|
inline |
Definition at line 59 of file TrackingMDRef.h.
References get().
|
inline |
Definition at line 45 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 35 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 79 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 62 of file TrackingMDRef.h.
|
inline |
Definition at line 66 of file TrackingMDRef.h.