/external/llvm/test/Transforms/LowerAtomic/ |
atomic-swap.ll | 8 ; CHECK: [[OLDVAL:%[a-z0-9]+]] = load i8, i8* [[ADDR:%[a-z0-9]+]] 9 ; CHECK-NEXT: [[SAME:%[a-z0-9]+]] = icmp eq i8 [[OLDVAL]], 0 10 ; CHECK-NEXT: [[TO_STORE:%[a-z0-9]+]] = select i1 [[SAME]], i8 42, i8 [[OLDVAL]] 12 ; CHECK-NEXT: [[TMP:%[a-z0-9]+]] = insertvalue { i8, i1 } undef, i8 [[OLDVAL]], 0
|
/external/llvm/test/CodeGen/AArch64/ |
bitfield-insert.ll | 31 %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_000 [all...] |
bitfield-insert-0.ll | 9 %oldval = load volatile i32, i32* %existing 10 %oldval_keep = and i32 %oldval, 4294705152 ; 0xfffc_0000
|
atomic-ops-not-barriers.ll | 7 %oldval = load i32, i32* %var 8 %newval = add nsw i32 %oldval, -1
|
cmpxchg-idioms.ll | 3 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
|
/external/llvm/test/Transforms/AtomicExpand/ARM/ |
atomic-expansion-v8.ll | 9 ; CHECK: [[OLDVAL:%.*]] = trunc i32 [[OLDVAL32]] to i8 16 ; CHECK: ret i8 [[OLDVAL]] 27 ; CHECK: [[OLDVAL:%.*]] = trunc i32 [[OLDVAL32]] to i16 28 ; CHECK: [[NEWVAL:%.*]] = add i16 [[OLDVAL]], %addend 35 ; CHECK: ret i16 [[OLDVAL]] 45 ; CHECK: [[OLDVAL:%.*]] = call i32 @llvm.arm.ldaex.p0i32(i32* %ptr) 46 ; CHECK: [[NEWVAL:%.*]] = sub i32 [[OLDVAL]], %subend 52 ; CHECK: ret i32 [[OLDVAL]] 69 ; CHECK: [[OLDVAL:%.*]] = or i64 [[LO64]], [[HI64]] 70 ; CHECK: [[NEWVAL:%.*]] = or i64 [[OLDVAL]], %oren [all...] |
atomic-expansion-v7.ll | 9 ; CHECK: [[OLDVAL:%.*]] = trunc i32 [[OLDVAL32]] to i8 16 ; CHECK: ret i8 [[OLDVAL]] 27 ; CHECK: [[OLDVAL:%.*]] = trunc i32 [[OLDVAL32]] to i16 28 ; CHECK: [[NEWVAL:%.*]] = add i16 [[OLDVAL]], %addend 35 ; CHECK: ret i16 [[OLDVAL]] 45 ; CHECK: [[OLDVAL:%.*]] = call i32 @llvm.arm.ldrex.p0i32(i32* %ptr) 46 ; CHECK: [[NEWVAL:%.*]] = sub i32 [[OLDVAL]], %subend 52 ; CHECK: ret i32 [[OLDVAL]] 63 ; CHECK: [[OLDVAL:%.*]] = trunc i32 [[OLDVAL32]] to i8 64 ; CHECK: [[NEWVAL:%.*]] = and i8 [[OLDVAL]], %anden [all...] |
cmpxchg-weak.ll | 32 %oldval = extractvalue { i32, i1 } %pair, 0 33 ret i32 %oldval 64 %oldval = extractvalue { i32, i1 } %pair, 1 65 ret i1 %oldval 96 %oldval = extractvalue { i32, i1 } %pair, 0 97 ret i32 %oldval
|
/external/clang/test/CodeGen/ |
asm-inout.c | 35 unsigned char oldval; local 37 __asm__ ("frob %0" : "=r"(oldval) : "0"(0xff)); 38 return (int)oldval;
|
/external/kernel-headers/original/uapi/linux/ |
futex.h | 135 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 136 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 137 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 138 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 139 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 140 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 143 int oldval = *(int *)UADDR2; 144 *(int *)UADDR2 = oldval OP OPARG; 145 if (oldval CMP CMPARG)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
futex.h | 135 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 136 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 137 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 138 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 139 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 140 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 143 int oldval = *(int *)UADDR2; 144 *(int *)UADDR2 = oldval OP OPARG; 145 if (oldval CMP CMPARG)
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
futex.h | 135 #define FUTEX_OP_CMP_EQ 0 /* if (oldval == CMPARG) wake */ 136 #define FUTEX_OP_CMP_NE 1 /* if (oldval != CMPARG) wake */ 137 #define FUTEX_OP_CMP_LT 2 /* if (oldval < CMPARG) wake */ 138 #define FUTEX_OP_CMP_LE 3 /* if (oldval <= CMPARG) wake */ 139 #define FUTEX_OP_CMP_GT 4 /* if (oldval > CMPARG) wake */ 140 #define FUTEX_OP_CMP_GE 5 /* if (oldval >= CMPARG) wake */ 143 int oldval = *(int *)UADDR2; 144 *(int *)UADDR2 = oldval OP OPARG; 145 if (oldval CMP CMPARG)
|
/external/llvm/test/CodeGen/Mips/ |
micromips-atomic1.ll | 21 define signext i8 @AtomicCmpSwap8(i8 signext %oldval, i8 signext %newval) nounwind { 23 %pair0 = cmpxchg i8* @y, i8 %oldval, i8 %newval monotonic monotonic
|
/external/llvm/test/CodeGen/X86/ |
cmpxchg-i1.ll | 60 ; CHECK: movl (%rdi), %e[[OLDVAL:[a-z0-9]+]] 63 ; CHECK: leal (%r[[OLDVAL]],%rsi), [[NEW:%[a-z0-9]+]] 75 %old = phi i32 [%init, %entry], [%oldval, %loop] 78 %oldval = extractvalue { i32, i1 } %pair, 0 83 ret i32 %oldval
|
cmpxchg-i128-i1.ll | 40 %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
|
/external/llvm/test/CodeGen/ARM/ |
cmpxchg-idioms.ll | 3 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
|
cmpxchg-weak.ll | 7 %oldval = extractvalue { i32, i1 } %pair, 0 19 store i32 %oldval, i32* %addr
|
atomic-op.ll | 274 %oldval = extractvalue { i32, i1 } %pair, 0 277 ; CHECK: ldrex [[OLDVAL:r[0-9]+]], [r[[ADDR:[0-9]+]]] 278 ; CHECK: cmp [[OLDVAL]], r1 286 ret i32 %oldval 293 %oldval = extractvalue { i32, i1 } %pair, 0 296 ; CHECK: ldrex [[OLDVAL:r[0-9]+]], [r[[ADDR:[0-9]+]]] 297 ; CHECK: cmp [[OLDVAL]], r1 306 ret i32 %oldval
|
/external/strace/ |
sysctl.c | 33 info.name, info.nlen, info.oldval, 139 if (info.oldval == NULL) { 153 printpath(tcp, (size_t)info.oldval); 155 tprintf("%p", info.oldval);
|
/external/jemalloc/src/ |
ctl.c | 1090 t oldval; \ 1097 oldval = (v); \ 1098 READ(oldval, t); \ 1113 t oldval; \ 1119 oldval = (v); \ 1120 READ(oldval, t); \ 1134 t oldval; \ 1138 oldval = (v); \ 1139 READ(oldval, t); \ 1358 bool oldval; local 1436 bool oldval; local 1663 size_t oldval = arena_lg_dirty_mult_get(arena); local 1788 size_t oldval = arena_lg_dirty_mult_default_get(); local 1875 bool oldval; local 1900 bool oldval; local 1948 bool oldval; local [all...] |
/prebuilts/misc/common/swig/include/2.0.11/ruby/ |
std_multimap.i | 62 VALUE oldval = rb_hash_aref( obj, key ); 63 if ( oldval == Qnil ) 69 if ( TYPE(oldval) == T_ARRAY ) 70 ary = oldval; 74 rb_ary_push( ary, oldval );
|
/external/llvm/lib/IR/ |
Use.cpp | 24 Value *OldVal = Val; 33 if (OldVal) { 34 RHS.Val = OldVal;
|
/external/compiler-rt/lib/ubsan/ |
ubsan_handlers.cc | 116 static void handleNegateOverflowImpl(OverflowData *Data, ValueHandle OldVal, 128 << Value(Data->Type, OldVal) << Data->Type; 132 << Value(Data->Type, OldVal) << Data->Type; 136 ValueHandle OldVal) { 138 handleNegateOverflowImpl(Data, OldVal, Opts); 141 ValueHandle OldVal) { 143 handleNegateOverflowImpl(Data, OldVal, Opts);
|
/external/toybox/kconfig/ |
symbol.c | 265 struct symbol_value newval, oldval; local 276 oldval = sym->curr; 356 if (memcmp(&oldval, &sym->curr, sizeof(oldval))) { 428 tristate oldval = sym_get_tristate_value(sym); local 430 if (oldval != val && !sym_tristate_within_range(sym, val)) 456 if (oldval != val) 464 tristate oldval, newval; local 466 oldval = newval = sym_get_tristate_value(sym); 481 } while (oldval != newval) 572 const char *oldval; local [all...] |
/external/jemalloc/test/unit/ |
mallctl.c | 121 bool oldval; \ 122 size_t sz = sizeof(oldval); \ 123 assert_d_eq(mallctl("config."#config, &oldval, &sz, NULL, 0), \ 125 assert_b_eq(oldval, config_##config, "Incorrect config value"); \ 126 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \ 152 t oldval; \ 153 size_t sz = sizeof(oldval); \ 155 int result = mallctl("opt."#opt, &oldval, &sz, NULL, 0); \ 158 assert_zu_eq(sz, sizeof(oldval), "Unexpected output size"); \
|