Home
last modified time | relevance | path

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

12

/llvm-project-15.0.7/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()
203 BlockT *exit = getExit(); in getExitingBlock()
239 if (getExit()) { in getNameStr()
240 if (getExit()->getName().empty()) { in getNameStr()
243 getExit()->printAsOperand(OS, false); in getNameStr()
278 BlockT *exit = getExit(); in verifyWalk()
749 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());
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DUtils.cpp109 while (PrevRegion->getExit() == EntryBB) { in executeScopConditionally()
117 BasicBlock *ExitBB = S.getExit(); in executeScopConditionally()
H A DBlockGenerators.cpp811 BasicBlock *ExitBB = S.getExit(); in createScalarInitialization()
862 BasicBlock *MergeBB = S.getExit(); in createScalarFinalization()
934 auto *MergeBB = S.getExit(); in createExitPHINodeMerges()
1419 for (auto ExitingBB : predecessors(R->getExit())) { in isDominatingSubregionExit()
1435 for (auto ExitingBB : predecessors(R->getExit())) { in findExitDominator()
1541 ExitBBCopy->setName("polly.stmt." + R->getExit()->getName() + ".exit"); in copyStmt()
1542 StartBlockMap[R->getExit()] = ExitBBCopy; in copyStmt()
1543 EndBlockMap[R->getExit()] = ExitBBCopy; in copyStmt()
1630 if (OrigPHI->getParent() != SubR->getExit()) { in buildExitPHI()
1664 Loop *L = LI.getLoopFor(Stmt->getRegion()->getExit()); in getExitScalar()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DAMDGPUMachineCFGStructurizer.cpp401 MachineBasicBlock *getExit();
558 MachineBasicBlock *getExit() { in getExit() function in __anonde98b0ec0211::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()
2094 MachineBasicBlock *Exit = CurrentRegion->getExit(); in createEntryPHI()
2329 MachineBasicBlock *CodeExitBB = InnerRegion->getExit(); in createIfRegion()
2435 auto Exit = LRegion->getExit(); in splitExit()
[all …]
/llvm-project-15.0.7/clang/unittests/Analysis/
H A DCFGDominatorTree.cpp40 EXPECT_EQ(ExitBlock, &cfg->getExit()); in TEST()
129 EXPECT_EQ(ExitBlock, &cfg->getExit()); in TEST()
/llvm-project-15.0.7/llvm/lib/Transforms/Scalar/
H A DStructurizeCFG.cpp427 BasicBlock *Exit = N->getNodeAs<Region>()->getExit(); in analyzeLoops()
713 BasicBlock *OldExit = SubRegion->getExit(); in changeExit()
755 BasicBlock *Insert = Order.empty() ? ParentRegion->getExit() : in getNextFlow()
789 BasicBlock *Exit = ParentRegion->getExit(); in needPostfix()
915 BasicBlock *Exit = ParentRegion->getExit(); in createFlow()
/llvm-project-15.0.7/polly/lib/Support/
H A DScopHelper.cpp69 if (RegionOfPred->getExit() != Entry) in simplifyRegionEntry()
73 RegionOfPred->getExit() == Entry) { in simplifyRegionEntry()
106 BasicBlock *ExitBB = R->getExit(); in simplifyRegionExit()
563 for (auto Pred : predecessors(R.getExit())) in isHoistableLoad()
H A DVirtualInstruction.cpp30 if (S->getRegion().getExit() == PHI->getParent()) in create()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp158 return RegInfos.back().R->getExit(); in getExitBlock()
631 assert((IfThen == R->getExit() || IfElse == R->getExit()) && in checkBiasedBranch()
634 if (IfThen == R->getExit()) { in checkBiasedBranch()
709 BasicBlock *Exit = R->getExit(); // null if top level. in findScope()
1673 BasicBlock *ExitBlock = LastRegion->getExit(); in transformScopes()
1871 BasicBlock *RegionExitBlock = R->getExit(); in fixupBranch()
/llvm-project-15.0.7/polly/include/polly/
H A DScopInfo.h1464 assert(isBlockStmt() || R->getExit() == PHI->getParent()); in lookupPHIWriteOf()
2105 BasicBlock *getExit() const { return R.getExit(); } in getExit() function
2117 bool isExit(BasicBlock *BB) const { return getExit() == BB; } in isExit()
/llvm-project-15.0.7/clang/lib/Analysis/
H A DCFG.cpp1498 assert(Succ == &cfg->getExit()); in buildCFG()
1534 VBaseSucc = Succ = B ? B : &cfg->getExit(); in buildCFG()
1633 addSuccessor(B, &cfg->getExit(), Succ); in createNoReturnBlock()
2709 addSuccessor(Block, &cfg->getExit()); in VisitCallExpr()
3165 addSuccessor(Block, &cfg->getExit()); in VisitReturnStmt()
3302 addSuccessor(NewTryTerminatedBlock, &cfg->getExit()); in VisitSEHTryStmt()
3989 addSuccessor(Block, &cfg->getExit()); in VisitObjCAtThrowStmt()
4078 addSuccessor(Block, &cfg->getExit()); in VisitCXXThrowExpr()
5850 else if (&B == &cfg->getExit()) in print_block()
6035 if (&(**I) == &getEntry() || &(**I) == &getExit()) in print()
[all …]
H A DThreadSafety.cpp803 unsigned exitID = CFGraph->getExit().getBlockID(); in traverseCFG()
841 CurrBlock != &CFGraph->getExit()) { in findBlockLocations()
2447 CFGBlockInfo *Final = &BlockInfo[CFGraph->getExit().getBlockID()]; in runAnalysis()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCFG.h1334 CFGBlock & getExit() { return *Exit; } in getExit() function
1335 const CFGBlock & getExit() const { return *Exit; } in getExit() function
1566 static NodeRef getEntryNode(::clang::CFG *F) { return &F->getExit(); }
1575 static NodeRef getEntryNode(const ::clang::CFG *F) { return &F->getExit(); }
H A DProgramPoint.h342 return &getLocationContext()->getCFG()->getExit(); in getBlock()
/llvm-project-15.0.7/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()
/llvm-project-15.0.7/clang/include/clang/Analysis/Analyses/
H A DDominators.h112 bool IsExitBlock = *I == &(*I)->getParent()->getExit(); in dump()
H A DThreadSafetyCommon.h250 V.exitCFG(&CFGraph->getExit()); in walk()
/llvm-project-15.0.7/polly/lib/Analysis/
H A DScopDetection.cpp1433 for (auto Pred : predecessors(R.getExit())) { in isErrorBlockImpl()
1741 if (CurRegion.getExit() && in isValidRegion()
1742 isa<UnreachableInst>(CurRegion.getExit()->getTerminator())) { in isValidRegion()
1745 CurRegion.getExit(), DbgLoc); in isValidRegion()
1818 BasicBlock *RExit = R.getExit(); in isReducibleRegion()
H A DScopBuilder.cpp173 return RN->getNodeAs<Region>()->getExit(); in getRegionNodeSuccessor()
637 auto *ExitBB = BBReg ? BBReg->getExit() : nullptr; in propagateDomainConstraintsToRegionExit()
709 while (PredR->getExit() != BB && !PredR->contains(BB)) in getPredecessorDomainConstraints()
714 if (PredR->getExit() == BB) { in getPredecessorDomainConstraints()
2124 if (Inst && DT.dominates(Inst->getParent(), Stmt->getRegion()->getExit())) in addMemoryAccess()
3438 for (auto &Inst : *S->getRegion().getExit()) { in verifyUses()
3491 for (Instruction &Inst : *R.getExit()) { in buildScop()
H A DScopDetectionDiagnostic.cpp110 return std::make_pair(R->getEntry(), R->getExit()); in getBBPairForRegion()
/llvm-project-15.0.7/clang/lib/Sema/
H A DAnalysisBasedWarnings.cpp225 const unsigned ExitID = cfg->getExit().getBlockID(); in checkForRecursiveFunctionCall()
269 if (cfg->getExit().pred_empty()) in checkRecursiveFunction()
299 if (Succ->getBlockID() == Body->getExit().getBlockID()) in throwEscapes()
363 if (BodyCFG->getExit().pred_empty()) in checkThrowInNonThrowingFunc()
441 cfg->getExit().filtered_pred_start_end(FO); in CheckFallThrough()
500 if (!llvm::is_contained(B.succs(), &cfg->getExit())) { in CheckFallThrough()
/llvm-project-15.0.7/llvm/unittests/Frontend/
H A DOpenMPIRBuilderTest.cpp1536 Tile2->getExit(), in TEST_F()
1539 Tile1->getExit(), in TEST_F()
1542 Floor2->getExit(), in TEST_F()
1545 Floor1->getExit(), in TEST_F()
1638 Tile1->getExit(), in TEST_F()
1641 Tile0->getExit(), in TEST_F()
1644 Floor1->getExit(), in TEST_F()
1647 Floor0->getExit(), in TEST_F()
1930 BasicBlock *ExitBlock = CLI->getExit(); in TEST_F()
2127 BasicBlock *ExitBlock = CLI->getExit(); in TEST_P()
[all …]
/llvm-project-15.0.7/clang/lib/Analysis/FlowSensitive/
H A DTransfer.cpp521 auto ExitBlock = CFCtx->getCFG().getExit().getBlockID(); in VisitCallExpr()

12