Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineSSAContext.h30 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 DR600MachineCFGStructurizer.cpp376 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 DSIOptimizeVGPRLiveRange.cpp348 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 DExplodedGraph.cpp88 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 DHexagonCFGOptimizer.cpp184 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
196 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
H A DHexagonCopyHoisting.cpp101 if (BB->pred_size() != 1) in runOnMachineFunction()
170 if (SB->pred_size() != 1 || SB->isEHPad() || SB->hasAddressTaken()) in analyzeCopy()
H A DHexagonEarlyIfConv.cpp286 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 DIfConversion.cpp652 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 DLoopTraversal.cpp21 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
H A DEarlyIfConversion.cpp448 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 DMachineDominators.cpp160 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
H A DBranchFolding.cpp1059 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 DMachineLoopInfo.cpp155 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/IR/
H A DPredIteratorCache.h61 return BlockToPredCountMap[BB] = pred_size(BB); in GetNumPreds()
/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/llvm/lib/Analysis/
H A DFunctionPropertiesAnalysis.cpp99 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 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.cpp91 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()
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp158 if (ReturnMBB.pred_size() == 1) { in processBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfileProbe.cpp218 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 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/lib/Target/ARM/
H A DARMBlockPlacement.cpp83 if (Predecessor->pred_size() == 1) in findWLS()

1234