/external/llvm/lib/Target/R600/ |
D | AMDILCFGStructurizer.cpp | 377 assert(curBlk->succ_size() <= 2); in prepare() 510 if (entryBlk->succ_size() == 0) { in run() 646 if (curBlk->succ_size() != 1) { in serialPatternMatch() 663 if (curBlk->succ_size() != 2) { in ifPatternMatch() 684 if (trueBlk->succ_size() == 1 && falseBlk->succ_size() == 1 in ifPatternMatch() 687 } else if (trueBlk->succ_size() == 0 && falseBlk->succ_size() == 0) { in ifPatternMatch() 689 } else if (trueBlk->succ_size() == 1 && *trueBlk->succ_begin() == falseBlk) { in ifPatternMatch() 692 } else if (falseBlk->succ_size() == 1 in ifPatternMatch() 696 } else if (falseBlk->succ_size() == 1 in ifPatternMatch() 699 } else if (trueBlk->succ_size() == 1 in ifPatternMatch() [all …]
|
/external/llvm/lib/CodeGen/ |
D | ShrinkWrapping.cpp | 496 if (MBB == EntryBlock || CSRUsed[MBB].empty() || MBB->succ_size() < 1) in calculateSets() 558 if (MBB->succ_size() < 2 && MBB->pred_size() < 2) { in addUsesForMEMERegion() 568 if (!CSRRestore[MBB].empty() && MBB->succ_size() > 0) { in addUsesForMEMERegion() 572 if (PRED->succ_size() > 1) { in addUsesForMEMERegion() 662 if (EXB->succ_size() > 1 || EXB->pred_size() > 1) in addUsesForTopLevelLoops() 775 if (MBB->succ_size() && ! CSRRestore[MBB].empty()) { in calcRestorePlacements() 912 if (SBB->succ_size() > 1) { in findFastExitPath() 942 if (isReturnBlock(MBB) || MBB->succ_size() == 0) in verifySpillRestorePlacement() 983 if (isReturnBlock(SBB) || SBB->succ_size() == 0) { in verifySpillRestorePlacement()
|
D | TailDuplication.cpp | 615 if (TailBB->succ_size() != 1) in isSimpleBB() 649 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB() 729 unsigned NumSuccessors = PredBB->succ_size(); in duplicateSimpleBB() 768 if (PredBB->succ_size() > 1) in TailDuplicate() 857 if (PrevBB->succ_size() == 1 && in TailDuplicate() 934 if (PredBB->succ_size() != 1) in TailDuplicate()
|
D | MachineSink.cpp | 252 if (MBB.succ_size() <= 1 || MBB.empty()) return false; in ProcessBlock() 417 if (A->succ_size() != 2) in isPostDominatedBy() 423 if (OtherSuccBlock->succ_size() != 1 || in isPostDominatedBy()
|
D | MachineVerifier.cpp | 472 if (MInfo.Succs.size() != I->succ_size()) in visitMachineFunctionBefore() 555 } else if (MBB->succ_size() == LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 559 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 577 if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 600 } else if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore() 608 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore() 628 if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore() 636 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore()
|
D | MachineBlockPlacement.cpp | 572 << Pred->succ_size() << " successors, " in findBestLoopTop() 574 if (Pred->succ_size() > 1) in findBestLoopTop() 592 (*BestPred->pred_begin())->succ_size() == 1 && in findBestLoopTop() 1146 Statistic &NumBranches = (I->succ_size() > 1) ? NumCondBranches in INITIALIZE_PASS_DEPENDENCY() 1148 Statistic &BranchTakenFreq = (I->succ_size() > 1) ? CondBranchTakenFreq in INITIALIZE_PASS_DEPENDENCY()
|
D | MachineBranchProbabilityInfo.cpp | 36 assert(MBB->succ_size() < UINT32_MAX); in getSumForBlock()
|
D | EarlyIfConversion.cpp | 343 if (Head->succ_size() != 2) in canConvertIf() 352 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf() 360 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
|
D | CodePlacementOpt.cpp | 117 if (1u + !Cond.empty() != MBB->succ_size()) in HasAnalyzableTerminator()
|
D | RegisterCoalescer.cpp | 240 if (MBB->pred_size() != 1 || MBB->succ_size() != 1) in isSplitEdge() 2001 unsigned cl = LHS->MBB->pred_size() + LHS->MBB->succ_size(); in compareMBBPriority() 2002 unsigned cr = RHS->MBB->pred_size() + RHS->MBB->succ_size(); in compareMBBPriority()
|
D | PHIElimination.cpp | 556 if (PreMBB->succ_size() == 1) in SplitPHIEdges()
|
D | MachineBasicBlock.cpp | 226 if (succ_size() > 2) in getLandingPadSuccessor()
|
D | MachineLICM.cpp | 720 if (BB->succ_size() >= 25) in HoistOutOfLoop()
|
D | BranchFolding.cpp | 1120 PrevBB.succ_size() == 1 && in OptimizeBlock()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCFGOptimizer.cpp | 139 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction() 181 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExplodedGraph.cpp | 98 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect() 102 if (pred->succ_size() != 1) in shouldCollect() 164 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode()
|
D | CoreEngine.cpp | 175 assert (Entry->succ_size() == 1 && in ExecuteWorkList() 402 assert (B->succ_size() == 1); in HandleBlockExit() 441 assert (B->succ_size() == 1 && in HandleBlockExit() 450 assert(B->succ_size() == 2); in HandleBranch()
|
D | ExprEngineCallAndReturn.cpp | 47 assert(Entry->succ_size() == 1); in processCallEnter()
|
D | ExprEngineC.cpp | 545 assert(SrcBlock->succ_size() == 2); in VisitLogicalExpr()
|
D | BugReporterVisitors.cpp | 1124 assert(srcBlk->succ_size() == 2); in VisitTerminator()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 528 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse() 550 if (++SV == Pred->succ_size()) in getUninitUse() 563 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse() 571 if (Succ && SuccsVisited[Succ->getBlockID()] >= Succ->succ_size() && in getUninitUse()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExplodedGraph.h | 180 unsigned succ_size() const { return Succs.size(); } in succ_size() function
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 285 unsigned succ_size() const {
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 445 unsigned succ_size() const { return Succs.size(); } in succ_size() function
|
/external/clang/lib/Sema/ |
D | AnalysisBasedWarnings.cpp | 909 while (B->empty() && !Term && B->succ_size() == 1) { in DiagnoseSwitchLabelsFallthrough()
|