Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1675 MachineInstr *OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic() local
1686 if (OffsetDef->getOpcode() == AMDGPU::V_READFIRSTLANE_B32) { in selectDSGWSIntrinsic()
1687 Readfirstlane = OffsetDef; in selectDSGWSIntrinsic()
1688 BaseOffset = OffsetDef->getOperand(1).getReg(); in selectDSGWSIntrinsic()
1689 OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic()
1692 if (OffsetDef->getOpcode() == AMDGPU::G_CONSTANT) { in selectDSGWSIntrinsic()
1698 ImmOffset = OffsetDef->getOperand(1).getCImm()->getZExtValue(); in selectDSGWSIntrinsic()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1063 MachineInstr *OffsetDef = MRI.getVRegDef(Offset); in findPostIndexCandidate() local
1065 if (!dominates(*OffsetDef, LdSt)) { in findPostIndexCandidate()
1068 if (OffsetDef->getOpcode() != TargetOpcode::G_CONSTANT) in findPostIndexCandidate()