/external/llvm/lib/Target/AMDGPU/ |
D | AMDILCFGStructurizer.cpp | 412 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo() 434 bool MultiplePreds = MBB && (MBB->pred_size() > 1); in needMigrateBlock() 440 (BlkSize * (MBB->pred_size() - 1) > CloneInstrThreshold)); in needMigrateBlock() 993 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) in serialPatternMatch() 1055 ((TrueMBB && TrueMBB->pred_size() > 1) in ifPatternMatch() 1056 || (FalseMBB && FalseMBB->pred_size() > 1))) { in ifPatternMatch() 1060 if (TrueMBB && TrueMBB->pred_size() > 1) { in ifPatternMatch() 1065 if (FalseMBB && FalseMBB->pred_size() > 1) { in ifPatternMatch() 1265 << TrueMBB->size() << " numPred = " << TrueMBB->pred_size(); in showImproveSimpleJumpintoIf() 1274 << FalseMBB->size() << " numPred = " << FalseMBB->pred_size(); in showImproveSimpleJumpintoIf() [all …]
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDILCFGStructurizer.cpp | 790 if (childBlk->pred_size() != 1 || isActiveLoophead(childBlk)) { in serialPatternMatch() 849 ((trueBlk && trueBlk->pred_size() > 1) in ifPatternMatch() 850 || (falseBlk && falseBlk->pred_size() > 1))) { in ifPatternMatch() 854 if (trueBlk && trueBlk->pred_size() > 1) { in ifPatternMatch() 859 if (falseBlk && falseBlk->pred_size() > 1) { in ifPatternMatch() 1064 if (exitBlk != exitLandBlk && exitBlk->pred_size() > 1) { in loopbreakPatternMatch() 1086 if (exitBlk->pred_size() > 1) { in loopbreakPatternMatch() 1110 assert(exitBlk->pred_size() == 1 || exitBlk == exitLandBlk); in loopbreakPatternMatch() 1253 << trueBlk->size() << " numPred = " << trueBlk->pred_size(); in showImproveSimpleJumpintoIf() 1262 << falseBlk->size() << " numPred = " << falseBlk->pred_size(); in showImproveSimpleJumpintoIf() [all …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonCFGOptimizer.cpp | 172 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction() 184 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
|
D | HexagonEarlyIfConv.cpp | 264 unsigned TNP = TB->pred_size(), FNP = FB->pred_size(); in matchFlowPattern() 431 assert(B->pred_size() <= 2); in computePhiCost() 432 if (B->pred_size() < 2) in computePhiCost() 491 if (TSB->pred_size() != 2) in isProfitable() 1023 if (SB->pred_size() != 1) in simplifyFlowGraph()
|
D | HexagonHardwareLoops.cpp | 1853 if (Header->pred_size() > 2) { in createPreheaderForLoop() 1901 assert(Header->pred_size() == 2); in createPreheaderForLoop()
|
/external/llvm/lib/CodeGen/ |
D | IfConversion.cpp | 486 if (TrueBBI.BB->pred_size() > 1) { in ValidSimple() 510 if (TrueBBI.BB->pred_size() > 1) { in ValidTriangle() 562 if (TrueBBI.BB->pred_size() > 1 || FalseBBI.BB->pred_size() > 1) in ValidDiamond() 1082 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertSimple() 1108 if (CvtBBI->BB->pred_size() > 1) { in IfConvertSimple() 1169 (CvtBBI->CannotBeCopied && CvtBBI->BB->pred_size() > 1)) { in IfConvertTriangle() 1221 if (CvtBBI->BB->pred_size() > 1) { in IfConvertTriangle() 1275 NextBBI->BB->pred_size() == 1 && !NextBBI->HasFallThrough && in IfConvertTriangle() 1317 TrueBBI.BB->pred_size() > 1 || in IfConvertDiamond() 1318 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 | 99 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
|
D | BranchFolding.cpp | 975 if (I->pred_size() < 2) continue; in TailMergeBlocks() 1277 if (PriorCond.empty() && !PriorTBB && MBB->pred_size() == 1 && in OptimizeBlock() 1457 while(PI != MBB->pred_size()) { in OptimizeBlock() 1745 if (TBB->pred_size() > 1 || FBB->pred_size() > 1) in HoistCommonCodeInSuccs()
|
D | ImplicitNullChecks.cpp | 263 if (NotNullSucc->pred_size() != 1) in analyzeBlockForNullChecks()
|
D | MachineBlockPlacement.cpp | 446 if (Pred->pred_size() > 1 || *Pred->pred_begin() != BB) in selectBestSuccessor() 675 while (BestPred->pred_size() == 1 && in findBestLoopTop()
|
D | MachineSink.cpp | 728 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
|
D | MachineCSE.cpp | 281 if (MBB->pred_size() != 1 || *MBB->pred_begin() != CSMBB) in PhysRegDefsReach()
|
D | RegisterCoalescer.cpp | 293 if (MBB->pred_size() != 1 || MBB->succ_size() != 1) in isSplitEdge() 2698 unsigned cl = LHS->MBB->pred_size() + LHS->MBB->succ_size(); in compareMBBPriority() 2699 unsigned cr = RHS->MBB->pred_size() + RHS->MBB->succ_size(); in compareMBBPriority()
|
D | TailDuplication.cpp | 877 PriorCond.empty() && !PriorTBB && TailBB->pred_size() == 1 && in TailDuplicate()
|
/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 | 554 assert(N->pred_size() == 1); in VisitLogicalExpr() 557 assert(N->pred_size() == 1); in VisitLogicalExpr() 676 assert(N->pred_size() == 1); in VisitGuardedExpr()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | UnreachableCodeChecker.cpp | 217 if (CB->pred_size() > 1) in isInvalidPath() 221 if (CB->pred_size() == 0) in isInvalidPath()
|
/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/PowerPC/ |
D | PPCEarlyReturn.cpp | 159 if (ReturnMBB.pred_size() == 1) { in processBlock()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 446 if (Succ0->pred_size() != 1) in canConvert() 450 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
|
/external/clang/lib/Analysis/ |
D | Consumed.cpp | 93 if (Block->pred_size() == 1 && *Block->pred_begin()) in getLastStmtLoc() 1103 if (Block->pred_size() < 2) in isBackEdgeTarget() 1418 (*CurrBlock->succ_begin())->pred_size() > 1)) { in run()
|
D | ReachableCode.cpp | 101 if (Current->pred_size() > 1) { in isDeadReturn()
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBasicBlock.h | 306 unsigned pred_size() const {
|
/external/clang/include/clang/Analysis/ |
D | CFG.h | 554 unsigned pred_size() const { return Preds.size(); } in pred_size() function
|