Home
last modified time | relevance | path

Searched refs:PHIs (Results 1 – 11 of 11) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DEarlyIfConversion.cpp121 SmallVector<PHIInfo, 8> PHIs; member in __anon1e64fd320111::SSAIfConv
505 PHIs.clear(); in canConvertIf()
510 PHIs.push_back(&*I); in canConvertIf()
511 PHIInfo &PI = PHIs.back(); in canConvertIf()
567 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in replacePHIInstrs()
568 PHIInfo &PI = PHIs[i]; in replacePHIInstrs()
587 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in rewritePHIOperands()
588 PHIInfo &PI = PHIs[i]; in rewritePHIOperands()
841 for (unsigned i = 0, e = IfConv.PHIs.size(); i != e; ++i) { in shouldConvertIf()
842 SSAIfConv::PHIInfo &PI = IfConv.PHIs[i]; in shouldConvertIf()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DGlobalOpt.cpp628 SmallPtrSetImpl<const PHINode*> &PHIs) { in AllUsesOfValueWillTrapIfNull() argument
654 if (!AllUsesOfValueWillTrapIfNull(CI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull()
656 if (!AllUsesOfValueWillTrapIfNull(GEPI, PHIs)) return false; in AllUsesOfValueWillTrapIfNull()
660 if (PHIs.insert(PN).second && !AllUsesOfValueWillTrapIfNull(PN, PHIs)) in AllUsesOfValueWillTrapIfNull()
679 SmallPtrSet<const PHINode*, 8> PHIs; in AllUsesOfLoadedValueWillTrapIfNull() local
680 if (!AllUsesOfValueWillTrapIfNull(LI, PHIs)) in AllUsesOfLoadedValueWillTrapIfNull()
980 SmallPtrSetImpl<const PHINode*> &PHIs) { in ValueIsOnlyUsedLocallyOrStoredToOneGlobal() argument
996 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(Inst, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
1004 if (PHIs.insert(PN).second) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
1005 if (!ValueIsOnlyUsedLocallyOrStoredToOneGlobal(PN, GV, PHIs)) in ValueIsOnlyUsedLocallyOrStoredToOneGlobal()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUMachineCFGStructurizer.cpp1418 SmallPtrSet<MachineInstr *, 2> PHIs; in extractKilledPHIs() local
1427 PHIs.insert(&Instr); in extractKilledPHIs()
1433 for (auto PI : PHIs) { in extractKilledPHIs()
1658 SmallVector<MachineInstr *, 2> &PHIs) { in collectPHIs() argument
1661 PHIs.push_back(&BBI); in collectPHIs()
1669 SmallVector<MachineInstr *, 2> PHIs; in rewriteRegionExitPHIs() local
1674 collectPHIs(Exit, PHIs); in rewriteRegionExitPHIs()
1676 for (auto PHII : PHIs) { in rewriteRegionExitPHIs()
1683 SmallVector<MachineInstr *, 2> PHIs; in rewriteRegionEntryPHIs() local
1686 collectPHIs(Entry, PHIs); in rewriteRegionEntryPHIs()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DIVDescriptors.cpp337 SmallVector<Instruction *, 8> PHIs; in AddReductionVar() local
372 PHIs.push_back(UI); in AddReductionVar()
386 Worklist.append(PHIs.begin(), PHIs.end()); in AddReductionVar()
DValueTracking.cpp3755 SmallPtrSetImpl<const PHINode*> &PHIs, in GetStringLengthH() argument
3763 if (!PHIs.insert(PN).second) in GetStringLengthH()
3769 uint64_t Len = GetStringLengthH(IncValue, PHIs, CharSize); in GetStringLengthH()
3785 uint64_t Len1 = GetStringLengthH(SI->getTrueValue(), PHIs, CharSize); in GetStringLengthH()
3787 uint64_t Len2 = GetStringLengthH(SI->getFalseValue(), PHIs, CharSize); in GetStringLengthH()
3819 SmallPtrSet<const PHINode*, 32> PHIs; in GetStringLength() local
3820 uint64_t Len = GetStringLengthH(V, PHIs, CharSize); in GetStringLength()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp159 SmallVector<WeakTrackingVH, 8> PHIs; in DeleteDeadPHIs() local
161 PHIs.push_back(&PN); in DeleteDeadPHIs()
164 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in DeleteDeadPHIs()
165 if (PHINode *PN = dyn_cast_or_null<PHINode>(PHIs[i].operator Value*())) in DeleteDeadPHIs()
DSimplifyCFG.cpp2687 SmallVector<PHINode *, 4> PHIs; in FoldBranchToCommonDest() local
2691 !isProfitableToFoldUnconditional(BI, PBI, Cond, PHIs))) in FoldBranchToCommonDest()
2826 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) { in FoldBranchToCommonDest()
2828 PHIs[i]->getIncomingValueForBlock(PBI->getParent())); in FoldBranchToCommonDest()
2857 PHIs[i]->setIncomingValueForBlock(PBI->getParent(), MergedCond); in FoldBranchToCommonDest()
5388 SmallVector<PHINode *, 4> PHIs; in SwitchToLookupTable() local
5409 PHIs.push_back(PHI); in SwitchToLookupTable()
5415 for (PHINode *PHI : PHIs) { in SwitchToLookupTable()
5419 uint64_t NumResults = ResultLists[PHIs[0]].size(); in SwitchToLookupTable()
5507 const ResultListTy &ResultList = ResultLists[PHIs[0]]; in SwitchToLookupTable()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DGVNSink.cpp595 void analyzeInitialPHIs(BasicBlock *BB, ModelledPHISet &PHIs, in analyzeInitialPHIs() argument
599 PHIs.insert(MPHI); in analyzeInitialPHIs()
DIndVarSimplify.cpp508 SmallVector<WeakTrackingVH, 8> PHIs; in rewriteNonIntegerIVs() local
510 PHIs.push_back(&PN); in rewriteNonIntegerIVs()
513 for (unsigned i = 0, e = PHIs.size(); i != e; ++i) in rewriteNonIntegerIVs()
514 if (PHINode *PN = dyn_cast_or_null<PHINode>(&*PHIs[i])) in rewriteNonIntegerIVs()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCompares.cpp534 SetVector<PHINode *> PHIs; in canRewriteGEPAsOffset() local
585 PHIs.insert(PN); in canRewriteGEPAsOffset()
590 for (auto *PN : PHIs) in canRewriteGEPAsOffset()
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/graphicsfuzz/
Dindex.txt319 …o-while-if-if", "A fragment shader that covers a specific optimize PHIs code path" },