Home
last modified time | relevance | path

Searched refs:oldval (Results 1 – 25 of 43) sorted by relevance

12

/external/llvm/test/CodeGen/AArch64/
Dbitfield-insert.ll31 %oldval = load volatile i32, i32* %existing
32 %oldval_keep = and i32 %oldval, 2214592511 ; =0x83ffffff
50 %oldval = load volatile i64, i64* %existing
51 %oldval_keep = and i64 %oldval, 18446742974265032703 ; = 0xffffff0003ffffffL
71 %oldval = load volatile i64, i64* %existing
72 %oldval_keep = and i64 %oldval, 4294901760 ; = 0xffff0000
89 %oldval = load volatile i32, i32* %existing
90 %oldval_keep = and i32 %oldval, 135 ; = 0x87
107 %oldval = load volatile i64, i64* %existing
108 %oldval_keep = and i64 %oldval, 1095216660480 ; = 0xff_0000_0000
[all …]
Dcmpxchg-idioms.ll3 define i32 @test_return(i32* %p, i32 %oldval, i32 %newval) {
23 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
58 define void @test_conditional(i32* %p, i32 %oldval, i32 %newval) {
76 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
Dbitfield-insert-0.ll9 %oldval = load volatile i32, i32* %existing
10 %oldval_keep = and i32 %oldval, 4294705152 ; 0xfffc_0000
Datomic-ops-not-barriers.ll7 %oldval = load i32, i32* %var
8 %newval = add nsw i32 %oldval, -1
Darm64-atomic-128.ll5 define i128 @val_compare_and_swap(i128* %p, i128 %oldval, i128 %newval) {
16 %pair = cmpxchg i128* %p, i128 %oldval, i128 %newval acquire acquire
/external/jemalloc/src/
Dctl.c1092 t oldval; \
1099 oldval = (v); \
1100 READ(oldval, t); \
1115 t oldval; \
1121 oldval = (v); \
1122 READ(oldval, t); \
1136 t oldval; \
1140 oldval = (v); \
1141 READ(oldval, t); \
1159 t oldval; \
[all …]
/external/clang/test/CodeGen/
Dasm-inout.c35 unsigned char oldval; in test4() local
37 __asm__ ("frob %0" : "=r"(oldval) : "0"(0xff)); in test4()
38 return (int)oldval; in test4()
/external/toybox/kconfig/
Dsymbol.c265 struct symbol_value newval, oldval; in sym_calc_value() local
276 oldval = sym->curr; in sym_calc_value()
356 if (memcmp(&oldval, &sym->curr, sizeof(oldval))) { in sym_calc_value()
428 tristate oldval = sym_get_tristate_value(sym); in sym_set_tristate_value() local
430 if (oldval != val && !sym_tristate_within_range(sym, val)) in sym_set_tristate_value()
456 if (oldval != val) in sym_set_tristate_value()
464 tristate oldval, newval; in sym_toggle_tristate_value() local
466 oldval = newval = sym_get_tristate_value(sym); in sym_toggle_tristate_value()
481 } while (oldval != newval); in sym_toggle_tristate_value()
572 const char *oldval; in sym_set_string_value() local
[all …]
Dconf.c209 tristate oldval, newval; in conf_sym() local
218 oldval = sym_get_tristate_value(sym); in conf_sym()
219 switch (oldval) { in conf_sym()
230 if (oldval != no && sym_tristate_within_range(sym, no)) in conf_sym()
232 if (oldval != mod && sym_tristate_within_range(sym, mod)) in conf_sym()
234 if (oldval != yes && sym_tristate_within_range(sym, yes)) in conf_sym()
262 newval = oldval; in conf_sym()
/external/strace/
Dsysctl.c62 info.name, info.nlen, info.oldval, in SYS_FUNC()
168 if (info.oldval == NULL) { in SYS_FUNC()
176 printpath(tcp, (size_t)info.oldval); in SYS_FUNC()
178 tprintf("%p", info.oldval); in SYS_FUNC()
/external/llvm/test/Transforms/AtomicExpand/ARM/
Dcmpxchg-weak.ll36 %oldval = extractvalue { i32, i1 } %pair, 0
37 ret i32 %oldval
72 %oldval = extractvalue { i32, i1 } %pair, 1
73 ret i1 %oldval
108 %oldval = extractvalue { i32, i1 } %pair, 0
109 ret i32 %oldval
/external/llvm/test/CodeGen/X86/
Dcmpxchg-i128-i1.ll40 %oldval = extractvalue { i128, i1 } %pair, 0
41 %success = icmp sge i128 %oldval, %desired
69 %old = phi i128 [%init, %entry], [%oldval, %loop]
73 %oldval = extractvalue { i128, i1 } %pair, 0
Dcmpxchg-i1.ll75 %old = phi i32 [%init, %entry], [%oldval, %loop]
78 %oldval = extractvalue { i32, i1 } %pair, 0
83 ret i32 %oldval
Datomic128.ll5 define i128 @val_compare_and_swap(i128* %p, i128 %oldval, i128 %newval) {
13 %pair = cmpxchg i128* %p, i128 %oldval, i128 %newval acquire acquire
/external/llvm/test/CodeGen/ARM/
Dcmpxchg-idioms.ll3 define i32 @test_return(i32* %p, i32 %oldval, i32 %newval) {
28 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
67 define void @test_conditional(i32* %p, i32 %oldval, i32 %newval) {
90 %pair = cmpxchg i32* %p, i32 %oldval, i32 %newval seq_cst seq_cst
Dcmpxchg-weak.ll7 %oldval = extractvalue { i32, i1 } %pair, 0
27 store i32 %oldval, i32* %addr
Datomic-op.ll274 %oldval = extractvalue { i32, i1 } %pair, 0
301 ret i32 %oldval
308 %oldval = extractvalue { i32, i1 } %pair, 0
324 ret i32 %oldval
/external/jemalloc/test/unit/
Dmallctl.c121 t oldval; \ in TEST_BEGIN()
122 size_t sz = sizeof(oldval); \ in TEST_BEGIN()
123 assert_d_eq(mallctl("config."#config, &oldval, &sz, NULL, 0), \ in TEST_BEGIN()
125 assert_b_eq(oldval, config_##config, "Incorrect config value"); \ in TEST_BEGIN()
126 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
154 t oldval; \ in TEST_BEGIN()
155 size_t sz = sizeof(oldval); \ in TEST_BEGIN()
157 int result = mallctl("opt."#opt, &oldval, &sz, NULL, 0); \ in TEST_BEGIN()
160 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ in TEST_BEGIN()
/external/v8/src/runtime/
Druntime-atomics.cc29 inline T CompareExchangeSeqCst(T* p, T oldval, T newval) { in CompareExchangeSeqCst() argument
30 (void)__atomic_compare_exchange_n(p, &oldval, newval, 0, __ATOMIC_SEQ_CST, in CompareExchangeSeqCst()
32 return oldval; in CompareExchangeSeqCst()
115 inline type CompareExchangeSeqCst(type* p, type oldval, type newval) { \
118 bit_cast<vctype>(oldval)); \
210 T oldval = FromObject<T>(oldobj); in DoCompareExchange() local
213 CompareExchangeSeqCst(static_cast<T*>(buffer) + index, oldval, newval); in DoCompareExchange()
302 uint8_t oldval = ClampToUint8(FromObject<convert_type>(oldobj)); in DoCompareExchangeUint8Clamped() local
305 oldval, newval); in DoCompareExchangeUint8Clamped()
/external/llvm/test/CodeGen/Mips/
Dmicromips-atomic1.ll21 define signext i8 @AtomicCmpSwap8(i8 signext %oldval, i8 signext %newval) nounwind {
23 %pair0 = cmpxchg i8* @y, i8 %oldval, i8 %newval monotonic monotonic
Datomic.ll73 define i32 @AtomicCmpSwap32(i32 signext %oldval, i32 signext %newval) nounwind {
78 %0 = cmpxchg i32* @x, i32 %oldval, i32 %tmp monotonic monotonic
261 define signext i8 @AtomicCmpSwap8(i8 signext %oldval, i8 signext %newval) nounwind {
263 %pair0 = cmpxchg i8* @y, i8 %oldval, i8 %newval monotonic monotonic
306 define i1 @AtomicCmpSwapRes8(i8* %ptr, i8 signext %oldval, i8 signext %newval) nounwind {
308 %0 = cmpxchg i8* %ptr, i8 %oldval, i8 %newval monotonic monotonic
/external/compiler-rt/test/tsan/
Dreal_deadlock_detector_stress_test.cc36 bool cas(int *a, int oldval, int newval) { in cas() argument
37 return __atomic_compare_exchange_n(a, &oldval, newval, false, in cas()
/external/autotest/client/tests/ltp/patches/
Dsysctl.patch31 static int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
61 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
91 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
121 int sysctl(int *name, int nlen, void *oldval, size_t * oldlenp,
/external/opencv3/modules/imgproc/src/
Dderiv.cpp131 int oldval, newval; in getSobelKernels() local
138 oldval = kerI[0]; in getSobelKernels()
142 kerI[j-1] = oldval; in getSobelKernels()
143 oldval = newval; in getSobelKernels()
149 oldval = -kerI[0]; in getSobelKernels()
153 kerI[j-1] = oldval; in getSobelKernels()
154 oldval = newval; in getSobelKernels()
/external/mksh/src/
Dmisc.c248 unsigned char oldval; in change_flag() local
255 oldval = Flag(f); in change_flag()
259 if (what != OF_CMDLINE && newval != oldval) in change_flag()
276 if (f == FPRIVILEGED && oldval && !newval) { in change_flag()

12