Home
last modified time | relevance | path

Searched refs:RootDef (Results 1 – 2 of 2) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64InstructionSelector.cpp4569 MachineInstr *RootDef = MRI.getVRegDef(Root.getReg()); in selectAddrModeUnscaled() local
4570 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() local
4611 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 …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUInstructionSelector.cpp2137 if (const MachineInstr *RootDef = MRI->getVRegDef(Root.getReg())) { in selectMUBUFScratchOffen() local
2139 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() local
2232 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()