Home
last modified time | relevance | path

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

/src/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.cpp2745 const ExplodedNode *AllocNode = N; in getAllocationSite() local
2773 AllocNode = N; in getAllocationSite()
2777 return LeakInfo(AllocNode, ReferenceRegion); in getAllocationSite()
2816 const ExplodedNode *AllocNode = nullptr; in HandleLeak() local
2818 std::tie(AllocNode, Region) = getAllocationSite(N, Sym, C); in HandleLeak()
2820 const Stmt *AllocationStmt = AllocNode->getStmtForDiagnostics(); in HandleLeak()
2824 AllocNode->getLocationContext()); in HandleLeak()
2837 AllocNode->getLocationContext()->getDecl()); in HandleLeak()
/src/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp442 void addStackNodesForMIB(ContextNode *AllocNode,
698 IndexCall(AllocInfo *AllocNode) : PointerUnion(AllocNode) {} in IndexCall()
1001 ContextNode *AllocNode = NodeOwner.back().get(); in addAllocNode() local
1002 AllocationCallToContextNodeMap[Call] = AllocNode; in addAllocNode()
1003 NodeToCallingFunc[AllocNode] = F; in addAllocNode()
1005 AllocNode->OrigStackOrAllocId = LastContextId; in addAllocNode()
1008 AllocNode->AllocTypes = (uint8_t)AllocationType::None; in addAllocNode()
1010 return AllocNode; in addAllocNode()
1027 ContextNode *AllocNode, CallStack<NodeT, IteratorT> &StackContext, in addStackNodesForMIB() argument
1044 AllocNode->AllocTypes |= (uint8_t)AllocType; in addStackNodesForMIB()
[all …]
/src/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()