llvm::MachineInstr::setHeapAllocMarker

Set a heap-alloc site marker used to emit labels after ISel/opts.

Synopsis

Declared in <llvm/CodeGen/MachineInstr.h>

void
setHeapAllocMarker(
    MachineFunction& MF,
    MDNode* MD);

Description

Label creation is deferred so it still works if the instruction is removed or duplicated.

Parameters

NameDescription
MFMachine function used for extra-info allocation.
MDHeap-alloc marker metadata, or null to clear.