llvm::ValueHandleBase

Befriended by DenseMapBase so it can use bucket-relocation erase callbacks. ValueHandleBase is the only caller that caches pointers into bucket arrays.

Synopsis

Declared in <llvm/IR/ValueHandle.h>

class ValueHandleBase;

Member Functions

NameDescription
ValueHandleBase [constructor]Constructors
~ValueHandleBase [destructor]Destroy the handle and remove it from its Value's use list.
operator= Assignment operators
operator* Return a reference to the tracked Value.
operator-> Return a pointer to the tracked Value.

Static Member Functions

NameDescription
ValueIsDeleted Notify all handles that V is being destroyed.
ValueIsRAUWd Notify all handles that Old is being RAUW'd to New.

Protected Enums

NameDescription
HandleBaseKind This indicates what sub class the handle actually is.

Protected Member Functions

NameDescription
ValueHandleBase [constructor]Constructors
RemoveFromUseList Remove this ValueHandle from its current use list.
clearValPtr Clear the underlying pointer without clearing the use list.
getValPtr Return the raw Value pointer held by this handle.

Protected Static Member Functions

NameDescription
isValid Return true if V is a non-null Value pointer.

Friends

NameDescription
llvm::PoisoningVHValue handle that poisons itself if the Value is deleted.
llvm::ValueLLVM Value Representation

Derived Classes

NameDescription
CallbackVH Value handle with callbacks on RAUW and destruction.
WeakTrackingVH Value handle that is nullable, but tries to track the Value.
WeakVH A nullable Value handle that is nullable.