Home
last modified time | relevance | path

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

12345

/external/llvm/include/llvm/IR/
DCFG.h120 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() function
123 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin() function
133 return succ_begin(BB) == succ_end(BB); in succ_empty()
136 return succ_range(succ_begin(BB), succ_end(BB)); in successors()
139 return succ_const_range(succ_begin(BB), succ_end(BB)); in successors()
162 return succ_begin(N);
176 return succ_begin(N);
/external/llvm/lib/Target/AMDGPU/
DSIFixSGPRLiveRanges.cpp156 MachineBasicBlock *SuccA = *MBB->succ_begin(); in runOnMachineFunction()
157 MachineBasicBlock *SuccB = *(++MBB->succ_begin()); in runOnMachineFunction()
169 NCD = PDT->findNearestCommonDominator(*NCD->succ_begin(), in runOnMachineFunction()
170 *(++NCD->succ_begin())); in runOnMachineFunction()
DAMDILCFGStructurizer.cpp409 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
592 MachineBasicBlock::succ_iterator It = MBB->succ_begin(); in getFalseBranch()
691 for (MachineBasicBlock::succ_iterator It = SrcMBB->succ_begin(), in cloneSuccessorList()
992 MachineBasicBlock *childBlk = *MBB->succ_begin(); in serialPatternMatch()
1026 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) { in ifPatternMatch()
1028 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
1029 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch()
1034 && *FalseMBB->succ_begin() == TrueMBB) { in ifPatternMatch()
1043 LandBlk = *FalseMBB->succ_begin(); in ifPatternMatch()
1046 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
[all …]
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExplodedGraph.h198 return succ_empty() ? nullptr : *(succ_begin()); in getFirstSucc()
217 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() function
220 const_succ_iterator succ_begin() const { in succ_begin() function
221 return const_cast<ExplodedNode*>(this)->succ_begin(); in succ_begin()
453 return N->succ_begin();
479 return N->succ_begin();
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp185 const CFGBlock *Succ = *(Entry->succ_begin()); in ExecuteWorkList()
380 for (CFGBlock::const_succ_iterator it = B->succ_begin(), in HandleBlockExit()
417 *(B->succ_begin()), this); in HandleBlockExit()
455 generateNode(BlockEdge(B, *(B->succ_begin()), Pred->getLocationContext()), in HandleBlockExit()
465 *(B->succ_begin()), *(B->succ_begin()+1)); in HandleBranch()
476 SubEng.processCleanupTemporaryBranch(BTE, Ctx, Pred, Dst, *(B->succ_begin()), in HandleCleanupTemporaryBranch()
477 *(B->succ_begin() + 1)); in HandleCleanupTemporaryBranch()
488 *(B->succ_begin()), *(B->succ_begin()+1)); in HandleStaticInit()
DExplodedGraph.cpp106 const ExplodedNode *succ = *(node->succ_begin()); in shouldCollect()
171 ExplodedNode *succ = *(node->succ_begin()); in collectNode()
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp209 MachineBasicBlock *SB = *B->succ_begin(); in isPreheader()
278 MachineBasicBlock *TSB = (TNS > 0) ? *TB->succ_begin() : 0; in matchFlowPattern()
279 MachineBasicBlock *FSB = (FNS > 0) ? *FB->succ_begin() : 0; in matchFlowPattern()
487 MachineBasicBlock *TSB = *FP.TrueB->succ_begin(); in isProfitable()
488 MachineBasicBlock *FSB = *FP.FalseB->succ_begin(); in isProfitable()
530 MachineBasicBlock *SB = *FP.TrueB->succ_begin(); in isProfitable()
535 MachineBasicBlock *SB = *FP.FalseB->succ_begin(); in isProfitable()
832 TSB = *FP.TrueB->succ_begin(); in convert()
836 FSB = *FP.FalseB->succ_begin(); in convert()
847 MachineBasicBlock *T = *FP.SplitB->succ_begin(); in convert()
[all …]
/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp81 for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI) in runOnFunction()
144 while (BB->succ_begin() != BB->succ_end()) { in runOnMachineFunction()
145 MachineBasicBlock* succ = *BB->succ_begin(); in runOnMachineFunction()
159 BB->removeSuccessor(BB->succ_begin()); in runOnMachineFunction()
DMachineBranchProbabilityInfo.cpp42 std::find(Src->succ_begin(), Src->succ_end(), Dst)); in getEdgeProbability()
57 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getHotSucc()
DEdgeBundles.cpp47 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in runOnMachineFunction()
84 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in WriteGraph()
DMachineBasicBlock.cpp206 for (const_succ_iterator I = succ_begin(), E = succ_end(); I != E; ++I) in getLandingPadSuccessor()
213 for (const_succ_iterator I = succ_begin(), E = succ_end(); I != E; ++I) in hasEHPadSuccessor()
321 for (const_succ_iterator SI = succ_begin(), E = succ_end(); SI != E; ++SI) { in print()
435 for (succ_iterator SI = succ_begin(), SE = succ_end(); SI != SE; ++SI) { in updateTerminator()
471 for (succ_iterator SI = succ_begin(), SE = succ_end(); SI != SE; ++SI) { in updateTerminator()
574 for (succ_iterator I = succ_begin(); I != E; ++I) { in replaceSuccessor()
621 MachineBasicBlock *Succ = *FromMBB->succ_begin(); in transferSuccessors()
640 MachineBasicBlock *Succ = *FromMBB->succ_begin(); in transferSuccessorsAndUpdatePHIs()
665 return std::find(succ_begin(), succ_end(), MBB) != succ_end(); in isSuccessor()
1097 MachineBasicBlock::succ_iterator SI = succ_begin(); in CorrectExtraCFGEdges()
DTailDuplication.cpp216 SmallSetVector<MachineBasicBlock*, 8> Succs(MBB->succ_begin(), in TailDuplicateAndUpdate()
688 SmallPtrSet<MachineBasicBlock*, 8> Succs(TailBB->succ_begin(), in duplicateSimpleBB()
712 MachineBasicBlock *NewTarget = *TailBB->succ_begin(); in duplicateSimpleBB()
856 PredBB->removeSuccessor(PredBB->succ_begin()); in TailDuplicate()
859 for (MachineBasicBlock::succ_iterator I = TailBB->succ_begin(), in TailDuplicate()
915 PrevBB->removeSuccessor(PrevBB->succ_begin()); in TailDuplicate()
DMachineVerifier.cpp462 for (MachineBasicBlock::const_succ_iterator SuI = MBB->succ_begin(), in markReachable()
494 MInfo.Succs.insert(MBB.succ_begin(), MBB.succ_end()); in visitMachineFunctionBefore()
532 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in visitMachineBasicBlockBefore()
608 *MBB->succ_begin() != *LandingPadSuccs.begin())) { in visitMachineBasicBlockBefore()
636 else if (TBB != *MBB->succ_begin()) in visitMachineBasicBlockBefore()
642 } else if (!matchPair(MBB->succ_begin(), TBB, &*MBBI)) { in visitMachineBasicBlockBefore()
664 else if (TBB != *MBB->succ_begin()) in visitMachineBasicBlockBefore()
670 } else if (!matchPair(MBB->succ_begin(), TBB, FBB)) { in visitMachineBasicBlockBefore()
1239 for (MachineBasicBlock::const_succ_iterator SuI = MBB.succ_begin(), in calcRegsPassed()
1253 for (MachineBasicBlock::const_succ_iterator SuI = MBB->succ_begin(), in calcRegsPassed()
[all …]
DEarlyIfConversion.cpp346 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvertIf()
347 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvertIf()
356 Tail = Succ0->succ_begin()[0]; in canConvertIf()
362 Succ1->succ_begin()[0] != Tail) in canConvertIf()
/external/llvm/lib/Analysis/
DCFG.cpp38 VisitStack.push_back(std::make_pair(BB, succ_begin(BB))); in FindFunctionBackedges()
60 VisitStack.push_back(std::make_pair(BB, succ_begin(BB))); in FindFunctionBackedges()
165 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachableFromMany()
219 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachable()
DBranchProbabilityInfo.cpp133 for (succ_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in calcUnreachableHeuristics()
252 for (succ_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) in calcColdCallHeuristics()
342 for (succ_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in calcLoopBranchHeuristics()
528 for (succ_const_iterator SI = succ_begin(&BI), SE = succ_end(&BI); SI != SE; in print()
538 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in getSumForBlock()
561 for (succ_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in getHotSucc()
608 for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) in getEdgeWeight()
/external/llvm/lib/Support/
DDAGDeltaAlgorithm.cpp100 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anon7ef96bbb0111::DAGDeltaAlgorithmImpl
130 for (succ_iterator_ty it2 = succ_begin(*it), in ExecuteOneTest()
198 if (succ_begin(*it) == succ_end(*it)) in DAGDeltaAlgorithmImpl()
235 if (succ_begin(*it) != succ_end(*it)) { in DAGDeltaAlgorithmImpl()
237 for (succ_iterator_ty it2 = succ_begin(*it), in DAGDeltaAlgorithmImpl()
239 if (it2 != succ_begin(*it)) llvm::errs() << ", "; in DAGDeltaAlgorithmImpl()
/external/llvm/include/llvm/Analysis/
DInterval.h104 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin() function
129 return succ_begin(N);
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp789 BlockT *childBlk = *curBlk->succ_begin(); in serialPatternMatch()
824 && *trueBlk->succ_begin() == *falseBlk->succ_begin()) { in ifPatternMatch()
825 landBlk = *trueBlk->succ_begin(); in ifPatternMatch()
828 } else if (trueBlk->succ_size() == 1 && *trueBlk->succ_begin() == falseBlk) { in ifPatternMatch()
832 && *falseBlk->succ_begin() == trueBlk) { in ifPatternMatch()
837 landBlk = *falseBlk->succ_begin(); in ifPatternMatch()
840 landBlk = *trueBlk->succ_begin(); in ifPatternMatch()
1093 *exitBlk->succ_begin() != exitLandBlk)) { in loopbreakPatternMatch()
1221 num += serialPatternMatch(*headBlk->succ_begin()); in handleJumpintoIfImp()
1222 num += serialPatternMatch(*(++headBlk->succ_begin())); in handleJumpintoIfImp()
[all …]
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h310 succ_iterator succ_begin() { return Successors.begin(); }
311 const_succ_iterator succ_begin() const { return Successors.begin(); }
334 return make_range(succ_begin(), succ_end());
337 return make_range(succ_begin(), succ_end());
802 return N->succ_begin();
815 return N->succ_begin();
/external/llvm/lib/IR/
DBasicBlock.cpp239 succ_iterator SI = succ_begin(this), E = succ_end(this); in getSingleSuccessor()
247 succ_iterator SI = succ_begin(this), E = succ_end(this); in getUniqueSuccessor()
384 for (succ_iterator I = succ_begin(New), E = succ_end(New); I != E; ++I) { in splitBasicBlock()
/external/llvm/lib/Target/X86/
DX86VZeroUpper.cpp239 for (MachineBasicBlock::succ_iterator SI = MBB.succ_begin(), in processBasicBlock()
311 for (MachineBasicBlock::succ_iterator SI = MBB.succ_begin(), in runOnMachineFunction()
/external/clang/lib/Analysis/
DConsumed.cpp66 if (Block->succ_size() == 1 && *Block->succ_begin()) in getFirstStmtLoc()
67 return getFirstStmtLoc(*Block->succ_begin()); in getFirstStmtLoc()
87 if (Block->succ_size() == 1 && *Block->succ_begin()) in getLastStmtLoc()
88 Loc = getFirstStmtLoc(*Block->succ_begin()); in getLastStmtLoc()
1326 CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(); in splitState()
1418 (*CurrBlock->succ_begin())->pred_size() > 1)) { in run()
1422 for (CFGBlock::const_succ_iterator SI = CurrBlock->succ_begin(), in run()
DUninitializedValues.cpp229 for (CFGBlock::const_succ_iterator I = block->succ_begin(), in enqueueSuccessors()
618 for (CFGBlock::const_succ_iterator SI = Pred->succ_begin(), in getUninitUse()
643 for (CFGBlock::const_succ_iterator I = Block->succ_begin(), in getUninitUse()
664 Branch.Output = I - Block->succ_begin(); in getUninitUse()
/external/clang/include/clang/Analysis/
DCFG.h541 succ_iterator succ_begin() { return Succs.begin(); } in succ_begin() function
543 const_succ_iterator succ_begin() const { return Succs.begin(); } in succ_begin() function
612 return filtered_succ_iterator(succ_begin(), succ_end(), this, f); in filtered_succ_start_end()
1008 { return N->succ_begin(); }
1022 { return N->succ_begin(); }

12345