Lines Matching refs:atomic
3 ;;; Test atomic load for all types and all memory order
10 %"struct.std::__1::atomic" = type { %"struct.std::__1::__atomic_base" }
14 %"struct.std::__1::atomic.0" = type { %"struct.std::__1::__atomic_base.1" }
19 %"struct.std::__1::atomic.5" = type { %"struct.std::__1::__atomic_base.6" }
24 %"struct.std::__1::atomic.10" = type { %"struct.std::__1::__atomic_base.11" }
29 %"struct.std::__1::atomic.15" = type { %"struct.std::__1::__atomic_base.16" }
34 %"struct.std::__1::atomic.20" = type { %"struct.std::__1::__atomic_base.21" }
39 %"struct.std::__1::atomic.25" = type { %"struct.std::__1::__atomic_base.26" }
44 %"struct.std::__1::atomic.30" = type { %"struct.std::__1::__atomic_base.31" }
49 %"struct.std::__1::atomic.35" = type { %"struct.std::__1::__atomic_base.36" }
54 %"struct.std::__1::atomic.40" = type { %"struct.std::__1::__atomic_base.41" }
59 %"struct.std::__1::atomic.45" = type { %"struct.std::__1::__atomic_base.46" }
65 @gv_i1 = global %"struct.std::__1::atomic" zeroinitializer, align 4
66 @gv_i8 = global %"struct.std::__1::atomic.0" zeroinitializer, align 4
67 @gv_u8 = global %"struct.std::__1::atomic.5" zeroinitializer, align 4
68 @gv_i16 = global %"struct.std::__1::atomic.10" zeroinitializer, align 4
69 @gv_u16 = global %"struct.std::__1::atomic.15" zeroinitializer, align 4
70 @gv_i32 = global %"struct.std::__1::atomic.20" zeroinitializer, align 4
71 @gv_u32 = global %"struct.std::__1::atomic.25" zeroinitializer, align 4
72 @gv_i64 = global %"struct.std::__1::atomic.30" zeroinitializer, align 8
73 @gv_u64 = global %"struct.std::__1::atomic.35" zeroinitializer, align 8
74 @gv_i128 = global %"struct.std::__1::atomic.40" zeroinitializer, align 16
75 @gv_u128 = global %"struct.std::__1::atomic.45" zeroinitializer, align 16
78 define zeroext i1 @_Z22atomic_load_relaxed_i1RNSt3__16atomicIbEE(%"struct.std::__1::atomic"* nocapt…
84 …%2 = getelementptr inbounds %"struct.std::__1::atomic", %"struct.std::__1::atomic"* %0, i64 0, i32…
85 %3 = load atomic i8, i8* %2 monotonic, align 1
92 define signext i8 @_Z22atomic_load_relaxed_i8RNSt3__16atomicIcEE(%"struct.std::__1::atomic.0"* noca…
97 …%2 = getelementptr inbounds %"struct.std::__1::atomic.0", %"struct.std::__1::atomic.0"* %0, i64 0,…
98 %3 = load atomic i8, i8* %2 monotonic, align 1
103 define zeroext i8 @_Z22atomic_load_relaxed_u8RNSt3__16atomicIhEE(%"struct.std::__1::atomic.5"* noca…
108 …%2 = getelementptr inbounds %"struct.std::__1::atomic.5", %"struct.std::__1::atomic.5"* %0, i64 0,…
109 %3 = load atomic i8, i8* %2 monotonic, align 1
114 define signext i16 @_Z23atomic_load_relaxed_i16RNSt3__16atomicIsEE(%"struct.std::__1::atomic.10"* n…
119 …%2 = getelementptr inbounds %"struct.std::__1::atomic.10", %"struct.std::__1::atomic.10"* %0, i64 …
120 %3 = load atomic i16, i16* %2 monotonic, align 2
125 define zeroext i16 @_Z23atomic_load_relaxed_u16RNSt3__16atomicItEE(%"struct.std::__1::atomic.15"* n…
130 …%2 = getelementptr inbounds %"struct.std::__1::atomic.15", %"struct.std::__1::atomic.15"* %0, i64 …
131 %3 = load atomic i16, i16* %2 monotonic, align 2
136 define signext i32 @_Z23atomic_load_relaxed_i32RNSt3__16atomicIiEE(%"struct.std::__1::atomic.20"* n…
141 …%2 = getelementptr inbounds %"struct.std::__1::atomic.20", %"struct.std::__1::atomic.20"* %0, i64 …
142 %3 = load atomic i32, i32* %2 monotonic, align 4
147 define zeroext i32 @_Z23atomic_load_relaxed_u32RNSt3__16atomicIjEE(%"struct.std::__1::atomic.25"* n…
152 …%2 = getelementptr inbounds %"struct.std::__1::atomic.25", %"struct.std::__1::atomic.25"* %0, i64 …
153 %3 = load atomic i32, i32* %2 monotonic, align 4
158 define i64 @_Z23atomic_load_relaxed_i64RNSt3__16atomicIlEE(%"struct.std::__1::atomic.30"* nocapture…
163 …%2 = getelementptr inbounds %"struct.std::__1::atomic.30", %"struct.std::__1::atomic.30"* %0, i64 …
164 %3 = load atomic i64, i64* %2 monotonic, align 8
169 define i64 @_Z23atomic_load_relaxed_u64RNSt3__16atomicImEE(%"struct.std::__1::atomic.35"* nocapture…
174 …%2 = getelementptr inbounds %"struct.std::__1::atomic.35", %"struct.std::__1::atomic.35"* %0, i64 …
175 %3 = load atomic i64, i64* %2 monotonic, align 8
180 define i128 @_Z24atomic_load_relaxed_i128RNSt3__16atomicInEE(%"struct.std::__1::atomic.40"* nonnull…
197 %4 = bitcast %"struct.std::__1::atomic.40"* %0 to i8*
205 define i128 @_Z24atomic_load_relaxed_u128RNSt3__16atomicIoEE(%"struct.std::__1::atomic.45"* nonnull…
222 %4 = bitcast %"struct.std::__1::atomic.45"* %0 to i8*
230 define zeroext i1 @_Z22atomic_load_acquire_i1RNSt3__16atomicIbEE(%"struct.std::__1::atomic"* nocapt…
237 …%2 = getelementptr inbounds %"struct.std::__1::atomic", %"struct.std::__1::atomic"* %0, i64 0, i32…
238 %3 = load atomic i8, i8* %2 acquire, align 1
245 define signext i8 @_Z22atomic_load_acquire_i8RNSt3__16atomicIcEE(%"struct.std::__1::atomic.0"* noca…
251 …%2 = getelementptr inbounds %"struct.std::__1::atomic.0", %"struct.std::__1::atomic.0"* %0, i64 0,…
252 %3 = load atomic i8, i8* %2 acquire, align 1
257 define zeroext i8 @_Z22atomic_load_acquire_u8RNSt3__16atomicIhEE(%"struct.std::__1::atomic.5"* noca…
263 …%2 = getelementptr inbounds %"struct.std::__1::atomic.5", %"struct.std::__1::atomic.5"* %0, i64 0,…
264 %3 = load atomic i8, i8* %2 acquire, align 1
269 define signext i16 @_Z23atomic_load_acquire_i16RNSt3__16atomicIsEE(%"struct.std::__1::atomic.10"* n…
275 …%2 = getelementptr inbounds %"struct.std::__1::atomic.10", %"struct.std::__1::atomic.10"* %0, i64 …
276 %3 = load atomic i16, i16* %2 acquire, align 2
281 define zeroext i16 @_Z23atomic_load_acquire_u16RNSt3__16atomicItEE(%"struct.std::__1::atomic.15"* n…
287 …%2 = getelementptr inbounds %"struct.std::__1::atomic.15", %"struct.std::__1::atomic.15"* %0, i64 …
288 %3 = load atomic i16, i16* %2 acquire, align 2
293 define signext i32 @_Z23atomic_load_acquire_i32RNSt3__16atomicIiEE(%"struct.std::__1::atomic.20"* n…
299 …%2 = getelementptr inbounds %"struct.std::__1::atomic.20", %"struct.std::__1::atomic.20"* %0, i64 …
300 %3 = load atomic i32, i32* %2 acquire, align 4
305 define zeroext i32 @_Z23atomic_load_acquire_u32RNSt3__16atomicIjEE(%"struct.std::__1::atomic.25"* n…
311 …%2 = getelementptr inbounds %"struct.std::__1::atomic.25", %"struct.std::__1::atomic.25"* %0, i64 …
312 %3 = load atomic i32, i32* %2 acquire, align 4
317 define i64 @_Z23atomic_load_acquire_i64RNSt3__16atomicIlEE(%"struct.std::__1::atomic.30"* nocapture…
323 …%2 = getelementptr inbounds %"struct.std::__1::atomic.30", %"struct.std::__1::atomic.30"* %0, i64 …
324 %3 = load atomic i64, i64* %2 acquire, align 8
329 define i64 @_Z23atomic_load_acquire_u64RNSt3__16atomicImEE(%"struct.std::__1::atomic.35"* nocapture…
335 …%2 = getelementptr inbounds %"struct.std::__1::atomic.35", %"struct.std::__1::atomic.35"* %0, i64 …
336 %3 = load atomic i64, i64* %2 acquire, align 8
341 define i128 @_Z24atomic_load_acquire_i128RNSt3__16atomicInEE(%"struct.std::__1::atomic.40"* nonnull…
358 %4 = bitcast %"struct.std::__1::atomic.40"* %0 to i8*
366 define i128 @_Z24atomic_load_acquire_u128RNSt3__16atomicIoEE(%"struct.std::__1::atomic.45"* nonnull…
383 %4 = bitcast %"struct.std::__1::atomic.45"* %0 to i8*
391 define zeroext i1 @_Z22atomic_load_seq_cst_i1RNSt3__16atomicIbEE(%"struct.std::__1::atomic"* nocapt…
398 …%2 = getelementptr inbounds %"struct.std::__1::atomic", %"struct.std::__1::atomic"* %0, i64 0, i32…
399 %3 = load atomic i8, i8* %2 seq_cst, align 1
406 define signext i8 @_Z22atomic_load_seq_cst_i8RNSt3__16atomicIcEE(%"struct.std::__1::atomic.0"* noca…
412 …%2 = getelementptr inbounds %"struct.std::__1::atomic.0", %"struct.std::__1::atomic.0"* %0, i64 0,…
413 %3 = load atomic i8, i8* %2 seq_cst, align 1
418 define zeroext i8 @_Z22atomic_load_seq_cst_u8RNSt3__16atomicIhEE(%"struct.std::__1::atomic.5"* noca…
424 …%2 = getelementptr inbounds %"struct.std::__1::atomic.5", %"struct.std::__1::atomic.5"* %0, i64 0,…
425 %3 = load atomic i8, i8* %2 seq_cst, align 1
430 define signext i16 @_Z23atomic_load_seq_cst_i16RNSt3__16atomicIsEE(%"struct.std::__1::atomic.10"* n…
436 …%2 = getelementptr inbounds %"struct.std::__1::atomic.10", %"struct.std::__1::atomic.10"* %0, i64 …
437 %3 = load atomic i16, i16* %2 seq_cst, align 2
442 define zeroext i16 @_Z23atomic_load_seq_cst_u16RNSt3__16atomicItEE(%"struct.std::__1::atomic.15"* n…
448 …%2 = getelementptr inbounds %"struct.std::__1::atomic.15", %"struct.std::__1::atomic.15"* %0, i64 …
449 %3 = load atomic i16, i16* %2 seq_cst, align 2
454 define signext i32 @_Z23atomic_load_seq_cst_i32RNSt3__16atomicIiEE(%"struct.std::__1::atomic.20"* n…
460 …%2 = getelementptr inbounds %"struct.std::__1::atomic.20", %"struct.std::__1::atomic.20"* %0, i64 …
461 %3 = load atomic i32, i32* %2 seq_cst, align 4
466 define zeroext i32 @_Z23atomic_load_seq_cst_u32RNSt3__16atomicIjEE(%"struct.std::__1::atomic.25"* n…
472 …%2 = getelementptr inbounds %"struct.std::__1::atomic.25", %"struct.std::__1::atomic.25"* %0, i64 …
473 %3 = load atomic i32, i32* %2 seq_cst, align 4
478 define i64 @_Z23atomic_load_seq_cst_i64RNSt3__16atomicIlEE(%"struct.std::__1::atomic.30"* nocapture…
484 …%2 = getelementptr inbounds %"struct.std::__1::atomic.30", %"struct.std::__1::atomic.30"* %0, i64 …
485 %3 = load atomic i64, i64* %2 seq_cst, align 8
490 define i64 @_Z23atomic_load_seq_cst_u64RNSt3__16atomicImEE(%"struct.std::__1::atomic.35"* nocapture…
496 …%2 = getelementptr inbounds %"struct.std::__1::atomic.35", %"struct.std::__1::atomic.35"* %0, i64 …
497 %3 = load atomic i64, i64* %2 seq_cst, align 8
502 define i128 @_Z24atomic_load_seq_cst_i128RNSt3__16atomicInEE(%"struct.std::__1::atomic.40"* nonnull…
519 %4 = bitcast %"struct.std::__1::atomic.40"* %0 to i8*
527 define i128 @_Z24atomic_load_seq_cst_u128RNSt3__16atomicIoEE(%"struct.std::__1::atomic.45"* nonnull…
544 %4 = bitcast %"struct.std::__1::atomic.45"* %0 to i8*
563 %1 = alloca %"struct.std::__1::atomic", align 1
564 …%2 = getelementptr inbounds %"struct.std::__1::atomic", %"struct.std::__1::atomic"* %1, i64 0, i32…
566 …call void @_Z6fun_i1RNSt3__16atomicIbEE(%"struct.std::__1::atomic"* nonnull align 1 dereferenceabl…
567 %3 = load atomic i8, i8* %2 monotonic, align 1
577 declare void @_Z6fun_i1RNSt3__16atomicIbEE(%"struct.std::__1::atomic"* nonnull align 1 dereferencea…
593 %1 = alloca %"struct.std::__1::atomic.0", align 1
594 …%2 = getelementptr inbounds %"struct.std::__1::atomic.0", %"struct.std::__1::atomic.0"* %1, i64 0,…
596 …call void @_Z6fun_i8RNSt3__16atomicIcEE(%"struct.std::__1::atomic.0"* nonnull align 1 dereferencea…
597 %3 = load atomic i8, i8* %2 monotonic, align 1
602 declare void @_Z6fun_i8RNSt3__16atomicIcEE(%"struct.std::__1::atomic.0"* nonnull align 1 dereferenc…
615 %1 = alloca %"struct.std::__1::atomic.5", align 1
616 …%2 = getelementptr inbounds %"struct.std::__1::atomic.5", %"struct.std::__1::atomic.5"* %1, i64 0,…
618 …call void @_Z6fun_u8RNSt3__16atomicIhEE(%"struct.std::__1::atomic.5"* nonnull align 1 dereferencea…
619 %3 = load atomic i8, i8* %2 monotonic, align 1
624 declare void @_Z6fun_u8RNSt3__16atomicIhEE(%"struct.std::__1::atomic.5"* nonnull align 1 dereferenc…
637 %1 = alloca %"struct.std::__1::atomic.10", align 2
638 %2 = bitcast %"struct.std::__1::atomic.10"* %1 to i8*
640 …call void @_Z7fun_i16RNSt3__16atomicIsEE(%"struct.std::__1::atomic.10"* nonnull align 2 dereferenc…
641 …%3 = getelementptr inbounds %"struct.std::__1::atomic.10", %"struct.std::__1::atomic.10"* %1, i64 …
642 %4 = load atomic i16, i16* %3 monotonic, align 2
647 declare void @_Z7fun_i16RNSt3__16atomicIsEE(%"struct.std::__1::atomic.10"* nonnull align 2 derefere…
660 %1 = alloca %"struct.std::__1::atomic.15", align 2
661 %2 = bitcast %"struct.std::__1::atomic.15"* %1 to i8*
663 …call void @_Z7fun_u16RNSt3__16atomicItEE(%"struct.std::__1::atomic.15"* nonnull align 2 dereferenc…
664 …%3 = getelementptr inbounds %"struct.std::__1::atomic.15", %"struct.std::__1::atomic.15"* %1, i64 …
665 %4 = load atomic i16, i16* %3 monotonic, align 2
670 declare void @_Z7fun_u16RNSt3__16atomicItEE(%"struct.std::__1::atomic.15"* nonnull align 2 derefere…
683 %1 = alloca %"struct.std::__1::atomic.20", align 4
684 %2 = bitcast %"struct.std::__1::atomic.20"* %1 to i8*
686 …call void @_Z7fun_i32RNSt3__16atomicIiEE(%"struct.std::__1::atomic.20"* nonnull align 4 dereferenc…
687 …%3 = getelementptr inbounds %"struct.std::__1::atomic.20", %"struct.std::__1::atomic.20"* %1, i64 …
688 %4 = load atomic i32, i32* %3 monotonic, align 4
693 declare void @_Z7fun_i32RNSt3__16atomicIiEE(%"struct.std::__1::atomic.20"* nonnull align 4 derefere…
706 %1 = alloca %"struct.std::__1::atomic.25", align 4
707 %2 = bitcast %"struct.std::__1::atomic.25"* %1 to i8*
709 …call void @_Z7fun_u32RNSt3__16atomicIjEE(%"struct.std::__1::atomic.25"* nonnull align 4 dereferenc…
710 …%3 = getelementptr inbounds %"struct.std::__1::atomic.25", %"struct.std::__1::atomic.25"* %1, i64 …
711 %4 = load atomic i32, i32* %3 monotonic, align 4
716 declare void @_Z7fun_u32RNSt3__16atomicIjEE(%"struct.std::__1::atomic.25"* nonnull align 4 derefere…
729 %1 = alloca %"struct.std::__1::atomic.30", align 8
730 %2 = bitcast %"struct.std::__1::atomic.30"* %1 to i8*
732 …call void @_Z7fun_i64RNSt3__16atomicIlEE(%"struct.std::__1::atomic.30"* nonnull align 8 dereferenc…
733 …%3 = getelementptr inbounds %"struct.std::__1::atomic.30", %"struct.std::__1::atomic.30"* %1, i64 …
734 %4 = load atomic i64, i64* %3 monotonic, align 8
739 declare void @_Z7fun_i64RNSt3__16atomicIlEE(%"struct.std::__1::atomic.30"* nonnull align 8 derefere…
752 %1 = alloca %"struct.std::__1::atomic.35", align 8
753 %2 = bitcast %"struct.std::__1::atomic.35"* %1 to i8*
755 …call void @_Z7fun_u64RNSt3__16atomicImEE(%"struct.std::__1::atomic.35"* nonnull align 8 dereferenc…
756 …%3 = getelementptr inbounds %"struct.std::__1::atomic.35", %"struct.std::__1::atomic.35"* %1, i64 …
757 %4 = load atomic i64, i64* %3 monotonic, align 8
762 declare void @_Z7fun_u64RNSt3__16atomicImEE(%"struct.std::__1::atomic.35"* nonnull align 8 derefere…
785 %2 = alloca %"struct.std::__1::atomic.40", align 16
786 %3 = bitcast %"struct.std::__1::atomic.40"* %2 to i8*
788 …call void @_Z8fun_i128RNSt3__16atomicInEE(%"struct.std::__1::atomic.40"* nonnull align 16 derefere…
798 declare void @_Z8fun_i128RNSt3__16atomicInEE(%"struct.std::__1::atomic.40"* nonnull align 16 derefe…
821 %2 = alloca %"struct.std::__1::atomic.45", align 16
822 %3 = bitcast %"struct.std::__1::atomic.45"* %2 to i8*
824 …call void @_Z8fun_u128RNSt3__16atomicIoEE(%"struct.std::__1::atomic.45"* nonnull align 16 derefere…
834 declare void @_Z8fun_u128RNSt3__16atomicIoEE(%"struct.std::__1::atomic.45"* nonnull align 16 derefe…
846 …%1 = load atomic i8, i8* getelementptr inbounds (%"struct.std::__1::atomic", %"struct.std::__1::at…
861 …%1 = load atomic i8, i8* getelementptr inbounds (%"struct.std::__1::atomic.0", %"struct.std::__1::…
874 …%1 = load atomic i8, i8* getelementptr inbounds (%"struct.std::__1::atomic.5", %"struct.std::__1::…
887 …%1 = load atomic i16, i16* getelementptr inbounds (%"struct.std::__1::atomic.10", %"struct.std::__…
900 …%1 = load atomic i16, i16* getelementptr inbounds (%"struct.std::__1::atomic.15", %"struct.std::__…
913 …%1 = load atomic i32, i32* getelementptr inbounds (%"struct.std::__1::atomic.20", %"struct.std::__…
926 …%1 = load atomic i32, i32* getelementptr inbounds (%"struct.std::__1::atomic.25", %"struct.std::__…
939 …%1 = load atomic i64, i64* getelementptr inbounds (%"struct.std::__1::atomic.30", %"struct.std::__…
952 …%1 = load atomic i64, i64* getelementptr inbounds (%"struct.std::__1::atomic.35", %"struct.std::__…
976 …call void @__atomic_load(i64 16, i8* nonnull bitcast (%"struct.std::__1::atomic.40"* @gv_i128 to i…
1002 …call void @__atomic_load(i64 16, i8* nonnull bitcast (%"struct.std::__1::atomic.45"* @gv_u128 to i…