Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Transforms/InstCombine/
H A DInstCombinePHI.cpp1094 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
1106 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
1107 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1172 return replaceInstUsesWith(FirstPhi, PoisonValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1178 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1272 Value *Poison = PoisonValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1275 return replaceInstUsesWith(FirstPhi, Poison); in SliceUpIllegalIntegerPHI()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeExtractor.cpp407 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
412 if (!FirstPhi) { in findOrCreateBlockForHoisting()
413 FirstPhi = Phi; in findOrCreateBlockForHoisting()
417 return FirstPhi; in findOrCreateBlockForHoisting()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3787 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3794 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3795 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3799 if (Matcher.count({FirstPhi, SecondPhi})) in MatchPhiNode()
3804 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
3805 Matcher.insert({FirstPhi, SecondPhi}); in MatchPhiNode()
3807 WorkList.push_back({FirstPhi, SecondPhi}); in MatchPhiNode()