LLVM 20.0.0git
|
A nullable Value handle that is nullable. More...
#include "llvm/IR/ValueHandle.h"
Public Member Functions | |
WeakVH () | |
WeakVH (Value *P) | |
WeakVH (const WeakVH &RHS) | |
WeakVH & | operator= (const WeakVH &RHS)=default |
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 () | |
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 , Weak , WeakTracking } |
This indicates what sub class the handle actually is. More... | |
Protected Member Functions inherited from llvm::ValueHandleBase | |
ValueHandleBase (const ValueHandleBase &RHS) | |
ValueHandleBase (HandleBaseKind Kind, const ValueHandleBase &RHS) | |
Value * | getValPtr () const |
void | RemoveFromUseList () |
Remove this ValueHandle from its current use list. | |
void | clearValPtr () |
Clear the underlying pointer without clearing the use list. | |
Static Protected Member Functions inherited from llvm::ValueHandleBase | |
static bool | isValid (Value *V) |
A nullable Value handle that is nullable.
This is a value handle that points to a value, and nulls itself out if that value is deleted.
Definition at line 144 of file ValueHandle.h.
|
inline |
Definition at line 146 of file ValueHandle.h.
|
inline |
Definition at line 147 of file ValueHandle.h.
Definition at line 148 of file ValueHandle.h.
|
inline |
Definition at line 160 of file ValueHandle.h.
References llvm::ValueHandleBase::getValPtr().
|
inline |
Definition at line 156 of file ValueHandle.h.
References llvm::ValueHandleBase::operator=(), and RHS.
Definition at line 153 of file ValueHandle.h.
References llvm::ValueHandleBase::operator=(), and RHS.