Home
last modified time | relevance | path

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

/freebsd-14.2/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()
260 BlockT *exit = getExit(); in verifyWalk()
723 while (BB == region->getExit()) in buildRegionsTree()
[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.h359 BlockT *getExit() const { return exit; }
456 if (!getExit())
460 (contains(SubRegion->getExit()) ||
461 SubRegion->getExit() == getExit());
609 block_iterator block_begin() { return block_iterator(getEntry(), getExit()); }
614 return const_block_iterator(getEntry(), getExit());
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp401 MachineBasicBlock *getExit();
558 MachineBasicBlock *getExit() { in getExit() function in __anon8332aff20211::RegionMRT
560 return (Tree->isRegion()) ? Tree->getRegionMRT()->getExit() in getExit()
669 RegionMap[Region]->setSucc(Region->getExit()); in buildMRT()
974 MachineBasicBlock *LinearizedRegion::getExit() { return Exit; } in getExit() function in LinearizedRegion
1250 MachineBasicBlock *Exit = Region->getExit(); in transformSimpleIfRegion()
1271 auto Exit = LRegion->getExit(); in fixRegionTerminator()
2093 MachineBasicBlock *Exit = CurrentRegion->getExit(); in createEntryPHI()
2328 MachineBasicBlock *CodeExitBB = InnerRegion->getExit(); in createIfRegion()
2434 auto Exit = LRegion->getExit(); in splitExit()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp436 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
685 if (PHIBlock == ParentRegion->getExit()) { in findUndefBlocks()
809 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
852 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
893 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
1009 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp166 return RegInfos.back().R->getExit(); in getExitBlock()
640 assert((IfThen == R->getExit() || IfElse == R->getExit()) && in checkBiasedBranch()
643 if (IfThen == R->getExit()) { in checkBiasedBranch()
717 BasicBlock *Exit = R->getExit(); // null if top level. in findScope()
1702 BasicBlock *ExitBlock = LastRegion->getExit(); in transformScopes()
1904 BasicBlock *RegionExitBlock = R->getExit(); in fixupBranch()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1578 assert(Succ == &cfg->getExit()); in buildCFG()
1611 VBaseSucc = Succ = B ? B : &cfg->getExit(); in buildCFG()
1705 addSuccessor(B, &cfg->getExit(), Succ); in createNoReturnBlock()
2776 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
3232 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
3369 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitSEHTryStmt()
4059 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
4148 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
5935 else if (&B == &cfg->getExit()) in print_block()
6120 if (&(**I) == &getEntry() || &(**I) == &getExit()) in print()
[all …]
H A DThreadSafety.cpp802 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG()
840 CurrBlock != &CFGraph->getExit()) { in findBlockLocations()
2306 CFGBlockInfo &Final = BlockInfo[CFGraph->getExit().getBlockID()]; in runAnalysis()
H A DCalledOnceCheck.cpp716 const CFGBlock *Exit = &FunctionCFG.getExit(); in check()
H A DConsumed.cpp1405 if (CurrBlock == &AC.getCFG()->getExit() && in run()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h1321 CFGBlock & getExit() { return *Exit; } in getExit() function
1322 const CFGBlock & getExit() const { return *Exit; } in getExit() function
1555 static NodeRef getEntryNode(::clang::CFG *F) { return &F->getExit(); }
1564 static NodeRef getEntryNode(const ::clang::CFG *F) { return &F->getExit(); }
H A DProgramPoint.h338 return &getLocationContext()->getCFG()->getExit(); in getBlock()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DDominators.h112 bool IsExitBlock = *I == &(*I)->getParent()->getExit(); in dump()
H A DThreadSafetyCommon.h251 V.exitCFG(&CFGraph->getExit()); in walk()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp268 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge()
269 assert(L.getLocationContext()->getCFG()->getExit().empty() && in HandleBlockEdge()
H A DBugReporter.cpp2389 CFGBlock &Exit = ProgP.getLocationContext()->getCFG()->getExit(); in getStmt()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp252 const unsigned ExitID = cfg->getExit().getBlockID(); in checkForRecursiveFunctionCall()
296 if (cfg->getExit().pred_empty()) in checkRecursiveFunction()
326 if (Succ->getBlockID() == Body->getExit().getBlockID()) in throwEscapes()
390 if (BodyCFG->getExit().pred_empty()) in checkThrowInNonThrowingFunc()
468 cfg->getExit().filtered_pred_start_end(FO); in CheckFallThrough()
527 if (!llvm::is_contained(B.succs(), &cfg->getExit())) { in CheckFallThrough()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp2518 Builder.SetInsertPoint(CLI->getExit(), in applyStaticWorkshareLoop()
2519 CLI->getExit()->getTerminator()->getIterator()); in applyStaticWorkshareLoop()
2623 BasicBlock *DispatchExit = DispatchCLI->getExit(); in applyStaticChunkedWorkshareLoop()
2629 redirectTo(CLI->getExit(), DispatchLatch, DL); in applyStaticChunkedWorkshareLoop()
2775 Builder.CreateBr(CLI->getExit()); in workshareLoopTargetCallback()
2782 CleanUpInfo.ExitBB = CLI->getExit(); in workshareLoopTargetCallback()
3053 BasicBlock *Exit = CLI->getExit(); in applyDynamicWorkshareLoop()
3394 BasicBlock *OutroInsertBefore = InnermostLoop->getExit(); in tileLoops()
3591 C, NamePrefix + ".if.else", Head->getParent(), CanonicalLoop->getExit()); in createIfVersion()
3610 NewBB->moveBefore(CanonicalLoop->getExit()); in createIfVersion()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp802 auto ExitBlock = CFCtx->getCFG().getExit().getBlockID(); in transferInlineCall()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h2815 BasicBlock *getExit() const { in getExit() function