Home
last modified time | relevance | path

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

/external/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.h174 unsigned NumPreds, const char *Suffix,
/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp331 unsigned NumPreds, const char *Suffix, in SplitBlockPredecessors() argument
350 for (unsigned i = 0; i != NumPreds; ++i) { in SplitBlockPredecessors()
386 if (NumPreds == 0) { in SplitBlockPredecessors()
402 for (unsigned i = 0; i != NumPreds; ++i) in SplitBlockPredecessors()
433 for (unsigned i = 1; i != NumPreds; ++i) in SplitBlockPredecessors()
444 for (unsigned i = 0; i != NumPreds; ++i) in SplitBlockPredecessors()
450 PHINode::Create(PN->getType(), NumPreds, PN->getName()+".ph", BI); in SplitBlockPredecessors()
454 for (unsigned i = 0; i != NumPreds; ++i) { in SplitBlockPredecessors()
DCloneFunction.cpp422 unsigned NumPreds = OPN->getNumIncomingValues(); in CloneAndPruneFunctionInto() local
432 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) { in CloneAndPruneFunctionInto()
454 NumPreds = std::distance(pred_begin(NewBB), pred_end(NewBB)); in CloneAndPruneFunctionInto()
455 if (NumPreds != PN->getNumIncomingValues()) { in CloneAndPruneFunctionInto()
456 assert(NumPreds < PN->getNumIncomingValues()); in CloneAndPruneFunctionInto()
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/CodeGen/
DScheduleDAG.cpp100 assert(NumPreds < UINT_MAX && "NumPreds will overflow!"); in addPred()
102 ++NumPreds; in addPred()
146 assert(NumPreds > 0 && "NumPreds will underflow!"); in removePred()
148 --NumPreds; in removePred()
357 if (SUnits[i].NumPreds == 0 && SUnits[i].NumSuccs == 0) { in VerifySchedule()
DMachineSSAUpdater.cpp312 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, in CreateEmptyPHI() argument
DIfConversion.cpp1345 unsigned NumPreds = TailBB->pred_size(); in IfConvertDiamond() local
1346 if (NumPreds > 1) in IfConvertDiamond()
1348 else if (NumPreds == 1 && CanMergeTail) { in IfConvertDiamond()
/external/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/Analysis/
DProfileInfo.h164 BType *const *Preds, unsigned NumPreds);
/external/llvm/lib/Analysis/
DProfileInfo.cpp444 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/llvm/lib/CodeGen/SelectionDAG/
DScheduleDAGRRList.cpp1791 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()
2699 if (SU->NumPreds != 1) in PrescheduleNodesWithMultipleUses()
2886 bool LIsFloater = LIsTarget && left->NumPreds == 0; in operator ()()
2887 bool RIsFloater = RIsTarget && right->NumPreds == 0; in operator ()()
/external/llvm/lib/Transforms/Scalar/
DIndVarSimplify.cpp533 unsigned NumPreds = PN->getNumIncomingValues(); in RewriteLoopExitValues() local
553 for (unsigned i = 0; i != NumPreds; ++i) { in RewriteLoopExitValues()
593 if (NumPreds == 1) { in RewriteLoopExitValues()
601 if (NumPreds != 1) { in RewriteLoopExitValues()
DJumpThreading.cpp602 unsigned NumPreds = std::distance(pred_begin(TestBB), pred_end(TestBB)); in GetBestDestForJumpOnUndef() local
603 if (NumPreds < MinNumPreds) { in GetBestDestForJumpOnUndef()
605 MinNumPreds = NumPreds; in GetBestDestForJumpOnUndef()