LLVM API Documentation

Public Member Functions
llvm::MMIAddrLabelMapCallbackPtr Class Reference
Inheritance diagram for llvm::MMIAddrLabelMapCallbackPtr:
Inheritance graph
[legend]
Collaboration diagram for llvm::MMIAddrLabelMapCallbackPtr:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 MMIAddrLabelMapCallbackPtr ()
 MMIAddrLabelMapCallbackPtr (Value *V)
void setPtr (BasicBlock *BB)
void setMap (MMIAddrLabelMap *map)
void deleted () override
void allUsesReplacedWith (Value *V2) override

Detailed Description

Definition at line 36 of file MachineModuleInfo.cpp.


Constructor & Destructor Documentation

Definition at line 39 of file MachineModuleInfo.cpp.

Definition at line 40 of file MachineModuleInfo.cpp.


Member Function Documentation

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.

Definition at line 46 of file MachineModuleInfo.cpp.

Definition at line 42 of file MachineModuleInfo.cpp.

References llvm::ValueHandleBase::operator=().


The documentation for this class was generated from the following file: