Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1054 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
1066 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
1067 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1122 return replaceInstUsesWith(FirstPhi, PoisonValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1128 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1222 Value *Poison = PoisonValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1225 return replaceInstUsesWith(FirstPhi, Poison); in SliceUpIllegalIntegerPHI()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp1056 PHINode *FirstPhi = nullptr; in normalizeReturnBlock() local
1061 if (!FirstPhi) { in normalizeReturnBlock()
1062 FirstPhi = Phi; in normalizeReturnBlock()
1066 return FirstPhi; in normalizeReturnBlock()
1080 PHINode *FirstPhi = GetFirstPHI(PreReturn); in normalizeReturnBlock() local
1083 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in normalizeReturnBlock()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp409 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
414 if (!FirstPhi) { in findOrCreateBlockForHoisting()
415 FirstPhi = Phi; in findOrCreateBlockForHoisting()
419 return FirstPhi; in findOrCreateBlockForHoisting()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3674 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3681 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3682 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3686 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
3691 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
3692 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
3694 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()