Home
last modified time | relevance | path

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

/external/swiftshader/third_party/LLVM/lib/Transforms/InstCombine/
DInstCombinePHI.cpp620 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
632 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
633 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
685 return ReplaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
691 DEBUG(errs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
786 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
789 return ReplaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/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-7.0/llvm/lib/Transforms/InstCombine/
DInstCombinePHI.cpp950 Instruction *InstCombiner::SliceUpIllegalIntegerPHI(PHINode &FirstPhi) { in SliceUpIllegalIntegerPHI() argument
962 PHIsToSlice.push_back(&FirstPhi); in SliceUpIllegalIntegerPHI()
963 PHIsInspected.insert(&FirstPhi); in SliceUpIllegalIntegerPHI()
1013 return replaceInstUsesWith(FirstPhi, UndefValue::get(FirstPhi.getType())); in SliceUpIllegalIntegerPHI()
1019 LLVM_DEBUG(dbgs() << "SLICING UP PHI: " << FirstPhi << '\n'; in SliceUpIllegalIntegerPHI()
1113 Value *Undef = UndefValue::get(FirstPhi.getType()); in SliceUpIllegalIntegerPHI()
1116 return replaceInstUsesWith(FirstPhi, Undef); in SliceUpIllegalIntegerPHI()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp1014 PHINode *FirstPhi = nullptr; in NormalizeReturnBlock() local
1019 if (!FirstPhi) { in NormalizeReturnBlock()
1020 FirstPhi = Phi; in NormalizeReturnBlock()
1024 return FirstPhi; in NormalizeReturnBlock()
1038 PHINode *FirstPhi = getFirstPHI(PreReturn); in NormalizeReturnBlock() local
1041 if (!FirstPhi || FirstPhi->getNumIncomingValues() <= NumPredsFromEntries + 1) in NormalizeReturnBlock()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCodeExtractor.cpp362 PHINode *FirstPhi = nullptr; in findOrCreateBlockForHoisting() local
367 if (!FirstPhi) { in findOrCreateBlockForHoisting()
368 FirstPhi = Phi; in findOrCreateBlockForHoisting()
372 return FirstPhi; in findOrCreateBlockForHoisting()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DCodeGenPrepare.cpp2967 PHINode *FirstPhi = dyn_cast<PHINode>(FirstValue); in MatchPhiNode() local
2974 if (!FirstPhi || !SecondPhi || !PhiNodesToMatch.count(FirstPhi) || in MatchPhiNode()
2975 FirstPhi->getParent() != SecondPhi->getParent()) in MatchPhiNode()
2979 if (Matcher.count({ FirstPhi, SecondPhi })) in MatchPhiNode()
2983 Matcher.insert({ FirstPhi, SecondPhi }); in MatchPhiNode()
2985 WorkList.push_back({ FirstPhi, SecondPhi }); in MatchPhiNode()