Searched refs:FirstPhi (Results 1 – 4 of 4) sorted by relevance
1054 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument1066 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()1067 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()1122 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()1128 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()1222 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()1225 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
1056 PHINode *FirstPhi = nullptr; in normalizeReturnBlock() local1061 if (!FirstPhi) { in normalizeReturnBlock()1062 FirstPhi = Phi; in normalizeReturnBlock()1066 return FirstPhi; in normalizeReturnBlock()1080 PHINode *FirstPhi = GetFirstPHI(PreReturn); in normalizeReturnBlock() local1083 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in normalizeReturnBlock()
409 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local414 if (!FirstPhi) { in findOrCreateBlockForHoisting()415 FirstPhi = Phi; in findOrCreateBlockForHoisting()419 return FirstPhi; in findOrCreateBlockForHoisting()
3670 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local3677 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()3678 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()3682 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()3687 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()3688 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()3690 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()