/external/swiftshader/third_party/llvm-10.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/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/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonCFGOptimizer.cpp | 186 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction() 198 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() 1036 if (SB->pred_size() != 1) in simplifyFlowGraph()
|
/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/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/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 662 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 …]
|
D | EarlyIfConversion.cpp | 442 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()
|
D | LoopTraversal.cpp | 21 MBBInfos[MBBNumber].IncomingProcessed == MBB->pred_size(); in isBlockDone()
|
D | MachineDominators.cpp | 122 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
|
D | MachineLoopInfo.cpp | 124 if (HB->pred_size() != 2 || HB->hasAddressTaken()) in findLoopPreheader()
|
D | BranchFolding.cpp | 1089 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()
|
D | MachineSink.cpp | 752 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/ |
D | UnreachableCodeChecker.cpp | 213 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/ |
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-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegBankSelect.h | 292 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/ |
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()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCEarlyReturn.cpp | 153 if (ReturnMBB.pred_size() == 1) { in processBlock()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCEarlyReturn.cpp | 158 if (ReturnMBB.pred_size() == 1) { in processBlock()
|