Searched refs:Add2Def (Results 1 – 2 of 2) sorted by relevance
1359 MachineInstr *Add2Def = MRI.getUniqueVRegDef(Add2); in matchPtrAddImmedChain() local1360 if (!Add2Def || Add2Def->getOpcode() != TargetOpcode::G_PTR_ADD) in matchPtrAddImmedChain()1363 Register Base = Add2Def->getOperand(1).getReg(); in matchPtrAddImmedChain()1364 Register Imm2 = Add2Def->getOperand(2).getReg(); in matchPtrAddImmedChain()
1513 MachineInstr *Add2Def = MRI.getUniqueVRegDef(Add2); in matchPtrAddImmedChain() local1514 if (!Add2Def || Add2Def->getOpcode() != TargetOpcode::G_PTR_ADD) in matchPtrAddImmedChain()1517 Register Base = Add2Def->getOperand(1).getReg(); in matchPtrAddImmedChain()1518 Register Imm2 = Add2Def->getOperand(2).getReg(); in matchPtrAddImmedChain()