LLVM
8.0.1
|
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. More... | |
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 26 of file TrackingMDRef.h.
|
default |
|
inlineexplicit |
Definition at line 31 of file TrackingMDRef.h.
|
inline |
Definition at line 33 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 34 of file TrackingMDRef.h.
|
inline |
Definition at line 56 of file TrackingMDRef.h.
|
inline |
Definition at line 58 of file TrackingMDRef.h.
Referenced by llvm::TypedTrackingMDRef< MDNode >::get(), llvm::simplify_type< TrackingMDRef >::getSimplifiedValue(), and llvm::simplify_type< const TrackingMDRef >::getSimplifiedValue().
|
inline |
Check whether this has a trivial destructor.
If MD
isn't replaceable, the destructor will be a no-op.
Definition at line 76 of file TrackingMDRef.h.
References llvm::MetadataTracking::isReplaceable().
Referenced by llvm::TypedTrackingMDRef< MDNode >::hasTrivialDestructor().
|
inline |
Definition at line 59 of file TrackingMDRef.h.
|
inline |
Definition at line 81 of file TrackingMDRef.h.
References assert(), llvm::MetadataTracking::retrack(), llvm::MetadataTracking::track(), llvm::MetadataTracking::untrack(), and X.
|
inline |
Definition at line 61 of file TrackingMDRef.h.
|
inline |
Definition at line 60 of file TrackingMDRef.h.
|
inline |
Definition at line 36 of file TrackingMDRef.h.
References X.
|
inline |
Definition at line 46 of file TrackingMDRef.h.
|
inline |
Definition at line 80 of file TrackingMDRef.h.
|
inline |
Definition at line 63 of file TrackingMDRef.h.
Referenced by llvm::TypedTrackingMDRef< MDNode >::reset().
|
inline |
Definition at line 67 of file TrackingMDRef.h.