Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/AMDGPU/
DAMDILCFGStructurizer.cpp393 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/
DIfConversion.cpp462 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 …]
DShrinkWrapping.cpp448 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()
DBranchFolding.cpp856 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()
DSplitter.cpp542 if (edge.second->pred_size() > 1) in isCriticalEdge()
565 assert((inBlock.succ_size() > 1) && (outBlock.pred_size() > 1) && in splitEdge()
DMachineSink.cpp550 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
/external/llvm/lib/Target/Hexagon/
DHexagonCFGOptimizer.cpp176 if ((NumSuccs == 2) && LayoutSucc && (LayoutSucc->pred_size() == 1)) { in runOnMachineFunction()
189 JumpAroundTarget->pred_size() == 1 && in runOnMachineFunction()
DHexagonEarlyIfConv.cpp262 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/llvm/lib/CodeGen/
DIfConversion.cpp487 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 …]
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.cpp115 assert(PredBB->pred_size() == 1 && "A basic block resulting from a " in applySplitCriticalEdges()
DBranchFolding.cpp994 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()
DMachineSink.cpp685 if (MBB->pred_size() != 1) in SinkingPreventsImplicitNullCheck()
772 if (SuccToSinkTo->pred_size() > 1) { in SinkInstruction()
DImplicitNullChecks.cpp361 if (NotNullSucc->pred_size() != 1) in analyzeBlockForNullChecks()
/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.cpp565 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/
DUnreachableCodeChecker.cpp213 if (CB->pred_size() > 1) in isInvalidPath()
217 if (CB->pred_size() == 0) in isInvalidPath()
/external/llvm/include/llvm/CodeGen/GlobalISel/
DRegBankSelect.h276 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/
DExplodedGraph.h179 unsigned pred_size() const { return Preds.size(); } in pred_size() function
186 return (pred_size() == 1); in hasSinglePred()
/external/llvm/lib/Target/AArch64/
DAArch64RedundantCopyElimination.cpp86 if (MBB->pred_size() != 1) in optimizeCopy()
DAArch64ConditionalCompares.cpp443 if (Succ0->pred_size() != 1) in canConvert()
447 if (Succ0->pred_size() != 1 || Succ0->succ_size() != 2) in canConvert()
/external/llvm/lib/Target/PowerPC/
DPPCEarlyReturn.cpp158 if (ReturnMBB.pred_size() == 1) { in processBlock()
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DMachineBasicBlock.h179 unsigned pred_size() const {
/external/clang/lib/Analysis/
DConsumed.cpp93 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/
DWebAssemblyCFGStackify.cpp141 unsigned N = MBB.pred_size(); in SortBlocks()

12