LLVM API Documentation
#include <ValueHandle.h>
Public Member Functions | |
TrackingVH () | |
TrackingVH (ValueTy *P) | |
TrackingVH (const TrackingVH &RHS) | |
operator ValueTy * () const | |
ValueTy * | operator= (ValueTy *RHS) |
ValueTy * | operator= (const TrackingVH< ValueTy > &RHS) |
ValueTy * | operator-> () const |
ValueTy & | operator* () 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) |
TrackingVH - This is a value handle that tracks a Value (or Value subclass), even across RAUW operations.
TrackingVH is designed for situations where a client needs to hold a handle to a Value (or subclass) across some operations which may move that value, but should never destroy it or replace it with some unacceptable type.
It is an error to do anything with a TrackingVH whose value has been destroyed, except to destruct it.
It is an error to attempt to replace a value with one of a type which is incompatible with any of its outstanding TrackingVHs.
Definition at line 279 of file ValueHandle.h.
|
inline |
Definition at line 314 of file ValueHandle.h.
|
inline |
Definition at line 315 of file ValueHandle.h.
|
inline |
Definition at line 316 of file ValueHandle.h.
|
inline |
Definition at line 318 of file ValueHandle.h.
|
inline |
Definition at line 332 of file ValueHandle.h.
|
inline |
Definition at line 331 of file ValueHandle.h.
|
inline |
Definition at line 322 of file ValueHandle.h.
|
inline |
Definition at line 326 of file ValueHandle.h.