Searched refs:AllocTypes (Results 1 – 3 of 3) sorted by relevance
131 bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType() argument132 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()
259 uint8_t AllocTypes = 0; member313 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; member408 : Callee(Callee), Caller(Caller), AllocTypes(AllocType), in ContextEdge()818 AllocationType allocTypeToUse(uint8_t AllocTypes) { in allocTypeToUse() argument819 assert(AllocTypes != (uint8_t)AllocationType::None); in allocTypeToUse()820 if (AllocTypes == in allocTypeToUse()824 return (AllocationType)AllocTypes; in allocTypeToUse()[all …]
48 bool hasSingleAllocType(uint8_t AllocTypes);60 uint8_t AllocTypes; member65 : AllocTypes(static_cast<uint8_t>(Type)), TotalSize(TotalSize) {} in CallStackTrieNode()