Home
last modified time | relevance | path

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

12345

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DCFG.h245 inline succ_iterator succ_begin(Instruction *I) { return succ_iterator(I); } in succ_begin() function
246 inline succ_const_iterator succ_begin(const Instruction *I) { in succ_begin() function
254 return succ_begin(I) == succ_end(I); in succ_empty()
257 return std::distance(succ_begin(I), succ_end(I)); in succ_size()
260 return succ_range(succ_begin(I), succ_end(I)); in successors()
263 return succ_const_range(succ_begin(I), succ_end(I)); in successors()
266 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() function
269 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin() function
279 return succ_begin(BB) == succ_end(BB); in succ_empty()
282 return std::distance(succ_begin(BB), succ_end(BB)); in succ_size()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DDAGDeltaAlgorithm.cpp99 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anona28619a20111::DAGDeltaAlgorithmImpl
129 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in ExecuteOneTest()
197 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), ie2 = succ_end(*it); in DAGDeltaAlgorithmImpl()
239 if (it2 != succ_begin(*it)) in DAGDeltaAlgorithmImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp233 MachineBasicBlock *SB = *B->succ_begin(); in isPreheader()
306 MachineBasicBlock *TSB = (TNS > 0) ? *TB->succ_begin() : nullptr; in matchFlowPattern()
307 MachineBasicBlock *FSB = (FNS > 0) ? *FB->succ_begin() : nullptr; in matchFlowPattern()
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()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp395 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
568 MachineBasicBlock::succ_iterator It = MBB->succ_begin(); in getFalseBranch()
656 for (MachineBasicBlock::succ_iterator It = SrcMBB->succ_begin(), in cloneSuccessorList()
927 MachineBasicBlock *childBlk = *MBB->succ_begin(); in serialPatternMatch()
961 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) { in ifPatternMatch()
963 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
964 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch()
969 && *FalseMBB->succ_begin() == TrueMBB) { in ifPatternMatch()
978 LandBlk = *FalseMBB->succ_begin(); in ifPatternMatch()
981 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
[all …]
DGCNSchedStrategy.cpp456 if (MBB->succ_size() == 1 && !(*MBB->succ_begin())->empty()) { in computeBlockPressure()
458 if (Ind->getMBBStartIdx(MBB) < Ind->getMBBStartIdx(*MBB->succ_begin())) in computeBlockPressure()
459 OnlySucc = *MBB->succ_begin(); in computeBlockPressure()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/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()
197 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachableFromMany()
253 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachable()
DBranchProbabilityInfo.cpp243 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) in calcUnreachableHeuristics()
389 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) in calcColdCallHeuristics()
571 std::find(succ_begin(BB), succ_end(BB), B) == succ_end(BB)) in computeUnlikelySuccessors()
617 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in calcLoopBranchHeuristics()
865 for (succ_const_iterator SI = succ_begin(&BI), SE = succ_end(&BI); SI != SE; in print()
884 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in getHotSucc()
928 for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) in getEdgeProbability()
936 uint32_t succ_num = std::distance(succ_begin(Src), succ_end(Src)); in getEdgeProbability()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp130 while (BB->succ_begin() != BB->succ_end()) { in runOnMachineFunction()
131 MachineBasicBlock* succ = *BB->succ_begin(); in runOnMachineFunction()
145 BB->removeSuccessor(BB->succ_begin()); in runOnMachineFunction()
DEdgeBundles.cpp48 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in runOnMachineFunction()
88 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in WriteGraph()
DMachineBasicBlock.cpp238 for (const_succ_iterator I = succ_begin(), E = succ_end(); I != E; ++I) in hasEHPadSuccessor()
361 for (auto I = succ_begin(), E = succ_end(); I != E; ++I) { in print()
362 if (I != succ_begin()) in print()
373 for (auto I = succ_begin(), E = succ_end(); I != E; ++I) { in print()
375 if (I != succ_begin()) in print()
554 for (succ_iterator SI = succ_begin(), SE = succ_end(); SI != SE; ++SI) { in updateTerminator()
594 for (succ_iterator SI = succ_begin(), SE = succ_end(); SI != SE; ++SI) { in updateTerminator()
724 for (succ_iterator I = succ_begin(); I != E; ++I) { in replaceSuccessor()
779 MachineBasicBlock *Succ = *FromMBB->succ_begin(); in transferSuccessors()
799 MachineBasicBlock *Succ = *FromMBB->succ_begin(); in transferSuccessorsAndUpdatePHIs()
[all …]
DTailDuplicator.cpp164 SmallSetVector<MachineBasicBlock *, 8> Succs(MBB->succ_begin(), in tailDuplicateAndUpdate()
709 SmallPtrSet<MachineBasicBlock *, 8> Succs(TailBB->succ_begin(), in duplicateSimpleBB()
730 MachineBasicBlock *NewTarget = *TailBB->succ_begin(); in duplicateSimpleBB()
869 PredBB->removeSuccessor(PredBB->succ_begin()); in tailDuplicate()
891 *PrevBB->succ_begin() == TailBB && in tailDuplicate()
930 PrevBB->removeSuccessor(PrevBB->succ_begin()); in tailDuplicate()
DMachineLoopUtils.cpp35 MachineBasicBlock *Exit = *Loop->succ_begin(); in PeelSingleBlockLoop()
37 Exit = *std::next(Loop->succ_begin()); in PeelSingleBlockLoop()
DWasmEHPrepare.cpp162 WL.append(succ_begin(BB), succ_end(BB)); in eraseDeadBBsAndChildren()
192 SmallVector<BasicBlock *, 4> Succs(succ_begin(BB), succ_end(BB)); in prepareThrows()
DMachineBranchProbabilityInfo.cpp73 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getHotSucc()
DEarlyIfConversion.cpp438 MachineBasicBlock *Succ0 = Head->succ_begin()[0]; in canConvertIf()
439 MachineBasicBlock *Succ1 = Head->succ_begin()[1]; in canConvertIf()
448 Tail = Succ0->succ_begin()[0]; in canConvertIf()
454 Succ1->succ_begin()[0] != Tail) in canConvertIf()
DMachineVerifier.cpp571 for (MachineBasicBlock::const_succ_iterator SuI = MBB->succ_begin(), in markReachable()
595 MInfo.Succs.insert(MBB.succ_begin(), MBB.succ_end()); in visitMachineFunctionBefore()
637 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in visitMachineBasicBlockBefore()
713 *MBB->succ_begin() != *LandingPadSuccs.begin())) { in visitMachineBasicBlockBefore()
741 else if (TBB != *MBB->succ_begin()) in visitMachineBasicBlockBefore()
747 } else if (!matchPair(MBB->succ_begin(), TBB, &*MBBI)) { in visitMachineBasicBlockBefore()
769 else if (TBB != *MBB->succ_begin()) in visitMachineBasicBlockBefore()
775 } else if (!matchPair(MBB->succ_begin(), TBB, FBB)) { in visitMachineBasicBlockBefore()
2140 for (MachineBasicBlock::const_succ_iterator SuI = MBB.succ_begin(), in calcRegsPassed()
2154 for (MachineBasicBlock::const_succ_iterator SuI = MBB->succ_begin(), in calcRegsPassed()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DInterval.h102 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin() function
126 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
DLoopIterator.h78 {succ_begin(Node.second), Node.first}, in child_begin()
86 {succ_begin(Node.second), Node.first}, in child_end()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h280 succ_iterator succ_begin() { return Successors.begin(); }
281 const_succ_iterator succ_begin() const { return Successors.begin(); }
304 return make_range(succ_begin(), succ_end());
307 return make_range(succ_begin(), succ_end());
875 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
884 static ChildIteratorType child_begin(NodeRef N) { return N->succ_begin(); }
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
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()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyLateEHPrepare.cpp93 SmallVector<MachineBasicBlock *, 4> Succs(MBB->succ_begin(), in eraseDeadBBsAndChildren()
95 WL.append(MBB->succ_begin(), MBB->succ_end()); in eraseDeadBBsAndChildren()
199 SmallVector<MachineBasicBlock *, 8> Succs(MBB.succ_begin(), in removeUnnecessaryUnreachables()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp165 MachineBasicBlock *OrigFallThrough = OrigTarget == *ThisMBB->succ_begin() in splitMBB()
167 : *ThisMBB->succ_begin(); in splitMBB()
209 auto MBBI = std::find(NewMBB->succ_begin(), NewMBB->succ_end(), OrigTarget); in splitMBB()
211 MBBI = std::find(NewMBB->succ_begin(), NewMBB->succ_end(), OrigFallThrough); in splitMBB()
DPPCBranchCoalescing.cpp297 (*Cand.BranchBlock->succ_begin() == Cand.BranchTargetBlock) in canCoalesceBranch()
299 : *Cand.BranchBlock->succ_begin(); in canCoalesceBranch()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp424 for (auto SI = succ_begin(Block); SI != succ_end(Block); ++SI) { in computeOutliningColdRegionsInfo()
485 for (auto SI = succ_begin(thisBB); SI != succ_end(thisBB); ++SI) { in computeOutliningColdRegionsInfo()
607 BasicBlock *Succ1 = *succ_begin(CurrEntry); in computeOutliningInfo()
608 BasicBlock *Succ2 = *(succ_begin(CurrEntry) + 1); in computeOutliningInfo()
684 BasicBlock *Succ1 = *succ_begin(Cand); in computeOutliningInfo()
685 BasicBlock *Succ2 = *(succ_begin(Cand) + 1); in computeOutliningInfo()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DBasicBlock.cpp276 succ_const_iterator SI = succ_begin(this), E = succ_end(this); in getSingleSuccessor()
284 succ_const_iterator SI = succ_begin(this), E = succ_end(this); in getUniqueSuccessor()

12345