Home
last modified time | relevance | path

Searched refs:Iex (Results 1 – 25 of 33) sorted by relevance

12

/external/valgrind/VEX/priv/
Dir_opt.c274 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 …]
Dir_match.c64 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()
Dhost_arm_isel.c489 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
490 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
625 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
626 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
774 && (e->Iex.Binop.op == Iop_Add32 || e->Iex.Binop.op == Iop_Sub32) in iselIntExpr_AMode1_wrk()
775 && e->Iex.Binop.arg2->tag == Iex_Const in iselIntExpr_AMode1_wrk()
776 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) { in iselIntExpr_AMode1_wrk()
777 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AMode1_wrk()
780 if (e->Iex.Binop.op == Iop_Sub32) in iselIntExpr_AMode1_wrk()
782 reg = iselIntExpr_R(env, e->Iex.Binop.arg1); in iselIntExpr_AMode1_wrk()
[all …]
Dhost_x86_isel.c109 && 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 …]
Dhost_tilegx_isel.c278 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
279 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
333 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
334 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
408 && e->Iex.Binop.op == Iop_Add64 in iselWordExpr_AMode_wrk()
409 && e->Iex.Binop.arg2->tag == Iex_Const in iselWordExpr_AMode_wrk()
410 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64 in iselWordExpr_AMode_wrk()
411 && uInt_fits_in_16_bits(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64)) { in iselWordExpr_AMode_wrk()
413 return TILEGXAMode_IR((Long) e->Iex.Binop.arg2->Iex.Const.con->Ico.U64, in iselWordExpr_AMode_wrk()
414 iselWordExpr_R(env, e->Iex.Binop.arg1)); in iselWordExpr_AMode_wrk()
[all …]
Dhost_amd64_isel.c97 && e->Iex.Const.con->tag == Ico_U8 in isZeroU8()
98 && e->Iex.Const.con->Ico.U8 == 0; in isZeroU8()
297 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64()
298 && e->Iex.Const.con->Ico.U64 == 0ULL; in isZeroU64()
304 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
305 && e->Iex.Const.con->Ico.U32 == 0; in isZeroU32()
380 vassert(e->Iex.Const.con->tag == Ico_U64); in iselIntExpr_single_instruction()
381 if (fitsIn32Bits(e->Iex.Const.con->Ico.U64)) { in iselIntExpr_single_instruction()
384 AMD64RMI_Imm(toUInt(e->Iex.Const.con->Ico.U64)), in iselIntExpr_single_instruction()
388 return AMD64Instr_Imm64(e->Iex.Const.con->Ico.U64, dst); in iselIntExpr_single_instruction()
[all …]
Dhost_mips_isel.c489 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
490 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
592 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
593 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
722 if (e->tag == Iex_Binop && e->Iex.Binop.op == Iop_Add64 in iselWordExpr_AMode_wrk()
723 && e->Iex.Binop.arg2->tag == Iex_Const in iselWordExpr_AMode_wrk()
724 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64 in iselWordExpr_AMode_wrk()
726 uLong_is_4_aligned(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64) : True) in iselWordExpr_AMode_wrk()
727 && uLong_fits_in_16_bits(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64)) { in iselWordExpr_AMode_wrk()
728 return MIPSAMode_IR((Int) e->Iex.Binop.arg2->Iex.Const.con->Ico.U64, in iselWordExpr_AMode_wrk()
[all …]
Dhost_arm64_isel.c342 IRConst* con = e->Iex.Const.con; in isZeroU64()
389 && env->previous_rm->Iex.RdTmp.tmp == mode->Iex.RdTmp.tmp) { in set_FPCR_rounding_mode()
607 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
608 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
713 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
714 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
870 && (e->Iex.Binop.op == Iop_Add64 || e->Iex.Binop.op == Iop_Sub64) in iselIntExpr_AMode_wrk()
871 && e->Iex.Binop.arg2->tag == Iex_Const in iselIntExpr_AMode_wrk()
872 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64) { in iselIntExpr_AMode_wrk()
873 Long simm = (Long)e->Iex.Binop.arg2->Iex.Const.con->Ico.U64; in iselIntExpr_AMode_wrk()
[all …]
Dhost_ppc_isel.c212 && e->Iex.Const.con->tag == Ico_U8 in isZeroU8()
213 && e->Iex.Const.con->Ico.U8 == 0; in isZeroU8()
841 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
842 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
998 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
999 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
1176 && env->previous_rm->Iex.RdTmp.tmp == mode->Iex.RdTmp.tmp) { in _set_FPU_rounding_mode()
1412 return lookupIRTemp(env, e->Iex.RdTmp.tmp); in iselWordExpr_R_wrk()
1418 if (e->Iex.Load.end != IEndianess) in iselWordExpr_R_wrk()
1421 am_addr = iselWordExpr_AMode( env, e->Iex.Load.addr, ty/*of xfer*/, in iselWordExpr_R_wrk()
[all …]
Dhost_s390_isel.c301 if (expr->tag == Iex_Binop && expr->Iex.Binop.op == Iop_Add64) { in s390_isel_amode_wrk()
302 IRExpr *arg1 = expr->Iex.Binop.arg1; in s390_isel_amode_wrk()
303 IRExpr *arg2 = expr->Iex.Binop.arg2; in s390_isel_amode_wrk()
314 if (arg2->tag == Iex_Const && arg2->Iex.Const.con->tag == Ico_U64) { in s390_isel_amode_wrk()
315 ULong value = arg2->Iex.Const.con->Ico.U64; in s390_isel_amode_wrk()
451 switch (expr->Iex.Const.con->tag) { in s390_expr_is_const_zero()
452 case Ico_U1: value = expr->Iex.Const.con->Ico.U1; break; in s390_expr_is_const_zero()
453 case Ico_U8: value = expr->Iex.Const.con->Ico.U8; break; in s390_expr_is_const_zero()
454 case Ico_U16: value = expr->Iex.Const.con->Ico.U16; break; in s390_expr_is_const_zero()
455 case Ico_U32: value = expr->Iex.Const.con->Ico.U32; break; in s390_expr_is_const_zero()
[all …]
Dir_defs.c1271 vex_printf("BIND-%d", e->Iex.Binder.binder); in ppIRExpr()
1275 ppIRType(e->Iex.Get.ty); in ppIRExpr()
1276 vex_printf("(%d)", e->Iex.Get.offset); in ppIRExpr()
1280 ppIRRegArray(e->Iex.GetI.descr); in ppIRExpr()
1282 ppIRExpr(e->Iex.GetI.ix); in ppIRExpr()
1283 vex_printf(",%d]", e->Iex.GetI.bias); in ppIRExpr()
1286 ppIRTemp(e->Iex.RdTmp.tmp); in ppIRExpr()
1289 const IRQop *qop = e->Iex.Qop.details; in ppIRExpr()
1303 const IRTriop *triop = e->Iex.Triop.details; in ppIRExpr()
1315 ppIROp(e->Iex.Binop.op); in ppIRExpr()
[all …]
Dguest_arm_helpers.c550 && e->Iex.Const.con->tag == Ico_U32 in isU32()
551 && e->Iex.Const.con->Ico.U32 == n ); in isU32()
793 IRTemp look_for = cond_n_op->Iex.RdTmp.tmp; in guest_arm_spechelper()
802 && st->Ist.WrTmp.data->Iex.Binop.op == Iop_Or32 in guest_arm_spechelper()
803 && isU32(st->Ist.WrTmp.data->Iex.Binop.arg2, (ARMCondAL << 4))) in guest_arm_spechelper()
Dguest_s390_helpers.c1818 return expr->tag == Iex_Const && expr->Iex.Const.con->tag == Ico_U64; in isC64()
1860 cond = cond_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
1861 cc_op = cc_op_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
2029 mask = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
2103 mask16 = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
2145 mask16 = cc_dep2->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
2395 cc_op = cc_op_expr->Iex.Const.con->Ico.U64; in guest_s390x_spechelper()
Dguest_arm64_helpers.c708 && e->Iex.Const.con->tag == Ico_U64 in isU64()
709 && e->Iex.Const.con->Ico.U64 == n ); in isU64()
Dguest_x86_helpers.c809 && e->Iex.Const.con->tag == Ico_U32 in isU32()
810 && e->Iex.Const.con->Ico.U32 == n ); in isU32()
/external/valgrind/memcheck/
Dmc_translate.c335 TempMapEnt* ent = VG_(indexXA)( mce->tmpMap, a1->Iex.RdTmp.tmp ); in isOriginalAtom()
348 TempMapEnt* ent = VG_(indexXA)( mce->tmpMap, a1->Iex.RdTmp.tmp ); in isShadowAtom()
1081 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
1082 && e->Iex.Const.con->Ico.U32 == 0 ); in isZeroU32()
1089 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64()
1090 && e->Iex.Const.con->Ico.U64 == 0 ); in isZeroU64()
1370 newShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
1371 assign('V', mce, findShadowTmpV(mce, atom->Iex.RdTmp.tmp), in complainIfUndefined()
1377 IRTemp old_tmpV = findShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
1378 newShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
[all …]
/external/valgrind/VEX/useful/
Dtest_main.c351 addr = data->Iex.LDle.addr;
352 sz = sizeofIRType(data->Iex.LDle.ty);
655 if (a1->tag == Iex_RdTmp && a1->Iex.RdTmp.tmp < mce->n_originalTmps) in isOriginalAtom()
666 if (a1->tag == Iex_RdTmp && a1->Iex.RdTmp.tmp >= mce->n_originalTmps) in isShadowAtom()
1126 newShadowTmp(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
1127 assign(mce->bb, findShadowTmp(mce, atom->Iex.RdTmp.tmp), in complainIfUndefined()
2165 return shadow_GET( mce, e->Iex.Get.offset, e->Iex.Get.ty ); in expr2vbits()
2168 return shadow_GETI( mce, e->Iex.GetI.descr, in expr2vbits()
2169 e->Iex.GetI.ix, e->Iex.GetI.bias ); in expr2vbits()
2172 return IRExpr_RdTmp( findShadowTmp(mce, e->Iex.RdTmp.tmp) ); in expr2vbits()
[all …]
/external/valgrind/coregrind/
Dm_translate.c410 if (e->Iex.Get.offset != offset_SP) goto case2; in vg_SP_update_pass()
411 if (e->Iex.Get.ty != typeof_SP) goto case2; in vg_SP_update_pass()
422 if (e->Iex.Binop.arg1->tag != Iex_RdTmp) goto case3; in vg_SP_update_pass()
423 if (!get_SP_delta(e->Iex.Binop.arg1->Iex.RdTmp.tmp, &delta)) goto case3; in vg_SP_update_pass()
424 if (e->Iex.Binop.arg2->tag != Iex_Const) goto case3; in vg_SP_update_pass()
425 if (!IS_ADD_OR_SUB(e->Iex.Binop.op)) goto case3; in vg_SP_update_pass()
426 con = GET_CONST(e->Iex.Binop.arg2->Iex.Const.con); in vg_SP_update_pass()
428 if (IS_ADD(e->Iex.Binop.op)) { in vg_SP_update_pass()
441 if (!get_SP_delta(e->Iex.RdTmp.tmp, &delta)) goto case4; in vg_SP_update_pass()
466 && get_SP_delta(st->Ist.Put.data->Iex.RdTmp.tmp, &delta)) { in vg_SP_update_pass()
[all …]
/external/valgrind/drd/
Ddrd_load_store.c325 && bb->stmts[i]->Ist.WrTmp.tmp == addr_expr->Iex.RdTmp.tmp) in is_stack_access()
328 if (e->tag == Iex_Get && e->Iex.Get.offset == STACK_POINTER_OFFSET) in is_stack_access()
684 IRExpr* addr_expr = data->Iex.Load.addr; in DRD_()
688 sizeofIRType(data->Iex.Load.ty), in DRD_()
691 instrument_load(bb, addr_expr, sizeofIRType(data->Iex.Load.ty), in DRD_()
/external/valgrind/coregrind/m_gdbserver/
Dm_gdbserver.c1228 sb_in->next->Iex.Const.con->Ico.U64 in VG_()
1229 : sb_in->next->Iex.Const.con->Ico.U32); in VG_()
1232 (sb_in, layout, vge, sb_in->next->Iex.RdTmp.tmp, irsb); in VG_()
/external/valgrind/lackey/
Dlk_main.c778 addEvent_Dr( sbOut, data->Iex.Load.addr, in lk_instrument()
779 sizeofIRType(data->Iex.Load.ty) ); in lk_instrument()
/external/valgrind/exp-dhat/
Ddh_main.c923 IRExpr* aexpr = data->Iex.Load.addr; in dh_instrument()
927 sizeofIRType(data->Iex.Load.ty), in dh_instrument()
/external/valgrind/callgrind/
Dmain.c1053 IRExpr* aexpr = data->Iex.Load.addr; in CLG_()
1057 sizeofIRType(data->Iex.Load.ty), aexpr ); in CLG_()
1318 (IRConst2Addr(sbIn->next->Iex.Const.con) == in CLG_()
/external/valgrind/cachegrind/
Dcg_main.c1130 IRExpr* aexpr = data->Iex.Load.addr; in cg_instrument()
1133 addEvent_Dr( &cgs, curr_inode, sizeofIRType(data->Iex.Load.ty), in cg_instrument()
/external/valgrind/exp-sgcheck/
Dsg_main.c2260 data->Iex.Load.addr, in sg_instrument_IRStmt()
2261 sizeofIRType(data->Iex.Load.ty), in sg_instrument_IRStmt()

12