Home
last modified time | relevance | path

Searched refs:getCFG (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DDebugCheckers.cpp39 Dom.buildDominatorTree(AC->getCFG()); in checkASTCodeBody()
65 Dom.buildDominatorTree(AC->getCFG()); in checkASTCodeBody()
90 ControlDependencyCalculator Dom(AC->getCFG()); in checkASTCodeBody()
161 if (CFG *cfg = mgr.getCFG(D)) { in checkASTCodeBody()
190 if (CFG *cfg = mgr.getCFG(D)) { in checkASTCodeBody()
H A DAnalyzerStatsChecker.cpp69 C = LC->getCFG(); in checkEndAnalysis()
H A DMallocOverflowSecurityChecker.cpp300 CFG *cfg = mgr.getCFG(D); in checkASTCodeBody()
H A DDeadStoresChecker.cpp545 CFG &cfg = *mgr.getCFG(D); in checkASTCodeBody()
/llvm-project-15.0.7/clang/unittests/Analysis/
H A DCFGTest.cpp47 EXPECT_EQ(1u, B.getCFG()->getEntry().succ_size()); in TEST()
48 CFGBlock *Block = *B.getCFG()->getEntry().succ_begin(); in TEST()
77 EXPECT_EQ(IsLinear, B.getCFG()->isLinear()); in TEST()
101 CFG *Cfg = B.getCFG(); in TEST()
234 auto *CFG = AC.getCFG(); in TEST()
H A DCFGDominatorTree.cpp34 CFG *cfg = Result.getCFG(); in TEST()
123 CFG *cfg = Result.getCFG(); in TEST()
177 CFG *cfg = Result.getCFG(); in TEST()
H A DCFGBuildResult.h32 CFG *getCFG() const { return Cfg.get(); } in getCFG() function
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DTypeErasedDataflowAnalysis.cpp338 PostOrderCFGView POV(&CFCtx.getCFG()); in runTypeErasedDataflowAnalysis()
339 ForwardDataflowWorklist Worklist(CFCtx.getCFG(), &POV); in runTypeErasedDataflowAnalysis()
342 BlockStates.resize(CFCtx.getCFG().size(), llvm::None); in runTypeErasedDataflowAnalysis()
345 const CFGBlock &Entry = CFCtx.getCFG().getEntry(); in runTypeErasedDataflowAnalysis()
397 for (const CFGBlock *Block : CFCtx.getCFG()) { in runTypeErasedDataflowAnalysis()
H A DTransfer.cpp521 auto ExitBlock = CFCtx->getCFG().getExit().getBlockID(); in VisitCallExpr()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DAnalysisManager.h108 CFG *getCFG(Decl const *D) { in getCFG() function
109 return AnaCtxMgr.getContext(D)->getCFG(); in getCFG()
H A DExplodedGraph.h156 CFG &getCFG() const { return *getLocationContext()->getCFG(); } in getCFG() function
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DAnalysisDeclContext.h152 CFG *getCFG();
253 CFG *getCFG() const { return Ctx->getCFG(); } in getCFG() function
H A DProgramPoint.h342 return &getLocationContext()->getCFG()->getExit(); in getBlock()
646 const CFG *CalleeCFG = CalleeCtx->getCFG(); in getEntry()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DAnalysisDeclContext.cpp213 CFG *AnalysisDeclContext::getCFG() { in getCFG() function in AnalysisDeclContext
255 if (CFG *c = getCFG()) { in getCFGStmtMap()
267 if (CFG *c = getCFG()) { in getCFGReachablityAnalysis()
276 getCFG()->dump(getASTContext().getLangOpts(), ShowColors); in dumpCFG()
288 addParentsForSyntheticStmts(getCFG(), *PM); in getParentMap()
H A DPostOrderCFGView.cpp34 const CFG *cfg = ctx.getCFG(); in create()
H A DLiveVariables.cpp510 const CFG *cfg = getImpl(impl).analysisContext.getCFG(); in runOnAllBlocks()
525 CFG *cfg = AC.getCFG(); in computeLiveness()
629 for (const CFGBlock *B : *analysisContext.getCFG()) { in dumpExprLiveness()
H A DConsumed.cpp1309 CFG *CFGraph = AC.getCFG(); in run()
1405 if (CurrBlock == &AC.getCFG()->getExit() && in run()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp93 const CFGBlock *Entry = &(L->getCFG()->getEntry()); in ExecuteWorkList()
102 L->getCFG()->getNumBlockIDs()); in ExecuteWorkList()
245 LC->getCFG()->getNumBlockIDs()); in HandleBlockEdge()
268 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge()
269 assert(L.getLocationContext()->getCFG()->getExit().empty() && in HandleBlockEdge()
H A DExprEngineCallAndReturn.cpp392 const CFG *Cfg = ADC->getCFG(); in isSmall()
397 const CFG *Cfg = ADC->getCFG(); in isLarge()
402 const CFG *Cfg = ADC->getCFG(); in isHuge()
1000 const CFG *CalleeCFG = CalleeADC->getCFG(); in mayInlineDecl()
/llvm-project-15.0.7/clang/include/clang/Analysis/FlowSensitive/
H A DControlFlowContext.h38 const CFG &getCFG() const { return *Cfg; } in getCFG() function
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DDominators.h58 CFG *getCFG() { return cfg; } in getCFG() function
255 CFG *cfg = PostDomTree.getCFG();
H A DThreadSafetyCommon.h154 CFGraph = AC.getCFG(); in init()
397 const til::SCFG *getCFG() const { return Scfg; } in getCFG() function
398 til::SCFG *getCFG() { return Scfg; } in getCFG() function
/llvm-project-15.0.7/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp265 CFG *cfg = AC.getCFG(); in checkRecursiveFunction()
360 CFG *BodyCFG = AC.getCFG(); in checkThrowInNonThrowingFunc()
400 CFG *cfg = AC.getCFG(); in CheckFallThrough()
1265 CFG *Cfg = AC.getCFG(); in DiagnoseSwitchLabelsFallthrough()
2288 if (AC.getCFG()) { in IssueWarnings()
2301 if (!cra->isReachable(&AC.getCFG()->getEntry(), block)) { in IssueWarnings()
2373 if (CFG *cfg = AC.getCFG()) { in IssueWarnings()
2397 if (AC.getCFG()) { in IssueWarnings()
2436 AC.getCFG(); in IssueWarnings()
2442 if (CFG *cfg = AC.getCFG()) { in IssueWarnings()
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Frontend/
H A DAnalysisConsumer.cpp673 CFG *DeclCFG = Mgr->getCFG(D); in HandleCode()
713 if (!Mgr->getCFG(D)) in RunPathSensitiveChecks()
/llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/
H A DTestingSupport.h174 for (const CFGBlock *Block : AnalysisData.CFCtx.getCFG()) {

12