Searched refs:AddrDef (Results 1 – 3 of 3) sorted by relevance
3211 auto AddrDef = getDefSrcRegIgnoringCopies(Addr, *MRI); in selectGlobalLoadLds() local3212 if (isSGPR(AddrDef->Reg)) { in selectGlobalLoadLds()3213 Addr = AddrDef->Reg; in selectGlobalLoadLds()3214 } else if (AddrDef->MI->getOpcode() == AMDGPU::G_PTR_ADD) { in selectGlobalLoadLds()3216 getSrcRegIgnoringCopies(AddrDef->MI->getOperand(1).getReg(), *MRI); in selectGlobalLoadLds()3218 Register PtrBaseOffset = AddrDef->MI->getOperand(2).getReg(); in selectGlobalLoadLds()4011 auto AddrDef = getDefSrcRegIgnoringCopies(Addr, *MRI); in selectGlobalSAddr() local4012 if (AddrDef->MI->getOpcode() == AMDGPU::G_PTR_ADD) { in selectGlobalSAddr()4015 getSrcRegIgnoringCopies(AddrDef->MI->getOperand(1).getReg(), *MRI); in selectGlobalSAddr()4018 Register PtrBaseOffset = AddrDef->MI->getOperand(2).getReg(); in selectGlobalSAddr()[all …]
990 MachineInstr *AddrDef = getOpcodeDef(TargetOpcode::G_PTR_ADD, Addr, MRI); in findPreIndexCandidate() local991 if (!AddrDef || MRI.hasOneNonDBGUse(Addr)) in findPreIndexCandidate()994 Base = AddrDef->getOperand(1).getReg(); in findPreIndexCandidate()995 Offset = AddrDef->getOperand(2).getReg(); in findPreIndexCandidate()1071 MachineInstr &AddrDef = *MRI.getUniqueVRegDef(MatchInfo.Addr); in applyCombineIndexedLoadStore() local1106 AddrDef.eraseFromParent(); in applyCombineIndexedLoadStore()
1086 VPRecipeBase *AddrDef = WidenRec->getAddr()->getDefiningRecipe(); in collectPoisonGeneratingRecipes() local1087 if (AddrDef && WidenRec->isConsecutive() && in collectPoisonGeneratingRecipes()1089 collectPoisonGeneratingInstrsInBackwardSlice(AddrDef); in collectPoisonGeneratingRecipes()1091 VPRecipeBase *AddrDef = InterleaveRec->getAddr()->getDefiningRecipe(); in collectPoisonGeneratingRecipes() local1092 if (AddrDef) { in collectPoisonGeneratingRecipes()1106 collectPoisonGeneratingInstrsInBackwardSlice(AddrDef); in collectPoisonGeneratingRecipes()