Home
last modified time | relevance | path

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

1234

/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp398 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo()
420 bool MultiplePreds = MBB && (MBB->pred_size() > 1); in needMigrateBlock()
426 (BlkSize * (MBB->pred_size() - 1) > CloneInstrThreshold)); in needMigrateBlock()
928 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) in serialPatternMatch()
990 ((TrueMBB && TrueMBB->pred_size() > 1) in ifPatternMatch()
991 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch()
995 if (TrueMBB && TrueMBB->pred_size() > 1) { in ifPatternMatch()
1000 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch()
1159 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size(); in showImproveSimpleJumpintoIf()
1168 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf()
[all …]
/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp393 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo()
415 bool MultiplePreds = MBB && (MBB->pred_size() > 1); in needMigrateBlock()
421 (BlkSize * (MBB->pred_size() - 1) > CloneInstrThreshold)); in needMigrateBlock()
953 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) in serialPatternMatch()
1015 ((TrueMBB && TrueMBB->pred_size() > 1) in ifPatternMatch()
1016 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch()
1020 if (TrueMBB && TrueMBB->pred_size() > 1) { in ifPatternMatch()
1025 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch()
1197 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size(); in showImproveSimpleJumpintoIf()
1206 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf()
[all …]
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp176 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
189 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
DHexagonEarlyIfConv.cpp262 unsigned TNP = TB->pred_size(), FNP = FB->pred_size(); in matchFlowPattern()
429 assert(B->pred_size() <= 2); in computePhiCost()
430 if (B->pred_size() < 2) in computePhiCost()
489 if (TSB->pred_size() != 2) in isProfitable()
1021 if (SB->pred_size() != 1) in simplifyFlowGraph()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp186 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
198 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
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()
/external/llvm/lib/CodeGen/
DIfConversion.cpp487 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple()
511 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle()
563 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond()
1122 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertSimple()
1148 if (CvtBBI->BB->pred_size() > 1) { in IfConvertSimple()
1209 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertTriangle()
1261 if (CvtBBI->BB->pred_size() > 1) { in IfConvertTriangle()
1315 NextBBI->BB->pred_size() == 1 && !NextBBI->HasFallThrough && in IfConvertTriangle()
1357 TrueBBI.BB->pred_size() > 1 || in IfConvertDiamond()
1358 FalseBBI.BB->pred_size() > 1) { in IfConvertDiamond()
[all …]
DEarlyIfConversion.cpp350 if (Succ0->pred_size() != 1) in canConvertIf()
353 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf()
361 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
454 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); in replacePHIInstrs()
533 bool ExtraPreds = Tail->pred_size() != 2; in convertIf()
DMachineDominators.cpp115 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
/external/clang/lib/StaticAnalyzer/Core/
DExplodedGraph.cpp99 if (node->pred_size() != 1 || node->succ_size() != 1) in shouldCollect()
107 if (succ->pred_size() != 1) in shouldCollect()
169 assert(node->pred_size() == 1 || node->succ_size() == 1); in collectNode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIfConversion.cpp662 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple()
688 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle()
896 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 …]
DEarlyIfConversion.cpp442 if (Succ0->pred_size() != 1) in canConvertIf()
445 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf()
453 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf()
561 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); in replacePHIInstrs()
646 bool ExtraPreds = Tail->pred_size() != 2; in convertIf()
DLoopTraversal.cpp21 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
DMachineDominators.cpp122 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
DMachineLoopInfo.cpp124 if (HB->pred_size() != 2 || HB->hasAddressTaken()) in findLoopPreheader()
DBranchFolding.cpp1089 if (I->pred_size() < 2) continue; in TailMergeBlocks()
1346 if (SuccBB->pred_size() == 1) in salvageDebugInfoFromEmptyBlock()
1441 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock()
1551 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && OptForSize) { in OptimizeBlock()
1661 while(PI != MBB->pred_size()) { in OptimizeBlock()
1948 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
DMachineSink.cpp752 if (MBB->pred_size() != 1) in SinkingPreventsImplicitNullCheck()
927 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
1280 if (!SI->livein_empty() && SI->pred_size() == 1) in tryToSinkCopy()
1353 assert((SuccBB->pred_size() == 1 && *SuccBB->pred_begin() == &CurBB) && in tryToSinkCopy()
/external/clang/lib/StaticAnalyzer/Checkers/
DUnreachableCodeChecker.cpp213 if (CB->pred_size() > 1) in isInvalidPath()
217 if (CB->pred_size() == 0) in isInvalidPath()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
DSystemZMachineScheduler.cpp43 if (MBB->pred_size() == 1) in getSingleSchedPred()
48 if (MBB->pred_size() == 2 && Loop != nullptr && Loop->getHeader() == MBB) { in getSingleSchedPred()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h276 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl()
287 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h292 DstOrSplit->pred_size() == 1 && DstOrSplit->succ_size() == 1 && in getPointImpl()
304 return Src.succ_size() > 1 && DstOrSplit->pred_size() > 1; in isSplit()
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DExplodedGraph.h179 unsigned pred_size() const { return Preds.size(); } in pred_size() function
186 return (pred_size() == 1); in hasSinglePred()
/external/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp86 if (MBB->pred_size() != 1) in optimizeCopy()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
DPPCEarlyReturn.cpp153 if (ReturnMBB.pred_size() == 1) { in processBlock()
/external/llvm/lib/Target/PowerPC/
DPPCEarlyReturn.cpp158 if (ReturnMBB.pred_size() == 1) { in processBlock()

1234