Lines Matching refs:EncodedImm
4184 std::optional<int64_t> EncodedImm; in selectSmrdOffset() local
4187 EncodedImm = AMDGPU::getSMRDEncodedOffset(STI, GEPI.Imm, /*IsBuffer=*/false, in selectSmrdOffset()
4189 if (GEPI.SgprParts.size() == 1 && GEPI.Imm != 0 && EncodedImm && in selectSmrdOffset()
4197 *Offset = *EncodedImm; in selectSmrdOffset()
4216 EncodedImm = AMDGPU::getSMRDEncodedOffset(STI, GEPI.Imm, /*IsBuffer=*/false, in selectSmrdOffset()
4218 if (Offset && GEPI.SgprParts.size() == 1 && EncodedImm) { in selectSmrdOffset()
4220 *Offset = *EncodedImm; in selectSmrdOffset()
4270 std::optional<int64_t> EncodedImm = in selectSmrdImm32() local
4272 if (!EncodedImm) in selectSmrdImm32()
4277 [=](MachineInstrBuilder &MIB) { MIB.addImm(*EncodedImm); } in selectSmrdImm32()
5291 std::optional<int64_t> EncodedImm = in selectSMRDBufferImm() local
5293 if (!EncodedImm) in selectSMRDBufferImm()
5296 return {{ [=](MachineInstrBuilder &MIB) { MIB.addImm(*EncodedImm); } }}; in selectSMRDBufferImm()
5307 std::optional<int64_t> EncodedImm = in selectSMRDBufferImm32() local
5309 if (!EncodedImm) in selectSMRDBufferImm32()
5312 return {{ [=](MachineInstrBuilder &MIB) { MIB.addImm(*EncodedImm); } }}; in selectSMRDBufferImm32()