Home
last modified time | relevance | path

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

1234567891011

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DCFG.h131 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() function
134 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin() function
144 return succ_begin(BB) == succ_end(BB); in succ_empty()
147 return std::distance(succ_begin(BB), succ_end(BB)); in succ_size()
150 return succ_range(succ_begin(BB), succ_end(BB)); in successors()
153 return succ_const_range(succ_begin(BB), succ_end(BB)); in successors()
173 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
183 static ChildIteratorType child_begin(NodeRef N) { return succ_begin(N); }
/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/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp185 const CFGBlock *Succ = *(Entry->succ_begin()); in ExecuteWorkList()
392 for (CFGBlock::const_succ_iterator it = B->succ_begin(), in HandleBlockExit()
429 *(B->succ_begin()), this); in HandleBlockExit()
467 generateNode(BlockEdge(B, *(B->succ_begin()), Pred->getLocationContext()), in HandleBlockExit()
482 *(B->succ_begin()), *(B->succ_begin()+1)); in HandleBranch()
493 SubEng.processCleanupTemporaryBranch(BTE, Ctx, Pred, Dst, *(B->succ_begin()), in HandleCleanupTemporaryBranch()
494 *(B->succ_begin() + 1)); in HandleCleanupTemporaryBranch()
505 *(B->succ_begin()), *(B->succ_begin()+1)); in HandleStaticInit()
/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()
463 return N->succ_begin();
489 return N->succ_begin();
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp207 MachineBasicBlock *SB = *B->succ_begin(); in isPreheader()
276 MachineBasicBlock *TSB = (TNS > 0) ? *TB->succ_begin() : 0; in matchFlowPattern()
277 MachineBasicBlock *FSB = (FNS > 0) ? *FB->succ_begin() : 0; in matchFlowPattern()
485 MachineBasicBlock *TSB = *FP.TrueB->succ_begin(); in isProfitable()
486 MachineBasicBlock *FSB = *FP.FalseB->succ_begin(); in isProfitable()
528 MachineBasicBlock *SB = *FP.TrueB->succ_begin(); in isProfitable()
533 MachineBasicBlock *SB = *FP.FalseB->succ_begin(); in isProfitable()
830 TSB = *FP.TrueB->succ_begin(); in convert()
834 FSB = *FP.FalseB->succ_begin(); in convert()
845 MachineBasicBlock *T = *FP.SplitB->succ_begin(); in convert()
[all …]
/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.cpp131 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in calcUnreachableHeuristics()
260 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) in calcColdCallHeuristics()
355 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in calcLoopBranchHeuristics()
545 for (succ_const_iterator SI = succ_begin(&BI), SE = succ_end(&BI); SI != SE; in print()
564 for (succ_const_iterator I = succ_begin(BB), E = succ_end(BB); I != E; ++I) { in getHotSucc()
593 static_cast<uint32_t>(std::distance(succ_begin(Src), succ_end(Src)))}; in getEdgeProbability()
609 for (succ_const_iterator I = succ_begin(Src), E = succ_end(Src); I != E; ++I) in getEdgeProbability()
617 uint32_t succ_num = std::distance(succ_begin(Src), succ_end(Src)); in getEdgeProbability()
/external/swiftshader/third_party/llvm-7.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()
165 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachableFromMany()
219 Worklist.append(succ_begin(BB), succ_end(BB)); in isPotentiallyReachable()
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DUnreachableBlockElim.cpp84 for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI) in runOnFunction()
151 while (BB->succ_begin() != BB->succ_end()) { in runOnMachineFunction()
152 MachineBasicBlock* succ = *BB->succ_begin(); in runOnMachineFunction()
166 BB->removeSuccessor(BB->succ_begin()); in runOnMachineFunction()
DMachineBasicBlock.cpp181 for (const_succ_iterator I = succ_begin(), E = succ_end(); I != E; ++I) in getLandingPadSuccessor()
254 for (const_succ_iterator SI = succ_begin(), E = succ_end(); SI != E; ++SI) in print()
301 TBB = *succ_begin(); in updateTerminator()
321 MachineBasicBlock *MBBA = *succ_begin(); in updateTerminator()
322 MachineBasicBlock *MBBB = *llvm::next(succ_begin()); in updateTerminator()
414 MachineBasicBlock *Succ = *fromMBB->succ_begin(); in transferSuccessors()
433 MachineBasicBlock *Succ = *fromMBB->succ_begin(); in transferSuccessorsAndUpdatePHIs()
739 MachineBasicBlock::succ_iterator SI = succ_begin(); in CorrectExtraCFGEdges()
DEdgeBundles.cpp49 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in runOnMachineFunction()
90 for (MachineBasicBlock::const_succ_iterator SI = I->succ_begin(), in WriteGraph()
/external/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp60 for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI) in eliminateUnreachableBlock()
158 while (BB->succ_begin() != BB->succ_end()) { in runOnMachineFunction()
159 MachineBasicBlock* succ = *BB->succ_begin(); in runOnMachineFunction()
173 BB->removeSuccessor(BB->succ_begin()); in runOnMachineFunction()
DMachineBranchProbabilityInfo.cpp54 std::find(Src->succ_begin(), Src->succ_end(), Dst)); in getEdgeProbability()
67 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DDAGDeltaAlgorithm.cpp100 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anonb529823c0111::DAGDeltaAlgorithmImpl
130 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in ExecuteOneTest()
198 if (succ_begin(*it) == succ_end(*it)) in DAGDeltaAlgorithmImpl()
236 if (succ_begin(*it) != succ_end(*it)) { in DAGDeltaAlgorithmImpl()
238 for (succ_iterator_ty it2 = succ_begin(*it), ie2 = succ_end(*it); in DAGDeltaAlgorithmImpl()
240 if (it2 != succ_begin(*it)) in DAGDeltaAlgorithmImpl()
/external/llvm/lib/Support/
DDAGDeltaAlgorithm.cpp100 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anon2e55d3e40111::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/swiftshader/third_party/LLVM/lib/Support/
DDAGDeltaAlgorithm.cpp101 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anon383d6b900111::DAGDeltaAlgorithmImpl
131 for (succ_iterator_ty it2 = succ_begin(*it), in ExecuteOneTest()
204 if (succ_begin(*it) == succ_end(*it)) in DAGDeltaAlgorithmImpl()
241 if (succ_begin(*it) != succ_end(*it)) { in DAGDeltaAlgorithmImpl()
243 for (succ_iterator_ty it2 = succ_begin(*it), in DAGDeltaAlgorithmImpl()
245 if (it2 != succ_begin(*it)) llvm::errs() << ", "; in DAGDeltaAlgorithmImpl()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DUnreachableBlockElim.cpp61 for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI) in eliminateUnreachableBlock()
159 while (BB->succ_begin() != BB->succ_end()) { in runOnMachineFunction()
160 MachineBasicBlock* succ = *BB->succ_begin(); in runOnMachineFunction()
174 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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp234 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()
868 TSB = *FP.TrueB->succ_begin(); in convert()
872 FSB = *FP.FalseB->succ_begin(); in convert()
883 MachineBasicBlock *T = *FP.SplitB->succ_begin(); in convert()
[all …]
/external/swiftshader/third_party/llvm-7.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 …]
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp390 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
565 MachineBasicBlock::succ_iterator It = MBB->succ_begin(); in getFalseBranch()
654 for (MachineBasicBlock::succ_iterator It = SrcMBB->succ_begin(), in cloneSuccessorList()
952 MachineBasicBlock *childBlk = *MBB->succ_begin(); in serialPatternMatch()
986 && *TrueMBB->succ_begin() == *FalseMBB->succ_begin()) { in ifPatternMatch()
988 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
989 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch()
994 && *FalseMBB->succ_begin() == TrueMBB) { in ifPatternMatch()
1003 LandBlk = *FalseMBB->succ_begin(); in ifPatternMatch()
1006 LandBlk = *TrueMBB->succ_begin(); in ifPatternMatch()
[all …]
/external/swiftshader/third_party/LLVM/include/llvm/Support/
DCFG.h220 inline succ_iterator succ_begin(BasicBlock *BB) { in succ_begin() function
223 inline succ_const_iterator succ_begin(const BasicBlock *BB) { in succ_begin() function
248 return succ_begin(N);
262 return succ_begin(N);
/external/swiftshader/third_party/LLVM/lib/Analysis/
DProfileInfo.cpp98 succ_const_iterator SI = succ_begin(BB), SE = succ_end(BB); in getExecutionCount()
250 succ_const_iterator Succ = succ_begin(BB), End = succ_end(BB); in GetPath()
386 for(succ_const_iterator BBI = succ_begin(FirstBB), BBE = succ_end(FirstBB); in splitEdge()
528 succ_const_iterator sbbi = succ_begin(BB), sbbe = succ_end(BB); in CalculateMissingEdge()
599 succ_const_iterator sbbi = succ_begin(BB), sbbe = succ_end(BB); in EstimateMissingEdges()
681 succ_const_iterator NBB = succ_begin(BB), End = succ_end(BB); in repair()
751 for (succ_const_iterator Succ = succ_begin(BB), End = succ_end(BB); in repair()
803 for (succ_const_iterator NBB = succ_begin(BB), End = succ_end(BB); in repair()
818 for (succ_const_iterator NBB = succ_begin(BB), End = succ_end(BB); in repair()
859 for (succ_const_iterator NBB = succ_begin(BB), End = succ_end(BB); in repair()
[all …]
/external/llvm/include/llvm/Analysis/
DInterval.h106 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin() function
131 return succ_begin(N);

1234567891011