Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DMIMGInstructions.td228 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
239 let InOperandList = !con((ins AddrRC:$vaddr0, SReg_256:$srsrc, DMask:$dmask,
252 (ins SReg_256:$srsrc, DMask:$dmask,
321 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
333 DMask:$dmask, Dim:$dim, UNorm:$unorm, DLC:$dlc,
346 (ins SReg_256:$srsrc, DMask:$dmask,
410 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
438 DMask:$dmask, Dim:$dim, UNorm:$unorm, DLC:$dlc,
453 (ins SReg_256:$srsrc, DMask:$dmask,
512 DMask:$dmask, UNorm:$unorm, GLC:$glc, SLC:$slc,
[all …]
DSILoadStoreOptimizer.cpp123 unsigned DMask; member
497 DMask = TII.getNamedOperand(*I, AMDGPU::OpName::dmask)->getImm(); in setMI()
686 unsigned MaxMask = std::max(CI.DMask, Paired.DMask); in dmasksCanBeCombined()
687 unsigned MinMask = std::min(CI.DMask, Paired.DMask); in dmasksCanBeCombined()
1127 unsigned MergedDMask = CI.DMask | Paired.DMask; in mergeImagePair()
1440 assert("No overlaps" && (countPopulation(CI.DMask | Paired.DMask) == Width)); in getNewOpcode()
1453 assert((countPopulation(CI.DMask | Paired.DMask) == CI.Width + Paired.Width) && in getSubRegIdxs()
1455 ReverseOrder = CI.DMask > Paired.DMask; in getSubRegIdxs()
DSIInstrInfo.td1077 def DMask : NamedOperandU16<"DMask", NamedMatchClass<"DMask">>;
DSIISelLowering.cpp5359 unsigned DMask; in lowerImage() local
5374 DMask = Is64Bit ? 0xf : 0x3; in lowerImage()
5378 DMask = Is64Bit ? 0x3 : 0x1; in lowerImage()
5385 DMask = DMaskConst->getZExtValue(); in lowerImage()
5386 DMaskLanes = BaseOpcode->Gather4 ? 4 : countPopulation(DMask); in lowerImage()
5539 DMask = 0x1; in lowerImage()
5598 Ops.push_back(DAG.getTargetConstant(DMask, DL, MVT::i32)); in lowerImage()
DSIInstrInfo.cpp3403 const MachineOperand *DMask = getNamedOperand(MI, AMDGPU::OpName::dmask); in verifyInstruction() local
3404 if (DMask) { in verifyInstruction()
3405 uint64_t DMaskImm = DMask->getImm(); in verifyInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/
DAMDGPUAsmParser.cpp2959 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGDataSize() local
2960 if (DMask == 0) in validateMIMGDataSize()
2961 DMask = 1; in validateMIMGDataSize()
2964 (Desc.TSFlags & SIInstrFlags::Gather4) ? 4 : countPopulation(DMask); in validateMIMGDataSize()
3025 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGAtomicDMask() local
3031 return DMask == 0x1 || DMask == 0x3 || DMask == 0xf; in validateMIMGAtomicDMask()
3043 unsigned DMask = Inst.getOperand(DMaskIdx).getImm() & 0xf; in validateMIMGGatherDMask() local
3050 return DMask == 0x1 || DMask == 0x2 || DMask == 0x4 || DMask == 0x8; in validateMIMGGatherDMask()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineSimplifyDemanded.cpp1022 ConstantInt *DMask = cast<ConstantInt>(II->getArgOperand(DMaskIdx)); in simplifyAMDGCNMemoryIntrinsicDemanded() local
1023 unsigned DMaskVal = DMask->getZExtValue() & 0xf; in simplifyAMDGCNMemoryIntrinsicDemanded()
1040 NewDMask = ConstantInt::get(DMask->getType(), NewDMaskVal); in simplifyAMDGCNMemoryIntrinsicDemanded()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/Disassembler/
DAMDGPUDisassembler.cpp518 unsigned DMask = MI.getOperand(DMaskIdx).getImm() & 0xf; in convertMIMGInst() local
519 unsigned DstSize = IsGather4 ? 4 : std::max(countPopulation(DMask), 1u); in convertMIMGInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DIntrinsicsAMDGPU.td715 // Marker class for intrinsics with a DMask that determines the returned
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp34832 int DMask[] = {0, 1, 2, 3}; in combineTargetShuffle() local
34834 DMask[DOffset + 0] = DOffset + 1; in combineTargetShuffle()
34835 DMask[DOffset + 1] = DOffset + 0; in combineTargetShuffle()
34839 getV4X86ShuffleImm8ForMask(DMask, DL, DAG)); in combineTargetShuffle()
34854 SmallVector<int, 4> DMask = getPSHUFShuffleMask(D); in combineTargetShuffle() local
34865 MappedMask[i] = 2 * DMask[WordMask[i] / 2] + WordMask[i] % 2; in combineTargetShuffle()