class WeakTrackingVH
Declaration
class WeakTrackingVH : public ValueHandleBase { /* full declaration omitted */ };
Description
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).
Declared at: llvm/include/llvm/IR/ValueHandle.h:204
Inherits from: ValueHandleBase
Member Variables
Method Overview
- public WeakTrackingVH()
- public WeakTrackingVH(llvm::Value * P)
- public WeakTrackingVH(const llvm::WeakTrackingVH & RHS)
- public llvm::Value * operator llvm::Value *() const
- public bool pointsToAliveValue() const
Inherited from ValueHandleBase:
- protected RemoveFromUseList
- public ValueIsDeleted
- public ValueIsRAUWd
- protected clearValPtr
- protected getValPtr
- protected isValid
Methods
¶WeakTrackingVH()
WeakTrackingVH()
Declared at: llvm/include/llvm/IR/ValueHandle.h:206
¶WeakTrackingVH(llvm::Value* P)
WeakTrackingVH(llvm::Value* P)
Declared at: llvm/include/llvm/IR/ValueHandle.h:207
Parameters
- llvm::Value* P
¶WeakTrackingVH(const llvm::WeakTrackingVH& RHS)
WeakTrackingVH(const llvm::WeakTrackingVH& RHS)
Declared at: llvm/include/llvm/IR/ValueHandle.h:208
Parameters
- const llvm::WeakTrackingVH& RHS
¶llvm::Value* operator llvm::Value*() const
llvm::Value* operator llvm::Value*() const
Declared at: llvm/include/llvm/IR/ValueHandle.h:220
¶bool pointsToAliveValue() const
bool pointsToAliveValue() const
Declared at: llvm/include/llvm/IR/ValueHandle.h:224