Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMallocChecker.cpp202 AllocationFamily getAllocationFamily() const { return Family; } in getAllocationFamily() function in __anon0957485b0211::RefState
214 RS->getAllocationFamily()); in getAllocatedOfSizeZero()
223 return RefState(Escaped, RS->getStmt(), RS->getAllocationFamily()); in getEscaped()
1012 (!Stmt && RSCurr->getAllocationFamily().Kind == AF_InnerBuffer)); in isReleased()
2295 if (RsBase->getAllocationFamily().Kind == AF_Alloca) { in FreeMemAux()
2314 bool DeallocMatchesAlloc = RsBase->getAllocationFamily() == Family; in FreeMemAux()
2359 assert(!RsBase || (RsBase && RsBase->getAllocationFamily() == Family)); in FreeMemAux()
2419 return getRelevantFrontendAs<T>(RS->getAllocationFamily()); in getRelevantFrontendAs()
2612 printExpectedDeallocName(os, RS->getAllocationFamily()); in HandleMismatchedDealloc()
2693 C.getState()->get<RegionState>(Sym)->getAllocationFamily(); in HandleUseAfterFree()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryBuiltins.h136 getAllocationFamily(const Value *I, const TargetLibraryInfo *TLI);
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryBuiltins.cpp503 llvm::getAllocationFamily(const Value *I, const TargetLibraryInfo *TLI) { in getAllocationFamily() function in llvm
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstructionCombining.cpp3412 const std::optional<StringRef> Family = getAllocationFamily(AI, &TLI); in isAllocSiteRemovable()
3505 getAllocationFamily(I, &TLI) == Family) { in isAllocSiteRemovable()
3511 getAllocationFamily(I, &TLI) == Family) { in isAllocSiteRemovable()