/external/valgrind/main/VEX/priv/ |
D | ir_opt.c | 274 return toBool( isIRAtom(e->Iex.Binop.arg1) in isFlat() 275 && isIRAtom(e->Iex.Binop.arg2) ); in isFlat() 277 return isIRAtom(e->Iex.Load.addr); in isFlat() 297 IRExpr_GetI(ex->Iex.GetI.descr, in flatten_Expr() 298 flatten_Expr(bb, ex->Iex.GetI.ix), in flatten_Expr() 299 ex->Iex.GetI.bias))); in flatten_Expr() 309 IRQop* qop = ex->Iex.Qop.details; in flatten_Expr() 321 IRTriop* triop = ex->Iex.Triop.details; in flatten_Expr() 334 IRExpr_Binop(ex->Iex.Binop.op, in flatten_Expr() 335 flatten_Expr(bb, ex->Iex.Binop.arg1), in flatten_Expr() [all …]
|
D | ir_match.c | 64 setBindee(mi, p->Iex.Binder.binder, e); in matchWrk() 68 if (p->Iex.Unop.op != e->Iex.Unop.op) return False; in matchWrk() 69 if (!matchWrk(mi, p->Iex.Unop.arg, e->Iex.Unop.arg)) in matchWrk() 74 if (p->Iex.Binop.op != e->Iex.Binop.op) return False; in matchWrk() 75 if (!matchWrk(mi, p->Iex.Binop.arg1, e->Iex.Binop.arg1)) in matchWrk() 77 if (!matchWrk(mi, p->Iex.Binop.arg2, e->Iex.Binop.arg2)) in matchWrk() 82 if (p->Iex.Load.end != e->Iex.Load.end) return False; in matchWrk() 83 if (p->Iex.Load.ty != e->Iex.Load.ty) return False; in matchWrk() 84 if (!matchWrk(mi, p->Iex.Load.addr, e->Iex.Load.addr)) in matchWrk() 89 return eqIRConst(p->Iex.Const.con, e->Iex.Const.con); in matchWrk()
|
D | host_arm_isel.c | 497 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 498 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 633 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 634 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 782 && (e->Iex.Binop.op == Iop_Add32 || e->Iex.Binop.op == Iop_Sub32) in iselIntExpr_AMode1_wrk() 783 && e->Iex.Binop.arg2->tag == Iex_Const in iselIntExpr_AMode1_wrk() 784 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) { in iselIntExpr_AMode1_wrk() 785 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AMode1_wrk() 788 if (e->Iex.Binop.op == Iop_Sub32) in iselIntExpr_AMode1_wrk() 790 reg = iselIntExpr_R(env, e->Iex.Binop.arg1); in iselIntExpr_AMode1_wrk() [all …]
|
D | host_x86_isel.c | 109 && e->Iex.Const.con->tag == Ico_U8 in isZeroU8() 110 && e->Iex.Const.con->Ico.U8 == 0; in isZeroU8() 116 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32() 117 && e->Iex.Const.con->Ico.U32 == 0; in isZeroU32() 646 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 647 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 862 return lookupIRTemp(env, e->Iex.RdTmp.tmp); in iselIntExpr_R_wrk() 868 X86AMode* amode = iselIntExpr_AMode ( env, e->Iex.Load.addr ); in iselIntExpr_R_wrk() 871 if (e->Iex.Load.end != Iend_LE) in iselIntExpr_R_wrk() 892 IRTriop *triop = e->Iex.Triop.details; in iselIntExpr_R_wrk() [all …]
|
D | host_arm64_isel.c | 373 IRConst* con = e->Iex.Const.con; in isZeroU64() 420 && env->previous_rm->Iex.RdTmp.tmp == mode->Iex.RdTmp.tmp) { in set_FPCR_rounding_mode() 638 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 639 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 744 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 745 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 901 && (e->Iex.Binop.op == Iop_Add64 || e->Iex.Binop.op == Iop_Sub64) in iselIntExpr_AMode_wrk() 902 && e->Iex.Binop.arg2->tag == Iex_Const in iselIntExpr_AMode_wrk() 903 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64) { in iselIntExpr_AMode_wrk() 904 Long simm = (Long)e->Iex.Binop.arg2->Iex.Const.con->Ico.U64; in iselIntExpr_AMode_wrk() [all …]
|
D | host_amd64_isel.c | 97 && e->Iex.Const.con->tag == Ico_U8 in isZeroU8() 98 && e->Iex.Const.con->Ico.U8 == 0; in isZeroU8() 298 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64() 299 && e->Iex.Const.con->Ico.U64 == 0ULL; in isZeroU64() 305 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32() 306 && e->Iex.Const.con->Ico.U32 == 0; in isZeroU32() 381 vassert(e->Iex.Const.con->tag == Ico_U64); in iselIntExpr_single_instruction() 382 if (fitsIn32Bits(e->Iex.Const.con->Ico.U64)) { in iselIntExpr_single_instruction() 385 AMD64RMI_Imm(toUInt(e->Iex.Const.con->Ico.U64)), in iselIntExpr_single_instruction() 389 return AMD64Instr_Imm64(e->Iex.Const.con->Ico.U64, dst); in iselIntExpr_single_instruction() [all …]
|
D | host_mips_isel.c | 488 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 489 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 591 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 592 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 721 if (e->tag == Iex_Binop && e->Iex.Binop.op == Iop_Add64 in iselWordExpr_AMode_wrk() 722 && e->Iex.Binop.arg2->tag == Iex_Const in iselWordExpr_AMode_wrk() 723 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64 in iselWordExpr_AMode_wrk() 725 uLong_is_4_aligned(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64) : True) in iselWordExpr_AMode_wrk() 726 && uLong_fits_in_16_bits(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64)) { in iselWordExpr_AMode_wrk() 727 return MIPSAMode_IR((Int) e->Iex.Binop.arg2->Iex.Const.con->Ico.U64, in iselWordExpr_AMode_wrk() [all …]
|
D | host_ppc_isel.c | 212 && e->Iex.Const.con->tag == Ico_U8 in isZeroU8() 213 && e->Iex.Const.con->Ico.U8 == 0; in isZeroU8() 813 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 814 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 968 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall() 969 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall() 1145 && env->previous_rm->Iex.RdTmp.tmp == mode->Iex.RdTmp.tmp) { in _set_FPU_rounding_mode() 1379 return lookupIRTemp(env, e->Iex.RdTmp.tmp); in iselWordExpr_R_wrk() 1385 if (e->Iex.Load.end != Iend_BE) in iselWordExpr_R_wrk() 1388 am_addr = iselWordExpr_AMode( env, e->Iex.Load.addr, ty/*of xfer*/ ); in iselWordExpr_R_wrk() [all …]
|
D | host_s390_isel.c | 293 if (expr->tag == Iex_Binop && expr->Iex.Binop.op == Iop_Add64) { in s390_isel_amode_wrk() 294 IRExpr *arg1 = expr->Iex.Binop.arg1; in s390_isel_amode_wrk() 295 IRExpr *arg2 = expr->Iex.Binop.arg2; in s390_isel_amode_wrk() 306 if (arg2->tag == Iex_Const && arg2->Iex.Const.con->tag == Ico_U64) { in s390_isel_amode_wrk() 307 ULong value = arg2->Iex.Const.con->Ico.U64; in s390_isel_amode_wrk() 413 switch (expr->Iex.Const.con->tag) { in s390_expr_is_const_zero() 414 case Ico_U1: value = expr->Iex.Const.con->Ico.U1; break; in s390_expr_is_const_zero() 415 case Ico_U8: value = expr->Iex.Const.con->Ico.U8; break; in s390_expr_is_const_zero() 416 case Ico_U16: value = expr->Iex.Const.con->Ico.U16; break; in s390_expr_is_const_zero() 417 case Ico_U32: value = expr->Iex.Const.con->Ico.U32; break; in s390_expr_is_const_zero() [all …]
|
D | ir_defs.c | 1184 vex_printf("BIND-%d", e->Iex.Binder.binder); in ppIRExpr() 1188 ppIRType(e->Iex.Get.ty); in ppIRExpr() 1189 vex_printf("(%d)", e->Iex.Get.offset); in ppIRExpr() 1193 ppIRRegArray(e->Iex.GetI.descr); in ppIRExpr() 1195 ppIRExpr(e->Iex.GetI.ix); in ppIRExpr() 1196 vex_printf(",%d]", e->Iex.GetI.bias); in ppIRExpr() 1199 ppIRTemp(e->Iex.RdTmp.tmp); in ppIRExpr() 1202 IRQop *qop = e->Iex.Qop.details; in ppIRExpr() 1216 IRTriop *triop = e->Iex.Triop.details; in ppIRExpr() 1228 ppIROp(e->Iex.Binop.op); in ppIRExpr() [all …]
|
D | guest_arm_helpers.c | 550 && e->Iex.Const.con->tag == Ico_U32 in isU32() 551 && e->Iex.Const.con->Ico.U32 == n ); in isU32() 743 IRTemp look_for = cond_n_op->Iex.RdTmp.tmp; in guest_arm_spechelper() 752 && st->Ist.WrTmp.data->Iex.Binop.op == Iop_Or32 in guest_arm_spechelper() 753 && isU32(st->Ist.WrTmp.data->Iex.Binop.arg2, (ARMCondAL << 4))) in guest_arm_spechelper()
|
D | guest_s390_helpers.c | 1816 return expr->tag == Iex_Const && expr->Iex.Const.con->tag == Ico_U64; in isC64() 1858 cond = cond_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper() 1859 cc_op = cc_op_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper() 2024 mask = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper() 2098 mask16 = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper() 2140 mask16 = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper() 2377 cc_op = cc_op_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
|
D | guest_arm64_helpers.c | 693 && e->Iex.Const.con->tag == Ico_U64 in isU64() 694 && e->Iex.Const.con->Ico.U64 == n ); in isU64()
|
D | guest_x86_helpers.c | 772 && e->Iex.Const.con->tag == Ico_U32 in isU32() 773 && e->Iex.Const.con->Ico.U32 == n ); in isU32()
|
/external/valgrind/main/memcheck/ |
D | mc_translate.c | 328 TempMapEnt* ent = VG_(indexXA)( mce->tmpMap, a1->Iex.RdTmp.tmp ); in isOriginalAtom() 341 TempMapEnt* ent = VG_(indexXA)( mce->tmpMap, a1->Iex.RdTmp.tmp ); in isShadowAtom() 1012 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32() 1013 && e->Iex.Const.con->Ico.U32 == 0 ); in isZeroU32() 1020 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64() 1021 && e->Iex.Const.con->Ico.U64 == 0 ); in isZeroU64() 1301 newShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined() 1302 assign('V', mce, findShadowTmpV(mce, atom->Iex.RdTmp.tmp), in complainIfUndefined() 1308 IRTemp old_tmpV = findShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined() 1309 newShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined() [all …]
|
/external/valgrind/main/VEX/ |
D | test_main.c | 330 addr = data->Iex.LDle.addr; 331 sz = sizeofIRType(data->Iex.LDle.ty); 634 if (a1->tag == Iex_RdTmp && a1->Iex.RdTmp.tmp < mce->n_originalTmps) in isOriginalAtom() 645 if (a1->tag == Iex_RdTmp && a1->Iex.RdTmp.tmp >= mce->n_originalTmps) in isShadowAtom() 1105 newShadowTmp(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined() 1106 assign(mce->bb, findShadowTmp(mce, atom->Iex.RdTmp.tmp), in complainIfUndefined() 2145 return shadow_GET( mce, e->Iex.Get.offset, e->Iex.Get.ty ); in expr2vbits() 2148 return shadow_GETI( mce, e->Iex.GetI.descr, in expr2vbits() 2149 e->Iex.GetI.ix, e->Iex.GetI.bias ); in expr2vbits() 2152 return IRExpr_RdTmp( findShadowTmp(mce, e->Iex.RdTmp.tmp) ); in expr2vbits() [all …]
|
/external/valgrind/main/coregrind/ |
D | m_translate.c | 401 if (e->Iex.Get.offset != offset_SP) goto case2; in vg_SP_update_pass() 402 if (e->Iex.Get.ty != typeof_SP) goto case2; in vg_SP_update_pass() 413 if (e->Iex.Binop.arg1->tag != Iex_RdTmp) goto case3; in vg_SP_update_pass() 414 if (!get_SP_delta(e->Iex.Binop.arg1->Iex.RdTmp.tmp, &delta)) goto case3; in vg_SP_update_pass() 415 if (e->Iex.Binop.arg2->tag != Iex_Const) goto case3; in vg_SP_update_pass() 416 if (!IS_ADD_OR_SUB(e->Iex.Binop.op)) goto case3; in vg_SP_update_pass() 417 con = GET_CONST(e->Iex.Binop.arg2->Iex.Const.con); in vg_SP_update_pass() 419 if (IS_ADD(e->Iex.Binop.op)) { in vg_SP_update_pass() 432 if (!get_SP_delta(e->Iex.RdTmp.tmp, &delta)) goto case4; in vg_SP_update_pass() 457 && get_SP_delta(st->Ist.Put.data->Iex.RdTmp.tmp, &delta)) { in vg_SP_update_pass() [all …]
|
/external/valgrind/main/drd/ |
D | drd_load_store.c | 323 && bb->stmts[i]->Ist.WrTmp.tmp == addr_expr->Iex.RdTmp.tmp) in is_stack_access() 326 if (e->tag == Iex_Get && e->Iex.Get.offset == STACK_POINTER_OFFSET) in is_stack_access() 680 IRExpr* addr_expr = data->Iex.Load.addr; in DRD_() 684 sizeofIRType(data->Iex.Load.ty), in DRD_() 687 instrument_load(bb, addr_expr, sizeofIRType(data->Iex.Load.ty), in DRD_()
|
/external/valgrind/main/coregrind/m_gdbserver/ |
D | m_gdbserver.c | 1189 sb_in->next->Iex.Const.con->Ico.U64 in VG_() 1190 : sb_in->next->Iex.Const.con->Ico.U32); in VG_() 1193 (sb_in, layout, vge, sb_in->next->Iex.RdTmp.tmp, irsb); in VG_()
|
/external/valgrind/main/lackey/ |
D | lk_main.c | 772 addEvent_Dr( sbOut, data->Iex.Load.addr, in lk_instrument() 773 sizeofIRType(data->Iex.Load.ty) ); in lk_instrument()
|
/external/valgrind/main/exp-dhat/ |
D | dh_main.c | 924 IRExpr* aexpr = data->Iex.Load.addr; in dh_instrument() 928 sizeofIRType(data->Iex.Load.ty), in dh_instrument()
|
/external/valgrind/main/callgrind/ |
D | main.c | 1052 IRExpr* aexpr = data->Iex.Load.addr; in CLG_() 1056 sizeofIRType(data->Iex.Load.ty), aexpr ); in CLG_() 1317 (IRConst2Addr(sbIn->next->Iex.Const.con) == in CLG_()
|
/external/valgrind/main/cachegrind/ |
D | cg_main.c | 1137 IRExpr* aexpr = data->Iex.Load.addr; in cg_instrument() 1140 addEvent_Dr( &cgs, curr_inode, sizeofIRType(data->Iex.Load.ty), in cg_instrument()
|
/external/valgrind/main/exp-sgcheck/ |
D | sg_main.c | 2252 data->Iex.Load.addr, in sg_instrument_IRStmt() 2253 sizeofIRType(data->Iex.Load.ty), in sg_instrument_IRStmt()
|
/external/valgrind/main/VEX/pub/ |
D | libvex_ir.h | 1964 } Iex; member
|