LLVM  5.0.0
Public Member Functions | List of all members
llvm::TypedTrackingMDRef< T > Class Template Reference

Typed tracking ref. More...

#include "llvm/IR/TrackingMDRef.h"

Inheritance diagram for llvm::TypedTrackingMDRef< T >:
[legend]

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. More...
 

Detailed Description

template<class T>
class llvm::TypedTrackingMDRef< T >

Typed tracking ref.

Track refererences of a particular type. It's useful to use this for MDNode and ValueAsMetadata.

Definition at line 107 of file TrackingMDRef.h.

Constructor & Destructor Documentation

template<class T>
llvm::TypedTrackingMDRef< T >::TypedTrackingMDRef ( )
default
template<class T>
llvm::TypedTrackingMDRef< T >::TypedTrackingMDRef ( T *  MD)
inlineexplicit

Definition at line 112 of file TrackingMDRef.h.

template<class T>
llvm::TypedTrackingMDRef< T >::TypedTrackingMDRef ( TypedTrackingMDRef< T > &&  X)
inline

Definition at line 114 of file TrackingMDRef.h.

template<class T>
llvm::TypedTrackingMDRef< T >::TypedTrackingMDRef ( const TypedTrackingMDRef< T > &  X)
inline

Definition at line 115 of file TrackingMDRef.h.

Member Function Documentation

template<class T>
T* llvm::TypedTrackingMDRef< T >::get ( ) const
inline
template<class T>
bool llvm::TypedTrackingMDRef< T >::hasTrivialDestructor ( ) const
inline

Check whether this has a trivial destructor.

Definition at line 139 of file TrackingMDRef.h.

Referenced by llvm::DebugLoc::hasTrivialDestructor().

template<class T>
llvm::TypedTrackingMDRef< T >::operator T * ( ) const
inline

Definition at line 128 of file TrackingMDRef.h.

template<class T>
bool llvm::TypedTrackingMDRef< T >::operator!= ( const TypedTrackingMDRef< T > &  X) const
inline

Definition at line 133 of file TrackingMDRef.h.

template<class T>
T& llvm::TypedTrackingMDRef< T >::operator* ( ) const
inline

Definition at line 130 of file TrackingMDRef.h.

template<class T>
T* llvm::TypedTrackingMDRef< T >::operator-> ( ) const
inline

Definition at line 129 of file TrackingMDRef.h.

template<class T>
TypedTrackingMDRef& llvm::TypedTrackingMDRef< T >::operator= ( TypedTrackingMDRef< T > &&  X)
inline

Definition at line 117 of file TrackingMDRef.h.

template<class T>
TypedTrackingMDRef& llvm::TypedTrackingMDRef< T >::operator= ( const TypedTrackingMDRef< T > &  X)
inline

Definition at line 122 of file TrackingMDRef.h.

template<class T>
bool llvm::TypedTrackingMDRef< T >::operator== ( const TypedTrackingMDRef< T > &  X) const
inline

Definition at line 132 of file TrackingMDRef.h.

template<class T>
void llvm::TypedTrackingMDRef< T >::reset ( )
inline

Definition at line 135 of file TrackingMDRef.h.

template<class T>
void llvm::TypedTrackingMDRef< T >::reset ( T *  MD)
inline

Definition at line 136 of file TrackingMDRef.h.


The documentation for this class was generated from the following file: