LLVM API Documentation
#include <ValueHandle.h>
Public Member Functions | |
WeakVH () | |
WeakVH (Value *P) | |
WeakVH (const WeakVH &RHS) | |
Value * | operator= (Value *RHS) |
Value * | operator= (const ValueHandleBase &RHS) |
operator Value * () const | |
![]() | |
ValueHandleBase (HandleBaseKind Kind) | |
ValueHandleBase (HandleBaseKind Kind, Value *V) | |
ValueHandleBase (HandleBaseKind Kind, const ValueHandleBase &RHS) | |
~ValueHandleBase () | |
Value * | operator= (Value *RHS) |
Value * | operator= (const ValueHandleBase &RHS) |
Value * | operator-> () const |
Value & | operator* () const |
Additional Inherited Members | |
![]() | |
static void | ValueIsDeleted (Value *V) |
static void | ValueIsRAUWd (Value *Old, Value *New) |
![]() | |
enum | HandleBaseKind { Assert, Callback, Tracking, Weak } |
![]() | |
Value * | getValPtr () const |
void | setValPtrInt (unsigned K) |
unsigned | getValPtrInt () const |
![]() | |
static bool | isValid (Value *V) |
WeakVH - This is a value handle that tries hard to point to a Value, even across RAUW operations, but will null itself out if the value is destroyed. this is useful for advisory sorts of information, but should not be used as the key of a map (since the map would have to rearrange itself when the pointer changes).
Definition at line 145 of file ValueHandle.h.
|
inline |
Definition at line 147 of file ValueHandle.h.
|
inline |
Definition at line 148 of file ValueHandle.h.
|
inline |
Definition at line 149 of file ValueHandle.h.
|
inline |
Definition at line 159 of file ValueHandle.h.
References llvm::ValueHandleBase::getValPtr().
Definition at line 152 of file ValueHandle.h.
References llvm::ValueHandleBase::operator=().
|
inline |
Definition at line 155 of file ValueHandle.h.
References llvm::ValueHandleBase::operator=().