Home
last modified time | relevance | path

Searched refs:succ_size (Results 1 – 25 of 28) sorted by relevance

12

/external/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp377 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/
DShrinkWrapping.cpp496 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()
DTailDuplication.cpp615 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()
DMachineSink.cpp252 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()
DMachineVerifier.cpp472 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()
DMachineBlockPlacement.cpp572 << 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()
DMachineBranchProbabilityInfo.cpp36 assert(MBB->succ_size() < UINT32_MAX); in getSumForBlock()
DEarlyIfConversion.cpp343 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()
DCodePlacementOpt.cpp117 if (1u + !Cond.empty() != MBB->succ_size()) in HasAnalyzableTerminator()
DRegisterCoalescer.cpp240 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()
DPHIElimination.cpp556 if (PreMBB->succ_size() == 1) in SplitPHIEdges()
DMachineBasicBlock.cpp226 if (succ_size() > 2) in getLandingPadSuccessor()
DMachineLICM.cpp720 if (BB->succ_size() >= 25) in HoistOutOfLoop()
DBranchFolding.cpp1120 PrevBB.succ_size() == 1 && in OptimizeBlock()
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp139 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction()
181 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp98 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()
DCoreEngine.cpp175 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()
DExprEngineCallAndReturn.cpp47 assert(Entry->succ_size() == 1); in processCallEnter()
DExprEngineC.cpp545 assert(SrcBlock->succ_size() == 2); in VisitLogicalExpr()
DBugReporterVisitors.cpp1124 assert(srcBlk->succ_size() == 2); in VisitTerminator()
/external/clang/lib/Analysis/
DUninitializedValues.cpp528 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/
DExplodedGraph.h180 unsigned succ_size() const { return Succs.size(); } in succ_size() function
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h285 unsigned succ_size() const {
/external/clang/include/clang/Analysis/
DCFG.h445 unsigned succ_size() const { return Succs.size(); } in succ_size() function
/external/clang/lib/Sema/
DAnalysisBasedWarnings.cpp909 while (B->empty() && !Term && B->succ_size() == 1) { in DiagnoseSwitchLabelsFallthrough()

12