Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1128 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1222 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1225 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DCodeGenPrepare.cpp3670 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3677 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3678 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3682 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
3687 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
3688 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
3690 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()