Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/R600/
DAMDILCFGStructurizer.cpp405 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo()
412 if (SrcMBB && SrcMBB->succ_size()==0) in singlePathTo()
587 assert(MBB->succ_size() == 2); in getFalseBranch()
676 bool IsReturn = (MBB->succ_size() == 0); in isReturnBlock()
779 assert(MBB->succ_size() <= 2); in prepare()
882 if (EntryMBB->succ_size() == 0) { in run()
986 if (MBB->succ_size() != 1) in serialPatternMatch()
1000 if (MBB->succ_size() != 2) in ifPatternMatch()
1022 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch()
1026 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch()
[all …]
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp497 assert(curBlk->succ_size() <= 2); in prepare()
647 if (entryBlk->succ_size() == 0) { in run()
785 if (curBlk->succ_size() != 1) { in serialPatternMatch()
802 if (curBlk->succ_size() != 2) { in ifPatternMatch()
823 if (trueBlk->succ_size() == 1 && falseBlk->succ_size() == 1 in ifPatternMatch()
826 } else if (trueBlk->succ_size() == 0 && falseBlk->succ_size() == 0) { in ifPatternMatch()
828 } else if (trueBlk->succ_size() == 1 && *trueBlk->succ_begin() == falseBlk) { in ifPatternMatch()
831 } else if (falseBlk->succ_size() == 1 in ifPatternMatch()
835 } else if (falseBlk->succ_size() == 1 in ifPatternMatch()
838 } else if (trueBlk->succ_size() == 1 in ifPatternMatch()
[all …]
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILCFGStructurizer.cpp497 assert(curBlk->succ_size() <= 2); in prepare()
647 if (entryBlk->succ_size() == 0) { in run()
785 if (curBlk->succ_size() != 1) { in serialPatternMatch()
802 if (curBlk->succ_size() != 2) { in ifPatternMatch()
823 if (trueBlk->succ_size() == 1 && falseBlk->succ_size() == 1 in ifPatternMatch()
826 } else if (trueBlk->succ_size() == 0 && falseBlk->succ_size() == 0) { in ifPatternMatch()
828 } else if (trueBlk->succ_size() == 1 && *trueBlk->succ_begin() == falseBlk) { in ifPatternMatch()
831 } else if (falseBlk->succ_size() == 1 in ifPatternMatch()
835 } else if (falseBlk->succ_size() == 1 in ifPatternMatch()
838 } else if (trueBlk->succ_size() == 1 in ifPatternMatch()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp146 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction()
188 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp99 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect()
103 if (pred->succ_size() != 1) in shouldCollect()
169 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode()
DCoreEngine.cpp175 assert (Entry->succ_size() == 1 && in ExecuteWorkList()
407 assert (B->succ_size() == 1); in HandleBlockExit()
446 assert (B->succ_size() == 1 && in HandleBlockExit()
455 assert(B->succ_size() == 2); in HandleBranch()
467 assert(B->succ_size() == 2); in HandleStaticInit()
DExprEngineCallAndReturn.cpp50 assert(Entry->succ_size() == 1); in processCallEnter()
DExprEngineC.cpp546 assert(SrcBlock->succ_size() == 2); in VisitLogicalExpr()
/external/llvm/lib/CodeGen/
DTailDuplication.cpp623 if (TailBB->succ_size() != 1) in isSimpleBB()
655 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB()
736 unsigned NumSuccessors = PredBB->succ_size(); in duplicateSimpleBB()
775 if (PredBB->succ_size() > 1) in TailDuplicate()
864 if (PrevBB->succ_size() == 1 && in TailDuplicate()
941 if (PredBB->succ_size() != 1) in TailDuplicate()
DMachineSink.cpp244 if (MBB.succ_size() <= 1 || MBB.empty()) return false; in ProcessBlock()
426 if (A->succ_size() != 2) in isPostDominatedBy()
432 if (OtherSuccBlock->succ_size() != 1 || in isPostDominatedBy()
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()
1184 Statistic &NumBranches = (I->succ_size() > 1) ? NumCondBranches in INITIALIZE_PASS_DEPENDENCY()
1186 Statistic &BranchTakenFreq = (I->succ_size() > 1) ? CondBranchTakenFreq in INITIALIZE_PASS_DEPENDENCY()
DMachineBranchProbabilityInfo.cpp36 assert(MBB->succ_size() < UINT32_MAX); in getSumForBlock()
DMachineVerifier.cpp481 if (MInfo.Succs.size() != MBB.succ_size()) in visitMachineFunctionBefore()
569 } else if (MBB->succ_size() == LandingPadSuccs.size()) { in visitMachineBasicBlockBefore()
573 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore()
591 if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore()
614 } else if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore()
622 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore()
642 if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore()
650 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore()
DEarlyIfConversion.cpp344 if (Head->succ_size() != 2) in canConvertIf()
353 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf()
361 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
DRegisterCoalescer.cpp241 if (MBB->pred_size() != 1 || MBB->succ_size() != 1) in isSplitEdge()
2072 unsigned cl = LHS->MBB->pred_size() + LHS->MBB->succ_size(); in compareMBBPriority()
2073 unsigned cr = RHS->MBB->pred_size() + RHS->MBB->succ_size(); in compareMBBPriority()
DPHIElimination.cpp561 if (PreMBB->succ_size() == 1) in SplitPHIEdges()
DBranchFolding.cpp691 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ? in CreateCommonTailOnlyBlock()
1135 PrevBB.succ_size() == 1 && in OptimizeBlock()
/external/clang/lib/Analysis/
DUninitializedValues.cpp526 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse()
566 if (++SV == Pred->succ_size()) in getUninitUse()
579 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse()
587 if (Succ && SuccsVisited[Succ->getBlockID()] >= Succ->succ_size() && in getUninitUse()
DReachableCode.cpp95 assert(Current->succ_size() == 2); in isDeadReturn()
97 } else if (!Current->getTerminator() && Current->succ_size() == 1) { in isDeadReturn()
DConsumed.cpp66 if (Block->succ_size() == 1 && *Block->succ_begin()) in getFirstStmtLoc()
87 if (Block->succ_size() == 1 && *Block->succ_begin()) in getLastStmtLoc()
1430 if (CurrBlock->succ_size() > 1 || in run()
1431 (CurrBlock->succ_size() == 1 && in run()
DThreadSafetyCommon.cpp723 unsigned N = B->succ_size(); in exitCFGBlockBody()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp440 if (Head->succ_size() != 2) in canConvert()
450 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
/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.h298 unsigned succ_size() const {
/external/clang/include/clang/Analysis/
DCFG.h553 unsigned succ_size() const { return Succs.size(); } in succ_size() function

12