Searched refs:FirstPhi (Results 1 – 6 of 6) sorted by relevance
620 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument632 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()633 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()685 return ReplaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()691 DEBUG(errs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()786 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()789 return ReplaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
694 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument706 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()707 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()757 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()763 DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()858 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()861 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
950 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument962 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()963 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()1013 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()1019 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()1113 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()1116 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
1014 PHINode *FirstPhi = nullptr; in NormalizeReturnBlock() local1019 if (!FirstPhi) { in NormalizeReturnBlock()1020 FirstPhi = Phi; in NormalizeReturnBlock()1024 return FirstPhi; in NormalizeReturnBlock()1038 PHINode *FirstPhi = getFirstPHI(PreReturn); in NormalizeReturnBlock() local1041 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in NormalizeReturnBlock()
362 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local367 if (!FirstPhi) { in findOrCreateBlockForHoisting()368 FirstPhi = Phi; in findOrCreateBlockForHoisting()372 return FirstPhi; in findOrCreateBlockForHoisting()
2967 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local2974 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()2975 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()2979 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()2983 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()2985 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()