LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::MMIAddrLabelMapCallbackPtr Class Referencefinal
Inheritance diagram for llvm::MMIAddrLabelMapCallbackPtr:
Inheritance graph
Collaboration diagram for llvm::MMIAddrLabelMapCallbackPtr:
Collaboration graph

Public Member Functions

 MMIAddrLabelMapCallbackPtr ()=default
 MMIAddrLabelMapCallbackPtr (Value *V)
void setPtr (BasicBlock *BB)
void setMap (MMIAddrLabelMap *map)
void deleted () override
 Callback for Value destruction. More...
void allUsesReplacedWith (Value *V2) override
 Callback for Value RAUW. More...

Detailed Description

Definition at line 51 of file MachineModuleInfo.cpp.

Constructor & Destructor Documentation

◆ MMIAddrLabelMapCallbackPtr() [1/2]

llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr ( )

◆ MMIAddrLabelMapCallbackPtr() [2/2]

llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr ( Value V)

Definition at line 56 of file MachineModuleInfo.cpp.

Member Function Documentation

◆ allUsesReplacedWith()

void MMIAddrLabelMapCallbackPtr::allUsesReplacedWith ( Value )

Callback for Value RAUW.

Called when this->getValPtr()->replaceAllUsesWith(new_value) is called, before any of the uses have actually been replaced. If WeakTrackingVH 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 194 of file MachineModuleInfo.cpp.

◆ deleted()

void MMIAddrLabelMapCallbackPtr::deleted ( )

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 190 of file MachineModuleInfo.cpp.

◆ setMap()

void llvm::MMIAddrLabelMapCallbackPtr::setMap ( MMIAddrLabelMap map)

Definition at line 62 of file MachineModuleInfo.cpp.

References llvm::NVPTX::PTXLdStInstCode::V2.

◆ setPtr()

void llvm::MMIAddrLabelMapCallbackPtr::setPtr ( BasicBlock BB)

Definition at line 58 of file MachineModuleInfo.cpp.

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

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