Home
last modified time | relevance | path

Searched refs:DMask (Results 1 – 9 of 9) sorted by relevance

/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/Disassembler/
H A DAMDGPUDisassembler.cpp314 unsigned DMask = MI.getOperand(DMaskIdx).getImm() & 0xf; in convertMIMGInst() local
315 if (DMask == 0) in convertMIMGInst()
318 unsigned DstSize = IsGather4 ? 4 : countPopulation(DMask); in convertMIMGInst()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/
H A DMIMGInstructions.td144 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
204 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
257 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
321 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
H A DSIInstrInfo.td753 def DMask : NamedOperandU16<"DMask", NamedMatchClass<"DMask">>;
H A DSIISelLowering.cpp4792 unsigned DMask; in lowerImage() local
4807 DMask = Is64Bit ? 0xf : 0x3; in lowerImage()
4811 DMask = Is64Bit ? 0x3 : 0x1; in lowerImage()
4820 DMask = DMaskConst->getZExtValue(); in lowerImage()
4821 DMaskLanes = BaseOpcode->Gather4 ? 4 : countPopulation(DMask); in lowerImage()
4952 DMask = 0x1; in lowerImage()
5006 Ops.push_back(DAG.getTargetConstant(DMask, DL, MVT::i32)); in lowerImage()
H A DSIInstrInfo.cpp2990 const MachineOperand *DMask = getNamedOperand(MI, AMDGPU::OpName::dmask); in verifyInstruction() local
2991 if (DMask) { in verifyInstruction()
2992 uint64_t DMaskImm = DMask->getImm(); in verifyInstruction()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp2393 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGDataSize() local
2394 if (DMask == 0) in validateMIMGDataSize()
2395 DMask = 1; in validateMIMGDataSize()
2398 (Desc.TSFlags & SIInstrFlags::Gather4) ? 4 : countPopulation(DMask); in validateMIMGDataSize()
2419 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGAtomicDMask() local
2425 return DMask == 0x1 || DMask == 0x3 || DMask == 0xf; in validateMIMGAtomicDMask()
2437 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGGatherDMask() local
2444 return DMask == 0x1 || DMask == 0x2 || DMask == 0x4 || DMask == 0x8; in validateMIMGGatherDMask()
/freebsd-12.1/contrib/llvm/lib/Transforms/InstCombine/
H A DInstCombineSimplifyDemanded.cpp997 ConstantInt *DMask = dyn_cast<ConstantInt>(II->getArgOperand(DMaskIdx)); in simplifyAMDGCNMemoryIntrinsicDemanded() local
998 if (!DMask) in simplifyAMDGCNMemoryIntrinsicDemanded()
1001 unsigned DMaskVal = DMask->getZExtValue() & 0xf; in simplifyAMDGCNMemoryIntrinsicDemanded()
1018 NewDMask = ConstantInt::get(DMask->getType(), NewDMaskVal); in simplifyAMDGCNMemoryIntrinsicDemanded()
/freebsd-12.1/contrib/llvm/include/llvm/IR/
H A DIntrinsicsAMDGPU.td666 // Marker class for intrinsics with a DMask that determines the returned
/freebsd-12.1/contrib/llvm/lib/Target/X86/
H A DX86ISelLowering.cpp31946 int DMask[] = {0, 1, 2, 3}; in combineTargetShuffle() local
31948 DMask[DOffset + 0] = DOffset + 1; in combineTargetShuffle()
31949 DMask[DOffset + 1] = DOffset + 0; in combineTargetShuffle()
31953 getV4X86ShuffleImm8ForMask(DMask, DL, DAG)); in combineTargetShuffle()
31968 SmallVector<int, 4> DMask = getPSHUFShuffleMask(D); in combineTargetShuffle() local
31979 MappedMask[i] = 2 * DMask[WordMask[i] / 2] + WordMask[i] % 2; in combineTargetShuffle()