Lines Matching refs:newval
85 define i8 @test_cmpxchg_i8_seqcst_seqcst(i8* %ptr, i8 %desired, i8 %newval) {
97 ; CHECK: [[NEWVAL32:%.*]] = zext i8 %newval to i32
118 %pairold = cmpxchg i8* %ptr, i8 %desired, i8 %newval seq_cst seq_cst
123 define i16 @test_cmpxchg_i16_seqcst_monotonic(i16* %ptr, i16 %desired, i16 %newval) {
135 ; CHECK: [[NEWVAL32:%.*]] = zext i16 %newval to i32
156 %pairold = cmpxchg i16* %ptr, i16 %desired, i16 %newval seq_cst monotonic
161 define i32 @test_cmpxchg_i32_acquire_acquire(i32* %ptr, i32 %desired, i32 %newval) {
172 ; CHECK: [[TRYAGAIN:%.*]] = call i32 @llvm.arm.strex.p0i32(i32 %newval, i32* %ptr)
192 %pairold = cmpxchg i32* %ptr, i32 %desired, i32 %newval acquire acquire
197 define i64 @test_cmpxchg_i64_monotonic_monotonic(i64* %ptr, i64 %desired, i64 %newval) {
215 ; CHECK: [[NEWLO:%.*]] = trunc i64 %newval to i32
216 ; CHECK: [[NEWHI_TMP:%.*]] = lshr i64 %newval, 32
239 %pairold = cmpxchg i64* %ptr, i64 %desired, i64 %newval monotonic monotonic