Searched refs:FirstPhi (Results 1 – 4 of 4) sorted by relevance
951 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument963 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()964 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()1014 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()1020 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()1114 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()1117 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
1009 PHINode *FirstPhi = nullptr; in NormalizeReturnBlock() local1014 if (!FirstPhi) { in NormalizeReturnBlock()1015 FirstPhi = Phi; in NormalizeReturnBlock()1019 return FirstPhi; in NormalizeReturnBlock()1033 PHINode *FirstPhi = getFirstPHI(PreReturn); in NormalizeReturnBlock() local1036 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in NormalizeReturnBlock()
372 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local377 if (!FirstPhi) { in findOrCreateBlockForHoisting()378 FirstPhi = Phi; in findOrCreateBlockForHoisting()382 return FirstPhi; in findOrCreateBlockForHoisting()
3146 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local3153 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()3154 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()3158 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()3162 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()3164 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()