LLVM API Documentation
Public Member Functions | |
MMIAddrLabelMapCallbackPtr () | |
MMIAddrLabelMapCallbackPtr (Value *V) | |
void | setPtr (BasicBlock *BB) |
void | setMap (MMIAddrLabelMap *map) |
void | deleted () override |
void | allUsesReplacedWith (Value *V2) override |
Definition at line 36 of file MachineModuleInfo.cpp.
Definition at line 39 of file MachineModuleInfo.cpp.
llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr | ( | Value * | V | ) | [inline] |
Definition at line 40 of file MachineModuleInfo.cpp.
void MMIAddrLabelMapCallbackPtr::allUsesReplacedWith | ( | Value * | ) | [override, virtual] |
Called when this->getValPtr()->replaceAllUsesWith(new_value) is called, _before_ any of the uses have actually been replaced. If WeakVH were implemented as a CallbackVH, it would use this method to call setValPtr(new_value). AssertingVH would do nothing in this method.
Reimplemented from llvm::CallbackVH.
Definition at line 246 of file MachineModuleInfo.cpp.
void MMIAddrLabelMapCallbackPtr::deleted | ( | ) | [override, virtual] |
Called when this->getValPtr() is destroyed, inside ~Value(), so you may call any non-virtual Value method on getValPtr(), but no subclass methods. If WeakVH 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 242 of file MachineModuleInfo.cpp.
void llvm::MMIAddrLabelMapCallbackPtr::setMap | ( | MMIAddrLabelMap * | map | ) | [inline] |
Definition at line 46 of file MachineModuleInfo.cpp.
void llvm::MMIAddrLabelMapCallbackPtr::setPtr | ( | BasicBlock * | BB | ) | [inline] |
Definition at line 42 of file MachineModuleInfo.cpp.
References llvm::ValueHandleBase::operator=().