Home
last modified time | relevance | path

Searched refs:getNumSuccessors (Results 1 – 25 of 73) sorted by relevance

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp171 if (TI->getNumSuccessors() == 0) { in computePostDominatedByUnreachable()
236 assert(TI->getNumSuccessors() > 1 && "expected more than one successor!"); in calcUnreachableHeuristics()
279 assert(TI->getNumSuccessors() > 1 && "expected more than one successor!"); in calcMetadataWeights()
288 assert(TI->getNumSuccessors() < UINT32_MAX && "Too many successors"); in calcMetadataWeights()
292 if (WeightsNode->getNumOperands() != TI->getNumSuccessors() + 1) in calcMetadataWeights()
302 Weights.reserve(TI->getNumSuccessors()); in calcMetadataWeights()
317 assert(Weights.size() == TI->getNumSuccessors() && "Checked above"); in calcMetadataWeights()
326 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) { in calcMetadataWeights()
335 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) in calcMetadataWeights()
337 WeightSum = TI->getNumSuccessors(); in calcMetadataWeights()
[all …]
DCFG.cpp76 unsigned e = Term->getNumSuccessors(); in GetSuccessorNumber()
90 assert(SuccNum < TI->getNumSuccessors() && "Illegal edge specification!"); in isCriticalEdge()
97 if (TI->getNumSuccessors() == 1) return false; in isCriticalEdge()
DMustExecute.cpp670 if (PP->getNumSuccessors() == 0) { in getMustBeExecutedNextInstruction()
677 if (PP->getNumSuccessors() == 1) { in getMustBeExecutedNextInstruction()
DSyncDependenceAnalysis.cpp360 if (Term.getNumSuccessors() < 1) { in join_blocks()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DSparsePropagation.h289 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors()
290 if (TI.getNumSuccessors() == 0) in getFeasibleSuccessors()
349 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors()
361 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors()
375 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) in isEdgeFeasible()
DCFGPrinter.h153 if (TI->getNumSuccessors() == 1)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Vectorize/
DVPlanVerifier.cpp52 if (VPB->getNumSuccessors() > 1) in verifyBlocksInRegion()
104 assert(!Exit->getNumSuccessors() && "Region exit has successors."); in verifyRegion()
DVPlanHCFGBuilder.cpp253 assert((PreheaderBB->getTerminator()->getNumSuccessors() == 1) && in buildPlainCFG()
276 unsigned NumSuccs = TI->getNumSuccessors(); in buildPlainCFG()
DVPlanTransforms.cpp40 if (Base->getNumPredecessors() == 0 || Base->getNumSuccessors() == 0) in VPInstructionsToVPRecipes()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/MCA/HardwareUnits/
DLSUnit.h61 unsigned getNumSuccessors() const { return Succ.size(); } in getNumSuccessors() function
156 assert(!getNumSuccessors() && "Cannot add instructions to this group!"); in addInstruction()
275 return !Group.isExecuted() && Group.getNumSuccessors(); in hasDependentUsers()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp970 for (unsigned i = 1, e = BBTerm->getNumSuccessors(); i != e; ++i) { in GetBestDestForJumpOnUndef()
1030 if (IB->getNumSuccessors() == 0) return false; in ProcessBlock()
1058 Updates.reserve(BBTerm->getNumSuccessors()); in ProcessBlock()
1059 for (unsigned i = 0, e = BBTerm->getNumSuccessors(); i != e; ++i) { in ProcessBlock()
1398 OneUnavailablePred->getTerminator()->getNumSuccessors() == 1) { in SimplifyPartiallyRedundantLoad()
1429 assert(UnavailablePred->getTerminator()->getNumSuccessors() == 1 && in SimplifyPartiallyRedundantLoad()
1537 assert(i != TI->getNumSuccessors() && "Didn't find any successor!"); in FindMostPopularDest()
1641 Updates.reserve(BB->getTerminator()->getNumSuccessors() - 1); in ProcessThreadableEdges()
1889 if (TI->isExceptionalTerminator() || TI->getNumSuccessors() != 1 || in MaybeMergeBasicBlockIntoOnlyPred()
2116 for (unsigned i = 0, e = PredTerm->getNumSuccessors(); i != e; ++i) in ThreadEdge()
[all …]
DSCCP.cpp669 Succs.resize(TI.getNumSuccessors()); in getFeasibleSuccessors()
693 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors()
708 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors()
725 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors()
732 for (unsigned i = 0; i < IBR->getNumSuccessors(); ++i) { in getFeasibleSuccessors()
748 Succs.assign(TI.getNumSuccessors(), true); in getFeasibleSuccessors()
1700 if (IBR->getNumSuccessors() < 1) in ResolvedUndefsIn()
DSpeculativeExecution.cpp173 if (BI->getNumSuccessors() != 2) in runOnBasicBlock()
DSink.cpp202 if (BB.getTerminator()->getNumSuccessors() <= 1) return false; in ProcessBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DBasicBlockUtils.h195 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i)
211 assert(i != TI->getNumSuccessors() && "Edge doesn't exist!");
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp201 for (unsigned i = SuccNum+1, e = TI->getNumSuccessors(); i != e; ++i) { in SplitCriticalEdge()
369 for (unsigned Succ = 0, E = IBI->getNumSuccessors(); Succ != E; ++Succ) in SplitIndirectBrCriticalEdges()
394 for (unsigned I = 0, E = BodyBlock->getTerminator()->getNumSuccessors(); in SplitIndirectBrCriticalEdges()
DFunctionComparator.cpp872 assert(TermL->getNumSuccessors() == TermR->getNumSuccessors()); in compare()
873 for (unsigned i = 0, e = TermL->getNumSuccessors(); i != e; ++i) { in compare()
941 for (unsigned i = 0, e = Term->getNumSuccessors(); i != e; ++i) { in functionHash()
DBasicBlockUtils.cpp497 assert(BB->getTerminator()->getNumSuccessors() == 1 && in SplitEdge()
508 if (TI->getNumSuccessors() > 1 && !isa<IndirectBrInst>(TI) && in SplitAllCriticalEdges()
510 for (unsigned i = 0, e = TI->getNumSuccessors(); i != e; ++i) in SplitAllCriticalEdges()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCFGMST.h125 if (int successors = TI->getNumSuccessors()) { in buildEdges()
152 if (TargetTI && !TargetTI->getNumSuccessors()) { in buildEdges()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DInstructions.h2948 unsigned getNumSuccessors() const { return 0; }
3072 unsigned getNumSuccessors() const { return 1+isConditional(); }
3075 assert(i < getNumSuccessors() && "Successor # out of range for Branch!");
3080 assert(idx < getNumSuccessors() && "Successor # out of range for Branch!");
3267 assert(SuccessorIndex < SI->getNumSuccessors() &&
3450 unsigned getNumSuccessors() const { return getNumOperands()/2; }
3452 assert(idx < getNumSuccessors() &&"Successor idx out of range for switch!");
3456 assert(idx < getNumSuccessors() && "Successor # out of range for switch!");
3622 unsigned getNumSuccessors() const { return getNumOperands()-1; }
3876 unsigned getNumSuccessors() const { return 2; }
[all …]
DCFG.h153 return Idx >= 0 && (Idx == 0 || Idx <= (int)Inst->getNumSuccessors()); in index_is_valid()
184 Idx = Inst->getNumSuccessors(); in SuccIterator()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DInstruction.cpp645 unsigned Instruction::getNumSuccessors() const { in getNumSuccessors() function in Instruction
649 return static_cast<const CLASS *>(this)->getNumSuccessors(); in getNumSuccessors()
682 for (unsigned Idx = 0, NumSuccessors = Instruction::getNumSuccessors(); in replaceSuccessorWith()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DIndirectBrExpandPass.cpp98 if (IBr->getNumSuccessors() == 0) { in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineRegionInfo.h44 static unsigned getNumSuccessors(MachineBasicBlock *BB) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Frontend/OpenMP/
DOMPIRBuilder.cpp382 assert(IP.getBlock()->getTerminator()->getNumSuccessors() == 1 && in CreateParallel()
620 assert(PreFiniTI->getNumSuccessors() == 1 && in CreateParallel()

123