Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp951 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
963 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
964 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1014 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1020 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1114 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1117 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/freebsd-12.1/contrib/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp1009 PHINode *FirstPhi = nullptr; in NormalizeReturnBlock() local
1014 if (!FirstPhi) { in NormalizeReturnBlock()
1015 FirstPhi = Phi; in NormalizeReturnBlock()
1019 return FirstPhi; in NormalizeReturnBlock()
1033 PHINode *FirstPhi = getFirstPHI(PreReturn); in NormalizeReturnBlock() local
1036 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in NormalizeReturnBlock()
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp372 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
377 if (!FirstPhi) { in findOrCreateBlockForHoisting()
378 FirstPhi = Phi; in findOrCreateBlockForHoisting()
382 return FirstPhi; in findOrCreateBlockForHoisting()
/freebsd-12.1/contrib/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3146 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3153 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3154 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3158 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
3162 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
3164 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()