Home
last modified time | relevance | path

Searched refs:getExit (Results 1 – 17 of 17) 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 getExitingBlocks()
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();
[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/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp401 MachineBasicBlock *getExit();
558 MachineBasicBlock *getExit() { in getExit() function in __anon3d3c1dbc0211::RegionMRT
560 return (Tree->isRegion()) ? Tree->getRegionMRT()->getExit() in getExit()
667 RegionMap[Region]->setSucc(Region->getExit()); in buildMRT()
972 MachineBasicBlock *LinearizedRegion::getExit() { return Exit; } in getExit() function in LinearizedRegion
1248 MachineBasicBlock *Exit = Region->getExit(); in transformSimpleIfRegion()
1269 auto Exit = LRegion->getExit(); in fixRegionTerminator()
1927 bool IsSingleBB = InnerRegion->getEntry() == InnerRegion->getExit(); in insertChainedPHI()
1954 insertMergePHI(IfBB, InnerRegion->getExit(), MergeBB, DestReg, NextDestReg, in insertChainedPHI()
1983 bool IsSingleBB = InnerRegion->getEntry() == InnerRegion->getExit(); in rewriteLiveOutRegs()
[all …]
/freebsd/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/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp167 return RegInfos.back().R->getExit(); in getExitBlock()
641 assert((IfThen == R->getExit() || IfElse == R->getExit()) && in checkBiasedBranch()
644 if (IfThen == R->getExit()) { in checkBiasedBranch()
718 BasicBlock *Exit = R->getExit(); // null if top level. in findScope()
1703 BasicBlock *ExitBlock = LastRegion->getExit(); in transformScopes()
1905 BasicBlock *RegionExitBlock = R->getExit(); in fixupBranch()
/freebsd/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()
2773 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
3229 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
3366 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitSEHTryStmt()
4056 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
4107 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitObjCAtTryStmt()
4145 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
4607 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitCXXTryStmt()
[all …]
H A DCalledOnceCheck.cpp716 const CFGBlock *Exit = &FunctionCFG.getExit(); in check()
/freebsd/contrib/llvm-project/clang/include/clang/Analysis/
H A DCFG.h1324 CFGBlock & getExit() { return *Exit; } in getExit() function
1325 const CFGBlock & getExit() const { return *Exit; } in getExit() function
1558 static NodeRef getEntryNode(::clang::CFG *F) { return &F->getExit(); }
1567 static NodeRef getEntryNode(const ::clang::CFG *F) { return &F->getExit(); }
H A DProgramPoint.h338 return &getLocationContext()->getCFG()->getExit(); in getBlock()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp256 if (Blk == &(L.getLocationContext()->getCFG()->getExit())) { in HandleBlockEdge()
257 assert(L.getLocationContext()->getCFG()->getExit().empty() && in HandleBlockEdge()
H A DBugReporter.cpp2403 CFGBlock &Exit = ProgP.getLocationContext()->getCFG()->getExit(); in getStmt()
/freebsd/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/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyCommon.h251 V.exitCFG(&CFGraph->getExit()); in walk()
/freebsd/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp863 auto ExitBlock = ACFG->getCFG().getExit().getBlockID(); in transferInlineCall()
/freebsd/contrib/llvm-project/llvm/lib/Frontend/OpenMP/
H A DOMPIRBuilder.cpp4058 Builder.SetInsertPoint(CLI->getExit(), in applyStaticWorkshareLoop()
4059 CLI->getExit()->getTerminator()->getIterator()); in applyStaticWorkshareLoop()
4163 BasicBlock *DispatchExit = DispatchCLI->getExit(); in applyStaticChunkedWorkshareLoop()
4169 redirectTo(CLI->getExit(), DispatchLatch, DL); in applyStaticChunkedWorkshareLoop()
4315 Builder.CreateBr(CLI->getExit()); in workshareLoopTargetCallback()
4322 CleanUpInfo.ExitBB = CLI->getExit(); in workshareLoopTargetCallback()
4593 BasicBlock *Exit = CLI->getExit(); in applyDynamicWorkshareLoop()
4926 BasicBlock *OutroInsertBefore = InnermostLoop->getExit(); in tileLoops()
5123 C, NamePrefix + ".if.else", Head->getParent(), CanonicalLoop->getExit()); in createIfVersion()
5142 NewBB->moveBefore(CanonicalLoop->getExit()); in createIfVersion()
/freebsd/contrib/llvm-project/llvm/include/llvm/Frontend/OpenMP/
H A DOMPIRBuilder.h3411 BasicBlock *getExit() const { in getExit() function