Home
last modified time | relevance | path

Searched refs:getAllocationFamily (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp169 AllocationFamily getAllocationFamily() const { return Family; } in getAllocationFamily() function in __anonac89c38b0211::RefState
181 RS->getAllocationFamily()); in getAllocatedOfSizeZero()
190 return RefState(Escaped, RS->getStmt(), RS->getAllocationFamily()); in getEscaped()
2002 if (RsBase->getAllocationFamily() == AF_Alloca) { in FreeMemAux()
2328 printExpectedDeallocName(os, RS->getAllocationFamily()); in HandleMismatchedDealloc()
2745 AllocationFamily Family = RS->getAllocationFamily(); in HandleLeak()
3301 return (RS->getAllocationFamily() == AF_CXXNewArray || in checkIfNewOrNewArrayFamily()
3302 RS->getAllocationFamily() == AF_CXXNew); in checkIfNewOrNewArrayFamily()
3427 const auto Family = RSCurr->getAllocationFamily(); in VisitNode()
3547 assert(RSCurr->getAllocationFamily() == AF_InnerBuffer); in VisitNode()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h126 Optional<StringRef> getAllocationFamily(const Value *I,
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp529 Optional<StringRef> llvm::getAllocationFamily(const Value *I, in getAllocationFamily() function in llvm
/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp2735 const Optional<StringRef> Family = getAllocationFamily(AI, &TLI); in isAllocSiteRemovable()
2805 getAllocationFamily(I, &TLI) == Family) { in isAllocSiteRemovable()
2812 getAllocationFamily(I, &TLI) == Family) { in isAllocSiteRemovable()