Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp94 static bool hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType() argument
95 const unsigned NumAllocTypes = llvm::popcount(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()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h50 uint8_t AllocTypes; member
54 : AllocTypes(static_cast<uint8_t>(Type)) {} in CallStackTrieNode()