Lines Matching defs:cfg
243 static bool checkForRecursiveFunctionCall(const FunctionDecl *FD, CFG *cfg) {
249 const unsigned ExitID = cfg->getExit().getBlockID();
252 WorkList.push_back(&cfg->getEntry());
289 CFG *cfg = AC.getCFG();
290 if (!cfg) return;
293 if (cfg->getExit().pred_empty())
297 if (checkForRecursiveFunctionCall(FD, cfg))
424 CFG *cfg = AC.getCFG();
425 if (!cfg) return UnknownFallThrough;
429 llvm::BitVector live(cfg->getNumBlockIDs());
430 unsigned count = reachable_code::ScanReachableFromBlock(&cfg->getEntry(),
434 if (!AddEHEdges && count != cfg->getNumBlockIDs())
438 for (const auto *B : *cfg) {
465 cfg->getExit().filtered_pred_start_end(FO);
524 if (!llvm::is_contained(B.succs(), &cfg->getExit())) {
2808 if (CFG *cfg = AC.getCFG()) {
2812 runUninitializedVariablesAnalysis(*cast<DeclContext>(D), *cfg, AC,
2877 if (CFG *cfg = AC.getCFG()) {
2880 NumCFGBlocks += cfg->getNumBlockIDs();
2882 cfg->getNumBlockIDs());