Home
last modified time | relevance | path

Searched refs:Iex (Results 1 – 25 of 31) 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 …]
Dhost_arm_isel.c456 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCallWithArgsOnStack()
457 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCallWithArgsOnStack()
632 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
633 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
768 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
769 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
917 && (e->Iex.Binop.op == Iop_Add32 || e->Iex.Binop.op == Iop_Sub32) in iselIntExpr_AMode1_wrk()
918 && e->Iex.Binop.arg2->tag == Iex_Const in iselIntExpr_AMode1_wrk()
919 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U32) { in iselIntExpr_AMode1_wrk()
920 Int simm = (Int)e->Iex.Binop.arg2->Iex.Const.con->Ico.U32; in iselIntExpr_AMode1_wrk()
[all …]
Dir_match.c65 setBindee(mi, p->Iex.Binder.binder, e); in matchWrk()
69 if (p->Iex.Unop.op != e->Iex.Unop.op) return False; in matchWrk()
70 if (!matchWrk(mi, p->Iex.Unop.arg, e->Iex.Unop.arg)) in matchWrk()
75 if (p->Iex.Binop.op != e->Iex.Binop.op) return False; in matchWrk()
76 if (!matchWrk(mi, p->Iex.Binop.arg1, e->Iex.Binop.arg1)) in matchWrk()
78 if (!matchWrk(mi, p->Iex.Binop.arg2, e->Iex.Binop.arg2)) in matchWrk()
83 if (p->Iex.Load.end != e->Iex.Load.end) return False; in matchWrk()
84 if (p->Iex.Load.ty != e->Iex.Load.ty) return False; in matchWrk()
85 if (!matchWrk(mi, p->Iex.Load.addr, e->Iex.Load.addr)) in matchWrk()
90 return eqIRConst(p->Iex.Const.con, e->Iex.Const.con); in matchWrk()
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_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_arm64_isel.c340 IRConst* con = e->Iex.Const.con; in isZeroU64()
387 && env->previous_rm->Iex.RdTmp.tmp == mode->Iex.RdTmp.tmp) { in set_FPCR_rounding_mode()
605 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
606 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
711 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
712 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
868 && (e->Iex.Binop.op == Iop_Add64 || e->Iex.Binop.op == Iop_Sub64) in iselIntExpr_AMode_wrk()
869 && e->Iex.Binop.arg2->tag == Iex_Const in iselIntExpr_AMode_wrk()
870 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64) { in iselIntExpr_AMode_wrk()
871 Long simm = (Long)e->Iex.Binop.arg2->Iex.Const.con->Ico.U64; in iselIntExpr_AMode_wrk()
[all …]
Dhost_mips_isel.c483 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
484 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
586 if (guard->tag == Iex_Const && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
587 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
716 if (e->tag == Iex_Binop && e->Iex.Binop.op == Iop_Add64 in iselWordExpr_AMode_wrk()
717 && e->Iex.Binop.arg2->tag == Iex_Const in iselWordExpr_AMode_wrk()
718 && e->Iex.Binop.arg2->Iex.Const.con->tag == Ico_U64 in iselWordExpr_AMode_wrk()
720 uLong_is_4_aligned(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64) : True) in iselWordExpr_AMode_wrk()
721 && uLong_fits_in_16_bits(e->Iex.Binop.arg2->Iex.Const.con->Ico.U64)) { in iselWordExpr_AMode_wrk()
722 return MIPSAMode_IR((Int) e->Iex.Binop.arg2->Iex.Const.con->Ico.U64, in iselWordExpr_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()
845 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
846 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
1002 && guard->Iex.Const.con->tag == Ico_U1 in doHelperCall()
1003 && guard->Iex.Const.con->Ico.U1 == True) { in doHelperCall()
1180 && env->previous_rm->Iex.RdTmp.tmp == mode->Iex.RdTmp.tmp) { in _set_FPU_rounding_mode()
1242 vassert(mode->Iex.Const.con->tag == Ico_U32); in FPU_rounding_mode_isOdd()
1243 vassert(mode->Iex.Const.con->Ico.U32 == 0x8); in FPU_rounding_mode_isOdd()
1431 return lookupIRTemp(env, e->Iex.RdTmp.tmp); 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.c1297 vex_printf("BIND-%d", e->Iex.Binder.binder); in ppIRExpr()
1301 ppIRType(e->Iex.Get.ty); in ppIRExpr()
1302 vex_printf("(%d)", e->Iex.Get.offset); in ppIRExpr()
1306 ppIRRegArray(e->Iex.GetI.descr); in ppIRExpr()
1308 ppIRExpr(e->Iex.GetI.ix); in ppIRExpr()
1309 vex_printf(",%d]", e->Iex.GetI.bias); in ppIRExpr()
1312 ppIRTemp(e->Iex.RdTmp.tmp); in ppIRExpr()
1315 const IRQop *qop = e->Iex.Qop.details; in ppIRExpr()
1329 const IRTriop *triop = e->Iex.Triop.details; in ppIRExpr()
1341 ppIROp(e->Iex.Binop.op); in ppIRExpr()
[all …]
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_arm_helpers.c809 && e->Iex.Const.con->tag == Ico_U32 in isU32()
810 && e->Iex.Const.con->Ico.U32 == n ); in isU32()
1052 IRTemp look_for = cond_n_op->Iex.RdTmp.tmp; in guest_arm_spechelper()
1061 && st->Ist.WrTmp.data->Iex.Binop.op == Iop_Or32 in guest_arm_spechelper()
1062 && isU32(st->Ist.WrTmp.data->Iex.Binop.arg2, (ARMCondAL << 4))) in guest_arm_spechelper()
Dguest_arm64_helpers.c1308 && e->Iex.Const.con->tag == Ico_U64 in isU64()
1309 && 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()
Dguest_s390_toIR.c777 call->Iex.CCall.cee->mcx_mask = (1<<0) | (1<<3); in s390_call_calculate_cc()
813 call->Iex.CCall.cee->mcx_mask = (1<<0) | (1<<1) | (1<<4); in s390_call_calculate_icc()
837 call->Iex.CCall.cee->mcx_mask = (1<<0) | (1<<1) | (1<<4); in s390_call_calculate_cond()
7207 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_pfpo_helper()
12967 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_cvb()
12999 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_cvd()
13515 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_cu21()
13642 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_cu24()
13749 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_cu42()
13843 call->Iex.CCall.cee->mcx_mask = 0; in s390_call_cu41()
[all …]
/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()
1092 && e->Iex.Const.con->tag == Ico_U32 in isZeroU32()
1093 && e->Iex.Const.con->Ico.U32 == 0 ); in isZeroU32()
1100 && e->Iex.Const.con->tag == Ico_U64 in isZeroU64()
1101 && e->Iex.Const.con->Ico.U64 == 0 ); in isZeroU64()
1381 newShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
1382 assign('V', mce, findShadowTmpV(mce, atom->Iex.RdTmp.tmp), in complainIfUndefined()
1388 IRTemp old_tmpV = findShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
1389 newShadowTmpV(mce, atom->Iex.RdTmp.tmp); in complainIfUndefined()
[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.c323 && 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()
682 IRExpr* addr_expr = data->Iex.Load.addr; in DRD_()
686 sizeofIRType(data->Iex.Load.ty), in DRD_()
689 instrument_load(bb, addr_expr, sizeofIRType(data->Iex.Load.ty), in DRD_()
/external/valgrind/coregrind/m_gdbserver/
Dm_gdbserver.c1268 sb_in->next->Iex.Const.con->Ico.U64 in VG_()
1269 : sb_in->next->Iex.Const.con->Ico.U32); in VG_()
1272 (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()
/external/valgrind/VEX/pub/
Dlibvex_ir.h2167 } Iex; member

12