Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp998 PHINode *FirstPhi = nullptr; in normalizeReturnBlock() local
1003 if (!FirstPhi) { in normalizeReturnBlock()
1004 FirstPhi = Phi; in normalizeReturnBlock()
1008 return FirstPhi; in normalizeReturnBlock()
1022 PHINode *FirstPhi = GetFirstPHI(PreReturn); in normalizeReturnBlock() local
1025 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in normalizeReturnBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1101 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
1113 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
1114 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1179 return replaceInstUsesWith(FirstPhi, PoisonValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1185 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1280 Value *Poison = PoisonValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1283 return replaceInstUsesWith(FirstPhi, Poison); in SliceUpIllegalIntegerPHI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp416 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
421 if (!FirstPhi) { in findOrCreateBlockForHoisting()
422 FirstPhi = Phi; in findOrCreateBlockForHoisting()
426 return FirstPhi; in findOrCreateBlockForHoisting()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4360 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
4367 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
4368 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
4372 if (Matcher.count({FirstPhi, SecondPhi})) in MatchPhiNode()
4377 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
4378 Matcher.insert({FirstPhi, SecondPhi}); in MatchPhiNode()
4380 WorkList.push_back({FirstPhi, SecondPhi}); in MatchPhiNode()