Home
last modified time | relevance | path

Searched refs:FirstPhi (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1087 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
1099 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
1100 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1165 return replaceInstUsesWith(FirstPhi, PoisonValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1171 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1265 Value *Poison = PoisonValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1268 return replaceInstUsesWith(FirstPhi, Poison); in SliceUpIllegalIntegerPHI()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp1053 PHINode *FirstPhi = nullptr; in normalizeReturnBlock() local
1058 if (!FirstPhi) { in normalizeReturnBlock()
1059 FirstPhi = Phi; in normalizeReturnBlock()
1063 return FirstPhi; in normalizeReturnBlock()
1077 PHINode *FirstPhi = GetFirstPHI(PreReturn); in normalizeReturnBlock() local
1080 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in normalizeReturnBlock()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp408 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
413 if (!FirstPhi) { in findOrCreateBlockForHoisting()
414 FirstPhi = Phi; in findOrCreateBlockForHoisting()
418 return FirstPhi; in findOrCreateBlockForHoisting()
/llvm-project-15.0.7/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3693 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3700 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3701 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3705 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
3710 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
3711 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
3713 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()