Home
last modified time | relevance | path

Searched refs:NumPreds (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DGCNMinRegStrategy.cpp42 std::vector<unsigned> NumPreds; member in __anonf220cf6a0111::GCNMinRegScheduler
46 return NumPreds[SU->NodeNum] == std::numeric_limits<unsigned>::max(); in isScheduled()
51 NumPreds[SU->NodeNum] = std::numeric_limits<unsigned>::max(); in setIsScheduled()
56 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max()); in getNumPreds()
57 return NumPreds[SU->NodeNum]; in getNumPreds()
62 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max()); in decNumPreds()
63 return --NumPreds[SU->NodeNum]; in decNumPreds()
87 NumPreds.resize(SUnits.size()); in initNumPreds()
89 NumPreds[I] = SUnits[I].NumPredsLeft; in initNumPreds()
DGCNILPSched.cpp89 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority()
97 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h60 unsigned NumPreds = 0; variable
131 Info->NumPreds = Preds.size(); in BuildBlockList()
132 if (Info->NumPreds == 0) in BuildBlockList()
136 Info->NumPreds * sizeof(BBInfo *), alignof(BBInfo *))); in BuildBlockList()
138 for (unsigned p = 0; p != Info->NumPreds; ++p) { in BuildBlockList()
251 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindDominators()
309 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindPHIPlacement()
347 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals()
371 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindAvailableVals()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DScheduleDAG.cpp139 assert(NumPreds < std::numeric_limits<unsigned>::max() && in addPred()
143 ++NumPreds; in addPred()
190 assert(NumPreds > 0 && "NumPreds will underflow!"); in removePred()
192 --NumPreds; in removePred()
326 if (NumPreds < 2) in biasCriticalPath()
395 if (SUnit.NumPreds == 0 && SUnit.NumSuccs == 0) { in VerifyScheduledDAG()
DScheduleDAGPrinter.cpp39 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
DMachineSSAUpdater.cpp303 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
DWinEHPrepare.cpp825 unsigned NumPreds = PN->getNumIncomingValues(); in cloneCommonBlocks() local
826 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks()
DIfConversion.cpp2088 unsigned NumPreds = TailBB->pred_size(); in IfConvertDiamond() local
2089 if (NumPreds > 1) in IfConvertDiamond()
2091 else if (NumPreds == 1 && CanMergeTail) { in IfConvertDiamond()
DMachinePipeliner.cpp1307 else if (DepKind == SDep::Data && !TmpMI->isPHI() && TmpSU->NumPreds > 0) in apply()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp523 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst() local
533 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneIntoFromInst()
556 NumPreds = pred_size(NewBB); in CloneAndPruneIntoFromInst()
557 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst()
558 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst()
DSSAUpdater.cpp278 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
280 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp520 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode()
521 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
DScheduleDAGRRList.cpp2043 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority()
2050 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority()
2724 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in canEnableCoalescing()
2949 if (SU.NumPreds != 1) in PrescheduleNodesWithMultipleUses()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp424 int NumPreds, DominatorTree &DT, TargetTransformInfo &TTI) { in findProfitablePHIs() argument
497 SpecCost *= (NumPreds - 1); in findProfitablePHIs()
DRewriteStatepointsForGC.cpp966 int NumPreds = pred_size(BB); in findBasePointer() local
967 assert(NumPreds > 0 && "how did we reach here"); in findBasePointer()
969 return PHINode::Create(I->getType(), NumPreds, Name, I); in findBasePointer()
DJumpThreading.cpp972 unsigned NumPreds = pred_size(TestBB); in GetBestDestForJumpOnUndef() local
973 if (NumPreds < MinNumPreds) { in GetBestDestForJumpOnUndef()
975 MinNumPreds = NumPreds; in GetBestDestForJumpOnUndef()
DIndVarSimplify.cpp603 unsigned NumPreds = PN->getNumIncomingValues(); in rewriteLoopExitValues() local
622 for (unsigned i = 0; i != NumPreds; ++i) { in rewriteLoopExitValues()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DMemorySSA.h490 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0)
492 ReservedSpace(NumPreds) {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DScheduleDAG.h266 unsigned NumPreds = 0; ///< # of SDep::Data preds. variable