LLVM  14.0.0git
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 48 of file MachineModuleInfo.cpp.

Constructor & Destructor Documentation

◆ MMIAddrLabelMapCallbackPtr() [1/2]

llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr ( )

◆ MMIAddrLabelMapCallbackPtr() [2/2]

llvm::MMIAddrLabelMapCallbackPtr::MMIAddrLabelMapCallbackPtr ( Value V)

Definition at line 53 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 192 of file MachineModuleInfo.cpp.

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

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

◆ setMap()

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

Definition at line 59 of file MachineModuleInfo.cpp.

◆ setPtr()

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

Definition at line 55 of file MachineModuleInfo.cpp.

References BB, and llvm::ValueHandleBase::operator=().

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