class MMIAddrLabelMapCallbackPtr

Declaration

class MMIAddrLabelMapCallbackPtr : private CallbackVH { /* full declaration omitted */ };

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:46

Inherits from: CallbackVH

Method Overview

Methods

MMIAddrLabelMapCallbackPtr()

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:50

MMIAddrLabelMapCallbackPtr(llvm::Value* V)

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:51

Parameters

llvm::Value* V

void allUsesReplacedWith(llvm::Value* V2)

Description

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.

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:60

Parameters

llvm::Value* V2

void deleted()

Description

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.

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:59

void setMap(llvm::MMIAddrLabelMap* map)

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:57

Parameters

llvm::MMIAddrLabelMap* map

void setPtr(llvm::BasicBlock* BB)

Declared at: llvm/lib/CodeGen/MachineModuleInfo.cpp:53

Parameters

llvm::BasicBlock* BB