| /freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | R600MachineCFGStructurizer.cpp | 367 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo() 389 bool MultiplePreds = MBB && (MBB->pred_size() > 1); in needMigrateBlock() 395 (BlkSize * (MBB->pred_size() - 1) > CloneInstrThreshold)); in needMigrateBlock() 886 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) in serialPatternMatch() 948 ((TrueMBB && TrueMBB->pred_size() > 1) in ifPatternMatch() 949 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch() 953 if (TrueMBB && TrueMBB->pred_size() > 1) { in ifPatternMatch() 958 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch() 1115 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size(); in showImproveSimpleJumpintoIf() 1124 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf() [all …]
|
| H A D | SIOptimizeVGPRLiveRange.cpp | 355 if ((MBB != LoopHeader && MBB->pred_size() != 1) || in collectWaterfallCandidateRegisters() 356 (MBB == LoopHeader && MBB->pred_size() != 2) || MBB->succ_size() != 1) { in collectWaterfallCandidateRegisters()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | ExplodedGraph.cpp | 86 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect() 94 if (succ->pred_size() != 1) in shouldCollect() 156 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode() 282 return pred_size() == 1 && succ_size() == 1 && in isTrivial()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
| H A D | HexagonCFGOptimizer.cpp | 173 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction() 185 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
|
| H A D | HexagonCopyHoisting.cpp | 94 if (BB->pred_size() != 1) in runOnMachineFunction() 163 if (SB->pred_size() != 1 || SB->isEHPad() || SB->hasAddressTaken()) in analyzeCopy()
|
| H A D | HexagonEarlyIfConv.cpp | 279 unsigned TNP = TB->pred_size(), FNP = FB->pred_size(); in matchFlowPattern() 444 if (B->pred_size() < 2) in computePhiCost() 526 if (TSB->pred_size() != 2) in isProfitable() 1029 if (SB->pred_size() != 1) in simplifyFlowGraph()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
| H A D | IfConversion.cpp | 671 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple() 697 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle() 905 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidForkedDiamond() 1000 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond() 1551 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertSimple() 1579 if (CvtMBB.pred_size() > 1) { in IfConvertSimple() 1637 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertTriangle() 1691 if (CvtMBB.pred_size() > 1) { in IfConvertTriangle() 1740 if (!HasEarlyExit && NextMBB.pred_size() == 1 && in IfConvertTriangle() 1783 TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) { in IfConvertDiamondCommon() [all …]
|
| H A D | LoopTraversal.cpp | 21 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
|
| H A D | EarlyIfConversion.cpp | 455 if (Succ0->pred_size() != 1) in canConvertIf() 458 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf() 466 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf() 621 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); in replacePHIInstrs() 744 bool ExtraPreds = Tail->pred_size() != 2; in convertIf()
|
| H A D | BranchFolding.cpp | 1089 if (I->pred_size() < 2) continue; in TailMergeBlocks() 1339 if (SuccBB->pred_size() == 1) in salvageDebugInfoFromEmptyBlock() 1445 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1658 while(PI != MBB->pred_size()) { in OptimizeBlock() 1956 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
|
| H A D | MachineLoopInfo.cpp | 158 if (HB->pred_size() != 2 || HB->hasAddressTaken()) in findLoopPreheader()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | UnreachableCodeChecker.cpp | 220 if (CB->pred_size() > 1) in isInvalidPath() 224 if (CB->pred_size() == 0) in isInvalidPath()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/ |
| H A D | SystemZMachineScheduler.cpp | 43 if (MBB->pred_size() == 1) in getSingleSchedPred() 48 if (MBB->pred_size() == 2 && Loop != nullptr && Loop->getHeader() == MBB) { in getSingleSchedPred()
|
| /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/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | ExplodedGraph.h | 199 unsigned pred_size() const { return Preds.size(); } in pred_size() function 206 return (pred_size() == 1); in hasSinglePred()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVRedundantCopyElimination.cpp | 87 if (MBB.pred_size() != 1) in optimizeBlock()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
| H A D | WebAssemblyFixBrTableDefaults.cpp | 95 assert(MBB->pred_size() == 1 && "Expected a single guard predecessor"); in fixBrTableDefault()
|
| H A D | WebAssemblyCFGSort.cpp | 197 unsigned N = MBB.pred_size(); in sortBlocks()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
| H A D | PPCEarlyReturn.cpp | 147 if (ReturnMBB.pred_size() == 1) { in processBlock()
|
| H A D | PPCCTRLoops.cpp | 275 assert(ML->getHeader()->pred_size() == 2 && in expandNormalLoops()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfileProbe.cpp | 215 if (&BB != &F->getEntryBlock() && pred_size(&BB) == 0) in findUnreachableBlocks() 232 while (pred_size(ND) == 1) { in findInvokeNormalDests()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | FunctionPropertiesAnalysis.cpp | 100 unsigned PredecessorCount = pred_size(&BB); in updateForBB() 120 if (pred_size(Successor) > 1) in updateForBB()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64ConditionalCompares.cpp | 446 if (Succ0->pred_size() != 1) in canConvert() 450 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | MachineBasicBlock.h | 439 unsigned pred_size() const { 1426 inline auto pred_size(const MachineBasicBlock *BB) { return BB->pred_size(); }
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMBlockPlacement.cpp | 83 if (Predecessor->pred_size() == 1) in findWLS()
|