Home
last modified time | relevance | path

Searched refs:gptr (Results 1 – 25 of 133) sorted by relevance

123456

/external/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dunderflow.pass.cpp34 char_type* gptr() const {return base::gptr();} in gptr() function
48 assert(f.gptr() == 0); in main()
52 assert(f.eback() == f.gptr()); in main()
53 assert(*f.gptr() == '1'); in main()
62 assert(f.gptr() == 0); in main()
66 assert(f.eback() == f.gptr()); in main()
67 assert(*f.gptr() == '1'); in main()
75 assert(f.gptr() - f.eback() == 4); in main()
76 assert(*f.gptr() == '9'); in main()
77 assert(f.egptr() - f.gptr() == 1); in main()
[all …]
/external/libcxx/test/std/input.output/file.streams/fstreams/filebuf.virtuals/
Dunderflow.pass.cpp33 char_type* gptr() const {return base::gptr();} in gptr() function
47 assert(f.gptr() == 0); in main()
51 assert(f.eback() == f.gptr()); in main()
52 assert(*f.gptr() == '1'); in main()
61 assert(f.gptr() == 0); in main()
65 assert(f.eback() == f.gptr()); in main()
66 assert(*f.gptr() == '1'); in main()
74 assert(f.gptr() - f.eback() == 4); in main()
75 assert(*f.gptr() == '9'); in main()
76 assert(f.egptr() - f.gptr() == 1); in main()
[all …]
/external/llvm/test/CodeGen/AMDGPU/
Dflat-address-space.ll21 define void @store_flat_i32(i32 addrspace(1)* %gptr, i32 %x) #0 {
22 %fptr = addrspacecast i32 addrspace(1)* %gptr to i32 addrspace(4)*
29 define void @store_flat_i64(i64 addrspace(1)* %gptr, i64 %x) #0 {
30 %fptr = addrspacecast i64 addrspace(1)* %gptr to i64 addrspace(4)*
37 define void @store_flat_v4i32(<4 x i32> addrspace(1)* %gptr, <4 x i32> %x) #0 {
38 %fptr = addrspacecast <4 x i32> addrspace(1)* %gptr to <4 x i32> addrspace(4)*
45 define void @store_flat_trunc_i16(i16 addrspace(1)* %gptr, i32 %x) #0 {
46 %fptr = addrspacecast i16 addrspace(1)* %gptr to i16 addrspace(4)*
54 define void @store_flat_trunc_i8(i8 addrspace(1)* %gptr, i32 %x) #0 {
55 %fptr = addrspacecast i8 addrspace(1)* %gptr to i8 addrspace(4)*
[all …]
Dmissing-store.ll6 ; resulting in losing the store to gptr
18 define void @missing_store_reduced(i32 addrspace(1)* %out, i32 addrspace(1)* %gptr) #0 {
22 store i32 99, i32 addrspace(1)* %gptr, align 4
Dsi-triv-disjoint-mem-access.ll15 …d @reorder_local_load_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* %gptr) #0 {
22 store i32 99, i32 addrspace(1)* %gptr, align 4
35 …r_local_load_volatile_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* %gptr) #0 {
42 store volatile i32 99, i32 addrspace(1)* %gptr, align 4
55 …er_barrier_local_load_global_store_local_load(i32 addrspace(1)* %out, i32 addrspace(1)* %gptr) #0 {
62 store i32 99, i32 addrspace(1)* %gptr, align 4
79 …rder_constant_load_global_store_constant_load(i32 addrspace(1)* %out, i32 addrspace(1)* %gptr) #0 {
86 store i32 99, i32 addrspace(1)* %gptr, align 4
163 …drspace(1)* nocapture %out, i32 addrspace(1)* noalias nocapture readnone %gptr, i32 addrspace(3)* …
189 …drspace(1)* nocapture %out, i32 addrspace(1)* noalias nocapture readnone %gptr, i32 addrspace(1)* …
/external/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dunderflow.pass.cpp34 char_type* gptr() const {return base::gptr();} in gptr() function
47 assert(f.gptr() == 0); in main()
51 assert(f.eback() == f.gptr()); in main()
52 assert(*f.gptr() == L'1'); in main()
59 assert(f.gptr() == 0); in main()
63 assert(f.eback() == f.gptr()); in main()
64 assert(*f.gptr() == L'1'); in main()
72 assert(f.gptr() - f.eback() == 8); in main()
73 assert(*f.gptr() == L'9'); in main()
74 assert(f.egptr() - f.gptr() == 1); in main()
/external/llvm-project/libcxx/test/std/localization/locales/locale.convenience/conversions/conversions.buffer/
Dunderflow.pass.cpp37 char_type* gptr() const {return base::gptr();} in gptr() function
50 assert(f.gptr() == 0); in main()
54 assert(f.eback() == f.gptr()); in main()
55 assert(*f.gptr() == L'1'); in main()
62 assert(f.gptr() == 0); in main()
66 assert(f.eback() == f.gptr()); in main()
67 assert(*f.gptr() == L'1'); in main()
75 assert(f.gptr() - f.eback() == 8); in main()
76 assert(*f.gptr() == L'9'); in main()
77 assert(f.egptr() - f.gptr() == 1); in main()
/external/llvm-project/llvm/test/CodeGen/AMDGPU/
Dflat-address-space.ll15 define amdgpu_kernel void @store_flat_i32(i32 addrspace(1)* %gptr, i32 %x) #0 {
16 %fptr = addrspacecast i32 addrspace(1)* %gptr to i32*
23 define amdgpu_kernel void @store_flat_i64(i64 addrspace(1)* %gptr, i64 %x) #0 {
24 %fptr = addrspacecast i64 addrspace(1)* %gptr to i64*
31 define amdgpu_kernel void @store_flat_v4i32(<4 x i32> addrspace(1)* %gptr, <4 x i32> %x) #0 {
32 %fptr = addrspacecast <4 x i32> addrspace(1)* %gptr to <4 x i32>*
39 define amdgpu_kernel void @store_flat_trunc_i16(i16 addrspace(1)* %gptr, i32 %x) #0 {
40 %fptr = addrspacecast i16 addrspace(1)* %gptr to i16*
48 define amdgpu_kernel void @store_flat_trunc_i8(i8 addrspace(1)* %gptr, i32 %x) #0 {
49 %fptr = addrspacecast i8 addrspace(1)* %gptr to i8*
[all …]
Dmissing-store.ll6 ; resulting in losing the store to gptr
18 define amdgpu_kernel void @missing_store_reduced(i32 addrspace(1)* %out, i32 addrspace(1)* %gptr) #…
22 store i32 99, i32 addrspace(1)* %gptr, align 4
/external/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/
Dctor.pass.cpp43 CharT* gptr() const {return base::gptr();} in gptr() function
80 assert(sb.gptr() == sb.eback()); in main()
90 assert(sb.gptr() == sb.eback()); in main()
99 assert(sb.gptr() == sb.eback() + 3); in main()
108 assert(sb.gptr() == sb.eback() + 3); in main()
118 assert(sb.gptr() == sb.eback() + 6); in main()
127 assert(sb.gptr() == sb.eback()); in main()
/external/libcxx/test/std/input.output/iostream.format/input.streams/istream/istream_sentry/
Dctor.pass.cpp42 CharT* gptr() const {return base::gptr();} in gptr() function
79 assert(sb.gptr() == sb.eback()); in main()
89 assert(sb.gptr() == sb.eback()); in main()
98 assert(sb.gptr() == sb.eback() + 3); in main()
107 assert(sb.gptr() == sb.eback() + 3); in main()
117 assert(sb.gptr() == sb.eback() + 6); in main()
126 assert(sb.gptr() == sb.eback()); in main()
/external/llvm-project/openmp/runtime/src/thirdparty/ittnotify/
Dittnotify_config.h465 #define NEW_THREAD_INFO_W(gptr,h,h_tail,t,s,n) { \ argument
476 (gptr)->thread_list = h; \
482 #define NEW_THREAD_INFO_A(gptr,h,h_tail,t,s,n) { \ argument
493 (gptr)->thread_list = h; \
499 #define NEW_DOMAIN_W(gptr,h,h_tail,name) { \ argument
509 (gptr)->domain_list = h; \
515 #define NEW_DOMAIN_A(gptr,h,h_tail,name) { \ argument
525 (gptr)->domain_list = h; \
531 #define NEW_STRING_HANDLE_W(gptr,h,h_tail,name) { \ argument
540 (gptr)->string_list = h; \
[all …]
/external/llvm-project/libcxx/src/
Dstrstream.cpp176 ptrdiff_t ninp = gptr() - eback(); in overflow()
199 if (eback() == gptr()) in pbackfail()
208 if (gptr()[-1] == static_cast<char>(__c)) in pbackfail()
216 *gptr() = static_cast<char>(__c); in pbackfail()
223 if (gptr() == egptr()) in underflow()
227 setg(eback(), gptr(), pptr()); in underflow()
229 return int_type(static_cast<unsigned char>(*gptr())); in underflow()
251 if (pos_in && gptr() == nullptr) in seekoff()
265 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff()
300 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
/external/libcxx/src/
Dstrstream.cpp177 ptrdiff_t ninp = gptr() - eback(); in overflow()
200 if (eback() == gptr()) in pbackfail()
209 if (gptr()[-1] == static_cast<char>(__c)) in pbackfail()
217 *gptr() = static_cast<char>(__c); in pbackfail()
224 if (gptr() == egptr()) in underflow()
228 setg(eback(), gptr(), pptr()); in underflow()
230 return int_type(static_cast<unsigned char>(*gptr())); in underflow()
252 if (pos_in && gptr() == nullptr) in seekoff()
266 newoff = (pos_in ? gptr() : pptr()) - eback(); in seekoff()
301 if (!((pos_in && gptr() == nullptr) || (pos_out && pptr() == nullptr))) in seekpos()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h357 #define NEW_THREAD_INFO_W(gptr,h,h_tail,t,s,n) { \ argument
368 (gptr)->thread_list = h; \
374 #define NEW_THREAD_INFO_A(gptr,h,h_tail,t,s,n) { \ argument
385 (gptr)->thread_list = h; \
391 #define NEW_DOMAIN_W(gptr,h,h_tail,name) { \ argument
401 (gptr)->domain_list = h; \
407 #define NEW_DOMAIN_A(gptr,h,h_tail,name) { \ argument
417 (gptr)->domain_list = h; \
423 #define NEW_STRING_HANDLE_W(gptr,h,h_tail,name) { \ argument
432 (gptr)->string_list = h; \
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h357 #define NEW_THREAD_INFO_W(gptr,h,h_tail,t,s,n) { \ argument
368 (gptr)->thread_list = h; \
374 #define NEW_THREAD_INFO_A(gptr,h,h_tail,t,s,n) { \ argument
385 (gptr)->thread_list = h; \
391 #define NEW_DOMAIN_W(gptr,h,h_tail,name) { \ argument
401 (gptr)->domain_list = h; \
407 #define NEW_DOMAIN_A(gptr,h,h_tail,name) { \ argument
417 (gptr)->domain_list = h; \
423 #define NEW_STRING_HANDLE_W(gptr,h,h_tail,name) { \ argument
432 (gptr)->string_list = h; \
[all …]
/external/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h358 #define NEW_THREAD_INFO_W(gptr,h,h_tail,t,s,n) { \ argument
369 (gptr)->thread_list = h; \
375 #define NEW_THREAD_INFO_A(gptr,h,h_tail,t,s,n) { \ argument
386 (gptr)->thread_list = h; \
392 #define NEW_DOMAIN_W(gptr,h,h_tail,name) { \ argument
402 (gptr)->domain_list = h; \
408 #define NEW_DOMAIN_A(gptr,h,h_tail,name) { \ argument
418 (gptr)->domain_list = h; \
424 #define NEW_STRING_HANDLE_W(gptr,h,h_tail,name) { \ argument
433 (gptr)->string_list = h; \
[all …]
/external/llvm-project/compiler-rt/test/sanitizer_common/TestCases/FreeBSD/
Dcapsicum.cpp33 cap_rights_t *gptr = cap_rights_init(&remove, CAP_IOCTL); in test_cap_rights() local
34 assert(gptr); in test_cap_rights()
39 cap_rights_t *pptr = cap_rights_remove(&rights, gptr); in test_cap_rights()
42 cap_rights_t *aptr = cap_rights_merge(&rights, gptr); in test_cap_rights()
/external/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/
Dswap.pass.cpp37 assert(this->gptr() == old_that.gptr()); in swap()
45 assert(t.gptr() == old_this.gptr()); in swap()
/external/llvm-project/libcxx/test/std/input.output/iostream.format/input.streams/istream.unformatted/
Dsync.pass.cpp40 CharT* gptr() const {return base::gptr();} in gptr() function
74 CharT* gptr() const {return base::gptr();} in gptr() function
/external/llvm-project/libcxx/test/std/input.output/stream.buffers/streambuf/streambuf.protected/streambuf.assign/
Dswap.pass.cpp37 assert(this->gptr() == old_that.gptr()); in swap()
45 assert(t.gptr() == old_this.gptr()); in swap()
/external/rust/crates/libz-sys/src/zlib/contrib/iostream3/
Dzfstream.cc175 if (this->gptr() && (this->gptr() < this->egptr())) in showmanyc()
176 return std::streamsize(this->egptr() - this->gptr()); in showmanyc()
188 if (this->gptr() && (this->gptr() < this->egptr())) in underflow()
189 return traits_type::to_int_type(*(this->gptr())); in underflow()
209 return traits_type::to_int_type(*(this->gptr())); in underflow()
/external/llvm-project/llvm/test/Transforms/InferAddressSpaces/AMDGPU/
Daddress-space-id-funcs.ll16 define amdgpu_kernel void @is_local_false(i8 addrspace(1)* %gptr) {
21 %cast = addrspacecast i8 addrspace(1)* %gptr to i8*
40 define void @is_private_false(i8 addrspace(1)* %gptr) {
45 %cast = addrspacecast i8 addrspace(1)* %gptr to i8*
/external/llvm-project/clang/test/SemaOpenCLCXX/
Daddrspace-auto.cl33 //CHECK: VarDecl {{.*}} invalid gptr '__global auto *__private'
34 …__global auto *gptr = ptr_l; //expected-error{{variable 'gptr' with type '__global auto *__private…
/external/clang/test/CodeGen/
Dms-inline-asm-functions.c11 int (*gptr())(int);
15 int (*r)(int) = gptr(); in foo()

123456