/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | GCNMinRegStrategy.cpp | 43 std::vector<unsigned> NumPreds; member in __anonf32753ba0111::GCNMinRegScheduler 47 return NumPreds[SU->NodeNum] == std::numeric_limits<unsigned>::max(); in isScheduled() 52 NumPreds[SU->NodeNum] = std::numeric_limits<unsigned>::max(); in setIsScheduled() 57 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max()); in getNumPreds() 58 return NumPreds[SU->NodeNum]; in getNumPreds() 63 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max()); in decNumPreds() 64 return --NumPreds[SU->NodeNum]; in decNumPreds() 88 NumPreds.resize(SUnits.size()); in initNumPreds() 90 NumPreds[I] = SUnits[I].NumPredsLeft; in initNumPreds()
|
D | GCNILPSched.cpp | 89 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority() 97 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority()
|
/external/swiftshader/third_party/LLVM/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 42 unsigned NumPreds; // Number of predecessor blocks. variable 48 NumPreds(0), Preds(0), PHITag(0) { } in BBInfo() 108 Info->NumPreds = Preds.size(); in BuildBlockList() 109 if (Info->NumPreds == 0) in BuildBlockList() 113 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*), in BuildBlockList() 116 for (unsigned p = 0; p != Info->NumPreds; ++p) { in BuildBlockList() 229 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindDominators() 287 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindPHIPlacement() 325 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals() 339 if (Info->NumPreds > 1) in FindAvailableVals() [all …]
|
D | BasicBlockUtils.h | 177 unsigned NumPreds, const char *Suffix,
|
/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 53 unsigned NumPreds; // Number of predecessor blocks. variable 59 IDom(nullptr), NumPreds(0), Preds(nullptr), PHITag(nullptr) {} in BBInfo() 119 Info->NumPreds = Preds.size(); in BuildBlockList() 120 if (Info->NumPreds == 0) in BuildBlockList() 124 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*), in BuildBlockList() 127 for (unsigned p = 0; p != Info->NumPreds; ++p) { in BuildBlockList() 240 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindDominators() 298 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindPHIPlacement() 336 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals() 350 if (Info->NumPreds > 1) in FindAvailableVals() [all …]
|
D | MemorySSA.h | 363 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0) 364 : MemoryAccess(C, MemoryPhiVal, BB, 0), ID(Ver), ReservedSpace(NumPreds) {
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 61 unsigned NumPreds = 0; variable 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() 252 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindDominators() 310 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindPHIPlacement() 348 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals() 372 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindAvailableVals()
|
/external/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 98 assert(NumPreds < UINT_MAX && "NumPreds will overflow!"); in addPred() 100 ++NumPreds; in addPred() 149 assert(NumPreds > 0 && "NumPreds will underflow!"); in removePred() 151 --NumPreds; in removePred() 299 if (NumPreds < 2) in biasCriticalPath() 387 if (SUnits[i].NumPreds == 0 && SUnits[i].NumSuccs == 0) { in VerifyScheduledDAG()
|
D | ScheduleDAGPrinter.cpp | 42 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/ |
D | ScheduleDAG.cpp | 138 assert(NumPreds < std::numeric_limits<unsigned>::max() && in addPred() 142 ++NumPreds; in addPred() 189 assert(NumPreds > 0 && "NumPreds will underflow!"); in removePred() 191 --NumPreds; in removePred() 325 if (NumPreds < 2) in biasCriticalPath() 403 if (SUnit.NumPreds == 0 && SUnit.NumSuccs == 0) { in VerifyScheduledDAG()
|
D | ScheduleDAGPrinter.cpp | 40 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
|
/external/clang/lib/Analysis/ |
D | ThreadSafetyTIL.cpp | 70 void BasicBlock::reservePredecessors(unsigned NumPreds) { in reservePredecessors() argument 71 Predecessors.reserve(NumPreds, Arena); in reservePredecessors() 74 Ph->values().reserve(NumPreds, Arena); in reservePredecessors()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/ |
D | ScheduleDAG.cpp | 100 assert(NumPreds < UINT_MAX && "NumPreds will overflow!"); in addPred() 102 ++NumPreds; in addPred() 147 assert(NumPreds > 0 && "NumPreds will underflow!"); in removePred() 149 --NumPreds; in removePred() 358 if (SUnits[i].NumPreds == 0 && SUnits[i].NumSuccs == 0) { in VerifySchedule()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 418 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneFunctionInto() local 428 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneFunctionInto() 450 NumPreds = std::distance(pred_begin(NewBB), pred_end(NewBB)); in CloneAndPruneFunctionInto() 451 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneFunctionInto() 452 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneFunctionInto()
|
D | BasicBlockUtils.cpp | 457 unsigned NumPreds, const char *Suffix, in SplitBlockPredecessors() argument 467 for (unsigned i = 0; i != NumPreds; ++i) { in SplitBlockPredecessors() 480 if (NumPreds == 0) { in SplitBlockPredecessors() 489 UpdateAnalysisInformation(BB, NewBB, ArrayRef<BasicBlock*>(Preds, NumPreds), in SplitBlockPredecessors() 493 UpdatePHINodes(BB, NewBB, ArrayRef<BasicBlock*>(Preds, NumPreds), BI, in SplitBlockPredecessors()
|
D | SSAUpdater.cpp | 299 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument 301 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 471 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst() local 481 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneIntoFromInst() 504 NumPreds = std::distance(pred_begin(NewBB), pred_end(NewBB)); in CloneAndPruneIntoFromInst() 505 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst() 506 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst()
|
D | SSAUpdater.cpp | 265 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument 267 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | ScheduleDAG.h | 247 unsigned NumPreds; // # of SDep::Data preds. 281 NodeQueueId(0), NumPreds(0), NumSuccs(0), NumPredsLeft(0), 295 NodeQueueId(0), NumPreds(0), NumSuccs(0), NumPredsLeft(0), 308 NodeQueueId(0), NumPreds(0), NumSuccs(0), NumPredsLeft(0),
|
/external/llvm/include/llvm/CodeGen/ |
D | ScheduleDAG.h | 268 unsigned NumPreds; // # of SDep::Data preds. 310 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0), 326 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0), 341 NodeNum(BoundaryID), NodeQueueId(0), NumPreds(0), NumSuccs(0),
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 508 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst() local 518 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneIntoFromInst() 541 NumPreds = pred_size(NewBB); in CloneAndPruneIntoFromInst() 542 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst() 543 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneIntoFromInst()
|
D | SSAUpdater.cpp | 279 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument 281 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds, in CreateEmptyPHI()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/SelectionDAG/ |
D | ResourcePriorityQueue.cpp | 518 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode() 519 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SpeculateAroundPHIs.cpp | 417 int NumPreds, DominatorTree &DT, TargetTransformInfo &TTI) { in findProfitablePHIs() argument 490 SpecCost *= (NumPreds - 1); in findProfitablePHIs()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | ResourcePriorityQueue.cpp | 533 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode() 534 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
|