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

Typed tracking ref. More...

#include <TrackingMDRef.h>

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

Public Member Functions

 TypedTrackingMDRef ()
 
 TypedTrackingMDRef (T *MD)
 
 TypedTrackingMDRef (TypedTrackingMDRef &&X)
 
 TypedTrackingMDRef (const TypedTrackingMDRef &X)
 
TypedTrackingMDRefoperator= (TypedTrackingMDRef &&X)
 
TypedTrackingMDRefoperator= (const TypedTrackingMDRef &X)
 
Tget () const
 
 operator T * () const
 
Toperator-> () const
 
Toperator* () 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 100 of file TrackingMDRef.h.

Constructor & Destructor Documentation

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

Definition at line 104 of file TrackingMDRef.h.

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

Definition at line 105 of file TrackingMDRef.h.

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

Definition at line 107 of file TrackingMDRef.h.

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

Definition at line 108 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 130 of file TrackingMDRef.h.

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

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

Definition at line 119 of file TrackingMDRef.h.

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

Definition at line 124 of file TrackingMDRef.h.

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

Definition at line 121 of file TrackingMDRef.h.

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

Definition at line 120 of file TrackingMDRef.h.

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

Definition at line 109 of file TrackingMDRef.h.

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

Definition at line 113 of file TrackingMDRef.h.

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

Definition at line 123 of file TrackingMDRef.h.

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

Definition at line 126 of file TrackingMDRef.h.

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

Definition at line 127 of file TrackingMDRef.h.


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