Home | History | Annotate | Download | only in AsmParser

Lines Matching refs:DMask

681     case ImmTyDMask: OS << "DMask"; break;
2387 int DMaskIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::dmask);
2396 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf;
2397 if (DMask == 0)
2398 DMask = 1;
2401 (Desc.TSFlags & SIInstrFlags::Gather4) ? 4 : countPopulation(DMask);
2421 int DMaskIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::dmask);
2422 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf;
2427 // verified when we check that dmask matches dst size.
2428 return DMask == 0x1 || DMask == 0x3 || DMask == 0xf;
2439 int DMaskIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::dmask);
2440 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf;
2442 // GATHER4 instructions use dmask in a different fashion compared to
2443 // other MIMG instructions. The only useful DMASK values are
2447 return DMask == 0x1 || DMask == 0x2 || DMask == 0x4 || DMask == 0x8;
2513 "image data size does not match dmask and tfe");
2518 "invalid atomic image dmask");
2523 "invalid image_gather dmask: only one bit must be set");
4778 {"dmask", AMDGPUOperand::ImmTyDMask, false, nullptr},