/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/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()
|
D | MachineSSAUpdater.cpp | 296 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
|
/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()
|
D | MachineSSAUpdater.cpp | 312 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
|
D | IfConversion.cpp | 1326 unsigned NumPreds = TailBB->pred_size(); in IfConvertDiamond() local 1327 if (NumPreds > 1) in IfConvertDiamond() 1329 else if (NumPreds == 1 && CanMergeTail) { in IfConvertDiamond()
|
/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/llvm/lib/CodeGen/SelectionDAG/ |
D | ResourcePriorityQueue.cpp | 533 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode() 534 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
|
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/ |
D | ProfileInfo.h | 164 BType *const *Preds, unsigned NumPreds);
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | IndVarSimplify.cpp | 512 unsigned NumPreds = PN->getNumIncomingValues(); in RewriteLoopExitValues() local 532 for (unsigned i = 0; i != NumPreds; ++i) { in RewriteLoopExitValues() 572 if (NumPreds == 1) { in RewriteLoopExitValues() 580 if (NumPreds != 1) { in RewriteLoopExitValues()
|
D | JumpThreading.cpp | 602 unsigned NumPreds = std::distance(pred_begin(TestBB), pred_end(TestBB)); in GetBestDestForJumpOnUndef() local 603 if (NumPreds < MinNumPreds) { in GetBestDestForJumpOnUndef() 605 MinNumPreds = NumPreds; in GetBestDestForJumpOnUndef()
|
/external/swiftshader/third_party/LLVM/lib/Analysis/ |
D | ProfileInfo.cpp | 444 unsigned NumPreds) { in splitBlock() argument 450 DEBUG(dbgs() << "Splitting " << NumPreds << " Edges from " << BB->getName() in splitBlock() 458 for (unsigned pred = 0; pred < NumPreds; ++pred) { in splitBlock()
|
/external/swiftshader/third_party/LLVM/lib/CodeGen/SelectionDAG/ |
D | ScheduleDAGRRList.cpp | 1791 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority() 1798 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority() 2507 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in canEnableCoalescing() 2732 if (SU->NumPreds != 1) in PrescheduleNodesWithMultipleUses() 2920 bool LIsFloater = LIsTarget && left->NumPreds == 0; in operator ()() 2921 bool RIsFloater = RIsTarget && right->NumPreds == 0; in operator ()()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 681 unsigned NumPreds = std::distance(pred_begin(TestBB), pred_end(TestBB)); in GetBestDestForJumpOnUndef() local 682 if (NumPreds < MinNumPreds) { in GetBestDestForJumpOnUndef() 684 MinNumPreds = NumPreds; in GetBestDestForJumpOnUndef()
|