Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp412 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/
DAMDILCFGStructurizer.cpp790 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/
DHexagonCFGOptimizer.cpp172 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
184 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
DHexagonEarlyIfConv.cpp264 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()
DHexagonHardwareLoops.cpp1853 if (Header->pred_size() > 2) { in createPreheaderForLoop()
1901 assert(Header->pred_size() == 2); in createPreheaderForLoop()
/external/llvm/lib/CodeGen/
DIfConversion.cpp486 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 …]
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.cpp99 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
DBranchFolding.cpp975 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()
DImplicitNullChecks.cpp263 if (NotNullSucc->pred_size() != 1) in analyzeBlockForNullChecks()
DMachineBlockPlacement.cpp446 if (Pred->pred_size() > 1 || *Pred->pred_begin() != BB) in selectBestSuccessor()
675 while (BestPred->pred_size() == 1 && in findBestLoopTop()
DMachineSink.cpp728 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
DMachineCSE.cpp281 if (MBB->pred_size() != 1 || *MBB->pred_begin() != CSMBB) in PhysRegDefsReach()
DRegisterCoalescer.cpp293 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()
DTailDuplication.cpp877 PriorCond.empty() && !PriorTBB && TailBB->pred_size() == 1 && in TailDuplicate()
/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()
DExprEngineC.cpp554 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/
DUnreachableCodeChecker.cpp217 if (CB->pred_size() > 1) in isInvalidPath()
221 if (CB->pred_size() == 0) in isInvalidPath()
/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/PowerPC/
DPPCEarlyReturn.cpp159 if (ReturnMBB.pred_size() == 1) { in processBlock()
/external/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp446 if (Succ0->pred_size() != 1) in canConvert()
450 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
/external/clang/lib/Analysis/
DConsumed.cpp93 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()
DReachableCode.cpp101 if (Current->pred_size() > 1) { in isDeadReturn()
/external/llvm/include/llvm/CodeGen/
DMachineBasicBlock.h306 unsigned pred_size() const {
/external/clang/include/clang/Analysis/
DCFG.h554 unsigned pred_size() const { return Preds.size(); } in pred_size() function

12