Home
last modified time | relevance | path

Searched refs:getExit (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DRegionInfoImpl.h86 BlockT *OldExit = getExit(); in replaceExitRecursive()
95 if (Child->getExit() == OldExit) in replaceExitRecursive()
108 BlockT *entry = getEntry(), *exit = getExit(); in contains()
124 return getExit() == nullptr; in contains()
192 BlockT *exit = getExit(); in getExitingBlock()
221 if (getExit()) { in getNameStr()
222 if (getExit()->getName().empty()) { in getNameStr()
225 getExit()->printAsOperand(OS, false); in getNameStr()
227 exitName = std::string(getExit()->getName()); in getNameStr()
239 BlockT *entry = getEntry(), *exit = getExit(); in verifyBBInRegion()
[all …]
H A DRegionIterator.h97 return getNode()->template getNodeAs<RegionT>()->getExit(); in getRegionSucc()
102 return getNode()->getParent()->getExit() == BB; in isExit()
198 Node->getParent()->getExit() == *Itor) in RNSuccIterator()
226 assert(Parent->getExit() != BB && "iterator out of range!");
236 && Node->getParent()->getExit() == *Itor);
H A DRegionInfo.h357 BlockT *getExit() const { return exit; }
454 if (!getExit())
458 (contains(SubRegion->getExit()) ||
459 SubRegion->getExit() == getExit());
607 block_iterator block_begin() { return block_iterator(getEntry(), getExit()); }
612 return const_block_iterator(getEntry(), getExit());
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp476 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
719 if (PHIBlock == ParentRegion->getExit()) { in findUndefBlocks()
934 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
977 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
1013 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
1127 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp166 return RegInfos.back().R->getExit(); in getExitBlock()
639 assert((IfThen == R->getExit() || IfElse == R->getExit()) && in checkBiasedBranch()
642 if (IfThen == R->getExit()) { in checkBiasedBranch()
716 BasicBlock *Exit = R->getExit(); // null if top level. in findScope()
1693 BasicBlock *ExitBlock = LastRegion->getExit(); in transformScopes()
1896 BasicBlock *RegionExitBlock = R->getExit(); in fixupBranch()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1666 assert(Succ == &cfg->getExit()); in buildCFG()
1699 VBaseSucc = Succ = B ? B : &cfg->getExit(); in buildCFG()
1792 addSuccessor(B, &cfg->getExit(), Succ); in createNoReturnBlock()
2882 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
3341 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
3478 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitSEHTryStmt()
4168 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
4219 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitObjCAtTryStmt()
4257 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
4719 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitCXXTryStmt()
[all …]
H A DLifetimeSafety.cpp721 const CFGBlock &B = Cfg.getExit(); in dump()
H A DThreadSafety.cpp812 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG()
850 CurrBlock != &CFGraph->getExit()) { in findBlockLocations()
2467 CFGBlockInfo &Final = BlockInfo[CFGraph->getExit().getBlockID()]; in runAnalysis()
H A DCalledOnceCheck.cpp714 const CFGBlock *Exit = &FunctionCFG.getExit(); in check()
H A DConsumed.cpp1401 if (CurrBlock == &AC.getCFG()->getExit() && in run()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h1332 CFGBlock & getExit() { return *Exit; } in getExit() function
1333 const CFGBlock & getExit() const { return *Exit; } in getExit() function
1565 static NodeRef getEntryNode(::clang::CFG *F) { return &F->getExit(); }
1574 static NodeRef getEntryNode(const ::clang::CFG *F) { return &F->getExit(); }
H A DProgramPoint.h348 return &getLocationContext()->getCFG()->getExit(); in getBlock()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp291 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge()
292 assert(L.getLocationContext()->getCFG()->getExit().empty() && in HandleBlockEdge()
H A DExprEngineCallAndReturn.cpp356 isa<ReturnStmt>(LastSt) ? Blk : &CEBNode->getCFG().getExit(); in processCallExit()
H A DBugReporter.cpp2421 CFGBlock &Exit = ProgP.getLocationContext()->getCFG()->getExit(); in getStmt()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp254 const unsigned ExitID = cfg->getExit().getBlockID(); in checkForRecursiveFunctionCall()
298 if (cfg->getExit().pred_empty()) in checkRecursiveFunction()
327 if (Succ->getBlockID() == Body->getExit().getBlockID()) in throwEscapes()
391 if (BodyCFG->getExit().pred_empty()) in checkThrowInNonThrowingFunc()
610 cfg->getExit().filtered_pred_start_end(FO); in CheckFallThrough()
669 if (!llvm::is_contained(B.succs(), &cfg->getExit())) { in CheckFallThrough()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h252 V.exitCFG(&CFGraph->getExit()); in walk()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp868 auto ExitBlock = ACFG->getCFG().getExit().getBlockID(); in transferInlineCall()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4323 Builder.SetInsertPoint(CLI->getExit(), in applyStaticWorkshareLoop()
4324 CLI->getExit()->getTerminator()->getIterator()); in applyStaticWorkshareLoop()
4443 BasicBlock *DispatchExit = DispatchCLI->getExit(); in applyStaticChunkedWorkshareLoop()
4449 redirectTo(CLI->getExit(), DispatchLatch, DL); in applyStaticChunkedWorkshareLoop()
4600 Builder.CreateBr(CLI->getExit()); in workshareLoopTargetCallback()
4607 CleanUpInfo.ExitBB = CLI->getExit(); in workshareLoopTargetCallback()
4878 BasicBlock *Exit = CLI->getExit(); in applyDynamicWorkshareLoop()
5214 BasicBlock *OutroInsertBefore = InnermostLoop->getExit(); in tileLoops()
5411 C, NamePrefix + ".if.else", Cond->getParent(), CanonicalLoop->getExit()); in createIfVersion()
5448 NewBB->moveBefore(CanonicalLoop->getExit()); in createIfVersion()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h3703 BasicBlock *getExit() const { in getExit() function