Home
last modified time | relevance | path

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

123456

/external/llvm-project/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp394 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 …]
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp389 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-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp394 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 …]
DSIOptimizeExecMaskingPreRA.cpp155 if (It != MBB->end() || MBB->succ_size() != 1) in skipIgnoreExecInstsTrivialSucc()
375 if (Pred->succ_size() == 1) in runOnMachineFunction()
385 if (MBB.succ_size() != 1 || Lead == E || !isEndCF(*Lead, TRI, ST)) in runOnMachineFunction()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp89 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect()
93 if (pred->succ_size() != 1) in shouldCollect()
159 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode()
286 return pred_size() == 1 && succ_size() == 1 && in isTrivial()
288 getFirstPred()->succ_size() == 1; in isTrivial()
DCoreEngine.cpp88 assert(Entry->succ_size() == 1 && "Entry block must have 1 successor."); in ExecuteWorkList()
363 assert(B->succ_size() == 1); in HandleBlockExit()
411 assert(B->succ_size() == 1 && in HandleBlockExit()
425 assert(B->succ_size() == 2); in HandleBranch()
437 assert(B->succ_size() == 2); in HandleCleanupTemporaryBranch()
448 assert(B->succ_size() == 2); in HandleStaticInit()
/external/clang/lib/StaticAnalyzer/Core/
DCoreEngine.cpp176 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()
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()
/external/llvm-project/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp231 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()
880 while (FP.SplitB->succ_size() > 0) { in convert()
973 while (B->succ_size() > 0) in removeBlock()
1034 if (FP.SplitB->succ_size() != 1) in simplifyFlowGraph()
DHexagonCFGOptimizer.cpp158 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction()
200 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp205 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()
DHexagonCFGOptimizer.cpp147 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction()
190 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp231 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()
880 while (FP.SplitB->succ_size() > 0) { in convert()
973 while (B->succ_size() > 0) in removeBlock()
1032 if (FP.SplitB->succ_size() != 1) in simplifyFlowGraph()
DHexagonCFGOptimizer.cpp157 unsigned NumSuccs = MBB->succ_size(); in runOnMachineFunction()
199 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp526 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()
DTailDuplicator.cpp608 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()
/external/llvm-project/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp733 if (BB.succ_size() != Successors.size()) in hasSameSuccessors()
753 if (BB->succ_size() == 1) in shouldTailDuplicate()
936 if (BB->succ_size() != 2 || ViableSuccs.size() != 2) in isTrellis()
1186 if (Succ->succ_size() == 0) in canTailDuplicateUnplacedPreds()
1210 if ((NumDup > Succ->succ_size()) || !Duplicate) in canTailDuplicateUnplacedPreds()
1262 if (BB.succ_size() != 2) in precomputeTriangleChains()
1349 if (BB->succ_size() == 2) { in getLayoutSuccessorProbThreshold()
1880 if (Pred->succ_size() != 2) in canMoveBottomBlockToTop()
2063 << Pred->succ_size() << " successors, "; in findBestLoopTopHelper()
2065 if (Pred->succ_size() > 2) in findBestLoopTopHelper()
[all …]
DTailDuplicator.cpp682 if (TailBB->succ_size() != 1) in isSimpleBB()
703 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB()
780 assert(PredBB->succ_size() <= 1); in duplicateSimpleBB()
794 if (PredBB->succ_size() > 1) in canTailDuplicate()
916 if (PrevBB->succ_size() == 1 && in tailDuplicate()
996 if (PredBB->succ_size() != 1) in tailDuplicate()
DBranchFolding.cpp583 (!AfterPlacement || MBB1->succ_size() == 1)) { in ProfitableToMerge()
614 if (MBB->succ_size() != 0 && !MBB->canFallThrough()) in ProfitableToMerge()
631 (MBB1->succ_size() == 1 || !AfterPlacement) && in ProfitableToMerge()
740 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ? in CreateCommonTailOnlyBlock()
1146 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights()
1159 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1171 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1308 if (PredBB->succ_size() == 1) in salvageDebugInfoFromEmptyBlock()
1401 PrevBB.succ_size() == 1 && in OptimizeBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp700 if (BB.succ_size() != Successors.size()) in hasSameSuccessors()
720 if (BB->succ_size() == 1) in shouldTailDuplicate()
903 if (BB->succ_size() != 2 || ViableSuccs.size() != 2) in isTrellis()
1148 if (Succ->succ_size() == 0) in canTailDuplicateUnplacedPreds()
1175 if ((NumDup > Succ->succ_size()) || !Duplicate) in canTailDuplicateUnplacedPreds()
1227 if (BB.succ_size() != 2) in precomputeTriangleChains()
1314 if (BB->succ_size() == 2) { in getLayoutSuccessorProbThreshold()
1847 if (Pred->succ_size() != 2) in canMoveBottomBlockToTop()
2030 << Pred->succ_size() << " successors, "; in findBestLoopTopHelper()
2032 if (Pred->succ_size() > 2) in findBestLoopTopHelper()
[all …]
DTailDuplicator.cpp670 if (TailBB->succ_size() != 1) in isSimpleBB()
691 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB()
768 assert(PredBB->succ_size() <= 1); in duplicateSimpleBB()
782 if (PredBB->succ_size() > 1) in canTailDuplicate()
889 if (PrevBB->succ_size() == 1 && in tailDuplicate()
964 if (PredBB->succ_size() != 1) in tailDuplicate()
DBranchFolding.cpp630 (!AfterPlacement || MBB1->succ_size() == 1)) { in ProfitableToMerge()
661 if (MBB->succ_size() != 0 && !MBB->canFallThrough()) in ProfitableToMerge()
678 (MBB1->succ_size() == 1 || !AfterPlacement) && in ProfitableToMerge()
787 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ? in CreateCommonTailOnlyBlock()
1190 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights()
1203 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1215 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights()
1352 if (PredBB->succ_size() == 1) in salvageDebugInfoFromEmptyBlock()
1442 PrevBB.succ_size() == 1 && in OptimizeBlock()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h276 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl()
287 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()
/external/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h292 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl()
304 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h292 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl()
304 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()

123456