Bitmask describing the role and properties of an allocation function for the allockind attribute (alloc, realloc, free, and returned memory state).
Synopsis
Declared in <llvm/IR/Attributes.h>
enum class AllocFnKind : uint64_t;
Members
Name |
Description |
|
Unknown or unspecified allocation‐function kind. |
|
Allocator function returns a new allocation. |
|
Allocator function resizes the |
|
Allocator function frees the |
|
Allocator function returns uninitialized memory. |
|
Allocator function returns zero‐initialized memory |
|
Allocator function aligns allocations per the |
|
Sentinel equal to the largest enumerator. |
Created with MrDocs