class DomTreeUpdater::CallBackOnDeletion
Declaration
class DomTreeUpdater::CallBackOnDeletion : public CallbackVH { /* full declaration omitted */ };
Description
Value handle with callbacks on RAUW and destruction. This is a value handle that allows subclasses to define callbacks that run when the underlying Value has RAUW called on it or is destroyed. This class can be used as the key of a map, as long as the user takes it out of the map before calling setValPtr() (since the map has to rearrange itself when the pointer changes). Unlike ValueHandleBase, this class has a vtable.
Declared at: llvm/include/llvm/Analysis/DomTreeUpdater.h:244
Inherits from: CallbackVH
Method Overview
- public CallBackOnDeletion(llvm::BasicBlock * V, std::function<void (BasicBlock *)> Callback)
Inherited from CallbackVH:
Inherited from ValueHandleBase:
- protected RemoveFromUseList
- public ValueIsDeleted
- public ValueIsRAUWd
- protected clearValPtr
- protected getValPtr
- protected isValid
Methods
ΒΆCallBackOnDeletion(
llvm::BasicBlock* V,
std::function<void(BasicBlock*)> Callback)
CallBackOnDeletion(
llvm::BasicBlock* V,
std::function<void(BasicBlock*)> Callback)
Declared at: llvm/include/llvm/Analysis/DomTreeUpdater.h:246
Parameters
- llvm::BasicBlock* V
- std::function<void(BasicBlock*)> Callback