Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp372 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 DSILowerControlFlow.cpp466 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 DMachineSSAContext.h27 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 DMachineRegionInfo.h45 return BB->succ_size();
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp88 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 DCoreEngine.cpp97 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 DHexagonCFGOptimizer.cpp155 unsigned NumSuccs = MBB.succ_size(); in runOnMachineFunction()
197 JumpAroundTarget->succ_size() == 1; in runOnMachineFunction()
H A DHexagonLoopAlign.cpp141 int Succs = MBB.succ_size(); in isSingleLoop()
H A DHexagonEarlyIfConv.cpp231 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 DHexagonCopyHoisting.cpp166 if (BB->succ_size() < 2) in analyzeCopy()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DTailDuplicator.cpp582 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 DMachineBlockPlacement.cpp771 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 DBranchFolding.cpp587 (!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 DEarlyIfConversion.cpp442 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 DPHIElimination.cpp301 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 DRegBankSelect.h293 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 DUninitializedValues.cpp578 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 DReachableCode.cpp119 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 DCFG.h258 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 DExplodedGraph.h198 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 DRISCVRedundantCopyElimination.cpp97 if (PredMBB->succ_size() != 2) in optimizeBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp237 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 DAArch64ConditionalCompares.cpp440 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 DBranchProbabilityInfo.cpp933 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 DFunctionPropertiesAnalysis.cpp91 unsigned SuccessorCount = succ_size(&BB); in updateForBB()

1234