Searched refs:DMaskIdx (Results 1 – 4 of 4) sorted by relevance
299 int DMaskIdx = AMDGPU::getNamedOperandIdx(MI.getOpcode(), in convertMIMGInst() local308 assert(DMaskIdx != -1); in convertMIMGInst()314 unsigned DMask = MI.getOperand(DMaskIdx).getImm() & 0xf; in convertMIMGInst()
926 int DMaskIdx) { in simplifyAMDGCNMemoryIntrinsicDemanded() argument933 if (DMaskIdx < 0) { in simplifyAMDGCNMemoryIntrinsicDemanded()938 ConstantInt *DMask = dyn_cast<ConstantInt>(II->getArgOperand(DMaskIdx)); in simplifyAMDGCNMemoryIntrinsicDemanded()969 II->setArgOperand(DMaskIdx, NewDMask); in simplifyAMDGCNMemoryIntrinsicDemanded()998 Args[DMaskIdx] = NewDMask; in simplifyAMDGCNMemoryIntrinsicDemanded()
2387 int DMaskIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::dmask); in validateMIMGDataSize() local2391 assert(DMaskIdx != -1); in validateMIMGDataSize()2396 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGDataSize()2421 int DMaskIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::dmask); in validateMIMGAtomicDMask() local2422 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGAtomicDMask()2439 int DMaskIdx = AMDGPU::getNamedOperandIdx(Opc, AMDGPU::OpName::dmask); in validateMIMGGatherDMask() local2440 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGGatherDMask()
4590 unsigned DMaskIdx; in lowerImage() local4606 DMaskIdx = 3; in lowerImage()4620 DMaskIdx = isa<MemSDNode>(Op) ? 2 : 1; in lowerImage()4623 auto DMaskConst = dyn_cast<ConstantSDNode>(Op.getOperand(DMaskIdx)); in lowerImage()4627 AddrIdx = DMaskIdx + 1; in lowerImage()