Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/
HDPassSupport.h67 #define INITIALIZE_PASS_WITH_OPTIONS(PassName, Arg, Name, Cfg, Analysis) \ argument
68 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
70 INITIALIZE_PASS_END(PassName, Arg, Name, Cfg, Analysis)
72 #define INITIALIZE_PASS_WITH_OPTIONS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \ argument
73 INITIALIZE_PASS_BEGIN(PassName, Arg, Name, Cfg, Analysis) \
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
HDExprEngineCallAndReturn.cpp374 const CFG *Cfg = ADC->getCFG(); in isSmall() local
375 return Cfg->isLinear() || Cfg->size() <= AMgr.options.AlwaysInlineSize; in isSmall()
379 const CFG *Cfg = ADC->getCFG(); in isLarge() local
380 return Cfg->size() >= AMgr.options.MinCFGSizeTreatFunctionsAsLarge; in isLarge()
384 const CFG *Cfg = ADC->getCFG(); in isHuge() local
385 return Cfg->getNumBlockIDs() > AMgr.options.MaxInlinableSize; in isHuge()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDAnalysisBasedWarnings.cpp1054 void fillReachableBlocks(CFG *Cfg) { in fillReachableBlocks() argument
1058 ReachableBlocks.insert(&Cfg->getEntry()); in fillReachableBlocks()
1059 BlockQueue.push_back(&Cfg->getEntry()); in fillReachableBlocks()
1064 for (const auto *B : *Cfg) { in fillReachableBlocks()
1263 CFG *Cfg = AC.getCFG(); in DiagnoseSwitchLabelsFallthrough() local
1265 if (!Cfg) in DiagnoseSwitchLabelsFallthrough()
1268 FM.fillReachableBlocks(Cfg); in DiagnoseSwitchLabelsFallthrough()
1270 for (const CFGBlock *B : llvm::reverse(*Cfg)) { in DiagnoseSwitchLabelsFallthrough()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
HDThreadSafetyCommon.h102 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First) {} in enterCFG() argument
450 void enterCFG(CFG *Cfg, const NamedDecl *D, const CFGBlock *First);
HDThreadSafetyTraverse.h285 void enterCFG(SCFG &Cfg) {} in enterCFG() argument
286 void exitCFG(SCFG &Cfg) {} in exitCFG() argument
HDThreadSafetyTIL.h1703 SCFG(const SCFG &Cfg, BlockArray &&Ba) // steals memory from Ba in SCFG() argument
1704 : SExpr(COP_SCFG), Arena(Cfg.Arena), Blocks(std::move(Ba)) { in SCFG()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
HDThreadSafetyCommon.cpp809 void SExprBuilder::enterCFG(CFG *Cfg, const NamedDecl *D, in enterCFG() argument
812 unsigned NBlocks = Cfg->getNumBlockIDs(); in enterCFG()
819 for (auto *B : *Cfg) { in enterCFG()
825 CurrentBB = lookupBlock(&Cfg->getEntry()); in enterCFG()
HDCFG.cpp5865 const CFG &Cfg = *getParent(); in isInevitablySinking() local
5884 if (Blk == &Cfg.getExit()) in isInevitablySinking()