Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/Disassembler/
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()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DMIMGInstructions.td143 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
201 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
254 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
318 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
DSIInstrInfo.td758 def DMask : NamedOperandU16<"DMask", NamedMatchClass<"DMask">>;
DSIISelLowering.cpp4567 unsigned DMask; in lowerImage() local
4581 DMask = Is64Bit ? 0xf : 0x3; in lowerImage()
4585 DMask = Is64Bit ? 0x3 : 0x1; in lowerImage()
4628 DMask = DMaskConst->getZExtValue(); in lowerImage()
4629 if (!DMask && !BaseOpcode->Store) { in lowerImage()
4700 Ops.push_back(DAG.getTargetConstant(DMask, DL, MVT::i32)); in lowerImage()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp2396 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGDataSize() local
2397 if (DMask == 0) in validateMIMGDataSize()
2398 DMask = 1; in validateMIMGDataSize()
2401 (Desc.TSFlags & SIInstrFlags::Gather4) ? 4 : countPopulation(DMask); in validateMIMGDataSize()
2422 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGAtomicDMask() local
2428 return DMask == 0x1 || DMask == 0x3 || DMask == 0xf; in validateMIMGAtomicDMask()
2440 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGGatherDMask() local
2447 return DMask == 0x1 || DMask == 0x2 || DMask == 0x4 || DMask == 0x8; in validateMIMGGatherDMask()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp938 ConstantInt *DMask = dyn_cast<ConstantInt>(II->getArgOperand(DMaskIdx)); in simplifyAMDGCNMemoryIntrinsicDemanded() local
939 if (!DMask) in simplifyAMDGCNMemoryIntrinsicDemanded()
942 unsigned DMaskVal = DMask->getZExtValue() & 0xf; in simplifyAMDGCNMemoryIntrinsicDemanded()
959 NewDMask = ConstantInt::get(DMask->getType(), NewDMaskVal); in simplifyAMDGCNMemoryIntrinsicDemanded()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DIntrinsicsAMDGPU.td648 // Marker class for intrinsics with a DMask that determines the returned
/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.td561 def dmask : NamedOperandU16<"DMask", NamedMatchClass<"DMask">>;
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp25919 int DMask[] = {0, 1, 2, 3}; in combineTargetShuffle() local
25921 DMask[DOffset + 0] = DOffset + 1; in combineTargetShuffle()
25922 DMask[DOffset + 1] = DOffset + 0; in combineTargetShuffle()
25927 getV4X86ShuffleImm8ForMask(DMask, DL, DAG)); in combineTargetShuffle()
25945 SmallVector<int, 4> DMask = getPSHUFShuffleMask(D); in combineTargetShuffle() local
25956 MappedMask[i] = 2 * DMask[WordMask[i] / 2] + WordMask[i] % 2; in combineTargetShuffle()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp30854 int DMask[] = {0, 1, 2, 3}; in combineTargetShuffle() local
30856 DMask[DOffset + 0] = DOffset + 1; in combineTargetShuffle()
30857 DMask[DOffset + 1] = DOffset + 0; in combineTargetShuffle()
30861 getV4X86ShuffleImm8ForMask(DMask, DL, DAG)); in combineTargetShuffle()
30876 SmallVector<int, 4> DMask = getPSHUFShuffleMask(D); in combineTargetShuffle() local
30887 MappedMask[i] = 2 * DMask[WordMask[i] / 2] + WordMask[i] % 2; in combineTargetShuffle()