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

Inherited from ValueHandleBase:

Methods

WeakTrackingVH()

Declared at: llvm/include/llvm/IR/ValueHandle.h:206

WeakTrackingVH(llvm::Value* P)

Declared at: llvm/include/llvm/IR/ValueHandle.h:207

Parameters

llvm::Value* P

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

Declared at: llvm/include/llvm/IR/ValueHandle.h:220

bool pointsToAliveValue() const

Declared at: llvm/include/llvm/IR/ValueHandle.h:224