/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600MachineCFGStructurizer.cpp | 372 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo() 379 if (SrcMBB && SrcMBB->succ_size()==0) in singlePathTo() 544 assert(MBB->succ_size() == 2); in getFalseBranch() 712 assert(MBB->succ_size() <= 2); in prepare() 891 if (MBB->succ_size() != 1) in serialPatternMatch() 905 if (MBB->succ_size() != 2) in ifPatternMatch() 927 if (TrueMBB->succ_size() == 1 && FalseMBB->succ_size() == 1 in ifPatternMatch() 931 } else if (TrueMBB->succ_size() == 1 && *TrueMBB->succ_begin() == FalseMBB) { in ifPatternMatch() 935 } else if (FalseMBB->succ_size() == 1 in ifPatternMatch() 943 } else if (FalseMBB->succ_size() == 1 in ifPatternMatch() [all …]
|
H A D | SILowerControlFlow.cpp | 466 if (B->succ_size() != 1) in skipIgnoreExecInstsTrivialSucc() 716 assert(MBB.succ_size() == 1 && "MBB has more than one successor"); in removeMBBifRedundant()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineSSAContext.h | 27 inline unsigned succ_size(const MachineBasicBlock *BB) { 28 return BB->succ_size(); 29 inline unsigned succ_size(const MachineBasicBlock *BB) { succ_size() function
|
H A D | MachineRegionInfo.h | 45 return BB->succ_size();
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExplodedGraph.cpp | 88 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect() 92 if (pred->succ_size() != 1) in shouldCollect() 158 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode() 284 return pred_size() == 1 && succ_size() == 1 && in isTrivial() 286 getFirstPred()->succ_size() == 1; in isTrivial()
|
H A D | CoreEngine.cpp | 97 assert(Entry->succ_size() == 1 && "Entry block must have 1 successor."); in ExecuteWorkList() 381 assert(B->succ_size() == 1); in HandleBlockExit() 429 assert(B->succ_size() == 1 && in HandleBlockExit() 443 assert(B->succ_size() == 2); in HandleBranch() 455 assert(B->succ_size() == 2); in HandleCleanupTemporaryBranch() 466 assert(B->succ_size() == 2); in HandleStaticInit()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCFGOptimizer.cpp | 155 unsigned NumSuccs = MBB.succ_size(); in runOnMachineFunction() 197 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
|
H A D | HexagonLoopAlign.cpp | 141 int Succs = MBB.succ_size(); in isSingleLoop()
|
H A D | HexagonEarlyIfConv.cpp | 231 if (B->succ_size() != 1) in isPreheader() 287 unsigned TNS = TB->succ_size(), FNS = FB->succ_size(); in matchFlowPattern() 1032 if (FP.SplitB->succ_size() != 1) in simplifyFlowGraph()
|
H A D | HexagonCopyHoisting.cpp | 166 if (BB->succ_size() < 2) in analyzeCopy()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | TailDuplicator.cpp | 582 TailBB.succ_size() > TailDupSuccSize) in shouldTailDuplicate() 704 if (TailBB->succ_size() != 1) in isSimpleBB() 725 if (PredBB->succ_size() > 1) in canCompletelyDuplicateBB() 800 assert(PredBB->succ_size() <= 1); in duplicateSimpleBB() 814 if (PredBB->succ_size() > 1) in canTailDuplicate() 942 if (PrevBB->succ_size() == 1 && in tailDuplicate() 1034 if (PredBB->succ_size() != 1) in tailDuplicate()
|
H A D | MachineBlockPlacement.cpp | 771 if (BB.succ_size() != Successors.size()) in hasSameSuccessors() 791 if (BB->succ_size() == 1) in shouldTailDuplicate() 974 if (BB->succ_size() != 2 || ViableSuccs.size() != 2) in isTrellis() 1248 if ((NumDup > Succ->succ_size()) || !Duplicate) in canTailDuplicateUnplacedPreds() 1300 if (BB.succ_size() != 2) in precomputeTriangleChains() 1387 if (BB->succ_size() == 2) { in getLayoutSuccessorProbThreshold() 1950 if (Pred->succ_size() != 2) in canMoveBottomBlockToTop() 2135 << Pred->succ_size() << " successors, " in findBestLoopTopHelper() 2137 if (Pred->succ_size() > 2) in findBestLoopTopHelper() 2141 if (Pred->succ_size() == 2) { in findBestLoopTopHelper() [all …]
|
H A D | BranchFolding.cpp | 587 (!AfterPlacement || MBB1->succ_size() == 1)) { in ProfitableToMerge() 635 (MBB1->succ_size() == 1 || !AfterPlacement) && in ProfitableToMerge() 745 const BasicBlock *BB = (SuccBB && MBB->succ_size() == 1) ? in CreateCommonTailOnlyBlock() 1163 SmallVector<BlockFrequency, 2> EdgeFreqLs(TailMBB.succ_size()); in setCommonTailEdgeWeights() 1176 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights() 1188 if (TailMBB.succ_size() <= 1) in setCommonTailEdgeWeights() 1324 if (PredBB->succ_size() == 1) in salvageDebugInfoFromEmptyBlock() 1425 PrevBB.succ_size() == 1 && PrevBB.isSuccessor(MBB) && in OptimizeBlock()
|
H A D | EarlyIfConversion.cpp | 442 if (Head->succ_size() != 2) in canConvertIf() 451 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf() 459 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
|
H A D | PHIElimination.cpp | 301 if (Pred->succ_size() < 2) { in EliminatePHINodes() 769 if (PreMBB->succ_size() == 1) in SplitPHIEdges()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A 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()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UninitializedValues.cpp | 578 SuccsVisited[block->getBlockID()] = block->succ_size(); in getUninitUse() 618 if (++SV == Pred->succ_size()) in getUninitUse() 630 if (SuccsVisited[BlockID] && SuccsVisited[BlockID] < Block->succ_size() && in getUninitUse() 638 if (Succ && SuccsVisited[Succ->getBlockID()] >= Succ->succ_size() && in getUninitUse()
|
H A D | ReachableCode.cpp | 119 assert(Current->succ_size() == 2); in isDeadReturn() 121 } else if (!Current->getTerminatorStmt() && Current->succ_size() == 1) { in isDeadReturn()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | CFG.h | 258 inline unsigned succ_size(const Instruction *I) { in succ_size() function 283 inline unsigned succ_size(const BasicBlock *BB) { in succ_size() function
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | ExplodedGraph.h | 198 unsigned succ_size() const { return Succs.size(); } in succ_size() function 516 return N->succ_size() == 1 && N->getFirstSucc()->isTrivial();
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVRedundantCopyElimination.cpp | 97 if (PredMBB->succ_size() != 2) in optimizeBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfileProbe.cpp | 237 if (succ_size(Pred) == 1) { in findInvokeNormalDests() 257 } else if (succ_size(Head) == 1 && in getOriginalTerminator()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionalCompares.cpp | 440 if (Head->succ_size() != 2) in canConvert() 450 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 933 assert(SuccWeights.size() == succ_size(BB) && "Missed successor?"); in calcEstimatedHeuristics() 1106 return {1, static_cast<uint32_t>(succ_size(Src))}; in getEdgeProbability() 1121 return BranchProbability(llvm::count(successors(Src), Dst), succ_size(Src)); in getEdgeProbability()
|
H A D | FunctionPropertiesAnalysis.cpp | 91 unsigned SuccessorCount = succ_size(&BB); in updateForBB()
|