LLVM API Documentation

llvm::WeakVH Class Reference

#include <ValueHandle.h>

Inheritance diagram for llvm::WeakVH:
[legend]
Collaboration diagram for llvm::WeakVH:
[legend]

List of all members.

Public Member Functions

 WeakVH ()
 WeakVH (Value *P)
 WeakVH (const WeakVH &RHS)
 operator Value * () const


Detailed Description

WeakVH - 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 126 of file ValueHandle.h.


Constructor & Destructor Documentation

llvm::WeakVH::WeakVH (  )  [inline]

Definition at line 128 of file ValueHandle.h.

llvm::WeakVH::WeakVH ( Value *  P  )  [inline]

Definition at line 129 of file ValueHandle.h.

llvm::WeakVH::WeakVH ( const WeakVH &  RHS  )  [inline]

Definition at line 130 of file ValueHandle.h.


Member Function Documentation

llvm::WeakVH::operator Value * (  )  const [inline]

Reimplemented in llvm::WeakMetadataVH.

Definition at line 133 of file ValueHandle.h.

References llvm::ValueHandleBase::getValPtr().


The documentation for this class was generated from the following file: