Home
last modified time | relevance | path

Searched refs:AllocTypes (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp94 static bool hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType() argument
95 const unsigned NumAllocTypes = countPopulation(AllocTypes); in hasSingleAllocType()
110 Alloc->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
122 Curr->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
165 if (hasSingleAllocType(Node->AllocTypes)) { in buildMIBNodes()
167 createMIBNode(Ctx, MIBCallStack, (AllocationType)Node->AllocTypes)); in buildMIBNodes()
212 if (hasSingleAllocType(Alloc->AllocTypes)) { in buildAndAttachMIBMetadata()
213 addAllocTypeAttribute(Ctx, CI, (AllocationType)Alloc->AllocTypes); in buildAndAttachMIBMetadata()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h56 uint8_t AllocTypes; member
60 : AllocTypes(static_cast<uint8_t>(Type)) {} in CallStackTrieNode()