/external/llvm/include/llvm/Transforms/Utils/ |
D | SSAUpdaterImpl.h | 52 unsigned NumPreds; // Number of predecessor blocks. variable 58 IDom(nullptr), NumPreds(0), Preds(nullptr), PHITag(nullptr) {} in BBInfo() 118 Info->NumPreds = Preds.size(); in BuildBlockList() 119 if (Info->NumPreds == 0) in BuildBlockList() 123 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*), in BuildBlockList() 126 for (unsigned p = 0; p != Info->NumPreds; ++p) { in BuildBlockList() 239 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindDominators() 297 for (unsigned p = 0; p != Info->NumPreds; ++p) { in FindPHIPlacement() 335 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Updater); in FindAvailableVals() 349 if (Info->NumPreds > 1) in FindAvailableVals() [all …]
|
/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 | 43 return (Node->NumPreds > 10 || Node->NumSuccs > 10); in isNodeHidden()
|
D | MachineSSAUpdater.cpp | 297 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
|
D | WinEHPrepare.cpp | 662 unsigned NumPreds = PN->getNumIncomingValues(); in cloneCommonBlocks() local 663 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd; in cloneCommonBlocks()
|
D | IfConversion.cpp | 1493 unsigned NumPreds = TailBB->pred_size(); in IfConvertDiamond() local 1494 if (NumPreds > 1) in IfConvertDiamond() 1496 else if (NumPreds == 1 && CanMergeTail) { in IfConvertDiamond()
|
/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/llvm/include/llvm/CodeGen/ |
D | ScheduleDAG.h | 285 unsigned NumPreds; // # of SDep::Data preds. 327 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0), 343 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0), 358 NodeNum(BoundaryID), NodeQueueId(0), NumPreds(0), NumSuccs(0),
|
/external/llvm/lib/Transforms/Utils/ |
D | CloneFunction.cpp | 568 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneIntoFromInst() local 578 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneIntoFromInst() 600 NumPreds = std::distance(pred_begin(NewBB), pred_end(NewBB)); in CloneAndPruneIntoFromInst() 601 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneIntoFromInst() 602 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/llvm/lib/CodeGen/SelectionDAG/ |
D | ResourcePriorityQueue.cpp | 533 if (ParallelLiveRanges >= SU->NumPreds) in scheduledNode() 534 ParallelLiveRanges -= SU->NumPreds; in scheduledNode()
|
D | ScheduleDAGRRList.cpp | 1913 if (SU->NumSuccs == 0 && SU->NumPreds != 0) in getNodePriority() 1920 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in getNodePriority() 2606 if (SU->NumPreds == 0 && SU->NumSuccs != 0) in canEnableCoalescing() 2834 if (SU->NumPreds != 1) in PrescheduleNodesWithMultipleUses()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 685 unsigned NumPreds = std::distance(pred_begin(TestBB), pred_end(TestBB)); in GetBestDestForJumpOnUndef() local 686 if (NumPreds < MinNumPreds) { in GetBestDestForJumpOnUndef() 688 MinNumPreds = NumPreds; in GetBestDestForJumpOnUndef()
|
D | IndVarSimplify.cpp | 561 unsigned NumPreds = PN->getNumIncomingValues(); in rewriteLoopExitValues() local 575 NumPreds == 1 && in rewriteLoopExitValues() 596 for (unsigned i = 0; i != NumPreds; ++i) { in rewriteLoopExitValues()
|
D | RewriteStatepointsForGC.cpp | 917 int NumPreds = std::distance(pred_begin(BB), pred_end(BB)); in findBasePointer() local 918 assert(NumPreds > 0 && "how did we reach here"); in findBasePointer() 920 return PHINode::Create(I->getType(), NumPreds, Name, I); in findBasePointer()
|
/external/clang/include/clang/Analysis/Analyses/ |
D | ThreadSafetyTIL.h | 1619 void reservePredecessors(unsigned NumPreds);
|