Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp320 uint8_t AllocTypes = 0; member
398 AllocType |= Edge->AllocTypes; in computeAllocType()
470 (AllocTypes == (uint8_t)AllocationType::None) == in isRemoved()
472 return AllocTypes == (uint8_t)AllocationType::None; in isRemoved()
492 uint8_t AllocTypes = 0; member
507 : Callee(Callee), Caller(Caller), AllocTypes(AllocType), in ContextEdge()
516 AllocTypes = (uint8_t)AllocationType::None; in clear()
530 assert(AllocTypes == (uint8_t)AllocationType::None); in isRemoved()
1037 AllocationType allocTypeToUse(uint8_t AllocTypes) { in allocTypeToUse() argument
1038 assert(AllocTypes != (uint8_t)AllocationType::None); in allocTypeToUse()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h60 LLVM_ABI bool hasSingleAllocType(uint8_t AllocTypes);
72 uint8_t AllocTypes; member
81 : AllocTypes(static_cast<uint8_t>(Type)) {} in CallStackTrieNode()
83 AllocTypes |= static_cast<uint8_t>(AllocType); in addAllocType()
86 AllocTypes &= ~static_cast<uint8_t>(AllocType); in removeAllocType()
89 return AllocTypes & static_cast<uint8_t>(AllocType); in hasAllocType()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp118 bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType() argument
119 const unsigned NumAllocTypes = llvm::popcount(AllocTypes); in hasSingleAllocType()
386 if (hasSingleAllocType(Node->AllocTypes)) { in buildMIBNodes()
390 createMIBNode(Ctx, MIBCallStack, (AllocationType)Node->AllocTypes, in buildMIBNodes()
476 if (hasSingleAllocType(Alloc->AllocTypes)) { in buildAndAttachMIBMetadata()
477 addSingleAllocTypeAttribute(CI, (AllocationType)Alloc->AllocTypes, in buildAndAttachMIBMetadata()
491 if (hasSingleAllocType(Alloc->AllocTypes)) { in buildAndAttachMIBMetadata()
492 addSingleAllocTypeAttribute(CI, (AllocationType)Alloc->AllocTypes, in buildAndAttachMIBMetadata()