Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp121 bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType() argument
122 const unsigned NumAllocTypes = llvm::popcount(AllocTypes); in hasSingleAllocType()
137 Alloc->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
149 Curr->AllocTypes |= static_cast<uint8_t>(AllocType); in addCallStack()
192 if (hasSingleAllocType(Node->AllocTypes)) { in buildMIBNodes()
194 createMIBNode(Ctx, MIBCallStack, (AllocationType)Node->AllocTypes)); in buildMIBNodes()
239 if (hasSingleAllocType(Alloc->AllocTypes)) { in buildAndAttachMIBMetadata()
240 addAllocTypeAttribute(Ctx, CI, (AllocationType)Alloc->AllocTypes); in buildAndAttachMIBMetadata()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp251 uint8_t AllocTypes = 0; member
331 uint8_t AllocTypes = 0; member
741 if (AllocTypes == in allocTypeToUse()
1756 CurEdge->AllocTypes |= Edge->AllocTypes; in calleesMatch()
1786 NewNode->AllocTypes |= Edge->AllocTypes; in calleesMatch()
1796 NewNode->AllocTypes = Edge->AllocTypes; in calleesMatch()
2057 if (!AllocTypes) in getAllocTypeString()
2325 if (AllocTypes == in getColor()
2382 NewCallee->AllocTypes |= Edge->AllocTypes; in moveEdgeToExistingCalleeClone()
2396 OldCalleeEdge->AllocTypes = in moveEdgeToExistingCalleeClone()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h44 bool hasSingleAllocType(uint8_t AllocTypes);
56 uint8_t AllocTypes; member
60 : AllocTypes(static_cast<uint8_t>(Type)) {} in CallStackTrieNode()