Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1652 MachineInstr *OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic() local
1663 if (OffsetDef->getOpcode() == AMDGPU::V_READFIRSTLANE_B32) { in selectDSGWSIntrinsic()
1664 Readfirstlane = OffsetDef; in selectDSGWSIntrinsic()
1665 BaseOffset = OffsetDef->getOperand(1).getReg(); in selectDSGWSIntrinsic()
1666 OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic()
1669 if (OffsetDef->getOpcode() == AMDGPU::G_CONSTANT) { in selectDSGWSIntrinsic()
1675 ImmOffset = OffsetDef->getOperand(1).getCImm()->getZExtValue(); in selectDSGWSIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1214 MachineInstr *OffsetDef = MRI.getVRegDef(Offset); in findPostIndexCandidate() local
1216 if (!dominates(*OffsetDef, LdSt)) { in findPostIndexCandidate()
1219 if (OffsetDef->getOpcode() != TargetOpcode::G_CONSTANT) in findPostIndexCandidate()