reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/Analysis/SparsePropagation.h
  421   if (PN.getNumIncomingValues() > 64) {
  429   for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i) {
lib/Analysis/BasicAliasAnalysis.cpp
  694       if (PN->getNumIncomingValues() > MaxLookup) {
 1617       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/Analysis/DivergenceAnalysis.cpp
  169   for (size_t i = 0; i < Phi.getNumIncomingValues(); ++i) {
lib/Analysis/IVDescriptors.cpp
  196   if (Phi->getNumIncomingValues() != 2)
  677       Phi->getNumIncomingValues() != 2)
  839   if (Phi->getNumIncomingValues() != 2)
lib/Analysis/IVUsers.cpp
  154   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
lib/Analysis/InlineCost.cpp
  483   for (unsigned i = 0, e = I.getNumIncomingValues(); i != e; ++i) {
lib/Analysis/LazyValueInfo.cpp
  787   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 1907         for (unsigned i = 0, e = PHI->getNumIncomingValues(); i < e; i++) {
lib/Analysis/MemoryBuiltins.cpp
  991   PHINode *SizePHI   = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues());
  992   PHINode *OffsetPHI = Builder.CreatePHI(IntTy, PHI.getNumIncomingValues());
  998   for (unsigned i = 0, e = PHI.getNumIncomingValues(); i != e; ++i) {
lib/Analysis/ScalarEvolution.cpp
 4698   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 5012   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 5271   if (PN->getNumIncomingValues() == 2 && all_of(PN->blocks(), IsReachable)) {
 5275     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
 7852   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 7965   if (PN->getNumIncomingValues() != 2) return getCouldNotCompute();
 8167             for (unsigned i = 0; i < PN->getNumIncomingValues(); i++) {
 8184               PN->getNumIncomingValues() == 2) {
10084     if (LPhi->getNumIncomingValues() != 2) return false;
lib/Analysis/ValueTracking.cpp
 1352     if (P->getNumIncomingValues() == 2) {
 1427     if (P->getNumIncomingValues() == 0)
 2219     if (PN->getNumIncomingValues() == 2) {
 2577       unsigned NumIncomingValues = PN->getNumIncomingValues();
 3693   if (PN->getNumIncomingValues() != 2)
lib/Bitcode/Writer/BitcodeWriter.cpp
 2879     for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i) {
lib/CodeGen/CodeGenPrepare.cpp
  769           for (unsigned I = 0, E = UPN->getNumIncomingValues(); I != E; ++I) {
  789     for (unsigned i = 0, e = BBPN->getNumIncomingValues(); i != e; ++i)
  796   for (unsigned i = 0, e = DestBBPN->getNumIncomingValues(); i != e; ++i) {
  852       for (unsigned i = 0, e = InValPhi->getNumIncomingValues(); i != e; ++i)
  859         for (unsigned i = 0, e = BBPN->getNumIncomingValues(); i != e; ++i)
 2016     for (unsigned I = 0, E = PN->getNumIncomingValues(); I != E; ++I) {
 3447         unsigned PredCount = CurrentPhi->getNumIncomingValues();
lib/CodeGen/GlobalISel/IRTranslator.cpp
 2063     for (unsigned i = 0; i < PI->getNumIncomingValues(); ++i) {
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  465   for (unsigned i = 1, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  367       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/CodeGen/SjLjEHPrepare.cpp
  299           for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
lib/CodeGen/WinEHPrepare.cpp
  823       unsigned NumPreds = PN->getNumIncomingValues();
 1128       for (unsigned i = 0, e = PN->getNumIncomingValues(); i < e; ++i) {
lib/IR/AsmWriter.cpp
 3760     for (unsigned op = 0, Eop = PN->getNumIncomingValues(); op < Eop; ++op) {
lib/IR/BasicBlock.cpp
  330   unsigned max_idx = APN->getNumIncomingValues();
lib/IR/Core.cpp
 2945   return unwrap<PHINode>(PhiNode)->getNumIncomingValues();
lib/IR/Instructions.cpp
  159   for (unsigned i = 1, e = getNumIncomingValues(); i != e; ++i)
  178   for (unsigned i = 0, e = getNumIncomingValues(); i != e; ++i) {
lib/IR/SafepointIRVerifier.cpp
  663         for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  796       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/IR/Verifier.cpp
 2389       Assert(PN.getNumIncomingValues() != 0,
 2393       Assert(PN.getNumIncomingValues() == Preds.size(),
 2400       Values.reserve(PN.getNumIncomingValues());
 2401       for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i)
lib/Target/AMDGPU/AMDGPUPromoteAlloca.cpp
  604       switch (Phi->getNumIncomingValues()) {
  866         for (unsigned I = 0, E = Phi->getNumIncomingValues(); I != E; ++I) {
lib/Target/AMDGPU/SIAnnotateControlFlow.cpp
  186   for (unsigned i = 0, e = Phi->getNumIncomingValues(); i != e; ++i) {
lib/Target/Hexagon/HexagonISelLowering.cpp
 1727   for (unsigned i = 0, e = PN->getNumIncomingValues(); i < e; ++i) {
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1012     unsigned N = P->getNumIncomingValues();
 1066     if (P.getNumIncomingValues() != 1)
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  688     auto NumIncomingValues = PN->getNumIncomingValues();
lib/Target/PowerPC/PPCBoolRetToInt.cpp
  103         PHINode::Create(IntTy, P->getNumIncomingValues(), P->getName(), P);
lib/Target/PowerPC/PPCLoopPreIncPrep.cpp
  524     if (CurrentPHINode->getNumIncomingValues() == 2) {
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  136           for (int I = 0, E = PN->getNumIncomingValues(); I < E; ++I)
lib/Transforms/Coroutines/CoroFrame.cpp
  121       if (PN->getNumIncomingValues() > 1)
  732       assert(PN->getNumIncomingValues() == 1 && "unexpected number of incoming "
  932       if (PN->getNumIncomingValues() > 1)
  979       assert(PN->getNumIncomingValues() == 1 && "unexpected number of incoming "
lib/Transforms/IPO/Attributor.cpp
  219       for (unsigned u = 0, e = PHI->getNumIncomingValues(); u < e; u++) {
lib/Transforms/IPO/FunctionAttrs.cpp
 1009       for (int i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
lib/Transforms/IPO/GlobalOpt.cpp
 1125     for (unsigned op = 0, e = PN->getNumIncomingValues(); op != e; ++op) {
 1186                      PN->getNumIncomingValues(),
 1429     assert(FieldPN->getNumIncomingValues() == 0 &&"Already processed this phi");
 1432     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/IPO/PartialInlining.cpp
 1052   if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1)
lib/Transforms/InstCombine/InstCombineCasts.cpp
  214     PHINode *NPN = PHINode::Create(Ty, OPN->getNumIncomingValues());
  215     for (unsigned i = 0, e = OPN->getNumIncomingValues(); i != e; ++i) {
 1074     for (unsigned i = 1, e = PN->getNumIncomingValues(); i != e; ++i)
lib/Transforms/InstCombine/InstCombineCompares.cpp
  666       NewInsts[PHI] = PHINode::Create(IndexType, PHI->getNumIncomingValues(),
  719       for (unsigned I = 0, E = PHI->getNumIncomingValues(); I < E; ++I) {
lib/Transforms/InstCombine/InstCombinePHI.cpp
   39   for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) {
  131   for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) {
  179   assert(AvailablePtrVals.size() == PN.getNumIncomingValues() &&
  192     for (unsigned i = 0; i != PtrPHI->getNumIncomingValues(); ++i) {
  230       IntToPtr->getType(), PN.getNumIncomingValues(), PN.getName() + ".ptr");
  234   for (unsigned i = 0; i != PN.getNumIncomingValues(); ++i) {
  294   for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) {
  326     NewLHS = PHINode::Create(LHSType, PN.getNumIncomingValues(),
  334     NewRHS = PHINode::Create(RHSType, PN.getNumIncomingValues(),
  343     for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  369   for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i)
  393   for (unsigned i = 1; i != PN.getNumIncomingValues(); ++i) {
  466     for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  562   for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  593                                    PN.getNumIncomingValues(),
  618   for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  660   unsigned NumIncomingValues = Phi.getNumIncomingValues();
  765   for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  780                                    PN.getNumIncomingValues(),
  787   for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i) {
  817     for (unsigned i = 1, e = PN.getNumIncomingValues(); i != e; ++i)
  973     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 1050       EltPHI = PHINode::Create(Ty, PN->getNumIncomingValues(),
 1055       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 1185       for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i) {
 1204     unsigned InValNo = 0, NumIncomingVals = PN.getNumIncomingValues();
 1238     for (unsigned i = 0, e = FirstPN->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/InstCombine/InstCombineShifts.cpp
  578     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
lib/Transforms/InstCombine/InstCombineVectorOps.cpp
  117       PHINode::Create(EI.getType(), PN->getNumIncomingValues(), ""), *PN));
  119   for (unsigned i = 0; i < PN->getNumIncomingValues(); i++) {
lib/Transforms/InstCombine/InstructionCombining.cpp
  930   unsigned NumPHIValues = PN->getNumIncomingValues();
  986   PHINode *NewPN = PHINode::Create(I.getType(), PN->getNumIncomingValues());
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
 1800       for (unsigned I = 0, NumOps = PN.getNumIncomingValues(); I < NumOps;
lib/Transforms/Instrumentation/DataFlowSanitizer.cpp
  963       for (unsigned val = 0, n = i->first->getNumIncomingValues(); val != n;
 1767       PHINode::Create(DFSF.DFS.ShadowTy, PN.getNumIncomingValues(), "", &PN);
lib/Transforms/Instrumentation/MemorySanitizer.cpp
 1295       size_t NumValues = PN->getNumIncomingValues();
 3427     setShadow(&I, IRB.CreatePHI(getShadowTy(&I), I.getNumIncomingValues(),
 3430       setOrigin(&I, IRB.CreatePHI(MS.OriginTy, I.getNumIncomingValues(),
lib/Transforms/Instrumentation/PoisonChecking.cpp
  265                                      OldPHI->getNumIncomingValues());
  266       for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++)
  307       for (unsigned i = 0; i < OldPHI->getNumIncomingValues(); i++) {
lib/Transforms/ObjCARC/ObjCARC.h
   91     unsigned I = 0, E = PN.getNumIncomingValues();
lib/Transforms/ObjCARC/ObjCARCContract.cpp
  672           for (unsigned i = 0, e = PHI->getNumIncomingValues(); i != e; ++i)
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  952       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 1007           for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/ObjCARC/ProvenanceAnalysis.cpp
   64       for (unsigned i = 0, e = A->getNumIncomingValues(); i != e; ++i)
lib/Transforms/Scalar/CallSiteSplitting.cpp
  429           assert(PN->getNumIncomingValues() == 2 &&
lib/Transforms/Scalar/CorrelatedValuePropagation.cpp
  164   for (unsigned i = 0, e = P->getNumIncomingValues(); i != e; ++i) {
  216   for (unsigned i = 0, e = P->getNumIncomingValues(); i < e; ++i) {
lib/Transforms/Scalar/GVN.cpp
 1644     for (unsigned i = 0; i != PN->getNumIncomingValues(); ++i) {
lib/Transforms/Scalar/GVNSink.cpp
  239     for (unsigned I = 0, E = PN->getNumIncomingValues(); I != E; ++I)
lib/Transforms/Scalar/IndVarSimplify.cpp
  244   for (unsigned i = 0, e = PHI->getNumIncomingValues(); i != e; ++i) {
  602     unsigned NumPreds = PN->getNumIncomingValues();
  727     if (PN->getNumIncomingValues() == 1 &&
  761       for (unsigned IncomingValIdx = 0, E = PN.getNumIncomingValues();
lib/Transforms/Scalar/InferAddressSpaces.cpp
  475     PHINode *NewPHI = PHINode::Create(NewPtrType, PHI->getNumIncomingValues());
  476     for (unsigned Index = 0; Index < PHI->getNumIncomingValues(); ++Index) {
lib/Transforms/Scalar/JumpThreading.cpp
  247   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  652     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  786       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 1779   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 1879       cast<PHINode>(BB->front()).getNumIncomingValues()) {
 2465   for (unsigned I = 0, E = CondPHI->getNumIncomingValues(); I != E; ++I) {
 2506   for (unsigned I = 0, E = CondLHS->getNumIncomingValues(); I != E; ++I) {
lib/Transforms/Scalar/LICM.cpp
  914           for (unsigned int i = 0; i < PN->getNumIncomingValues(); ++i)
 1423               PHINode::Create(OInst->getType(), PN.getNumIncomingValues(),
 1425           for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i)
lib/Transforms/Scalar/LoopInterchange.cpp
  657   if (PHI->getNumIncomingValues() != 1)
  666       if (PHI->getNumIncomingValues() == 1)
  697         assert(PHI.getNumIncomingValues() == 2 &&
  722     if (PHI.getNumIncomingValues() > 1)
  938     for (unsigned i = 0; i < PHI.getNumIncomingValues(); i++) {
 1352     assert(P.getNumIncomingValues() == 1 &&
 1402       if (P.getNumIncomingValues() != 1)
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 1473     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
 2111     if (PH->getNumIncomingValues() != 2) continue;
 5309   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
 5347             e = PN->getNumIncomingValues();
lib/Transforms/Scalar/LoopUnrollPass.cpp
  486           PHI->getNumIncomingValues() == 2 &&
lib/Transforms/Scalar/LowerExpectIntrinsic.cpp
  185   for (unsigned i = 0, e = PhiDef->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Scalar/MergeICmps.cpp
  796   if (Phi.getNumIncomingValues() <= 1) {
  817   for (unsigned I = 0; I < Phi.getNumIncomingValues(); ++I) {
  850       getOrderedBlocks(Phi, LastBlock, Phi.getNumIncomingValues());
lib/Transforms/Scalar/NewGVN.cpp
 3865       if (ReachablePredCount.lookup(BB) != PHI->getNumIncomingValues())
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1038       unsigned NumPHIValues = PN->getNumIncomingValues();
 1077       assert(BasePHI->getNumIncomingValues() == NumPHIValues);
 1827         for (unsigned i = 0; i < Phi->getNumIncomingValues(); i++) {
 1990   unsigned PhiNum = OrigRootPhi.getNumIncomingValues();
 1991   if (PhiNum != AlternateRootPhi.getNumIncomingValues() ||
lib/Transforms/Scalar/SCCP.cpp
  792   if (PN.getNumIncomingValues() > 64)
  801   for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Scalar/SROA.cpp
 1235   for (unsigned Idx = 0, Num = PN.getNumIncomingValues(); Idx != Num; ++Idx) {
 1268   PHINode *NewPN = PHIBuilder.CreatePHI(LoadTy, PN.getNumIncomingValues(),
 1286   for (unsigned Idx = 0, Num = PN.getNumIncomingValues(); Idx != Num; ++Idx) {
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  240     for (int i = PN.getNumIncomingValues() - 1; i >= 0; --i) {
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  218   for (int i : llvm::seq<int>(0, PN.getNumIncomingValues())) {
  644       for (int i : llvm::seq<int>(0, OpPN->getNumIncomingValues()))
lib/Transforms/Utils/BasicBlockUtils.cpp
  541       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  562       for (int64_t i = PN->getNumIncomingValues() - 1; i >= 0; --i)
  582     for (int64_t i = PN->getNumIncomingValues() - 1; i >= 0; --i) {
  889     if (SomePHI->getNumIncomingValues() != 2)
lib/Transforms/Utils/BreakCriticalEdges.cpp
  335   for (unsigned Pred = 0, E = PN->getNumIncomingValues(); Pred != E; ++Pred) {
lib/Transforms/Utils/CloneFunction.cpp
  523     unsigned NumPreds = OPN->getNumIncomingValues();
  557     if (NumPreds != PN->getNumIncomingValues()) {
  558       assert(NumPreds < PN->getNumIncomingValues());
  566       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
  586     if (PN->getNumIncomingValues() == 0) {
lib/Transforms/Utils/CodeExtractor.cpp
  633     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
  663     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
  683       for (unsigned i = 0; i != PN->getNumIncomingValues(); ++i) {
  706       for (unsigned i = 0; i < PN.getNumIncomingValues(); ++i)
 1547     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
 1555       for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Utils/DemoteRegToStack.cpp
   70       for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
  131   for (unsigned i = 0, e = P->getNumIncomingValues(); i < e; ++i) {
lib/Transforms/Utils/FlattenCFG.cpp
  459       for (unsigned i = 0, e = Phi.getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Utils/FunctionComparator.cpp
  651     for (unsigned i = 0, e = PNL->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Utils/LCSSA.cpp
  161                   PN->getNumIncomingValues() - 1)));
lib/Transforms/Utils/Local.cpp
  781       for (unsigned PI = 0, PE = PN->getNumIncomingValues(); PI != PE; ++PI) {
  796       for (unsigned PI = 0, PE = PN->getNumIncomingValues(); PI != PE; ++PI) {
  858   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  874   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  917     for (unsigned i = 0, e = OldValPN->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Utils/LoopSimplify.cpp
  196     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i)
  243   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  401     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
  424     for (unsigned i = 0, e = PN->getNumIncomingValues()-1; i != e; ++i)
lib/Transforms/Utils/LoopUnroll.cpp
   90     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Utils/LoopUnrollAndJam.cpp
  424       for (unsigned b = 0; b < Phi.getNumIncomingValues(); ++b) {
lib/Transforms/Utils/LoopUnrollRuntime.cpp
  810      unsigned oldNumOperands = Phi->getNumIncomingValues();
lib/Transforms/Utils/LoopUtils.cpp
  577     for (unsigned i = 0, e = P.getNumIncomingValues() - 1; i != e; ++i)
  580     assert((P.getNumIncomingValues() == 1 &&
lib/Transforms/Utils/LowerSwitch.cpp
  218     unsigned Idx = 0, E = PN->getNumIncomingValues();
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  724     if (SomePHI->getNumIncomingValues() == getNumPreds(BB))
  740     for (unsigned i = 0, e = SomePHI->getNumIncomingValues(); i != e; ++i) {
  755     unsigned NumBadPreds = SomePHI->getNumIncomingValues();
  758            SomePHI->getNumIncomingValues() == NumBadPreds) {
  905                                        APN->getNumIncomingValues() > 0);
lib/Transforms/Utils/SSAUpdater.cpp
   80   unsigned PHINumValues = PHI->getNumIncomingValues();
  114     for (unsigned i = 0, e = SomePhi->getNumIncomingValues(); i != e; ++i) {
  240       : PHI(P), idx(PHI->getNumIncomingValues()) {}
  306     if (PHI && PHI->getNumIncomingValues() == 0)
lib/Transforms/Utils/SimplifyCFG.cpp
 1412       for (unsigned i = 0, e = PN.getNumIncomingValues(); i != e; ++i)
 2184   if (PN->getNumIncomingValues() == 1) {
 2202   for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
 3834   for (unsigned Idx = 0, End = PhiLPInst->getNumIncomingValues(); Idx != End;
 4004         for (unsigned SrcIdx = 0, SrcE = SrcPN->getNumIncomingValues();
 6019     for (unsigned i = 0, e = PHI.getNumIncomingValues(); i != e; ++i)
 6080     if (PN->getNumIncomingValues() == 2)
lib/Transforms/Utils/ValueMapper.cpp
  866     for (unsigned i = 0, e = PN->getNumIncomingValues(); i != e; ++i) {
lib/Transforms/Vectorize/LoopVectorizationLegality.cpp
  606         if (Phi->getNumIncomingValues() != 2) {
lib/Transforms/Vectorize/LoopVectorize.cpp
 3824     assert(LCSSAPhi.getNumIncomingValues() < 3 && "Invalid LCSSA PHI");
 3845     if (LCSSAPhi.getNumIncomingValues() == 1) {
 3932     unsigned NumIncomingValues = OrigPhi->getNumIncomingValues();
 6149       return (Phi->getNumIncomingValues() - 1) *
 6820   unsigned NumIncoming = Phi->getNumIncomingValues();
 7303   unsigned NumIncoming = Phi->getNumIncomingValues();
lib/Transforms/Vectorize/SLPVectorizer.cpp
 2320         for (unsigned i = 0, e = PH->getNumIncomingValues(); i < e; ++i) {
 2340       for (unsigned i = 0, e = PH->getNumIncomingValues(); i < e; ++i) {
 3760       PHINode *NewPhi = Builder.CreatePHI(VecTy, PH->getNumIncomingValues());
 3772       for (unsigned i = 0, e = PH->getNumIncomingValues(); i < e; ++i) {
 3787       assert(NewPhi->getNumIncomingValues() == PH->getNumIncomingValues() &&
 3787       assert(NewPhi->getNumIncomingValues() == PH->getNumIncomingValues() &&
 4321         for (int i = 0, e = PH->getNumIncomingValues(); i != e; ++i) {
 6972       if (P->getNumIncomingValues() != 2)
lib/Transforms/Vectorize/VPlan.h
  801     assert((Phi->getNumIncomingValues() == 1 ||
  802             Phi->getNumIncomingValues() == Masks.size()) &&
tools/clang/lib/CodeGen/CodeGenFunction.cpp
  393     if (PN->getNumIncomingValues() == 0) {
tools/polly/lib/Analysis/ScopBuilder.cpp
 1094   for (unsigned u = 0; u < PHI->getNumIncomingValues(); u++) {
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1788   unsigned NumIncoming = PHI->getNumIncomingValues();
tools/polly/lib/Support/SCEVValidator.cpp
  783     for (unsigned i = 0; i < PHI->getNumIncomingValues(); i++) {
  801   for (unsigned i = 0; i < PHI->getNumIncomingValues(); i++) {
unittests/FuzzMutate/OperationsTest.cpp
  274   EXPECT_THAT(PHI1->getNumIncomingValues(), Eq(3u));
  275   EXPECT_THAT(PHI2->getNumIncomingValues(), Eq(3u));
unittests/Transforms/Utils/CodeExtractorTest.cpp
   72   EXPECT_TRUE(Exit && cast<PHINode>(Exit->front()).getNumIncomingValues() == 1);
   75               cast<PHINode>(ExitSplit->front()).getNumIncomingValues() == 2);
  124           cast<PHINode>(Exit1->front()).getNumIncomingValues() == 2);
  126           cast<PHINode>(Exit2->front()).getNumIncomingValues() == 2);