Lines Matching refs:i128
3 @var = global i128 0
5 define i128 @val_compare_and_swap(i128* %p, i128 %oldval, i128 %newval) {
18 %pair = cmpxchg i128* %p, i128 %oldval, i128 %newval acquire acquire
19 %val = extractvalue { i128, i1 } %pair, 0
20 ret i128 %val
23 define void @fetch_and_nand(i128* %p, i128 %bits) {
43 %val = atomicrmw nand i128* %p, i128 %bits release
44 store i128 %val, i128* @var, align 16
48 define void @fetch_and_or(i128* %p, i128 %bits) {
67 %val = atomicrmw or i128* %p, i128 %bits seq_cst
68 store i128 %val, i128* @var, align 16
72 define void @fetch_and_add(i128* %p, i128 %bits) {
91 %val = atomicrmw add i128* %p, i128 %bits seq_cst
92 store i128 %val, i128* @var, align 16
96 define void @fetch_and_sub(i128* %p, i128 %bits) {
115 %val = atomicrmw sub i128* %p, i128 %bits seq_cst
116 store i128 %val, i128* @var, align 16
120 define void @fetch_and_min(i128* %p, i128 %bits) {
140 %val = atomicrmw min i128* %p, i128 %bits seq_cst
141 store i128 %val, i128* @var, align 16
145 define void @fetch_and_max(i128* %p, i128 %bits) {
165 %val = atomicrmw max i128* %p, i128 %bits seq_cst
166 store i128 %val, i128* @var, align 16
170 define void @fetch_and_umin(i128* %p, i128 %bits) {
190 %val = atomicrmw umin i128* %p, i128 %bits seq_cst
191 store i128 %val, i128* @var, align 16
195 define void @fetch_and_umax(i128* %p, i128 %bits) {
215 %val = atomicrmw umax i128* %p, i128 %bits seq_cst
216 store i128 %val, i128* @var, align 16
220 define i128 @atomic_load_seq_cst(i128* %p) {
229 %r = load atomic i128, i128* %p seq_cst, align 16
230 ret i128 %r
233 define i128 @atomic_load_relaxed(i128* %p) {
242 %r = load atomic i128, i128* %p monotonic, align 16
243 ret i128 %r
246 define void @atomic_store_seq_cst(i128* %p, i128 %in) {
259 store atomic i128 %in, i128* %p seq_cst, align 16
263 define void @atomic_store_release(i128* %p, i128 %in) {
275 store atomic i128 %in, i128* %p release, align 16
279 define void @atomic_store_relaxed(i128* %p, i128 %in) {
291 store atomic i128 %in, i128* %p unordered, align 16