Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DMacOSKeychainAPIChecker.cpp446 const ExplodedNode *AllocNode = N; in getAllocationNode() local
456 AllocNode = N; in getAllocationNode()
460 return AllocNode; in getAllocationNode()
476 const ExplodedNode *AllocNode = getAllocationNode(N, AP.first, C); in generateAllocatedDataNotReleasedReport() local
477 const Stmt *AllocStmt = AllocNode->getStmtForDiagnostics(); in generateAllocatedDataNotReleasedReport()
482 AllocNode->getLocationContext()); in generateAllocatedDataNotReleasedReport()
486 AllocNode->getLocationContext()->getDecl()); in generateAllocatedDataNotReleasedReport()
H A DMallocChecker.cpp2931 const ExplodedNode *AllocNode = N; in getAllocationSite() local
2959 AllocNode = N; in getAllocationSite()
2963 return LeakInfo(AllocNode, ReferenceRegion); in getAllocationSite()
2988 const ExplodedNode *AllocNode = nullptr; in HandleLeak() local
2990 std::tie(AllocNode, Region) = getAllocationSite(N, Sym, C); in HandleLeak()
2992 const Stmt *AllocationStmt = AllocNode->getStmtForDiagnostics(); in HandleLeak()
2996 AllocNode->getLocationContext()); in HandleLeak()
3009 AllocNode->getLocationContext()->getDecl()); in HandleLeak()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp565 void addStackNodesForMIB(ContextNode *AllocNode,
917 IndexCall(AllocInfo *AllocNode) : PointerUnion(AllocNode) {} in IndexCall()
1311 ContextNode *AllocNode = createNewNode(/*IsAllocation=*/true, F, Call); in addAllocNode() local
1312 AllocationCallToContextNodeMap[Call] = AllocNode; in addAllocNode()
1314 AllocNode->OrigStackOrAllocId = LastContextId; in addAllocNode()
1317 AllocNode->AllocTypes = (uint8_t)AllocationType::None; in addAllocNode()
1319 return AllocNode; in addAllocNode()
1336 ContextNode *AllocNode, CallStack<NodeT, IteratorT> &StackContext, in addStackNodesForMIB() argument
1352 AllocNode->AllocTypes |= (uint8_t)AllocType; in addStackNodesForMIB()
1357 ContextNode *PrevNode = AllocNode; in addStackNodesForMIB()
[all …]
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/RetainCountChecker/
H A DRetainCountDiagnostics.cpp882 const ExplodedNode *AllocNode = nullptr; in deriveAllocLocation() local
889 AllocNode = AllocI.N; in deriveAllocLocation()
897 AllocStmt = AllocNode->getStmtForDiagnostics(); in deriveAllocLocation()
905 AllocStmt, SMgr, AllocNode->getLocationContext()); in deriveAllocLocation()
911 UniqueingDecl = AllocNode->getLocationContext()->getDecl(); in deriveAllocLocation()