/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 398 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/ |
D | AMDILCFGStructurizer.cpp | 393 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/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | IfConversion.cpp | 462 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple() 486 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle() 538 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond() 1029 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertSimple() 1046 if (CvtBBI->BB->pred_size() > 1) { in IfConvertSimple() 1102 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertTriangle() 1138 if (CvtBBI->BB->pred_size() > 1) { in IfConvertTriangle() 1173 NextBBI->BB->pred_size() == 1 && !NextBBI->HasFallThrough) { in IfConvertTriangle() 1214 TrueBBI.BB->pred_size() > 1 || in IfConvertDiamond() 1215 FalseBBI.BB->pred_size() > 1) { in IfConvertDiamond() [all …]
|
D | ShrinkWrapping.cpp | 448 assert(HDR->pred_size() > 0 && "Loop header has no predecessors?"); in calculateSets() 558 if (MBB->succ_size() < 2 && MBB->pred_size() < 2) { in addUsesForMEMERegion() 563 if (SUCC->pred_size() > 1) { in addUsesForMEMERegion() 662 if (EXB->succ_size() > 1 || EXB->pred_size() > 1) in addUsesForTopLevelLoops()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 553 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple() 576 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle() 784 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidForkedDiamond() 872 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond() 1429 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertSimple() 1457 if (CvtMBB.pred_size() > 1) { in IfConvertSimple() 1515 (CvtBBI->CannotBeCopied && CvtMBB.pred_size() > 1)) { in IfConvertTriangle() 1569 if (CvtMBB.pred_size() > 1) { in IfConvertTriangle() 1619 NextMBB.pred_size() == 1 && !NextBBI->HasFallThrough && in IfConvertTriangle() 1662 TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) { in IfConvertDiamondCommon() [all …]
|
D | EarlyIfConversion.cpp | 351 if (Succ0->pred_size() != 1) in canConvertIf() 354 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 1) in canConvertIf() 362 if (Succ1->pred_size() != 1 || Succ1->succ_size() != 1 || in canConvertIf() 455 assert(Tail->pred_size() == 2 && "Cannot replace PHIs"); in replacePHIInstrs() 534 bool ExtraPreds = Tail->pred_size() != 2; in convertIf()
|
D | LoopTraversal.cpp | 22 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
|
D | MachineDominators.cpp | 125 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
|
D | MachineSink.cpp | 725 if (MBB->pred_size() != 1) in SinkingPreventsImplicitNullCheck() 842 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction() 1112 if (!SI->livein_empty() && SI->pred_size() == 1) in tryToSinkCopy() 1165 assert((SuccBB->pred_size() == 1 && *SuccBB->pred_begin() == &CurBB) && in tryToSinkCopy()
|
D | BranchFolding.cpp | 1120 if (I->pred_size() < 2) continue; in TailMergeBlocks() 1398 if (SuccBB->pred_size() == 1) in salvageDebugInfoFromEmptyBlock() 1493 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1600 if (!IsEmptyBlock(MBB) && MBB->pred_size() == 1 && in OptimizeBlock() 1711 while(PI != MBB->pred_size()) { in OptimizeBlock() 1998 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
|
D | MachineLoopInfo.cpp | 117 if (HB->pred_size() != 2 || HB->hasAddressTaken()) in findLoopPreheader()
|
/external/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 487 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 …]
|
D | EarlyIfConversion.cpp | 350 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()
|
D | MachineDominators.cpp | 115 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/ |
D | HexagonCFGOptimizer.cpp | 187 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction() 199 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
|
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() 1038 if (SB->pred_size() != 1) in simplifyFlowGraph()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCFGOptimizer.cpp | 176 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction() 189 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
|
D | HexagonEarlyIfConv.cpp | 262 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/clang/lib/StaticAnalyzer/Core/ |
D | ExplodedGraph.cpp | 99 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/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 213 if (CB->pred_size() > 1) in isInvalidPath() 217 if (CB->pred_size() == 0) in isInvalidPath()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/SystemZ/ |
D | SystemZMachineScheduler.cpp | 43 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/ |
D | RegBankSelect.h | 276 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-7.0/llvm/include/llvm/CodeGen/GlobalISel/ |
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()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | ExplodedGraph.h | 179 unsigned pred_size() const { return Preds.size(); } in pred_size() function 186 return (pred_size() == 1); in hasSinglePred()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64RedundantCopyElimination.cpp | 86 if (MBB->pred_size() != 1) in optimizeCopy()
|