Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DGCNMinRegStrategy.cpp43 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()
DGCNILPSched.cpp89 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/
DSSAUpdaterImpl.h42 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 …]
DBasicBlockUtils.h177 unsigned NumPreds, const char *Suffix,
/external/llvm/include/llvm/Transforms/Utils/
DSSAUpdaterImpl.h53 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 …]
DMemorySSA.h363 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/
DSSAUpdaterImpl.h61 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/
DScheduleDAG.cpp98 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()
DScheduleDAGPrinter.cpp42 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DScheduleDAG.cpp138 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()
DScheduleDAGPrinter.cpp40 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
/external/clang/lib/Analysis/
DThreadSafetyTIL.cpp70 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/
DScheduleDAG.cpp100 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/
DCloneFunction.cpp418 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()
DBasicBlockUtils.cpp457 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()
DSSAUpdater.cpp299 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/
DCloneFunction.cpp471 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()
DSSAUpdater.cpp265 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/
DScheduleDAG.h247 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/
DScheduleDAG.h268 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/
DCloneFunction.cpp508 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()
DSSAUpdater.cpp279 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/
DResourcePriorityQueue.cpp518 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode()
519 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSpeculateAroundPHIs.cpp417 int NumPreds, DominatorTree &DT, TargetTransformInfo &TTI) { in findProfitablePHIs() argument
490 SpecCost *= (NumPreds - 1); in findProfitablePHIs()
/external/llvm/lib/CodeGen/SelectionDAG/
DResourcePriorityQueue.cpp533 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode()
534 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()

12