Home
last modified time | relevance | path

Searched refs:succ_begin (Results 1 – 25 of 121) sorted by relevance

12345

/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DCFG.h248 inline const_succ_iterator succ_begin(const Instruction *I) { in succ_begin() function
256 return succ_begin(I) == succ_end(I); in succ_empty()
259 return std::distance(succ_begin(I), succ_end(I)); in succ_size()
262 return succ_range(succ_begin(I), succ_end(I)); in successors()
265 return const_succ_range(succ_begin(I), succ_end(I)); in successors()
268 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() function
271 inline const_succ_iterator succ_begin(const BasicBlock *BB) { in succ_begin() function
281 return succ_begin(BB) == succ_end(BB); in succ_empty()
284 return std::distance(succ_begin(BB), succ_end(BB)); in succ_size()
287 return succ_range(succ_begin(BB), succ_end(BB)); in successors()
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Core/
H A DCoreEngine.cpp105 const CFGBlock *Succ = *(Entry->succ_begin()); in ExecuteWorkList()
250 L.getDst() == *L.getSrc()->succ_begin()) { in HandleBlockEdge()
361 for (CFGBlock::const_succ_iterator it = B->succ_begin(), in HandleBlockExit()
398 *(B->succ_begin()), this); in HandleBlockExit()
445 generateNode(BlockEdge(B, *(B->succ_begin()), Pred->getLocationContext()), in HandleBlockExit()
459 ExprEng.processBranch(Cond, Ctx, Pred, Dst, *(B->succ_begin()), in HandleBranch()
460 *(B->succ_begin() + 1)); in HandleBranch()
472 *(B->succ_begin() + 1)); in HandleCleanupTemporaryBranch()
483 *(B->succ_begin()), *(B->succ_begin()+1)); in HandleStaticInit()
509 BlockEdge Loc(B, *B->succ_begin(), LCtx); in HandleVirtualBaseBranch()
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DDAGDeltaAlgorithm.cpp98 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anona2548bc90111::DAGDeltaAlgorithmImpl
128 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in ExecuteOneTest()
193 if (succ_begin(Change) == succ_end(Change)) in DAGDeltaAlgorithmImpl()
230 if (succ_begin(*it) != succ_end(*it)) { in DAGDeltaAlgorithmImpl()
232 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in DAGDeltaAlgorithmImpl()
234 if (it2 != succ_begin(*it)) in DAGDeltaAlgorithmImpl()
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h217 return succ_empty() ? nullptr : *(succ_begin()); in getFirstSucc()
249 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() function
253 const_succ_iterator succ_begin() const { in succ_begin() function
254 return const_cast<ExplodedNode*>(this)->succ_begin(); in succ_begin()
524 return child_begin(*N->succ_begin());
525 return N->succ_begin();
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DCFG.cpp45 VisitStack.push_back(std::make_pair(BB, succ_begin(BB))); in FindFunctionBackedges()
67 VisitStack.push_back(std::make_pair(BB, succ_begin(BB))); in FindFunctionBackedges()
198 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachableFromMany()
263 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachable()
H A DFunctionPropertiesAnalysis.cpp147 Successors.insert(succ_begin(&CallSiteBB), succ_end(&CallSiteBB)); in FunctionPropertiesUpdater()
158 Successors.insert(succ_begin(UnwindDest), succ_end(UnwindDest)); in FunctionPropertiesUpdater()
231 Reinclude.insert(succ_begin(BB), succ_end(BB)); in finish()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp373 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
894 MachineBasicBlock *childBlk = *MBB->succ_begin(); in serialPatternMatch()
928 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) { in ifPatternMatch()
930 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
936 && *FalseMBB->succ_begin() == TrueMBB) { in ifPatternMatch()
945 LandBlk = *FalseMBB->succ_begin(); in ifPatternMatch()
948 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
1098 Num += serialPatternMatch(*HeadMBB->succ_begin()); in handleJumpintoIfImp()
1484 SrcMBB = *SrcMBB->succ_begin(); in cloneOnSideEntryTo()
1576 MachineBasicBlock *MBB1 = *MBB->succ_begin(); in removeRedundantConditionalBranch()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/Hexagon/
H A DHexagonEarlyIfConv.cpp233 MachineBasicBlock *SB = *B->succ_begin(); in isPreheader()
529 MachineBasicBlock *TSB = *FP.TrueB->succ_begin(); in isProfitable()
530 MachineBasicBlock *FSB = *FP.FalseB->succ_begin(); in isProfitable()
574 MachineBasicBlock *SB = *FP.TrueB->succ_begin(); in isProfitable()
579 MachineBasicBlock *SB = *FP.FalseB->succ_begin(); in isProfitable()
866 TSB = *FP.TrueB->succ_begin(); in convert()
870 FSB = *FP.FalseB->succ_begin(); in convert()
881 MachineBasicBlock *T = *FP.SplitB->succ_begin(); in convert()
900 FP.SplitB->removeSuccessor(FP.SplitB->succ_begin()); in convert()
974 B->removeSuccessor(B->succ_begin()); in removeBlock()
[all …]
/llvm-project-15.0.7/llvm/unittests/Target/X86/
H A DMachineSizeOptsTest.cpp109 auto iter = BB0.succ_begin(); in TEST_F()
115 MachineBasicBlock *BB3 = *BB1->succ_begin(); in TEST_F()
116 ASSERT_TRUE(BB3 == *BB2->succ_begin()); in TEST_F()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DUnreachableBlockElim.cpp120 while (BB.succ_begin() != BB.succ_end()) { in runOnMachineFunction()
121 MachineBasicBlock* succ = *BB.succ_begin(); in runOnMachineFunction()
135 BB.removeSuccessor(BB.succ_begin()); in runOnMachineFunction()
H A DMachineLoopUtils.cpp34 MachineBasicBlock *Exit = *Loop->succ_begin(); in PeelSingleBlockLoop()
36 Exit = *std::next(Loop->succ_begin()); in PeelSingleBlockLoop()
H A DTailDuplicator.cpp162 SmallSetVector<MachineBasicBlock *, 8> Succs(MBB->succ_begin(), in tailDuplicateAndUpdate()
721 SmallPtrSet<MachineBasicBlock *, 8> Succs(TailBB->succ_begin(), in duplicateSimpleBB()
741 MachineBasicBlock *NewTarget = *TailBB->succ_begin(); in duplicateSimpleBB()
888 PredBB->removeSuccessor(PredBB->succ_begin()); in tailDuplicate()
914 *PrevBB->succ_begin() == TailBB && in tailDuplicate()
957 PrevBB->removeSuccessor(PrevBB->succ_begin()); in tailDuplicate()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DInterval.h99 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin() function
123 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
H A DLoopIterator.h78 {succ_begin(Node.second), Node.first}, in child_begin()
86 {succ_begin(Node.second), Node.first}, in child_end()
/llvm-project-15.0.7/bolt/include/bolt/Passes/
H A DDominatorAnalysis.h60 BB.succ_begin() == BB.succ_end()) in getDominanceFrontierFor()
90 BB = *BB->succ_begin(); in doesADominateB()
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMachineBasicBlock.h342 succ_iterator succ_begin() { return Successors.begin(); }
343 const_succ_iterator succ_begin() const { return Successors.begin(); }
366 return make_range(succ_begin(), succ_end());
369 return make_range(succ_begin(), succ_end());
440 ExceptionSelector(ExceptionSelector), BlockI(MBB.succ_begin()),
1166 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
1175 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp159 return *succ_begin(); in getSuccessor()
273 auto I = succ_begin(); in replaceSuccessor()
289 SmallPtrSet<BinaryBasicBlock *, 2> UniqSuccessors(succ_begin(), succ_end()); in removeAllSuccessors()
298 auto I = succ_begin(); in removeSuccessor()
572 for (auto itr = succ_begin(); itr != succ_end(); ++itr) { in dump()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryBasicBlock.h243 succ_iterator succ_begin() { return Successors.begin(); } in succ_begin() function
244 const_succ_iterator succ_begin() const { return Successors.begin(); } in succ_begin() function
297 return iterator_range<succ_iterator>(succ_begin(), succ_end()); in successors()
301 return iterator_range<const_succ_iterator>(succ_begin(), succ_end()); in successors()
991 return N->succ_begin();
1002 return N->succ_begin();
/llvm-project-15.0.7/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp444 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvert()
445 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvert()
595 assert(*Head->succ_begin() == Tail && "Head successor is not Tail"); in convert()
597 Head->setSuccProbability(Head->succ_begin(), in convert()
605 for (auto I = CmpBB->succ_begin(), E = CmpBB->succ_end(); I != E; ++I) { in convert()
/llvm-project-15.0.7/bolt/lib/Passes/
H A DTailDuplication.cpp128 for (auto Itr = StartBB.succ_begin(); Itr != StartBB.succ_end(); ++Itr) { in isOverwrittenBeforeUsed()
153 for (auto Itr = CurrBB->succ_begin(); Itr != CurrBB->succ_end(); ++Itr) { in isOverwrittenBeforeUsed()
285 for (auto Itr = Tail.succ_begin(); Itr != Tail.succ_end(); ++Itr) { in moderateDuplicate()
559 LastOriginalBB->succ_begin(), LastOriginalBB->succ_end(), in duplicateBlocks()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBlock.h233 bool hasNoSuccessors() { return succ_begin() == succ_end(); } in hasNoSuccessors()
253 succ_iterator succ_begin() { return getSuccessors().begin(); } in succ_begin() function
H A DRegionGraphTraits.h31 return node->succ_begin();
/llvm-project-15.0.7/clang/lib/Analysis/
H A DConsumed.cpp70 if (Block->succ_size() == 1 && *Block->succ_begin()) in getFirstStmtLoc()
71 return getFirstStmtLoc(*Block->succ_begin()); in getFirstStmtLoc()
91 if (Block->succ_size() == 1 && *Block->succ_begin()) in getLastStmtLoc()
92 Loc = getFirstStmtLoc(*Block->succ_begin()); in getLastStmtLoc()
1291 CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(); in splitState()
1382 (*CurrBlock->succ_begin())->pred_size() > 1)) { in run()
1386 for (CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(), in run()
/llvm-project-15.0.7/clang/include/clang/Analysis/
H A DCFG.h956 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() function
958 const_succ_iterator succ_begin() const { return Succs.begin(); } in succ_begin() function
967 return succ_range(succ_begin(), succ_end()); in succs()
971 return succ_const_range(succ_begin(), succ_end()); in succs()
1035 return filtered_succ_iterator(succ_begin(), succ_end(), this, f); in filtered_succ_start_end()
1494 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
1503 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
/llvm-project-15.0.7/mlir/lib/Analysis/
H A DBufferViewFlowAnalysis.cpp68 for (auto it = parentBlock->succ_begin(), e = parentBlock->succ_end(); in build()

12345