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

/external/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp64 void BasicBlock::reservePredecessors(unsigned NumPreds) { argument
65 Predecessors.reserve(NumPreds, Arena);
68 Ph->values().reserve(NumPreds, Arena);
/external/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h52 unsigned NumPreds; // Number of predecessor blocks. member in class:llvm::SSAUpdaterImpl::BBInfo
53 BBInfo **Preds; // Array[NumPreds] of predecessor blocks.
58 IDom(nullptr), NumPreds(0), Preds(nullptr), PHITag(nullptr) {}
118 Info->NumPreds = Preds.size();
119 if (Info->NumPreds == 0)
123 (Allocator.Allocate(Info->NumPreds * sizeof(BBInfo*),
126 for (unsigned p = 0; p != Info->NumPreds; ++p) {
239 for (unsigned p = 0; p != Info->NumPreds; ++p) {
297 for (unsigned p = 0; p != Info->NumPreds; ++p) {
335 ValT PHI = Traits::CreateEmptyPHI(Info->BB, Info->NumPreds, Update
[all...]
/external/llvm/lib/CodeGen/
H A DScheduleDAGPrinter.cpp44 return (Node->NumPreds > 10 || Node->NumSuccs > 10);
H A DScheduleDAG.cpp99 assert(NumPreds < UINT_MAX && "NumPreds will overflow!");
101 ++NumPreds;
150 assert(NumPreds > 0 && "NumPreds will underflow!");
152 --NumPreds;
300 if (NumPreds < 2)
389 if (SUnits[i].NumPreds == 0 && SUnits[i].NumSuccs == 0) {
H A DMachineSSAUpdater.cpp297 static unsigned CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, argument
H A DIfConversion.cpp1471 unsigned NumPreds = TailBB->pred_size(); local
1472 if (NumPreds > 1)
1474 else if (NumPreds == 1 && CanMergeTail) {
/external/llvm/lib/Transforms/Utils/
H A DCloneFunction.cpp480 unsigned NumPreds = OPN->getNumIncomingValues(); local
490 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) {
512 NumPreds = std::distance(pred_begin(NewBB), pred_end(NewBB));
513 if (NumPreds != PN->getNumIncomingValues()) {
514 assert(NumPreds < PN->getNumIncomingValues());
H A DSSAUpdater.cpp241 /// vector, set Info->NumPreds, and allocate space in Info->Preds.
264 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, argument
266 PHINode *PHI = PHINode::Create(Updater->ProtoType, NumPreds,
/external/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h279 unsigned NumPreds; // # of SDep::Data preds. variable
321 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0),
337 NodeNum(nodenum), NodeQueueId(0), NumPreds(0), NumSuccs(0),
352 NodeNum(BoundaryID), NodeQueueId(0), NumPreds(0), NumSuccs(0),
/external/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp535 if (ParallelLiveRanges >= SU->NumPreds)
536 ParallelLiveRanges -= SU->NumPreds;
H A DScheduleDAGRRList.cpp1897 if (SU->NumSuccs == 0 && SU->NumPreds != 0)
1904 if (SU->NumPreds == 0 && SU->NumSuccs != 0)
2590 if (SU->NumPreds == 0 && SU->NumSuccs != 0)
2818 if (SU->NumPreds != 1)
/external/llvm/lib/Transforms/Scalar/
H A DIndVarSimplify.cpp499 unsigned NumPreds = PN->getNumIncomingValues(); local
513 NumPreds == 1 &&
534 for (unsigned i = 0; i != NumPreds; ++i) {
H A DJumpThreading.cpp632 unsigned NumPreds = std::distance(pred_begin(TestBB), pred_end(TestBB)); local
633 if (NumPreds < MinNumPreds) {
635 MinNumPreds = NumPreds;
/external/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h1468 // Reserve space for NumPreds predecessors, including space in phi nodes.
1469 void reservePredecessors(unsigned NumPreds);

Completed in 3266 milliseconds