|
LLVM
3.7.0
|
Value handle that is nullable, but tries to track the Value. More...
#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 | |
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 is nullable, but tries to track the Value.
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 141 of file ValueHandle.h.
|
inline |
Definition at line 143 of file ValueHandle.h.
|
inline |
Definition at line 144 of file ValueHandle.h.
Definition at line 145 of file ValueHandle.h.
|
inline |
Definition at line 155 of file ValueHandle.h.
References llvm::ValueHandleBase::getValPtr().
Definition at line 148 of file ValueHandle.h.
References llvm::ValueHandleBase::operator=().
|
inline |
Definition at line 151 of file ValueHandle.h.
References llvm::ValueHandleBase::operator=().
1.8.6