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.cpp1006 PHINode *FirstPhi = nullptr; in normalizeReturnBlock() local
1011 if (!FirstPhi) { in normalizeReturnBlock()
1012 FirstPhi = Phi; in normalizeReturnBlock()
1016 return FirstPhi; in normalizeReturnBlock()
1030 PHINode *FirstPhi = GetFirstPHI(PreReturn); in normalizeReturnBlock() local
1033 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in normalizeReturnBlock()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1098 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
1110 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
1111 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1176 return replaceInstUsesWith(FirstPhi, PoisonValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1182 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1277 Value *Poison = PoisonValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1280 return replaceInstUsesWith(FirstPhi, Poison); in SliceUpIllegalIntegerPHI()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp4023 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
4030 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
4031 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
4035 if (Matcher.count({FirstPhi, SecondPhi})) in MatchPhiNode()
4040 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
4041 Matcher.insert({FirstPhi, SecondPhi}); in MatchPhiNode()
4043 WorkList.push_back({FirstPhi, SecondPhi}); in MatchPhiNode()