/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 394 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo() 401 if (SrcMBB && SrcMBB->succ_size()==0) in singlePathTo() 566 assert(MBB->succ_size() == 2); in getFalseBranch() 645 bool IsReturn = (MBB->succ_size() == 0); in isReturnBlock() 742 assert(MBB->succ_size() <= 2); in prepare() 836 if (EntryMBB->succ_size() == 0) { in run() 924 if (MBB->succ_size() != 1) in serialPatternMatch() 938 if (MBB->succ_size() != 2) in ifPatternMatch() 960 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch() 964 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch() [all …]
|
D | SIOptimizeExecMaskingPreRA.cpp | 168 if (Pred->succ_size() == 1) in runOnMachineFunction() 177 if (MBB.succ_size() != 1 || Lead == E || !isEndCF(*Lead, TRI)) in runOnMachineFunction()
|
/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 389 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo() 396 if (SrcMBB && SrcMBB->succ_size()==0) in singlePathTo() 563 assert(MBB->succ_size() == 2); in getFalseBranch() 642 bool IsReturn = (MBB->succ_size() == 0); in isReturnBlock() 742 assert(MBB->succ_size() <= 2); in prepare() 845 if (EntryMBB->succ_size() == 0) { in run() 949 if (MBB->succ_size() != 1) in serialPatternMatch() 963 if (MBB->succ_size() != 2) in ifPatternMatch() 985 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch() 989 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch() [all …]
|
/external/swiftshader/third_party/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 | 604 if (TailBB->succ_size() != 1) in isSimpleBB() 638 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB() 718 unsigned NumSuccessors = PredBB->succ_size(); in duplicateSimpleBB() 757 if (PredBB->succ_size() > 1) in TailDuplicate() 827 if (PrevBB->succ_size() == 1 && in TailDuplicate() 903 if (PredBB->succ_size() != 1) in TailDuplicate()
|
D | MachineVerifier.cpp | 427 } else if (MBB->succ_size() == LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 431 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 449 if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 472 } if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore() 492 if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | CoreEngine.cpp | 176 assert (Entry->succ_size() == 1 && in ExecuteWorkList() 425 assert (B->succ_size() == 1); in HandleBlockExit() 464 assert (B->succ_size() == 1 && in HandleBlockExit() 478 assert(B->succ_size() == 2); in HandleBranch() 490 assert(B->succ_size() == 2); in HandleCleanupTemporaryBranch() 501 assert(B->succ_size() == 2); in HandleStaticInit()
|
D | ExplodedGraph.cpp | 99 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()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 205 if (B->succ_size() != 1) in isPreheader() 263 unsigned TNS = TB->succ_size(), FNS = FB->succ_size(); in matchFlowPattern() 342 if (B->succ_size() == 0) in isValidCandidate() 527 if (FP.TrueB && FP.TrueB->succ_size() > 0) { in isProfitable() 532 if (FP.FalseB && FP.FalseB->succ_size() > 0) { in isProfitable() 844 while (FP.SplitB->succ_size() > 0) { in convert() 936 while (B->succ_size() > 0) in removeBlock() 1017 if (FP.SplitB->succ_size() != 1) in simplifyFlowGraph()
|
D | HexagonCFGOptimizer.cpp | 147 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction() 190 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 232 if (B->succ_size() != 1) in isPreheader() 287 unsigned TNS = TB->succ_size(), FNS = FB->succ_size(); in matchFlowPattern() 367 if (B->succ_size() == 0) in isValidCandidate() 573 if (FP.TrueB && FP.TrueB->succ_size() > 0) { in isProfitable() 578 if (FP.FalseB && FP.FalseB->succ_size() > 0) { in isProfitable() 882 while (FP.SplitB->succ_size() > 0) { in convert() 975 while (B->succ_size() > 0) in removeBlock() 1034 if (FP.SplitB->succ_size() != 1) in simplifyFlowGraph()
|
D | HexagonCFGOptimizer.cpp | 158 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction() 200 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
|
/external/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 526 if (BB->succ_size() == 2) { in getLayoutSuccessorProbThreshold() 920 << Pred->succ_size() << " successors, "; in findBestLoopTop() 922 if (Pred->succ_size() > 1) in findBestLoopTop() 942 (*BestPred->pred_begin())->succ_size() == 1 && in findBestLoopTop() 1151 if (Pred->succ_size() == 1) in rotateLoopWithProfile() 1222 if (TailBB->succ_size() == 1) in rotateLoopWithProfile() 1225 else if (TailBB->succ_size() == 2) { in rotateLoopWithProfile() 1389 if (MBB.succ_size() == 0) { in collectMustExecuteBBs() 1759 (MBB.succ_size() > 1) ? NumCondBranches : NumUncondBranches; in INITIALIZE_PASS_DEPENDENCY() 1761 (MBB.succ_size() > 1) ? CondBranchTakenFreq : UncondBranchTakenFreq; in INITIALIZE_PASS_DEPENDENCY()
|
D | TailDuplicator.cpp | 608 if (TailBB->succ_size() != 1) in isSimpleBB() 629 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB() 709 assert(PredBB->succ_size() <= 1); in duplicateSimpleBB() 748 if (PredBB->succ_size() > 1) in tailDuplicate() 816 if (PrevBB->succ_size() == 1 && in tailDuplicate() 885 if (PredBB->succ_size() != 1) in tailDuplicate()
|
D | MachineVerifier.cpp | 550 if (MInfo.Succs.size() != MBB.succ_size()) in visitMachineFunctionBefore() 637 } else if (MBB->succ_size() == LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 641 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 661 if (MBB->succ_size() != 1+LandingPadSuccs.size() && in visitMachineBasicBlockBefore() 662 (MBB->succ_size() != 1 || LandingPadSuccs.size() != 1 || in visitMachineBasicBlockBefore() 686 } else if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore() 694 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore() 714 if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore() 722 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore()
|
D | EarlyIfConversion.cpp | 344 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()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 680 if (BB.succ_size() != Successors.size()) in hasSameSuccessors() 700 if (BB->succ_size() == 1) in shouldTailDuplicate() 883 if (BB->succ_size() != 2 || ViableSuccs.size() != 2) in isTrellis() 1161 if (BB.succ_size() != 2) in precomputeTriangleChains() 1248 if (BB->succ_size() == 2) { in getLayoutSuccessorProbThreshold() 1799 << Pred->succ_size() << " successors, "; in findBestLoopTop() 1801 if (Pred->succ_size() > 1) in findBestLoopTop() 1821 (*BestPred->pred_begin())->succ_size() == 1 && in findBestLoopTop() 2074 if (Pred->succ_size() == 1) in rotateLoopWithProfile() 2145 if (TailBB->succ_size() == 1) in rotateLoopWithProfile() [all …]
|
D | TailDuplicator.cpp | 664 if (TailBB->succ_size() != 1) in isSimpleBB() 685 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB() 762 assert(PredBB->succ_size() <= 1); in duplicateSimpleBB() 776 if (PredBB->succ_size() > 1) in canTailDuplicate() 888 if (PrevBB->succ_size() == 1 && in tailDuplicate() 963 if (PredBB->succ_size() != 1) in tailDuplicate()
|
D | BranchFolding.cpp | 663 (!AfterPlacement || MBB1->succ_size() == 1)) { in ProfitableToMerge() 694 if (MBB->succ_size() != 0 && !MBB->canFallThrough()) in ProfitableToMerge() 711 (MBB1->succ_size() == 1 || !AfterPlacement) && in ProfitableToMerge() 816 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ? in CreateCommonTailOnlyBlock() 1244 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights() 1257 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights() 1269 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights() 1404 if (PredBB->succ_size() == 1) in salvageDebugInfoFromEmptyBlock() 1494 PrevBB.succ_size() == 1 && in OptimizeBlock()
|
D | EarlyIfConversion.cpp | 345 if (Head->succ_size() != 2) in canConvertIf() 354 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf() 362 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
|
D | MachineVerifier.cpp | 578 if (MInfo.Succs.size() != MBB.succ_size()) in visitMachineFunctionBefore() 667 } else if (MBB->succ_size() == LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 671 } else if (MBB->succ_size() != 1+LandingPadSuccs.size()) { in visitMachineBasicBlockBefore() 691 if (MBB->succ_size() != 1+LandingPadSuccs.size() && in visitMachineBasicBlockBefore() 692 (MBB->succ_size() != 1 || LandingPadSuccs.size() != 1 || in visitMachineBasicBlockBefore() 716 } else if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore() 724 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore() 744 if (MBB->succ_size() == 1) { in visitMachineBasicBlockBefore() 752 } else if (MBB->succ_size() != 2) { in visitMachineBasicBlockBefore()
|
/external/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegBankSelect.h | 276 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl() 287 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegBankSelect.h | 293 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl() 305 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()
|
/external/clang/lib/Analysis/ |
D | UninitializedValues.cpp | 585 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse() 625 if (++SV == Pred->succ_size()) in getUninitUse() 638 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse() 646 if (Succ && SuccsVisited[Succ->getBlockID()] >= Succ->succ_size() && in getUninitUse()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 91 if (CompBr == PredMBB->end() || PredMBB->succ_size() != 2) in optimizeCopy()
|