llvm::Attribute::getWithAllocKind

Return a uniquified allockind attribute with allocator kind Kind.

Synopsis

Declared in <llvm/IR/Attributes.h>

static
Attribute
getWithAllocKind(
    LLVMContext& Context,
    AllocFnKind Kind);

Return Value

A uniquified allockind attribute with allocator kind Kind.

Parameters

NameDescription
ContextContext used to uniquify the attribute.
KindAllocator-function kind bitmask.