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.cpp1867 MachineInstr *OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic() local
1878 if (OffsetDef->getOpcode() == AMDGPU::V_READFIRSTLANE_B32) { in selectDSGWSIntrinsic()
1879 Readfirstlane = OffsetDef; in selectDSGWSIntrinsic()
1880 BaseOffset = OffsetDef->getOperand(1).getReg(); in selectDSGWSIntrinsic()
1881 OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic()
1884 if (OffsetDef->getOpcode() == AMDGPU::G_CONSTANT) { in selectDSGWSIntrinsic()
1890 ImmOffset = OffsetDef->getOperand(1).getCImm()->getZExtValue(); in selectDSGWSIntrinsic()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1282 MachineInstr *OffsetDef = MRI.getVRegDef(Offset); in findPostIndexCandidate() local
1284 if (!dominates(*OffsetDef, LdSt)) { in findPostIndexCandidate()
1287 if (OffsetDef->getOpcode() != TargetOpcode::G_CONSTANT) in findPostIndexCandidate()