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

/freebsd-current/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNMinRegStrategy.cpp36 std::vector<unsigned> NumPreds; member in class:__anon2415::GCNMinRegScheduler
40 return NumPreds[SU->NodeNum] == std::numeric_limits<unsigned>::max();
45 NumPreds[SU->NodeNum] = std::numeric_limits<unsigned>::max();
50 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max());
51 return NumPreds[SU->NodeNum];
56 assert(NumPreds[SU->NodeNum] != std::numeric_limits<unsigned>::max());
57 return --NumPreds[SU->NodeNum];
81 NumPreds.resize(SUnits.size());
83 NumPreds[I] = SUnits[I].NumPredsLeft;
H A DGCNILPSched.cpp88 if (SU->NumSuccs == 0 && SU->NumPreds != 0)
96 if (SU->NumPreds == 0 && SU->NumSuccs != 0)
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdaterImpl.h60 unsigned NumPreds = 0; member in class:llvm::SSAUpdaterImpl::BBInfo
62 // Array[NumPreds] of predecessor blocks.
131 Info->NumPreds = Preds.size();
132 if (Info->NumPreds == 0)
136 Info->NumPreds * sizeof(BBInfo *), alignof(BBInfo *)));
138 for (unsigned p = 0; p != Info->NumPreds; ++p) {
251 for (unsigned p = 0; p != Info->NumPreds; ++p) {
309 for (unsigned p = 0; p != Info->NumPreds; ++p) {
330 if (!Info->NumPreds)
335 for (unsigned Idx = 1; Idx < Info->NumPreds;
[all...]
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/
H A DScheduleDAGPrinter.cpp34 return (Node->NumPreds > 10 || Node->NumSuccs > 10);
H A DScheduleDAG.cpp138 assert(NumPreds < std::numeric_limits<unsigned>::max() &&
139 "NumPreds will overflow!");
142 ++NumPreds;
187 assert(NumPreds > 0 && "NumPreds will underflow!");
189 --NumPreds;
327 if (NumPreds < 2)
396 if (SUnit.NumPreds == 0 && SUnit.NumSuccs == 0) {
718 assert(SU->NumPreds == 0 && "Can only add SU's with no predecessors");
H A DMachineSSAUpdater.cpp312 static Register CreateEmptyPHI(MachineBasicBlock *BB, unsigned NumPreds, argument
H A DWinEHPrepare.cpp986 unsigned NumPreds = PN->getNumIncomingValues();
987 for (unsigned PredIdx = 0, PredEnd = NumPreds; PredIdx != PredEnd;
H A DIfConversion.cpp2070 unsigned NumPreds = TailBB->pred_size(); local
2071 if (NumPreds > 1)
2073 else if (NumPreds == 1 && CanMergeTail) {
H A DMachinePipeliner.cpp1757 else if (DepKind == SDep::Data && !TmpMI->isPHI() && TmpSU->NumPreds > 0)
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/
H A DThreadSafetyTIL.cpp71 void BasicBlock::reservePredecessors(unsigned NumPreds) { argument
72 Predecessors.reserve(NumPreds, Arena);
75 Ph->values().reserve(NumPreds, Arena);
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSSAUpdater.cpp298 /// vector, set Info->NumPreds, and allocate space in Info->Preds.
318 static Value *CreateEmptyPHI(BasicBlock *BB, unsigned NumPreds, argument
321 PHINode::Create(Updater->ProtoType, NumPreds, Updater->ProtoName);
H A DCloneFunction.cpp749 unsigned NumPreds = OPN->getNumIncomingValues(); local
760 for (unsigned pred = 0, e = NumPreds; pred != e; ++pred) {
783 NumPreds = pred_size(NewBB);
784 if (NumPreds != PN->getNumIncomingValues()) {
785 assert(NumPreds < PN->getNumIncomingValues());
H A DLoopUtils.cpp1367 unsigned NumPreds = PN->getNumIncomingValues(); local
1379 for (unsigned i = 0; i != NumPreds; ++i) {
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DResourcePriorityQueue.cpp519 if (ParallelLiveRanges >= SU->NumPreds)
520 ParallelLiveRanges -= SU->NumPreds;
H A DScheduleDAGRRList.cpp2053 if (SU->NumSuccs == 0 && SU->NumPreds != 0)
2060 if (SU->NumPreds == 0 && SU->NumSuccs != 0)
2743 if (SU->NumPreds == 0 && SU->NumSuccs != 0)
2965 if (SU.NumPreds != 1)
/freebsd-current/contrib/llvm-project/llvm/lib/IR/
H A DBasicBlock.cpp556 unsigned NumPreds = cast<PHINode>(front()).getNumIncomingValues(); local
564 if (NumPreds == 1)
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemorySSA.h489 MemoryPhi(LLVMContext &C, BasicBlock *BB, unsigned Ver, unsigned NumPreds = 0)
491 ReservedSpace(NumPreds) {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DScheduleDAG.h266 unsigned NumPreds = 0; ///< # of SDep::Data preds. variable
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp938 unsigned NumPreds = pred_size(TestBB); local
939 if (NumPreds < MinNumPreds) {
941 MinNumPreds = NumPreds;
/freebsd-current/contrib/llvm-project/clang/include/clang/Analysis/Analyses/
H A DThreadSafetyTIL.h1611 // Reserve space for NumPreds predecessors, including space in phi nodes.
1612 void reservePredecessors(unsigned NumPreds);
/freebsd-current/contrib/llvm-project/llvm/lib/CodeGen/LiveDebugValues/
H A DInstrRefBasedImpl.cpp4036 static BlockValueNum CreateEmptyPHI(LDVSSABlock *BB, unsigned NumPreds,

Completed in 332 milliseconds