Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstructionSelector.cpp1355 MachineInstr *OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic() local
1356 assert(OffsetDef); in selectDSGWSIntrinsic()
1368 if (OffsetDef->getOpcode() == AMDGPU::V_READFIRSTLANE_B32) { in selectDSGWSIntrinsic()
1369 Readfirstlane = OffsetDef; in selectDSGWSIntrinsic()
1370 BaseOffset = OffsetDef->getOperand(1).getReg(); in selectDSGWSIntrinsic()
1371 OffsetDef = getDefIgnoringCopies(BaseOffset, *MRI); in selectDSGWSIntrinsic()
1374 if (OffsetDef->getOpcode() == AMDGPU::G_CONSTANT) { in selectDSGWSIntrinsic()
1380 ImmOffset = OffsetDef->getOperand(1).getCImm()->getZExtValue(); in selectDSGWSIntrinsic()
/freebsd-13.1/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp775 MachineInstr *OffsetDef = MRI.getUniqueVRegDef(Offset); in findPostIndexCandidate() local
776 if (!OffsetDef || !dominates(*OffsetDef, MI)) { in findPostIndexCandidate()