/external/llvm/include/llvm/IR/ |
D | CFG.h | 120 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/ |
D | CoreEngine.cpp | 185 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/ |
D | ExplodedGraph.h | 198 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/ |
D | HexagonEarlyIfConv.cpp | 207 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/ |
D | CFG.cpp | 38 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()
|
D | BranchProbabilityInfo.cpp | 131 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/llvm/lib/CodeGen/ |
D | UnreachableBlockElim.cpp | 60 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()
|
D | MachineBranchProbabilityInfo.cpp | 54 std::find(Src->succ_begin(), Src->succ_end(), Dst)); in getEdgeProbability() 67 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getHotSucc()
|
D | EdgeBundles.cpp | 47 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/lib/CodeGen/ |
D | UnreachableBlockElim.cpp | 84 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()
|
D | MachineBasicBlock.cpp | 181 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()
|
D | EdgeBundles.cpp | 49 for (MachineBasicBlock::const_succ_iterator SI = MBB.succ_begin(), in runOnMachineFunction() 90 for (MachineBasicBlock::const_succ_iterator SI = I->succ_begin(), in WriteGraph()
|
D | TailDuplication.cpp | 191 SmallSetVector<MachineBasicBlock*, 8> Succs(MBB->succ_begin(), in TailDuplicateAndUpdate() 620 for (MachineBasicBlock::const_succ_iterator SI = A.succ_begin(), in bothUsedInPHI() 632 SmallPtrSet<MachineBasicBlock*, 8> Succs(BB.succ_begin(), BB.succ_end()); in canCompletelyDuplicateBB() 657 SmallPtrSet<MachineBasicBlock*, 8> Succs(TailBB->succ_begin(), in duplicateSimpleBB() 681 MachineBasicBlock *NewTarget = *TailBB->succ_begin(); in duplicateSimpleBB() 720 if (NumSuccessors == 0 || *PredBB->succ_begin() != NewTarget) in duplicateSimpleBB() 808 PredBB->removeSuccessor(PredBB->succ_begin()); in TailDuplicate() 811 for (MachineBasicBlock::succ_iterator I = TailBB->succ_begin(), in TailDuplicate() 866 PrevBB->removeSuccessor(PrevBB->succ_begin()); in TailDuplicate()
|
D | MachineBranchProbabilityInfo.cpp | 33 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getSumForBlock() 72 for (MachineBasicBlock::const_succ_iterator I = MBB->succ_begin(), in getHotSucc()
|
/external/llvm/lib/Support/ |
D | DAGDeltaAlgorithm.cpp | 100 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anon1e7b99d80111::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/ |
D | DAGDeltaAlgorithm.cpp | 101 succ_iterator_ty succ_begin(change_ty Node) { in succ_begin() function in __anone6714d840111::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/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 390 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/ |
D | CFG.h | 220 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/ |
D | ProfileInfo.cpp | 98 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 …]
|
D | ProfileVerifierPass.cpp | 116 for ( succ_const_iterator bbi = succ_begin(BB), bbe = succ_end(BB); in printDebugInfo() 138 for ( succ_const_iterator bbi = succ_begin(BB), bbe = succ_end(BB); in printDebugInfo() 262 succ_const_iterator bbi = succ_begin(BB), bbe = succ_end(BB); in recurseBasicBlock() 341 for ( succ_const_iterator bbi = succ_begin(BB), bbe = succ_end(BB); in recurseBasicBlock()
|
/external/llvm/include/llvm/Analysis/ |
D | Interval.h | 106 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin() function 131 return succ_begin(N);
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 253 succ_iterator succ_begin() { return Successors.begin(); } 254 const_succ_iterator succ_begin() const { return Successors.begin(); } 277 return make_range(succ_begin(), succ_end()); 280 return make_range(succ_begin(), succ_end()); 747 return N->succ_begin(); 760 return N->succ_begin();
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | Interval.h | 107 inline Interval::succ_iterator succ_begin(Interval *I) { in succ_begin() function 132 return succ_begin(N);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 183 succ_iterator succ_begin() { return Successors.begin(); } 184 const_succ_iterator succ_begin() const { return Successors.begin(); } 475 return N->succ_begin(); 488 return N->succ_begin();
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 68 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI) in ChangeToUnreachable() 167 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI) in MarkAliveBlocks() 193 for (succ_iterator SI = succ_begin(BB), SE = succ_end(BB); SI != SE; ++SI) in RemoveUnreachableBlocksFromFn()
|