Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp131 bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType() argument
132 const unsigned NumAllocTypes = llvm::popcount(AllocTypes); in hasSingleAllocType()
148 Alloc->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
161 Curr->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
208 if (hasSingleAllocType(Node->AllocTypes)) { in buildMIBNodes()
210 Ctx, MIBCallStack, (AllocationType)Node->AllocTypes, Node->TotalSize)); in buildMIBNodes()
256 if (hasSingleAllocType(Alloc->AllocTypes)) { in buildAndAttachMIBMetadata()
257 addAllocTypeAttribute(Ctx, CI, (AllocationType)Alloc->AllocTypes); in buildAndAttachMIBMetadata()
262 << getAllocTypeAttributeString((AllocationType)Alloc->AllocTypes) in buildAndAttachMIBMetadata()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp259 uint8_t AllocTypes = 0; member
313 AllocType |= Edge->AllocTypes; in computeAllocType()
379 assert((AllocTypes == (uint8_t)AllocationType::None) == in isRemoved()
381 return AllocTypes == (uint8_t)AllocationType::None; in isRemoved()
401 uint8_t AllocTypes = 0; member
408 : Callee(Callee), Caller(Caller), AllocTypes(AllocType), in ContextEdge()
818 AllocationType allocTypeToUse(uint8_t AllocTypes) { in allocTypeToUse() argument
819 assert(AllocTypes != (uint8_t)AllocationType::None); in allocTypeToUse()
820 if (AllocTypes == in allocTypeToUse()
824 return (AllocationType)AllocTypes; in allocTypeToUse()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h48 bool hasSingleAllocType(uint8_t AllocTypes);
60 uint8_t AllocTypes; member
65 : AllocTypes(static_cast<uint8_t>(Type)), TotalSize(TotalSize) {} in CallStackTrieNode()