Home
last modified time | relevance | path

Searched refs:Sampler (Results 1 – 23 of 23) sorted by relevance

/llvm-project-15.0.7/llvm/unittests/FuzzMutate/
H A DReservoirSamplerTest.cpp17 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 DOpenCLBuiltins.td396 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 Dgfx10_ssamp.rst13 Sampler constant used to specify filtering options applied to the image data after it is read.
H A Dgfx1030_ssamp.rst13 Sampler constant used to specify filtering options applied to the image data after it is read.
H A Dgfx90a_ssamp.rst13 Sampler constant used to specify filtering options applied to the image data after it is read.
H A Dgfx8_ssamp.rst13 Sampler constant used to specify filtering options applied to the image data after it is read.
H A Dgfx7_ssamp.rst13 Sampler constant used to specify filtering options applied to the image data after it is read.
H A Dgfx9_ssamp.rst13 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 DR600MCCodeEmitter.cpp108 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 DSIInsertHardClauses.cpp130 if (BaseInfo->Sampler) in getHardClauseType()
H A DMIMGInstructions.td40 bit Sampler = 0;
60 let Fields = ["BaseOpcode", "Store", "Atomic", "AtomicX2", "Sampler",
1072 let Sampler = 1;
H A DAMDGPUHSAMetadataStreamer.cpp132 .Case("sampler_t", ValueKind::Sampler) in getValueKind()
H A DAMDGPUInstCombineIntrinsic.cpp259 AMDGPU::getMIMGBaseOpcodeInfo(ImageDimIntr->BaseOpcode)->Sampler; in simplifyAMDGCNImageIntrinsic()
H A DSIInsertWaitcnts.cpp152 : BaseInfo->Sampler ? VMEM_SAMPLER : VMEM_NOSAMPLER; in getVmemType()
H A DSILoadStoreOptimizer.cpp575 if (Info && AMDGPU::getMIMGBaseOpcodeInfo(Info->BaseOpcode)->Sampler) in getRegs()
H A DAMDGPUInstructionSelector.cpp1569 if (!BaseOpcode->Sampler) in selectImageIntrinsic()
1740 if (BaseOpcode->Sampler) in selectImageIntrinsic()
H A DSIISelLowering.cpp6526 if (!BaseOpcode->Sampler) { in lowerImage()
6594 if (BaseOpcode->Sampler) in lowerImage()
/llvm-project-15.0.7/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h82 Sampler = 3, enumerator
/llvm-project-15.0.7/llvm/lib/Support/
H A DAMDGPUMetadata.cpp55 YIO.enumCase(EN, "Sampler", ValueKind::Sampler); in enumeration()
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.h305 bool Sampler; member
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dhsa-metadata-from-llvm-ir-full.ll482 ; CHECK-NEXT: ValueKind: Sampler
/llvm-project-15.0.7/mlir/include/mlir/Dialect/SPIRV/IR/
H A DSPIRVBase.td3861 "ImageSamplerUseInfo", "valid SPIR-V Sampler Use specification",
/llvm-project-15.0.7/llvm/docs/
H A DAMDGPUUsage.rst2814 "Sampler"