Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp694 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
706 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
707 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
757 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
763 DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
858 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
861 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp963 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
975 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
976 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1031 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1037 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1131 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1134 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/external/llvm-project/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp1048 Instruction *InstCombinerImpl::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
1060 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
1061 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1116 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1122 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1216 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1219 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/external/llvm-project/llvm/lib/Transforms/IPO/
DPartialInlining.cpp1051 PHINode *FirstPhi = nullptr; in normalizeReturnBlock() local
1056 if (!FirstPhi) { in normalizeReturnBlock()
1057 FirstPhi = Phi; in normalizeReturnBlock()
1061 return FirstPhi; in normalizeReturnBlock()
1075 PHINode *FirstPhi = GetFirstPHI(PreReturn); in normalizeReturnBlock() local
1078 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in normalizeReturnBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp1026 PHINode *FirstPhi = nullptr; in NormalizeReturnBlock() local
1031 if (!FirstPhi) { in NormalizeReturnBlock()
1032 FirstPhi = Phi; in NormalizeReturnBlock()
1036 return FirstPhi; in NormalizeReturnBlock()
1050 PHINode *FirstPhi = getFirstPHI(PreReturn); in NormalizeReturnBlock() local
1053 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in NormalizeReturnBlock()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp406 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
411 if (!FirstPhi) { in findOrCreateBlockForHoisting()
412 FirstPhi = Phi; in findOrCreateBlockForHoisting()
416 return FirstPhi; in findOrCreateBlockForHoisting()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp409 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
414 if (!FirstPhi) { in findOrCreateBlockForHoisting()
415 FirstPhi = Phi; in findOrCreateBlockForHoisting()
419 return FirstPhi; in findOrCreateBlockForHoisting()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3417 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3424 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3425 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3429 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
3434 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
3435 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
3437 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()
/external/llvm-project/llvm/lib/CodeGen/
DCodeGenPrepare.cpp3564 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
3571 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
3572 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
3576 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
3581 if (MatchedPHIs.insert(FirstPhi).second) in MatchPhiNode()
3582 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
3584 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()