Home
last modified time | relevance | path

Searched refs:CFGElement (Results 1 – 19 of 19) sorted by relevance

/netbsd/external/apache2/llvm/dist/clang/include/clang/Analysis/
H A DCFG.h55 class CFGElement {
92 CFGElement() = default;
101 CFGElement& e = t; in castAs()
113 CFGElement& e = t; in getAs()
143 friend class CFGElement;
169 friend class CFGElement;
214 friend class CFGElement;
235 friend class CFGElement;
256 friend class CFGElement;
280 friend class CFGElement;
[all …]
H A DProgramPoint.h237 Optional<CFGElement> getFirstElement() const { in getFirstElement()
239 return B->empty() ? Optional<CFGElement>() : B->front(); in getFirstElement()
H A DAnalysisDeclContext.h327 CFGElement getCallSiteCFGElement() const { return (*Block)[Index]; } in getCallSiteCFGElement()
/netbsd/external/apache2/llvm/dist/clang/lib/Analysis/
H A DPathDiagnostic.cpp530 case CFGElement::Statement: in getLocationForCaller()
531 case CFGElement::Constructor: in getLocationForCaller()
535 case CFGElement::Initializer: { in getLocationForCaller()
545 case CFGElement::DeleteDtor: { in getLocationForCaller()
549 case CFGElement::BaseDtor: in getLocationForCaller()
550 case CFGElement::MemberDtor: { in getLocationForCaller()
556 case CFGElement::NewAllocator: { in getLocationForCaller()
568 case CFGElement::ScopeBegin: in getLocationForCaller()
569 case CFGElement::ScopeEnd: in getLocationForCaller()
571 case CFGElement::LifetimeEnds: in getLocationForCaller()
[all …]
H A DCFG.cpp5007 case CFGElement::Initializer: in getDestructorDecl()
5008 case CFGElement::NewAllocator: in getDestructorDecl()
5009 case CFGElement::LoopExit: in getDestructorDecl()
5010 case CFGElement::LifetimeEnds: in getDestructorDecl()
5011 case CFGElement::Statement: in getDestructorDecl()
5012 case CFGElement::Constructor: in getDestructorDecl()
5014 case CFGElement::ScopeBegin: in getDestructorDecl()
5015 case CFGElement::ScopeEnd: in getDestructorDecl()
5044 case CFGElement::DeleteDtor: { in getDestructorDecl()
5058 case CFGElement::BaseDtor: in getDestructorDecl()
[all …]
H A DCFGStmtMap.cpp51 const CFGElement &CE = *I; in Accumulate()
H A DConsumed.cpp1344 case CFGElement::Statement: in run()
1348 case CFGElement::TemporaryDtor: { in run()
1359 case CFGElement::AutomaticObjectDtor: { in run()
H A DThreadSafety.cpp783 case CFGElement::Statement: { in traverseCFG()
2257 CFGElement Last = B->back(); in neverReturns()
2480 case CFGElement::Statement: { in runAnalysis()
2486 case CFGElement::AutomaticObjectDtor: { in runAnalysis()
H A DCalledOnceCheck.cpp755 for (const CFGElement &Element : llvm::reverse(*BB)) { in check()
1267 [&ReturnChildren](const CFGElement &Element) { in isPossiblyEmptyImpl()
H A DLiveVariables.cpp470 const CFGElement &elem = *it; in runOnBlock()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp634 case CFGElement::Statement: in processCFGElement()
647 case CFGElement::DeleteDtor: in processCFGElement()
648 case CFGElement::BaseDtor: in processCFGElement()
649 case CFGElement::MemberDtor: in processCFGElement()
653 case CFGElement::LoopExit: in processCFGElement()
657 case CFGElement::ScopeBegin: in processCFGElement()
658 case CFGElement::ScopeEnd: in processCFGElement()
912 case CFGElement::BaseDtor: in ProcessImplicitDtor()
915 case CFGElement::MemberDtor: in ProcessImplicitDtor()
921 case CFGElement::DeleteDtor: in ProcessImplicitDtor()
[all …]
H A DCoreEngine.cpp245 CFGElement LastElement = L.getSrc()->back(); in HandleBlockEdge()
287 if (Optional<CFGElement> E = L.getFirstElement()) { in HandleBlockEntrance()
539 if ((*Block)[Idx].getKind() == CFGElement::NewAllocator) { in enqueueStmtNode()
H A DCallEvent.cpp508 const CFGElement Element = StackFrame->getCallSiteCFGElement(); in getConstructionContext()
1422 CFGElement E = (*B)[CalleeCtx->getIndex()]; in getCaller()
H A DExprEngineC.cpp834 for (CFGElement CE : llvm::reverse(*SrcBlock)) { in VisitGuardedExpr()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp126 const CFGElement &CE = Exit->front(); in checkEndAnalysis()
H A DAnalysisOrderChecker.cpp166 CFGElement LastElement = Map->getBlock(S)->back(); in checkEndFunction()
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h47 class CFGElement; variable
296 void processCFGElement(const CFGElement E, ExplodedNode *Pred,
700 CFGElement getCurrentCFGElement() { in getCurrentCFGElement()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h206 case CFGElement::Statement: in walk()
210 case CFGElement::AutomaticObjectDtor: { in walk()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp191 if (B.getKind() != CFGElement::Statement) in hasRecursiveCallInPath()
328 for (CFGElement &E : *B) { in visitReachableThrows()