llvm::memprof::getMIBAllocType

Returns the allocation type from an MIB metadata node.

Synopsis

Declared in <llvm/Analysis/MemoryProfileInfo.h>

AllocationType
getMIBAllocType(MDNode const* MIB);

Return Value

Allocation type encoded in MIB.

Parameters

NameDescription
MIBMIB metadata node to inspect.