Home
last modified time | relevance | path

Searched refs:Cfg (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DAdornedCFG.cpp29 buildStmtToBasicBlockMap(const CFG &Cfg) { in buildStmtToBasicBlockMap() argument
31 for (const CFGBlock *Block : Cfg) { in buildStmtToBasicBlockMap()
50 for (const CFGBlock *Block : Cfg) { in buildStmtToBasicBlockMap()
67 for (const CFGBlock *Block : Cfg) { in buildStmtToBasicBlockMap()
75 static llvm::BitVector findReachableBlocks(const CFG &Cfg) { in findReachableBlocks() argument
76 llvm::BitVector BlockReachable(Cfg.getNumBlockIDs(), false); in findReachableBlocks()
79 BlocksToVisit.push_back(&Cfg.getEntry()); in findReachableBlocks()
99 const CFG &Cfg, in buildContainsExprConsumedInDifferentBlock() argument
114 for (const CFGBlock *Block : Cfg) { in buildContainsExprConsumedInDifferentBlock()
163 auto Cfg = CFG::buildCFG(&D, &S, &C, Options); in build() local
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/FlowSensitive/
H A DAdornedCFG.h49 const CFG &getCFG() const { return *Cfg; } in getCFG()
75 const Decl &D, std::unique_ptr<CFG> Cfg, in AdornedCFG() argument
79 : ContainingDecl(D), Cfg(std::move(Cfg)), in AdornedCFG()
87 std::unique_ptr<CFG> Cfg; variable
/freebsd/contrib/llvm-project/llvm/include/llvm/
H A DPassSupport.h72 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
73 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
75 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
77 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
78 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonRDFOpt.cpp319 DataFlowGraph::Config Cfg; in runOnMachineFunction() local
320 Cfg.Options = RDFTrackReserved in runOnMachineFunction()
323 G.build(Cfg); in runOnMachineFunction()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExprEngineCallAndReturn.cpp444 const CFG *Cfg = ADC->getCFG(); in isSmall() local
445 return Cfg->isLinear() || Cfg->size() <= AMgr.options.AlwaysInlineSize; in isSmall()
449 const CFG *Cfg = ADC->getCFG(); in isLarge() local
450 return Cfg->size() >= AMgr.options.MinCFGSizeTreatFunctionsAsLarge; in isLarge()
454 const CFG *Cfg = ADC->getCFG(); in isHuge() local
455 return Cfg->getNumBlockIDs() > AMgr.options.MaxInlinableSize; in isHuge()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h104 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First) {} in enterCFG() argument
468 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First);
H A DThreadSafetyTraverse.h285 void enterCFG(SCFG &Cfg) {} in enterCFG() argument
286 void exitCFG(SCFG &Cfg) {} in exitCFG() argument
H A DThreadSafetyTIL.h1712 SCFG(const SCFG &Cfg, BlockArray &&Ba) // steals memory from Ba in SCFG() argument
1713 : SExpr(COP_SCFG), Arena(Cfg.Arena), Blocks(std::move(Ba)) { in SCFG()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyCommon.cpp855 void SExprBuilder::enterCFG(CFG *Cfg, const NamedDecl *D, in enterCFG() argument
858 unsigned NBlocks = Cfg->getNumBlockIDs(); in enterCFG()
865 for (auto *B : *Cfg) { in enterCFG()
871 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()
H A DCFG.cpp6198 const CFG &Cfg = *getParent(); in isInevitablySinking() local
6217 if (Blk == &Cfg.getExit()) in isInevitablySinking()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp1091 void fillReachableBlocks(CFG *Cfg) { in fillReachableBlocks() argument
1095 ReachableBlocks.insert(&Cfg->getEntry()); in fillReachableBlocks()
1096 BlockQueue.push_back(&Cfg->getEntry()); in fillReachableBlocks()
1101 for (const auto *B : *Cfg) { in fillReachableBlocks()
1293 CFG *Cfg = AC.getCFG(); in DiagnoseSwitchLabelsFallthrough() local
1295 if (!Cfg) in DiagnoseSwitchLabelsFallthrough()
1298 FM.fillReachableBlocks(Cfg); in DiagnoseSwitchLabelsFallthrough()
1300 for (const CFGBlock *B : llvm::reverse(*Cfg)) { in DiagnoseSwitchLabelsFallthrough()