Searched refs:RootDef (Results 1 – 2 of 2) sorted by relevance
4569 MachineInstr *RootDef = MRI.getVRegDef(Root.getReg()); in selectAddrModeUnscaled() local4570 if (!RootDef) in selectAddrModeUnscaled()4573 MachineOperand &OffImm = RootDef->getOperand(2); in selectAddrModeUnscaled()4589 MachineOperand &Base = RootDef->getOperand(1); in selectAddrModeUnscaled()4610 MachineInstr *RootDef = MRI.getVRegDef(Root.getReg()); in selectAddrModeIndexed() local4611 if (!RootDef) in selectAddrModeIndexed()4614 if (RootDef->getOpcode() == TargetOpcode::G_FRAME_INDEX) { in selectAddrModeIndexed()4616 [=](MachineInstrBuilder &MIB) { MIB.add(RootDef->getOperand(1)); }, in selectAddrModeIndexed()4622 MachineOperand &LHS = RootDef->getOperand(1); in selectAddrModeIndexed()4623 MachineOperand &RHS = RootDef->getOperand(2); in selectAddrModeIndexed()[all …]
2137 if (const MachineInstr *RootDef = MRI->getVRegDef(Root.getReg())) { in selectMUBUFScratchOffen() local2139 const MachineOperand &LHS = RootDef->getOperand(1); in selectMUBUFScratchOffen()2140 const MachineOperand &RHS = RootDef->getOperand(2); in selectMUBUFScratchOffen()2156 } else if (RootDef->getOpcode() == AMDGPU::G_FRAME_INDEX) { in selectMUBUFScratchOffen()2157 FI = RootDef->getOperand(1).getIndex(); in selectMUBUFScratchOffen()2231 const MachineInstr *RootDef = MRI->getVRegDef(Root.getReg()); in selectDS1Addr1Offset() local2232 if (!RootDef) { in selectDS1Addr1Offset()2241 const MachineOperand &LHS = RootDef->getOperand(1); in selectDS1Addr1Offset()2242 const MachineOperand &RHS = RootDef->getOperand(2); in selectDS1Addr1Offset()2256 } else if (RootDef->getOpcode() == AMDGPU::G_SUB) { in selectDS1Addr1Offset()