Allocation type assigned to an allocation reached by a given context.
Synopsis
Declared in <llvm/IR/ModuleSummaryIndex.h>
enum class AllocationType : uint8_t;
Description
More can be added, now this is cold, notcold and hot. Values should be powers of two so that they can be ORed, in particular to track allocations that have different behavior with different calling contexts.
Members
Name |
Description |
|
No allocation type assigned. |
|
Allocation is not cold. |
|
Allocation is cold. |
|
Allocation is hot. |
|
OR of all allocation type bits; keep updated. |
Non-Member Functions
Name |
Description |
Return the allocation type for a given set of memory profile values. |
|
Returns the string to use in attributes with the given type. |
|
Returns the allocation type from an MIB metadata node. |
Created with MrDocs