/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()
|
D | BranchFolding.cpp | 856 if (I->pred_size() >= 2) { in TailMergeBlocks() 1084 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1267 while(PI != MBB->pred_size()) { in OptimizeBlock() 1541 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
|
D | Splitter.cpp | 542 if (edge.second->pred_size() > 1) in isCriticalEdge() 565 assert((inBlock.succ_size() > 1) && (outBlock.pred_size() > 1) && in splitEdge()
|
D | MachineSink.cpp | 550 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
|
/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()
|
D | BranchFolding.cpp | 994 if (I->pred_size() < 2) continue; in TailMergeBlocks() 1307 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1488 while(PI != MBB->pred_size()) { in OptimizeBlock() 1776 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
|
D | MachineSink.cpp | 685 if (MBB->pred_size() != 1) in SinkingPreventsImplicitNullCheck() 772 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
|
D | ImplicitNullChecks.cpp | 361 if (NotNullSucc->pred_size() != 1) in analyzeBlockForNullChecks()
|
/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()
|
D | ExprEngineC.cpp | 565 assert(N->pred_size() == 1); in VisitLogicalExpr() 568 assert(N->pred_size() == 1); in VisitLogicalExpr() 687 assert(N->pred_size() == 1); in VisitGuardedExpr()
|
/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/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/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()
|
D | AArch64ConditionalCompares.cpp | 443 if (Succ0->pred_size() != 1) in canConvert() 447 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCEarlyReturn.cpp | 158 if (ReturnMBB.pred_size() == 1) { in processBlock()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 179 unsigned pred_size() const {
|
/external/clang/lib/Analysis/ |
D | Consumed.cpp | 93 if (Block->pred_size() == 1 && *Block->pred_begin()) in getLastStmtLoc() 1109 if (Block->pred_size() < 2) in isBackEdgeTarget() 1424 (*CurrBlock->succ_begin())->pred_size() > 1)) { in run()
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyCFGStackify.cpp | 141 unsigned N = MBB.pred_size(); in SortBlocks()
|