| /llvm-project-15.0.7/llvm/unittests/FuzzMutate/ |
| H A D | ReservoirSamplerTest.cpp | 17 auto Sampler = makeSampler(Rand, 7, 1); in TEST() local 18 ASSERT_FALSE(Sampler.isEmpty()); in TEST() 19 ASSERT_EQ(7, Sampler.getSelection()); in TEST() 24 auto Sampler = makeSampler(Rand, 7, 0); in TEST() local 25 ASSERT_TRUE(Sampler.isEmpty()); in TEST() 43 auto Sampler = makeSampler(Rand, Items); in TEST() local 44 Counts[Sampler.getSelection()] += 1; in TEST()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | OpenCLBuiltins.td | 396 def Sampler : Type<"sampler_t", QualType<"Context.OCLSamplerTy">>; 1249 …def : Builtin<"read_imagef", [VectorType<Float, 4>, ImageType<imgTy, "RO">, Sampler, coordTy], Att… 1250 …def : Builtin<"read_imagei", [VectorType<Int, 4>, ImageType<imgTy, "RO">, Sampler, coordTy], Attr.… 1251 …def : Builtin<"read_imageui", [VectorType<UInt, 4>, ImageType<imgTy, "RO">, Sampler, coordTy], Att… 1273 // --- Table 23: Sampler-less Read Functions --- 1380 … def : Builtin<name, [VectorType<Half, 4>, ImageType<imgTy, aQual>, Sampler, coordTy], Attr.Pure>; 1385 // OpenCL extension v2.0 s5.1.10: Built-in Image Sampler-less Read Functions 1531 …def : Builtin<name, [Float, ImageType<imgTy, aQual>, Sampler, VectorType<Float, 2>, Float], Attr.P… 1537 …def : Builtin<name, [VectorType<Float, 4>, ImageType<imgTy, aQual>, Sampler, Float, Float], Attr.P… 1541 …def : Builtin<name, [VectorType<Int, 4>, ImageType<imgTy, aQual>, Sampler, Float, Float], Attr.Pur… [all …]
|
| /llvm-project-15.0.7/llvm/docs/AMDGPU/ |
| H A D | gfx10_ssamp.rst | 13 Sampler constant used to specify filtering options applied to the image data after it is read.
|
| H A D | gfx1030_ssamp.rst | 13 Sampler constant used to specify filtering options applied to the image data after it is read.
|
| H A D | gfx90a_ssamp.rst | 13 Sampler constant used to specify filtering options applied to the image data after it is read.
|
| H A D | gfx8_ssamp.rst | 13 Sampler constant used to specify filtering options applied to the image data after it is read.
|
| H A D | gfx7_ssamp.rst | 13 Sampler constant used to specify filtering options applied to the image data after it is read.
|
| H A D | gfx9_ssamp.rst | 13 Sampler constant used to specify filtering options applied to the image data after it is read.
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | R600MCCodeEmitter.cpp | 108 int64_t Sampler = MI.getOperand(14).getImm(); in encodeInstruction() local 123 uint32_t Word2 = Sampler << 15 | SrcSelect[ELEMENT_X] << 20 | in encodeInstruction()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/ |
| H A D | SIInsertHardClauses.cpp | 130 if (BaseInfo->Sampler) in getHardClauseType()
|
| H A D | MIMGInstructions.td | 40 bit Sampler = 0; 60 let Fields = ["BaseOpcode", "Store", "Atomic", "AtomicX2", "Sampler", 1072 let Sampler = 1;
|
| H A D | AMDGPUHSAMetadataStreamer.cpp | 132 .Case("sampler_t", ValueKind::Sampler) in getValueKind()
|
| H A D | AMDGPUInstCombineIntrinsic.cpp | 259 AMDGPU::getMIMGBaseOpcodeInfo(ImageDimIntr->BaseOpcode)->Sampler; in simplifyAMDGCNImageIntrinsic()
|
| H A D | SIInsertWaitcnts.cpp | 152 : BaseInfo->Sampler ? VMEM_SAMPLER : VMEM_NOSAMPLER; in getVmemType()
|
| H A D | SILoadStoreOptimizer.cpp | 575 if (Info && AMDGPU::getMIMGBaseOpcodeInfo(Info->BaseOpcode)->Sampler) in getRegs()
|
| H A D | AMDGPUInstructionSelector.cpp | 1569 if (!BaseOpcode->Sampler) in selectImageIntrinsic() 1740 if (BaseOpcode->Sampler) in selectImageIntrinsic()
|
| H A D | SIISelLowering.cpp | 6526 if (!BaseOpcode->Sampler) { in lowerImage() 6594 if (BaseOpcode->Sampler) in lowerImage()
|
| /llvm-project-15.0.7/llvm/include/llvm/Support/ |
| H A D | AMDGPUMetadata.h | 82 Sampler = 3, enumerator
|
| /llvm-project-15.0.7/llvm/lib/Support/ |
| H A D | AMDGPUMetadata.cpp | 55 YIO.enumCase(EN, "Sampler", ValueKind::Sampler); in enumeration()
|
| /llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/ |
| H A D | AMDGPUBaseInfo.h | 305 bool Sampler; member
|
| /llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/ |
| H A D | hsa-metadata-from-llvm-ir-full.ll | 482 ; CHECK-NEXT: ValueKind: Sampler
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/ |
| H A D | SPIRVBase.td | 3861 "ImageSamplerUseInfo", "valid SPIR-V Sampler Use specification",
|
| /llvm-project-15.0.7/llvm/docs/ |
| H A D | AMDGPUUsage.rst | 2814 "Sampler"
|