/external/llvm/test/MC/Sparc/ |
H A D | sparcv9-atomic-instructions.s | 6 ! CHECK: cas [%i0], %l6, %o2 ! encoding: [0xd5,0xe6,0x10,0x16] 7 cas [%i0], %l6, %o2
|
/external/compiler-rt/test/tsan/ |
H A D | real_deadlock_detector_stress_test.cc | 36 bool cas(int *a, int oldval, int newval) { function 69 if (cas(&m->state, old, newv)) { 75 if (!cas(&m->state, kStateLocked, 1)) { 142 if (!cas(&m->state, kStateInited, kStateLocked)) { 150 if (!cas(&m->state, kStateLocked, kStateNotInited)) {
|
/external/pdfium/third_party/libopenjpeg20/ |
H A D | dwt.c | 57 OPJ_INT32 cas; member in struct:dwt_local 68 OPJ_INT32 cas ; member in struct:v4dwt_local 92 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 96 static void opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 x, OPJ_INT32 cas); 108 static void opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 113 static void opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 117 static void opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas); 201 static void opj_dwt_deinterleave_h(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) { argument 204 OPJ_INT32 * l_src = a+cas; 212 l_src = a + 1 - cas; 223 opj_dwt_deinterleave_v(OPJ_INT32 *a, OPJ_INT32 *b, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 x, OPJ_INT32 cas) argument 291 opj_dwt_encode_1(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) argument 312 opj_dwt_decode_1_(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) argument 340 opj_dwt_encode_1_real(OPJ_INT32 *a, OPJ_SIZE_T a_count, OPJ_INT32 dn, OPJ_INT32 sn, OPJ_INT32 cas) argument [all...] |
/external/llvm/test/MC/AArch64/ |
H A D | armv8.1a-atomic.s | 37 cas w0, w1, [x2] 42 //CHECK: cas w0, w1, [x2] // encoding: [0x41,0x7c,0xa0,0x88] 47 cas w0, w1, [w2] 51 //CHECK-ERROR: cas w0, w1, [w2] 58 cas x0, x1, [x2] 63 //CHECK: cas x0, x1, [x2] // encoding: [0x41,0x7c,0xa0,0xc8]
|
/external/valgrind/VEX/priv/ |
H A D | ir_defs.c | 1424 void ppIRCAS ( const IRCAS* cas ) 1428 if (cas->oldHi != IRTemp_INVALID) { 1429 ppIRTemp(cas->oldHi); 1432 ppIRTemp(cas->oldLo); 1433 vex_printf(" = CAS%s(", cas->end==Iend_LE ? "le" : "be" ); 1434 ppIRExpr(cas->addr); 1436 if (cas->expdHi) { 1437 ppIRExpr(cas->expdHi); 1440 ppIRExpr(cas->expdLo); 1442 if (cas 2013 IRCAS* cas = LibVEX_Alloc_inline(sizeof(IRCAS)); local 3705 const IRCAS* cas = st->Ist.CAS.details; local 3891 const IRCAS* cas; local 4274 const IRCAS* cas = stmt->Ist.CAS.details; local 4554 const IRCAS* cas = stmt->Ist.CAS.details; local [all...] |
H A D | ir_opt.c | 405 IRCAS *cas, *cas2; local 460 cas = st->Ist.CAS.details; 461 e1 = flatten_Expr(bb, cas->addr); 462 e2 = cas->expdHi ? flatten_Expr(bb, cas->expdHi) : NULL; 463 e3 = flatten_Expr(bb, cas->expdLo); 464 e4 = cas->dataHi ? flatten_Expr(bb, cas->dataHi) : NULL; 465 e5 = flatten_Expr(bb, cas->dataLo); 466 cas2 = mkIRCAS( cas 2656 IRCAS *cas, *cas2; local 2991 IRCAS* cas; local 5153 IRCAS* cas; local 5509 IRCAS *cas, *cas2; local 6309 IRCAS* cas = st->Ist.CAS.details; local 6467 IRCAS* cas; local [all...] |
H A D | host_tilegx_isel.c | 1513 IRCAS* cas = stmt->Ist.CAS.details; local 1514 IRType ty = typeOfIRExpr(env->type_env, cas->dataLo); 1516 TILEGXAMode *r_addr = iselWordExpr_AMode(env, cas->addr, Ity_I64); 1517 HReg r_new = iselWordExpr_R(env, cas->dataLo); 1518 HReg r_old = lookupIRTemp(env, cas->oldLo); 1521 vassert(cas->expdHi == NULL); 1522 vassert(cas->dataHi == NULL); 1533 if (cas->expdLo->tag != Iex_Const) 1535 r_exp = iselWordExpr_R(env, cas->expdLo); 1542 if((sz == 8 && cas [all...] |
H A D | host_s390_isel.c | 358 cas(b,d,...) # emit compare-and-swap using b12 amode 3859 IRCAS *cas = stmt->Ist.CAS.details; local 3860 s390_amode *op2 = s390_isel_amode_b12_b20(env, cas->addr); 3861 HReg op3 = s390_isel_int_expr(env, cas->dataLo); /* new value */ 3862 HReg op1 = s390_isel_int_expr(env, cas->expdLo); /* expected value */ 3863 HReg old = lookupIRTemp(env, cas->oldLo); 3865 if (typeOfIRTemp(env->type_env, cas->oldLo) == Ity_I32) { 3872 IRCAS *cas = stmt->Ist.CAS.details; local 3873 s390_amode *op2 = s390_isel_amode_b12_b20(env, cas->addr); 3875 HReg op3_high = s390_isel_int_expr(env, cas [all...] |
H A D | host_x86_isel.c | 4178 IRCAS* cas = stmt->Ist.CAS.details; local 4179 IRType ty = typeOfIRExpr(env->type_env, cas->dataLo); 4180 /* get: cas->expdLo into %eax, and cas->dataLo into %ebx */ 4181 X86AMode* am = iselIntExpr_AMode(env, cas->addr); 4182 HReg rDataLo = iselIntExpr_R(env, cas->dataLo); 4183 HReg rExpdLo = iselIntExpr_R(env, cas->expdLo); 4184 HReg rOldLo = lookupIRTemp(env, cas->oldLo); 4185 vassert(cas->expdHi == NULL); 4186 vassert(cas 4203 IRCAS* cas = stmt->Ist.CAS.details; local [all...] |
H A D | host_amd64_isel.c | 4680 IRCAS* cas = stmt->Ist.CAS.details; local 4681 IRType ty = typeOfIRExpr(env->type_env, cas->dataLo); 4682 /* get: cas->expd into %rax, and cas->data into %rbx */ 4683 AMD64AMode* am = iselIntExpr_AMode(env, cas->addr); 4684 HReg rData = iselIntExpr_R(env, cas->dataLo); 4685 HReg rExpd = iselIntExpr_R(env, cas->expdLo); 4686 HReg rOld = lookupIRTemp(env, cas->oldLo); 4687 vassert(cas->expdHi == NULL); 4688 vassert(cas 4705 IRCAS* cas = stmt->Ist.CAS.details; local [all...] |
H A D | host_s390_defs.h | 458 } cas; member in union:__anon18299::__anon18300
|
H A D | host_s390_defs.c | 627 addHRegUse(u, HRmRead, insn->variant.cas.op1); 628 s390_amode_get_reg_usage(u, insn->variant.cas.op2); 629 addHRegUse(u, HRmRead, insn->variant.cas.op3); 630 addHRegUse(u, HRmWrite, insn->variant.cas.old_mem); 949 insn->variant.cas.op1 = lookupHRegRemap(m, insn->variant.cas.op1); 950 s390_amode_map_regs(m, insn->variant.cas.op2); 951 insn->variant.cas.op3 = lookupHRegRemap(m, insn->variant.cas.op3); 952 insn->variant.cas [all...] |
H A D | host_mips_isel.c | 3947 IRCAS *cas = stmt->Ist.CAS.details; local 3948 HReg old = lookupIRTemp(env, cas->oldLo); 3949 HReg addr = iselWordExpr_R(env, cas->addr); 3950 HReg expd = iselWordExpr_R(env, cas->expdLo); 3951 HReg data = iselWordExpr_R(env, cas->dataLo); 3952 if (typeOfIRTemp(env->type_env, cas->oldLo) == Ity_I64) { 3954 } else if (typeOfIRTemp(env->type_env, cas->oldLo) == Ity_I32) {
|
H A D | guest_s390_toIR.c | 5650 IRCAS *cas; local 5662 cas = mkIRCAS(IRTemp_INVALID, old_mem, 5666 stmt(IRStmt_CAS(cas)); 5684 IRCAS *cas; local 5696 cas = mkIRCAS(IRTemp_INVALID, old_mem, 5700 stmt(IRStmt_CAS(cas)); 5718 IRCAS *cas; local 5730 cas = mkIRCAS(IRTemp_INVALID, old_mem, 5734 stmt(IRStmt_CAS(cas)); 5748 IRCAS *cas; local 11872 IRCAS *cas; local 11920 IRCAS *cas; local 11955 IRCAS *cas; local 12015 IRCAS *cas; local [all...] |
/external/valgrind/lackey/ |
H A D | lk_main.c | 882 IRCAS* cas = st->Ist.CAS.details; local 883 tl_assert(cas->addr != NULL); 884 tl_assert(cas->dataLo != NULL); 885 dataTy = typeOfIRExpr(tyenv, cas->dataLo); 887 if (cas->dataHi != NULL) 890 addEvent_Dr( sbOut, cas->addr, dataSize ); 891 addEvent_Dw( sbOut, cas->addr, dataSize ); 895 if (cas->dataHi != NULL) /* dcas */ 898 if (cas->dataHi != NULL) /* dcas */
|
/external/guava/guava/src/com/google/common/cache/ |
H A D | Striped64.java | 103 final boolean cas(long cmp, long val) { method in class:Striped64.Cell 223 else if (a.cas(v = a.value, fn(v, x)))
|
H A D | LongAdder.java | 76 !(uncontended = a.cas(v = a.value, v + x)))
|
/external/valgrind/memcheck/ |
H A D | mc_translate.c | 5543 static void do_shadow_CAS_single ( MCEnv* mce, IRCAS* cas ); 5544 static void do_shadow_CAS_double ( MCEnv* mce, IRCAS* cas ); 5598 void do_shadow_CAS ( MCEnv* mce, IRCAS* cas ) 5723 if (cas->oldHi == IRTemp_INVALID) { 5724 do_shadow_CAS_single( mce, cas ); 5726 do_shadow_CAS_double( mce, cas ); 5731 static void do_shadow_CAS_single ( MCEnv* mce, IRCAS* cas ) 5743 tl_assert(cas->oldHi == IRTemp_INVALID); 5744 tl_assert(cas->expdHi == NULL); 5745 tl_assert(cas 6149 IRCAS* cas; local [all...] |
/external/valgrind/drd/ |
H A D | drd_load_store.c | 747 IRCAS* cas = st->Ist.CAS.details; local 749 tl_assert(cas->addr != NULL); 750 tl_assert(cas->dataLo != NULL); 751 dataSize = sizeofIRType(typeOfIRExpr(bb->tyenv, cas->dataLo)); 752 if (cas->dataHi != NULL) 756 instr_trace_mem_store(bb, cas->addr, cas->dataHi, cas->dataLo, 759 instrument_load(bb, cas->addr, dataSize, NULL/*no guard*/);
|
/external/valgrind/exp-dhat/ |
H A D | dh_main.c | 974 IRCAS* cas = st->Ist.CAS.details; local 975 tl_assert(cas->addr != NULL); 976 tl_assert(cas->dataLo != NULL); 977 dataSize = sizeofIRType(typeOfIRExpr(tyenv, cas->dataLo)); 978 if (cas->dataHi != NULL) 981 dataSize, cas->addr, goff_sp ); 983 dataSize, cas->addr, goff_sp );
|
/external/valgrind/cachegrind/ |
H A D | cg_main.c | 1204 IRCAS* cas = st->Ist.CAS.details; local 1205 tl_assert(cas->addr != NULL); 1206 tl_assert(cas->dataLo != NULL); 1207 dataSize = sizeofIRType(typeOfIRExpr(tyenv, cas->dataLo)); 1208 if (cas->dataHi != NULL) 1213 addEvent_Dr( &cgs, curr_inode, dataSize, cas->addr ); 1214 addEvent_Dw( &cgs, curr_inode, dataSize, cas->addr );
|
/external/valgrind/callgrind/ |
H A D | main.c | 1127 IRCAS* cas = st->Ist.CAS.details; local 1128 CLG_ASSERT(cas->addr && isIRAtom(cas->addr)); 1129 CLG_ASSERT(cas->dataLo); 1130 dataSize = sizeofIRType(typeOfIRExpr(sbIn->tyenv, cas->dataLo)); 1131 if (cas->dataHi != NULL) 1132 dataSize *= 2; /* since this is a doubleword-cas */ 1133 addEvent_Dr( &clgs, curr_inode, dataSize, cas->addr ); 1134 addEvent_Dw( &clgs, curr_inode, dataSize, cas->addr );
|
/external/valgrind/exp-sgcheck/ |
H A D | sg_main.c | 2312 IRCAS* cas = st->Ist.CAS.details; local 2313 tl_assert(cas->addr != NULL); 2314 tl_assert(cas->dataLo != NULL); 2315 dataSize = sizeofIRType(typeOfIRExpr(sbOut->tyenv, cas->dataLo)); 2316 if (cas->dataHi != NULL) 2319 env, sbOut, cas->addr, dataSize, False/*!isStore*/, 2323 env, sbOut, cas->addr, dataSize, True/*isStore*/,
|
/external/valgrind/helgrind/ |
H A D | hg_main.c | 4713 IRCAS* cas = st->Ist.CAS.details; local 4714 Bool isDCAS = cas->oldHi != IRTemp_INVALID; 4716 tl_assert(cas->expdHi); 4717 tl_assert(cas->dataHi); 4719 tl_assert(!cas->expdHi); 4720 tl_assert(!cas->dataHi); 4726 cas->addr, 4728 * sizeofIRType(typeOfIRExpr(bbIn->tyenv, cas->dataLo)),
|
/external/valgrind/VEX/pub/ |
H A D | libvex_ir.h | 2528 extern void ppIRCAS ( const IRCAS* cas );
|