Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h55 class CFGElement {
93 CFGElement() = default;
102 CFGElement& e = t; in castAs()
113 CFGElement& e = t; in getAs()
143 friend class CFGElement;
170 friend class CFGElement;
216 friend class CFGElement;
237 friend class CFGElement;
258 friend class CFGElement;
282 friend class CFGElement;
[all …]
H A DProgramPoint.h231 std::optional<CFGElement> getFirstElement() const { in getFirstElement()
233 return B->empty() ? std::optional<CFGElement>() : B->front(); in getFirstElement()
H A DAnalysisDeclContext.h333 CFGElement getCallSiteCFGElement() const { return (*Block)[Index]; } in getCallSiteCFGElement()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DCFGMatchSwitch.h34 std::function<Result(const CFGElement &, ASTContext &, State &)>;
72 InitMS = std::move(InitBuilder).Build()](const CFGElement &Element, in Build()
76 case CFGElement::Initializer: in Build()
79 case CFGElement::Statement: in Build()
80 case CFGElement::Constructor: in Build()
81 case CFGElement::CXXRecordTypedCall: in Build()
H A DTypeErasedDataflowAnalysis.h99 virtual void transferTypeErased(const CFGElement &, TypeErasedLattice &,
151 std::function<void(const CFGElement &,
H A DDataflowAnalysis.h121 void transferTypeErased(const CFGElement &Element, TypeErasedLattice &E, in transferTypeErased()
201 std::function<void(const CFGElement &, const DataflowAnalysisState<
H A DNoopAnalysis.h35 void transfer(const CFGElement &E, NoopLattice &L, Environment &Env) {} in transfer()
H A DLogger.h59 virtual void enterElement(const CFGElement &) {} in enterElement() argument
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp197 PrettyStackTraceCFGElement(const CFGElement &Element, int BlockIdx, in PrettyStackTraceCFGElement()
212 const CFGElement &Element;
421 static void builtinTransfer(unsigned CurBlockID, const CFGElement &Elt, in builtinTransfer()
425 case CFGElement::Statement: in builtinTransfer()
428 case CFGElement::Initializer: in builtinTransfer()
431 case CFGElement::LifetimeEnds: in builtinTransfer()
456 std::function<void(const CFGElement &, in transferCFGBlock() argument
515 std::function<void(const CFGElement &, in runTypeErasedDataflowAnalysis() argument
H A DLogger.cpp27 const CFGElement *CurrentElement;
77 virtual void enterElement(const CFGElement &Element) override { in enterElement()
H A DControlFlowContext.cpp35 for (const CFGElement &Element : *Block) { in buildStmtToBasicBlockMap()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/Models/
H A DUncheckedOptionalAccessModel.h55 void transfer(const CFGElement &Elt, NoopLattice &L, Environment &Env);
67 operator()(const CFGElement &Elt, ASTContext &Ctx, in operator()
H A DChromiumCheckModel.h28 bool transfer(const CFGElement &Element, Environment &Env) override;
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DPathDiagnostic.cpp525 case CFGElement::Statement: in getLocationForCaller()
526 case CFGElement::Constructor: in getLocationForCaller()
530 case CFGElement::Initializer: { in getLocationForCaller()
540 case CFGElement::DeleteDtor: { in getLocationForCaller()
544 case CFGElement::BaseDtor: in getLocationForCaller()
545 case CFGElement::MemberDtor: { in getLocationForCaller()
551 case CFGElement::NewAllocator: { in getLocationForCaller()
563 case CFGElement::ScopeBegin: in getLocationForCaller()
564 case CFGElement::ScopeEnd: in getLocationForCaller()
567 case CFGElement::LifetimeEnds: in getLocationForCaller()
[all …]
H A DCFG.cpp5293 case CFGElement::Initializer: in getDestructorDecl()
5294 case CFGElement::NewAllocator: in getDestructorDecl()
5295 case CFGElement::LoopExit: in getDestructorDecl()
5296 case CFGElement::LifetimeEnds: in getDestructorDecl()
5297 case CFGElement::Statement: in getDestructorDecl()
5298 case CFGElement::Constructor: in getDestructorDecl()
5300 case CFGElement::ScopeBegin: in getDestructorDecl()
5301 case CFGElement::ScopeEnd: in getDestructorDecl()
5331 case CFGElement::DeleteDtor: { in getDestructorDecl()
5345 case CFGElement::MemberDtor: { in getDestructorDecl()
[all …]
H A DCFGStmtMap.cpp52 const CFGElement &CE = *I; in Accumulate()
H A DThreadSafety.cpp776 case CFGElement::Statement: { in traverseCFG()
2255 CFGElement Last = B->back(); in neverReturns()
2459 case CFGElement::Statement: { in runAnalysis()
2465 case CFGElement::AutomaticObjectDtor: { in runAnalysis()
2477 case CFGElement::CleanupFunction: { in runAnalysis()
2485 case CFGElement::TemporaryDtor: { in runAnalysis()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/Models/
H A DChromiumCheckModel.cpp53 bool ChromiumCheckModel::transfer(const CFGElement &Element, Environment &Env) { in transfer()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngine.cpp973 case CFGElement::Statement: in processCFGElement()
974 case CFGElement::Constructor: in processCFGElement()
986 case CFGElement::DeleteDtor: in processCFGElement()
987 case CFGElement::BaseDtor: in processCFGElement()
988 case CFGElement::MemberDtor: in processCFGElement()
992 case CFGElement::LoopExit: in processCFGElement()
997 case CFGElement::ScopeBegin: in processCFGElement()
998 case CFGElement::ScopeEnd: in processCFGElement()
1297 case CFGElement::BaseDtor: in ProcessImplicitDtor()
1300 case CFGElement::MemberDtor: in ProcessImplicitDtor()
[all …]
H A DCoreEngine.cpp275 CFGElement LastElement = L.getSrc()->back(); in HandleBlockEdge()
317 if (std::optional<CFGElement> E = L.getFirstElement()) { in HandleBlockEntrance()
568 if ((*Block)[Idx].getKind() == CFGElement::NewAllocator) { in enqueueStmtNode()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DAnalyzerStatsChecker.cpp123 const CFGElement &CE = Exit->front(); in checkEndAnalysis()
H A DUnreachableCodeChecker.cpp199 for (const CFGElement &Elem : *CB) { in getUnreachableStmt()
H A DAnalysisOrderChecker.cpp166 CFGElement LastElement = Map->getBlock(S)->back(); in checkEndFunction()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExprEngine.h48 class CFGElement; variable
299 void processCFGElement(const CFGElement E, ExplodedNode *Pred,
695 CFGElement getCurrentCFGElement() { in getCurrentCFGElement()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h208 case CFGElement::Statement: in walk()
212 case CFGElement::AutomaticObjectDtor: { in walk()

12