|
LLVM
3.7.0
|
Value handle that tracks a Value across RAUW. More...
#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 |
Public Member Functions inherited from llvm::ValueHandleBase | |
| 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 Public Member Functions inherited from llvm::ValueHandleBase | |
| static void | ValueIsDeleted (Value *V) |
| static void | ValueIsRAUWd (Value *Old, Value *New) |
Protected Types inherited from llvm::ValueHandleBase | |
| enum | HandleBaseKind { Assert, Callback, Tracking, Weak } |
| This indicates what sub class the handle actually is. More... | |
Protected Member Functions inherited from llvm::ValueHandleBase | |
| Value * | getValPtr () const |
Static Protected Member Functions inherited from llvm::ValueHandleBase | |
| static bool | isValid (Value *V) |
Value handle that tracks a Value across RAUW.
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 280 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 317 of file ValueHandle.h.
|
inline |
Definition at line 319 of file ValueHandle.h.
|
inline |
Definition at line 333 of file ValueHandle.h.
|
inline |
Definition at line 332 of file ValueHandle.h.
|
inline |
Definition at line 323 of file ValueHandle.h.
|
inline |
Definition at line 327 of file ValueHandle.h.
1.8.6