| /llvm-project/llvm/lib/Target/AMDGPU/ |
| H A D | GCNMinRegStrategy.cpp | 36 std::vector<unsigned> NumPreds; member in __anoned988fb30111::GCNMinRegScheduler 40 return NumPreds[SU->NodeNum] == std::numeric_limits<unsigned>::max(); in isScheduled() 45 NumPreds[SU->NodeNum] = std::numeric_limits<unsigned>::max(); in setIsScheduled() 50 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max()); in getNumPreds() 51 return NumPreds[SU->NodeNum]; in getNumPreds() 56 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max()); in decNumPreds() 57 return --NumPreds[SU->NodeNum]; in decNumPreds() 81 NumPreds.resize(SUnits.size()); in initNumPreds() 83 NumPreds[I] = SUnits[I].NumPredsLeft; in initNumPreds()
|
| H A D | GCNILPSched.cpp | 88 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority() 96 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority()
|
| /llvm-project/llvm/include/llvm/Transforms/Utils/ |
| H A D | SSAUpdaterImpl.h | 61 unsigned NumPreds = 0; 63 // Array[NumPreds] of predecessor blocks. 132 Info->NumPreds = Preds.size(); in BuildBlockList() 133 if (Info->NumPreds == 0) in BuildBlockList() 137 Info->NumPreds * sizeof(BBInfo *), alignof(BBInfo *))); in BuildBlockList() 139 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() 330 if (!Info->NumPreds) in FindSingularVal() 335 for (unsigned Idx = 1; Idx < Info->NumPreds; in FindSingularVal() 60 unsigned NumPreds = 0; global() variable [all...] |
| /llvm-project/llvm/lib/CodeGen/ |
| H A D | ScheduleDAG.cpp | 141 assert(NumPreds < std::numeric_limits<unsigned>::max() && in addPred() 142 "NumPreds will overflow!"); in addPred() 145 ++NumPreds; in addPred() 188 assert(NumPreds > 0 && "NumPreds will underflow!"); in removePred() 190 --NumPreds; in removePred() 326 if (NumPreds < 2) in biasCriticalPath() 397 if (SUnit.NumPreds == 0 && SUnit.NumSuccs == 0) { in VerifyScheduledDAG() 719 assert(SU->NumPreds == 0 && "Can only add SU's with no predecessors"); in AddSUnitWithoutPredecessors()
|
| H A D | ScheduleDAGPrinter.cpp | 34 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
|
| H A D | MachineSSAUpdater.cpp | 322 static Register CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
|
| H A D | WinEHPrepare.cpp | 991 unsigned NumPreds = PN->getNumIncomingValues(); in cloneCommonBlocks() 992 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks() 987 unsigned NumPreds = PN->getNumIncomingValues(); cloneCommonBlocks() local
|
| H A D | IfConversion.cpp | 2070 unsigned NumPreds = TailBB->pred_size(); in IfConvertDiamond() local 2071 if (NumPreds > 1) in IfConvertDiamond() 2073 else if (NumPreds == 1 && CanMergeTail) { in IfConvertDiamond()
|
| H A D | MachinePipeliner.cpp | 1757 else if (DepKind == SDep::Data && !TmpMI->isPHI() && TmpSU->NumPreds > 0) in findCircuits()
|
| /llvm-project/clang/lib/Analysis/ |
| H A D | ThreadSafetyTIL.cpp | 71 void BasicBlock::reservePredecessors(unsigned NumPreds) { in reservePredecessors() argument 72 Predecessors.reserve(NumPreds, Arena); in reservePredecessors() 75 Ph->values().reserve(NumPreds, Arena); in reservePredecessors()
|
| /llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | CloneFunction.cpp | 788 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst() 799 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneIntoFromInst() 822 NumPreds = pred_size(NewBB); in CloneAndPruneIntoFromInst() 823 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst() 824 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst() 734 unsigned NumPreds = OPN->getNumIncomingValues(); CloneAndPruneIntoFromInst() local
|
| H A D | SSAUpdater.cpp | 297 /// vector, set Info->NumPreds, and allocate space in Info->Preds. 317 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, 320 PHINode::Create(Updater->ProtoType, NumPreds, Updater->ProtoName); in CreateEmptyPHI() 318 CreateEmptyPHI(BasicBlock * BB,unsigned NumPreds,SSAUpdater * Updater) CreateEmptyPHI() argument
|
| H A D | LoopUtils.cpp | 1572 unsigned NumPreds = PN->getNumIncomingValues(); in rewriteLoopExitValues() 1584 for (unsigned i = 0; i != NumPreds; ++i) { in rewriteLoopExitValues() 1427 unsigned NumPreds = PN->getNumIncomingValues(); rewriteLoopExitValues() local
|
| /llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | ResourcePriorityQueue.cpp | 519 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode() 520 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
|
| H A D | ScheduleDAGRRList.cpp | 2053 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority() 2060 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority() 2743 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in canEnableCoalescing() 2965 if (SU.NumPreds != 1) in PrescheduleNodesWithMultipleUses()
|
| /llvm-project/llvm/lib/IR/ |
| H A D | BasicBlock.cpp | 548 unsigned NumPreds = cast<PHINode>(front()).getNumIncomingValues(); in canSplitPredecessors() 556 if (NumPreds == 1) in isLegalToHoistInto() 524 unsigned NumPreds = cast<PHINode>(front()).getNumIncomingValues(); removePredecessor() local
|
| /llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemorySSA.h | 490 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0) 492 ReservedSpace(NumPreds) {
|
| /llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | ScheduleDAG.h | 272 unsigned NumPreds = 0; ///< # of SDep::Data preds. variable
|
| /llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | JumpThreading.cpp | 926 unsigned NumPreds = pred_size(TestBB); in getBestDestForJumpOnUndef() 927 if (NumPreds < MinNumPreds) { in getBestDestForJumpOnUndef() local 929 MinNumPreds = NumPreds; in getBestDestForJumpOnUndef()
|
| /llvm-project/clang/include/clang/Analysis/Analyses/ |
| H A D | ThreadSafetyTIL.h | 1607 // Reserve space for NumPreds predecessors, including space in phi nodes. 1608 void reservePredecessors(unsigned NumPreds);
|
| /llvm-project/llvm/lib/CodeGen/LiveDebugValues/ |
| H A D | InstrRefBasedImpl.cpp | 4082 static BlockValueNum CreateEmptyPHI(LDVSSABlock *BB, unsigned NumPreds, in resolveDbgPHIs() 4037 CreateEmptyPHI(LDVSSABlock * BB,unsigned NumPreds,LDVSSAUpdater * Updater) CreateEmptyPHI() argument
|