Home
last modified time | relevance | path

Searched refs:pred_size (Results 1 – 25 of 86) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DR600MachineCFGStructurizer.cpp367 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 DSIOptimizeVGPRLiveRange.cpp355 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 DExplodedGraph.cpp86 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 DHexagonCFGOptimizer.cpp173 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
185 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
H A DHexagonCopyHoisting.cpp94 if (BB->pred_size() != 1) in runOnMachineFunction()
163 if (SB->pred_size() != 1 || SB->isEHPad() || SB->hasAddressTaken()) in analyzeCopy()
H A DHexagonEarlyIfConv.cpp279 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 DIfConversion.cpp671 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 DLoopTraversal.cpp21 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
H A DEarlyIfConversion.cpp455 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 DBranchFolding.cpp1089 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 DMachineLoopInfo.cpp158 if (HB->pred_size() != 2 || HB->hasAddressTaken()) in findLoopPreheader()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp220 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 DSystemZMachineScheduler.cpp43 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 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/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h199 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 DRISCVRedundantCopyElimination.cpp87 if (MBB.pred_size() != 1) in optimizeBlock()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixBrTableDefaults.cpp95 assert(MBB->pred_size() == 1 && "Expected a single guard predecessor"); in fixBrTableDefault()
H A DWebAssemblyCFGSort.cpp197 unsigned N = MBB.pred_size(); in sortBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp147 if (ReturnMBB.pred_size() == 1) { in processBlock()
H A DPPCCTRLoops.cpp275 assert(ML->getHeader()->pred_size() == 2 && in expandNormalLoops()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp215 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 DFunctionPropertiesAnalysis.cpp100 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 DAArch64ConditionalCompares.cpp446 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 DMachineBasicBlock.h439 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 DARMBlockPlacement.cpp83 if (Predecessor->pred_size() == 1) in findWLS()

1234