Home
last modified time | relevance | path

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

123

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDILCFGStructurizer.cpp373 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo()
395 bool MultiplePreds = MBB && (MBB->pred_size() > 1); in needMigrateBlock()
401 (BlkSize * (MBB->pred_size() - 1) > CloneInstrThreshold)); in needMigrateBlock()
903 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) in serialPatternMatch()
965 ((TrueMBB && TrueMBB->pred_size() > 1) in ifPatternMatch()
966 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch()
970 if (TrueMBB && TrueMBB->pred_size() > 1) { in ifPatternMatch()
975 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch()
1134 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size(); in showImproveSimpleJumpintoIf()
1143 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf()
[all …]
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DExplodedGraph.cpp89 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect()
97 if (succ->pred_size() != 1) in shouldCollect()
159 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode()
286 return pred_size() == 1 && succ_size() == 1 && in isTrivial()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
H A DHexagonCFGOptimizer.cpp187 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
199 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
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()
1038 if (SB->pred_size() != 1) in simplifyFlowGraph()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DIfConversion.cpp657 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple()
683 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle()
891 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidForkedDiamond()
986 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond()
1547 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertSimple()
1575 if (CvtMBB.pred_size() > 1) { in IfConvertSimple()
1633 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertTriangle()
1687 if (CvtMBB.pred_size() > 1) { in IfConvertTriangle()
1737 NextMBB.pred_size() == 1 && !NextBBI->HasFallThrough && in IfConvertTriangle()
1780 TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) { in IfConvertDiamondCommon()
[all …]
H A DEarlyIfConversion.cpp444 if (Succ0->pred_size() != 1) in canConvertIf()
447 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf()
455 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
610 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); in replacePHIInstrs()
703 bool ExtraPreds = Tail->pred_size() != 2; in convertIf()
H A DLoopTraversal.cpp21 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
H A DMachineDominators.cpp122 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
H A DBranchFolding.cpp1044 if (I->pred_size() < 2) continue; in TailMergeBlocks()
1302 if (SuccBB->pred_size() == 1) in salvageDebugInfoFromEmptyBlock()
1410 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock()
1520 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) { in OptimizeBlock()
1622 while(PI != MBB->pred_size()) { in OptimizeBlock()
1912 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
H A DMachineLoopInfo.cpp127 if (HB->pred_size() != 2 || HB->hasAddressTaken()) in findLoopPreheader()
H A DMachineSink.cpp994 if (MBB->pred_size() != 1) in SinkingPreventsImplicitNullCheck()
1344 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
1707 if (!SI->livein_empty() && SI->pred_size() == 1) in tryToSinkCopy()
1789 assert((SuccBB->pred_size() == 1 && *SuccBB->pred_begin() == &CurBB) && in tryToSinkCopy()
/netbsd-src/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/
H A DUnreachableCodeChecker.cpp223 if (CB->pred_size() > 1) in isInvalidPath()
227 if (CB->pred_size() == 0) in isInvalidPath()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/IR/
H A DPredIteratorCache.h61 return BlockToPredCountMap[BB] = pred_size(BB); in GetNumPreds()
H A DCFG.h124 inline unsigned pred_size(const BasicBlock *BB) { in pred_size() function
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DExplodedGraph.h200 unsigned pred_size() const { return Preds.size(); } in pred_size() function
207 return (pred_size() == 1); in hasSinglePred()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyFixBrTableDefaults.cpp90 assert(MBB->pred_size() == 1 && "Expected a single guard predecessor"); in fixBrTableDefault()
H A DWebAssemblyCFGSort.cpp198 unsigned N = MBB.pred_size(); in sortBlocks()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/
H A DPPCEarlyReturn.cpp159 if (ReturnMBB.pred_size() == 1) { in processBlock()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMBlockPlacement.cpp79 if (Predecessor->pred_size() == 1) in findWLS()
H A DARMLowOverheadLoops.cpp155 if (MBB->pred_size() == 1) in ProcessLoop()
705 if (MBB->pred_size() > 1) in ValidateTailPredicate()
1219 if (MBB->pred_size() == 1) in ProcessLoop()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64ConditionalCompares.cpp448 if (Succ0->pred_size() != 1) in canConvert()
452 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
H A DAArch64RedundantCopyElimination.cpp281 if (MBB->pred_size() != 1) in optimizeBlock()
/netbsd-src/external/apache2/llvm/dist/clang/lib/Analysis/
H A DConsumed.cpp97 if (Block->pred_size() == 1 && *Block->pred_begin()) in getLastStmtLoc()
1077 if (Block->pred_size() < 2) in isBackEdgeTarget()
1382 (*CurrBlock->succ_begin())->pred_size() > 1)) { in run()

123