LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
llvm::MMIAddrLabelMapCallbackPtr Class Reference
Inheritance diagram for llvm::MMIAddrLabelMapCallbackPtr:
Inheritance graph
[legend]
Collaboration diagram for llvm::MMIAddrLabelMapCallbackPtr:
Collaboration graph
[legend]

Public Member Functions

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

Detailed Description

Definition at line 36 of file MachineModuleInfo.cpp.

Constructor & Destructor Documentation

llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr ( )
inline

Definition at line 39 of file MachineModuleInfo.cpp.

llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr ( Value V)
inline

Definition at line 40 of file MachineModuleInfo.cpp.

Member Function Documentation

void MMIAddrLabelMapCallbackPtr::allUsesReplacedWith ( Value )
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 ( )
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=().


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