/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineSSAContext.h | 30 inline unsigned pred_size(const MachineBasicBlock *BB) { in succ_size() 31 return BB->pred_size(); in succ_size() 32 inline unsigned pred_size(const MachineBasicBlock *BB) { pred_size() function
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | R600MachineCFGStructurizer.cpp | 376 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo() 398 bool MultiplePreds = MBB && (MBB->pred_size() > 1); in needMigrateBlock() 404 (BlkSize * (MBB->pred_size() - 1) > CloneInstrThreshold)); in needMigrateBlock() 895 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) in serialPatternMatch() 957 ((TrueMBB && TrueMBB->pred_size() > 1) in ifPatternMatch() 958 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch() 962 if (TrueMBB && TrueMBB->pred_size() > 1) { in ifPatternMatch() 967 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch() 1126 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size(); in showImproveSimpleJumpintoIf() 1135 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf() [all …]
|
H A D | SIOptimizeVGPRLiveRange.cpp | 348 if ((MBB != LoopHeader && MBB->pred_size() != 1) || in collectWaterfallCandidateRegisters() 349 (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 | 88 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect() 96 if (succ->pred_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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonCFGOptimizer.cpp | 184 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction() 196 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
|
H A D | HexagonCopyHoisting.cpp | 101 if (BB->pred_size() != 1) in runOnMachineFunction() 170 if (SB->pred_size() != 1 || SB->isEHPad() || SB->hasAddressTaken()) in analyzeCopy()
|
H A D | HexagonEarlyIfConv.cpp | 286 unsigned TNP = TB->pred_size(), FNP = FB->pred_size(); in matchFlowPattern() 451 if (B->pred_size() < 2) in computePhiCost() 533 if (TSB->pred_size() != 2) in isProfitable() 1036 if (SB->pred_size() != 1) in simplifyFlowGraph()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | IfConversion.cpp | 652 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple() 678 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle() 886 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidForkedDiamond() 981 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond() 1532 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertSimple() 1560 if (CvtMBB.pred_size() > 1) { in IfConvertSimple() 1618 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertTriangle() 1672 if (CvtMBB.pred_size() > 1) { in IfConvertTriangle() 1722 NextMBB.pred_size() == 1 && !NextBBI->HasFallThrough && in IfConvertTriangle() 1765 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 | 448 if (Succ0->pred_size() != 1) 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() 614 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); in replacePHIInstrs() 705 bool ExtraPreds = Tail->pred_size() != 2; in convertIf()
|
H A D | MachineDominators.cpp | 160 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
|
H A D | BranchFolding.cpp | 1059 if (I->pred_size() < 2) continue; in TailMergeBlocks() 1318 if (SuccBB->pred_size() == 1) in salvageDebugInfoFromEmptyBlock() 1424 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1637 while(PI != MBB->pred_size()) { in OptimizeBlock() 1934 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
|
H A D | MachineLoopInfo.cpp | 155 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/IR/ |
H A D | PredIteratorCache.h | 61 return BlockToPredCountMap[BB] = pred_size(BB); in GetNumPreds()
|
/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/llvm/lib/Analysis/ |
H A D | FunctionPropertiesAnalysis.cpp | 99 unsigned PredecessorCount = pred_size(&BB); in updateForBB() 119 if (pred_size(Successor) > 1) in updateForBB()
|
/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 | 91 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()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCEarlyReturn.cpp | 158 if (ReturnMBB.pred_size() == 1) { in processBlock()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | SampleProfileProbe.cpp | 218 if (&BB != &F->getEntryBlock() && pred_size(&BB) == 0) in findUnreachableBlocks() 235 while (pred_size(ND) == 1) { in findInvokeNormalDests()
|
/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/lib/Target/ARM/ |
H A D | ARMBlockPlacement.cpp | 83 if (Predecessor->pred_size() == 1) in findWLS()
|