Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp447 const ExplodedNode *AllocNode = N; in getAllocationNode() local
457 AllocNode = N; in getAllocationNode()
461 return AllocNode; in getAllocationNode()
477 const ExplodedNode *AllocNode = getAllocationNode(N, AP.first, C); in generateAllocatedDataNotReleasedReport() local
478 const Stmt *AllocStmt = AllocNode->getStmtForDiagnostics(); in generateAllocatedDataNotReleasedReport()
483 AllocNode->getLocationContext()); in generateAllocatedDataNotReleasedReport()
487 AllocNode->getLocationContext()->getDecl()); in generateAllocatedDataNotReleasedReport()
H A DMallocChecker.cpp2697 const ExplodedNode *AllocNode = N; in getAllocationSite() local
2725 AllocNode = N; in getAllocationSite()
2729 return LeakInfo(AllocNode, ReferenceRegion); in getAllocationSite()
2768 const ExplodedNode *AllocNode = nullptr; in HandleLeak() local
2770 std::tie(AllocNode, Region) = getAllocationSite(N, Sym, C); in HandleLeak()
2772 const Stmt *AllocationStmt = AllocNode->getStmtForDiagnostics(); in HandleLeak()
2776 AllocNode->getLocationContext()); in HandleLeak()
2789 AllocNode->getLocationContext()->getDecl()); in HandleLeak()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp369 void addStackNodesForMIB(ContextNode *AllocNode,
619 IndexCall(AllocInfo *AllocNode) : PointerUnion(AllocNode) {} in IndexCall()
933 NodeToCallingFunc[AllocNode] = F; in addAllocNode()
935 AllocNode->OrigStackOrAllocId = LastContextId; in addAllocNode()
940 return AllocNode; in addAllocNode()
956 AllocNode->AllocTypes |= (uint8_t)AllocType; in addStackNodesForMIB()
957 AllocNode->ContextIds.insert(LastContextId); in addStackNodesForMIB()
962 ContextNode *PrevNode = AllocNode; in addStackNodesForMIB()
1538 auto *AllocNode = addAllocNode(&I, &F); in ModuleCallsiteContextGraph() local
3462 auto &AllocNode = *(AI++); in applyImport() local
[all …]
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp881 const ExplodedNode *AllocNode = nullptr; in deriveAllocLocation() local
888 AllocNode = AllocI.N; in deriveAllocLocation()
896 AllocStmt = AllocNode->getStmtForDiagnostics(); in deriveAllocLocation()
904 AllocStmt, SMgr, AllocNode->getLocationContext()); in deriveAllocLocation()
910 UniqueingDecl = AllocNode->getLocationContext()->getDecl(); in deriveAllocLocation()