Home
last modified time | relevance | path

Searched refs:read_only (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project-15.0.7/clang/test/SemaOpenCL/
H A Daccess-qualifier.cl11 typedef read_only image1d_t img1d_ro;
29 void myRead(read_only image1d_t);
94 kernel void k12(read_only read_only image1d_t i){} // expected-warning {{duplicate 'read_only' decl…
113 kernel void k14(read_only pipe int p) {
117 kernel void pipe_ro_twice(read_only read_only pipe int i){} // expected-warning{{duplicate 'read_on…
119 …twice_tw(read_write read_only read_only pipe int i){} // expected-error{{access qualifier 'read_wr…
122 typedef read_only pipe int ROPipeInt;
123 kernel void pipe_ro_twice_typedef(read_only ROPipeInt i){} // expected-warning{{duplicate 'read_onl…
124 // expected-note@-2 {{previously declared 'read_only' here}}
133 // expected-note@-122 {{previously declared 'read_only' here}}
[all …]
H A Dimages.cl3 void img2d_ro(read_only image2d_t); // expected-note 3{{passing argument to parameter here}}
9 img2d_ro(img2dro); // read_only = read_only
13 kernel void read_only_access_test(read_only image2d_t img) {
14 img2d_ro(img); // read_only = read_only
17 img2d_default(img); // read_only = read_only
H A Dsampler_t_overload.cl3 void __attribute__((overloadable)) foo(sampler_t, read_only image1d_t);
4 void __attribute__((overloadable)) foo(sampler_t, read_only image2d_t);
8 void kernel ker(read_only image1d_t src1, read_only image2d_t src2) {
H A Dinvalid-pipes-cl2.0.cl8 global pipe int gp; // expected-error {{type '__global read_only pipe int' can only be u…
29 …pipe int p; // expected-error {{type '__private read_only pipe int' can only be used as a function…
34 …or{{invalid operands to binary expression ('__private read_only pipe int' and '__private read_only
35 …or{{invalid operands to binary expression ('__private read_only pipe int' and '__private read_only
36 &p; // expected-error{{invalid argument type '__private read_only pipe int' to unary expression}}
37 *p; // expected-error{{invalid argument type '__private read_only pipe int' to unary expression}}
41 …ected-error{{declaring function return value of type 'pipe_int_t' (aka 'read_only pipe int') is no…
H A Dinvalid-pipe-builtin-cl2.0.cl5 void test1(read_only pipe int p, global int* ptr){
47 read_pipe(p, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
48 …pipe(p, rid, tmp, ptr); // expected-error {{invalid pipe access modifier (expecting read_only)}}
54 …serve_read_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting read_only)}}
60 …ommit_read_pipe(p, tmp); // expected-error{{invalid pipe access modifier (expecting read_only)}}
H A Darray-init.cl8 __kernel void k2(read_only pipe int p) {
H A Dsampler_t.cl14 float4 read_imagef(read_only image1d_t, sampler_t, float);
80 void smp_args(read_only image1d_t image) {
H A Dinvalid-pipes-cl1.2.cl5 void foo(read_only pipe int p);
/llvm-project-15.0.7/lldb/source/Target/
H A DSectionLoadHistory.cpp39 if (read_only) { in GetSectionLoadListForStopID()
96 const bool read_only = true; in GetCurrentSectionLoadList() local
108 const bool read_only = true; in GetSectionLoadAddress() local
110 GetSectionLoadListForStopID(stop_id, read_only); in GetSectionLoadAddress()
118 const bool read_only = true; in ResolveLoadAddress() local
120 GetSectionLoadListForStopID(stop_id, read_only); in ResolveLoadAddress()
128 const bool read_only = false; in SetSectionLoadAddress() local
130 GetSectionLoadListForStopID(stop_id, read_only); in SetSectionLoadAddress()
139 const bool read_only = false; in SetSectionUnloaded() local
141 GetSectionLoadListForStopID(stop_id, read_only); in SetSectionUnloaded()
[all …]
/llvm-project-15.0.7/llvm/test/CodeGen/AMDGPU/
H A Dimage-resource-id.ll3 ; === 1 image arg, read_only ===================================================
63 ; === 2 image args, read_only ==================================================
71 %opencl.image2d_t addrspace(1)* %in2, ; read_only
86 %opencl.image2d_t addrspace(1)* %in2, ; read_only
101 %opencl.image3d_t addrspace(1)* %in2, ; read_only
116 %opencl.image3d_t addrspace(1)* %in2, ; read_only
195 %opencl.image3d_t addrspace(1)* %in2, ; read_only
343 !120 = !{!"kernel_arg_access_qual", !"read_only", !"none"}
368 !122 = !{!"kernel_arg_access_qual", !"read_only", !"read_only", !"none"}
401 !124 = !{!"kernel_arg_access_qual", !"read_only", !"read_only", !"read_only", !"none"}
[all …]
H A Dimage-attributes.ll194 !20 = !{!"kernel_arg_access_qual", !"read_only", !"none"}
195 !21 = !{!"kernel_arg_access_qual", !"read_only", !"none"}
203 !22 = !{!"kernel_arg_access_qual", !"read_only", !"none", !"write_only", !"none"}
H A Dhsa-metadata-deduce-ro-arg-v3.ll4 ; CHECK-NEXT: - .access: read_only
/llvm-project-15.0.7/clang/test/Index/
H A Dopencl-types.cl28 void kernel OCLImage1dROTest(read_only image1d_t scalarOCLImage1dRO);
29 void kernel OCLImage1dArrayROTest(read_only image1d_array_t scalarOCLImage1dArrayRO);
30 void kernel OCLImage1dBufferROTest(read_only image1d_buffer_t scalarOCLImage1dBufferRO);
31 void kernel OCLImage2dROTest(read_only image2d_t scalarOCLImage2dRO);
32 void kernel OCLImage2dArrayROTest(read_only image2d_array_t scalarOCLImage2dArrayRO);
33 void kernel OCLImage2dDepthROTest(read_only image2d_depth_t scalarOCLImage2dDepthRO);
35 void kernel OCLImage2dMSAAROTest(read_only image2d_msaa_t scalarOCLImage2dMSAARO);
36 void kernel OCLImage2dArrayMSAAROTest(read_only image2d_array_msaa_t scalarOCLImage2dArrayMSAARO);
37 void kernel OCLImage2dMSAADepthROTest(read_only image2d_msaa_depth_t scalarOCLImage2dMSAADepthRO);
39 void kernel OCLImage3dROTest(read_only image3d_t scalarOCLImage3dRO);
[all …]
/llvm-project-15.0.7/clang/test/CodeGenOpenCL/
H A Dpipe_types.cl12 void test1(read_only pipe int p) {
22 void test3(read_only pipe const int p) {
26 void test4(read_only pipe uchar3 p) {
30 void test5(read_only pipe int4 p) {
34 typedef read_only pipe int MyPipe;
46 read_only pipe struct Person SPipe) {
H A Dkernel-arg-info.cl32 kernel void foo2(read_only image1d_t img1, image2d_t img2, write_only image2d_array_t img3, read_wr…
83 typedef read_only image1d_t ROImage;
126 // CHECK: ![[MD22]] = !{!"read_only", !"read_only", !"write_only", !"read_write"}
141 // CHECK: ![[MD51]] = !{!"read_only", !"write_only"}
148 // CHECK: ![[MD72]] = !{!"read_only", !"write_only", !"read_write"}
154 // CHECK: ![[PIPE_ACCESS_QUAL]] = !{!"read_only", !"read_only", !"read_only", !"read_only", !"write…
H A Dpipe_types_mangling.cl16 void test1(read_only pipe int p) {
37 void test2(read_only pipe int p) {
44 void test3(read_only pipe const int p) {
51 void test4(read_only pipe uchar3 p) {
58 void test5(read_only pipe int4 p) {
64 typedef read_only pipe int MyPipe;
79 read_only pipe struct Person SPipe) {
H A Dpipe_builtin.cl11 void test1(read_only pipe int p, global int *ptr) {
33 void test3(read_only pipe int p, global int *ptr) {
47 void test5(read_only pipe int p, global int *ptr) {
61 void test7(read_only pipe int p, global int *ptr) {
H A Dimages.cl4 __attribute__((overloadable)) void read_image(read_only image1d_t img_ro);
7 kernel void test_read_image(read_only image1d_t img_ro, write_only image1d_t img_wo) {
/llvm-project-15.0.7/clang/test/Modules/
H A Dodr_hash.cl38 typedef read_only pipe int x;
41 typedef read_only pipe int x;
44 typedef read_only pipe int x;
53 typedef read_only pipe float x;
56 typedef read_only pipe int x;
/llvm-project-15.0.7/clang/test/AST/
H A Dast-dump-pipe.cl12 // CHECK: PipeType {{.*}} 'read_only pipe int'
15 typedef read_only pipe int pipetype2;
16 // CHECK: PipeType {{.*}} 'read_only pipe int'
/llvm-project-15.0.7/compiler-rt/test/tsan/
H A Dstress.cpp10 long atomic, read_only, racy; variable
51 memcpy(&buf, &read_only, sizeof(buf)); in Thread()
/llvm-project-15.0.7/clang/test/Parser/
H A Dopencl-image-access.cl13 __kernel void fro(read_only image2d_t a) { }
/llvm-project-15.0.7/clang/lib/Headers/
H A Dopencl-c.h17717 read_only image2d_t src_image, read_only image2d_t ref_image,
17721 read_only image2d_t src_image, read_only image2d_t fwd_ref_image,
17726 read_only image2d_t src_image, read_only image2d_t ref_image,
17730 read_only image2d_t src_image, read_only image2d_t fwd_ref_image,
17735 read_only image2d_t src_image, read_only image2d_t ref_image,
17740 read_only image2d_t src_image, read_only image2d_t fwd_ref_image,
17746 read_only image2d_t src_image, read_only image2d_t ref_image,
17751 read_only image2d_t src_image, read_only image2d_t fwd_ref_image,
17823 read_only image2d_t src_image, read_only image2d_t ref_image,
17827 read_only image2d_t src_image, read_only image2d_t fwd_ref_image,
[all …]
/llvm-project-15.0.7/lldb/include/lldb/Target/
H A DSectionLoadHistory.h71 bool read_only);
/llvm-project-15.0.7/llvm/test/Transforms/Attributor/
H A Dreadattrs.ll336 define void @testbyval(i8* %read_only) {
351 call void @byval_not_readonly_1(i8* byval(i8) %read_only)
352 call void @byval_not_readonly_2(i8* byval(i8) %read_only)
353 call void @byval_not_readnone_1(i8* byval(i8) %read_only)
354 call void @byval_not_readnone_2(i8* byval(i8) %read_only)
355 call void @byval_no_fnarg(i8* byval(i8) %read_only)

12