LLVM 20.0.0git
|
#include "llvm/Analysis/BlockFrequencyInfoImpl.h"
Public Member Functions | |
BFICallbackVH ()=default | |
BFICallbackVH (const BasicBlock *BB, BFIImplT *BFIImpl) | |
virtual | ~BFICallbackVH ()=default |
void | deleted () override |
Callback for Value destruction. | |
![]() | |
CallbackVH () | |
CallbackVH (Value *P) | |
CallbackVH (const Value *P) | |
operator Value * () const | |
virtual void | deleted () |
Callback for Value destruction. | |
virtual void | allUsesReplacedWith (Value *) |
Callback for Value RAUW. | |
![]() | |
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 void | ValueIsDeleted (Value *V) |
static void | ValueIsRAUWd (Value *Old, Value *New) |
![]() | |
enum | HandleBaseKind { Assert , Callback , Weak , WeakTracking } |
This indicates what sub class the handle actually is. More... | |
![]() | |
~CallbackVH ()=default | |
CallbackVH (const CallbackVH &)=default | |
CallbackVH & | operator= (const CallbackVH &)=default |
void | setValPtr (Value *P) |
![]() | |
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 bool | isValid (Value *V) |
Definition at line 1074 of file BlockFrequencyInfoImpl.h.
|
default |
|
inline |
Definition at line 1080 of file BlockFrequencyInfoImpl.h.
|
virtualdefault |
|
inlineoverridevirtual |
Callback for Value destruction.
Called when this->getValPtr() is destroyed, inside ~Value(), so you may call any non-virtual Value method on getValPtr(), but no subclass methods. If WeakTrackingVH were implemented as a CallbackVH, it would use this method to call setValPtr(NULL). AssertingVH would use this method to cause an assertion failure.
All implementations must remove the reference from this object to the Value that's being destroyed.
Reimplemented from llvm::CallbackVH.
Definition at line 1085 of file BlockFrequencyInfoImpl.h.