Home
last modified time | relevance | path

Searched refs:Ist (Results 1 – 25 of 29) sorted by relevance

12

/external/valgrind/VEX/priv/
Dir_opt.c411 if (isIRAtom(st->Ist.Put.data)) { in flatten_Stmt()
417 e1 = flatten_Expr(bb, st->Ist.Put.data); in flatten_Stmt()
418 addStmtToIRSB(bb, IRStmt_Put(st->Ist.Put.offset, e1)); in flatten_Stmt()
422 puti = st->Ist.PutI.details; in flatten_Stmt()
429 if (isFlat(st->Ist.WrTmp.data)) { in flatten_Stmt()
435 e1 = flatten_Expr(bb, st->Ist.WrTmp.data); in flatten_Stmt()
436 addStmtToIRSB(bb, IRStmt_WrTmp(st->Ist.WrTmp.tmp, e1)); in flatten_Stmt()
440 e1 = flatten_Expr(bb, st->Ist.Store.addr); in flatten_Stmt()
441 e2 = flatten_Expr(bb, st->Ist.Store.data); in flatten_Stmt()
442 addStmtToIRSB(bb, IRStmt_Store(st->Ist.Store.end, e1,e2)); in flatten_Stmt()
[all …]
Dir_defs.c1556 s->Ist.IMark.addr, s->Ist.IMark.len, in ppIRStmt()
1557 (UInt)s->Ist.IMark.delta); in ppIRStmt()
1561 ppIRExpr(s->Ist.AbiHint.base); in ppIRStmt()
1562 vex_printf(", %d, ", s->Ist.AbiHint.len); in ppIRStmt()
1563 ppIRExpr(s->Ist.AbiHint.nia); in ppIRStmt()
1567 vex_printf( "PUT(%d) = ", s->Ist.Put.offset); in ppIRStmt()
1568 ppIRExpr(s->Ist.Put.data); in ppIRStmt()
1571 ppIRPutI(s->Ist.PutI.details); in ppIRStmt()
1574 ppIRTemp(s->Ist.WrTmp.tmp); in ppIRStmt()
1576 ppIRExpr(s->Ist.WrTmp.data); in ppIRStmt()
[all …]
Dhost_s390_isel.c3523 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in s390_isel_stmt()
3527 if (stmt->Ist.Store.end != Iend_BE) goto stmt_fail; in s390_isel_stmt()
3529 am = s390_isel_amode(env, stmt->Ist.Store.addr); in s390_isel_stmt()
3538 stmt->Ist.Store.data->tag == Iex_Const) { in s390_isel_stmt()
3540 get_const_value_as_ulong(stmt->Ist.Store.data->Iex.Const.con); in s390_isel_stmt()
3550 stmt->Ist.Store.data->tag == Iex_Get) { in s390_isel_stmt()
3551 UInt offset = stmt->Ist.Store.data->Iex.Get.offset; in s390_isel_stmt()
3557 src = s390_isel_int_expr(env, stmt->Ist.Store.data); in s390_isel_stmt()
3562 src = s390_isel_float_expr(env, stmt->Ist.Store.data); in s390_isel_stmt()
3567 src = s390_isel_dfp_expr(env, stmt->Ist.Store.data); in s390_isel_stmt()
[all …]
Dhost_arm64_isel.c3527 IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr); in iselStmt()
3528 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
3529 IREndness end = stmt->Ist.Store.end; in iselStmt()
3535 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
3536 ARM64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr, tyd); in iselStmt()
3541 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
3542 ARM64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr, tyd); in iselStmt()
3547 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
3548 ARM64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr, tyd); in iselStmt()
3553 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
[all …]
Dhost_tilegx_isel.c1411 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
1414 am_addr = iselWordExpr_AMode(env, stmt->Ist.Store.addr, tyd); in iselStmt()
1418 HReg r_src = iselWordExpr_R(env, stmt->Ist.Store.data); in iselStmt()
1428 IRType ty = typeOfIRExpr(env->type_env, stmt->Ist.Put.data); in iselStmt()
1432 HReg r_src = iselWordExpr_R(env, stmt->Ist.Put.data); in iselStmt()
1433 TILEGXAMode *am_addr = TILEGXAMode_IR(stmt->Ist.Put.offset, in iselStmt()
1444 IRTemp tmp = stmt->Ist.WrTmp.tmp; in iselStmt()
1447 HReg r_src = iselWordExpr_R(env, stmt->Ist.WrTmp.data); in iselStmt()
1448 IRType dty = typeOfIRExpr(env->type_env, stmt->Ist.WrTmp.data); in iselStmt()
1485 IRDirty *d = stmt->Ist.Dirty.details; in iselStmt()
[all …]
Dhost_x86_isel.c3872 IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr); in iselStmt()
3873 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
3874 IREndness end = stmt->Ist.Store.end; in iselStmt()
3880 X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
3881 X86RI* ri = iselIntExpr_RI(env, stmt->Ist.Store.data); in iselStmt()
3886 X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
3887 HReg r = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
3893 X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
3894 HReg r = iselDblExpr(env, stmt->Ist.Store.data); in iselStmt()
3899 X86AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
[all …]
Dhost_mips_isel.c3650 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
3653 am_addr = iselWordExpr_AMode(env, stmt->Ist.Store.addr, tyd); in iselStmt()
3657 HReg r_src = iselWordExpr_R(env, stmt->Ist.Store.data); in iselStmt()
3664 HReg r_addr = iselWordExpr_R(env, stmt->Ist.Store.addr); in iselStmt()
3666 iselInt64Expr(&vHi, &vLo, env, stmt->Ist.Store.data); in iselStmt()
3675 HReg fr_src = iselFltExpr(env, stmt->Ist.Store.data); in iselStmt()
3681 HReg fr_src = iselFltExpr(env, stmt->Ist.Store.data); in iselStmt()
3687 HReg fr_src = iselDblExpr(env, stmt->Ist.Store.data); in iselStmt()
3698 IRType ty = typeOfIRExpr(env->type_env, stmt->Ist.Put.data); in iselStmt()
3702 HReg r_src = iselWordExpr_R(env, stmt->Ist.Put.data); in iselStmt()
[all …]
Dhost_amd64_isel.c4295 IRLoadG* lg = stmt->Ist.LoadG.details; in iselStmt()
4335 IRStoreG* sg = stmt->Ist.StoreG.details; in iselStmt()
4366 IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr); in iselStmt()
4367 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
4368 IREndness end = stmt->Ist.Store.end; in iselStmt()
4374 AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
4375 AMD64RI* ri = iselIntExpr_RI(env, stmt->Ist.Store.data); in iselStmt()
4380 AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
4381 HReg r = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
4388 AMD64AMode* am = iselIntExpr_AMode(env, stmt->Ist.Store.addr); in iselStmt()
[all …]
Dhost_ppc_isel.c5474 IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr); in iselStmt()
5475 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
5476 IREndness end = stmt->Ist.Store.end; in iselStmt()
5488 = iselWordExpr_AMode(env, stmt->Ist.Store.addr, tyd/*of xfer*/, in iselStmt()
5490 HReg r_src = iselWordExpr_R(env, stmt->Ist.Store.data, IEndianess); in iselStmt()
5497 = iselWordExpr_AMode(env, stmt->Ist.Store.addr, tyd/*of xfer*/, in iselStmt()
5499 HReg fr_src = iselDblExpr(env, stmt->Ist.Store.data, IEndianess); in iselStmt()
5506 = iselWordExpr_AMode(env, stmt->Ist.Store.addr, tyd/*of xfer*/, in iselStmt()
5508 HReg fr_src = iselFltExpr(env, stmt->Ist.Store.data, IEndianess); in iselStmt()
5515 = iselWordExpr_AMode(env, stmt->Ist.Store.addr, tyd/*of xfer*/, in iselStmt()
[all …]
Dhost_arm_isel.c5695 IRType tya = typeOfIRExpr(env->type_env, stmt->Ist.Store.addr); in iselStmt()
5696 IRType tyd = typeOfIRExpr(env->type_env, stmt->Ist.Store.data); in iselStmt()
5697 IREndness end = stmt->Ist.Store.end; in iselStmt()
5703 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
5704 ARMAMode1* am = iselIntExpr_AMode1(env, stmt->Ist.Store.addr); in iselStmt()
5709 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
5710 ARMAMode2* am = iselIntExpr_AMode2(env, stmt->Ist.Store.addr); in iselStmt()
5717 HReg rD = iselIntExpr_R(env, stmt->Ist.Store.data); in iselStmt()
5718 ARMAMode1* am = iselIntExpr_AMode1(env, stmt->Ist.Store.addr); in iselStmt()
5724 HReg dD = iselNeon64Expr(env, stmt->Ist.Store.data); in iselStmt()
[all …]
Dguest_arm_helpers.c800 && st->Ist.WrTmp.tmp == look_for in guest_arm_spechelper()
801 && st->Ist.WrTmp.data->tag == Iex_Binop 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_generic_bb_to_IR.c391 vassert(imark->Ist.IMark.len == 0); in bb_to_IR()
392 imark->Ist.IMark.len = dres.len; in bb_to_IR()
416 vassert(st->Ist.Put.offset == offB_GUEST_IP); in bb_to_IR()
/external/valgrind/lackey/
Dlk_main.c729 iaddr = st->Ist.IMark.addr; in lk_instrument()
730 ilen = st->Ist.IMark.len; in lk_instrument()
753 if (VG_(get_fnname_if_entry)(st->Ist.IMark.addr, in lk_instrument()
767 addEvent_Ir( sbOut, mkIRExpr_HWord( (HWord)st->Ist.IMark.addr ), in lk_instrument()
768 st->Ist.IMark.len ); in lk_instrument()
776 IRExpr* data = st->Ist.WrTmp.data; in lk_instrument()
783 IRExpr* expr = st->Ist.WrTmp.data; in lk_instrument()
805 IRExpr* data = st->Ist.Store.data; in lk_instrument()
809 addEvent_Dw( sbOut, st->Ist.Store.addr, in lk_instrument()
820 IRStoreG* sg = st->Ist.StoreG.details; in lk_instrument()
[all …]
/external/valgrind/drd/
Ddrd_load_store.c325 && bb->stmts[i]->Ist.WrTmp.tmp == addr_expr->Iex.RdTmp.tmp) in is_stack_access()
327 IRExpr* e = bb->stmts[i]->Ist.WrTmp.data; in is_stack_access()
629 instrument = VG_(DebugInfo_sect_kind)(NULL, st->Ist.IMark.addr) in DRD_()
635 switch (st->Ist.MBE.event) in DRD_()
649 instrument_store(bb, st->Ist.Store.addr, st->Ist.Store.data, in DRD_()
655 IRStoreG* sg = st->Ist.StoreG.details; in DRD_()
665 IRLoadG* lg = st->Ist.LoadG.details; in DRD_()
683 const IRExpr* const data = st->Ist.WrTmp.data; in DRD_()
700 IRDirty* d = st->Ist.Dirty.details; in DRD_()
747 IRCAS* cas = st->Ist.CAS.details; in DRD_()
[all …]
/external/valgrind/coregrind/
Dm_translate.c403 curr_IP = st->Ist.IMark.addr; in vg_SP_update_pass()
408 e = st->Ist.WrTmp.data; in vg_SP_update_pass()
412 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass()
413 add_SP_alias(st->Ist.WrTmp.tmp, 0); in vg_SP_update_pass()
420 e = st->Ist.WrTmp.data; in vg_SP_update_pass()
427 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass()
429 add_SP_alias(st->Ist.WrTmp.tmp, delta + con); in vg_SP_update_pass()
431 add_SP_alias(st->Ist.WrTmp.tmp, delta - con); in vg_SP_update_pass()
439 e = st->Ist.WrTmp.data; in vg_SP_update_pass()
442 vg_assert( typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp) == typeof_SP ); in vg_SP_update_pass()
[all …]
/external/valgrind/callgrind/
Dmain.c884 instrAddr = st->Ist.IMark.addr; in CLG_()
885 instrLen = st->Ist.IMark.len; in CLG_()
892 jumpDst = IRConst2Addr(st->Ist.Exit.dst); in CLG_()
998 origAddr = st->Ist.IMark.addr + st->Ist.IMark.delta; in CLG_()
999 CLG_ASSERT(origAddr == st->Ist.IMark.addr in CLG_()
1000 + st->Ist.IMark.delta); // XXX: check no overflow in CLG_()
1030 Addr cia = st->Ist.IMark.addr + st->Ist.IMark.delta; in CLG_()
1031 UInt isize = st->Ist.IMark.len; in CLG_()
1051 IRExpr* data = st->Ist.WrTmp.data; in CLG_()
1063 IRExpr* data = st->Ist.Store.data; in CLG_()
[all …]
/external/valgrind/cachegrind/
Dcg_main.c1077 cia = st->Ist.IMark.addr; in cg_instrument()
1078 isize = st->Ist.IMark.len; in cg_instrument()
1108 cia = st->Ist.IMark.addr; in cg_instrument()
1109 isize = st->Ist.IMark.len; in cg_instrument()
1128 IRExpr* data = st->Ist.WrTmp.data; in cg_instrument()
1140 IRExpr* data = st->Ist.Store.data; in cg_instrument()
1141 IRExpr* aexpr = st->Ist.Store.addr; in cg_instrument()
1148 IRStoreG* sg = st->Ist.StoreG.details; in cg_instrument()
1160 IRLoadG* lg = st->Ist.LoadG.details; in cg_instrument()
1174 IRDirty* d = st->Ist.Dirty.details; in cg_instrument()
[all …]
/external/valgrind/VEX/useful/
Dtest_main.c349 data = st->Ist.Tmp.data;
386 data = st->Ist.STle.data;
387 addr = st->Ist.STle.addr;
423 assert(isIRAtom(st->Ist.Put.data));
427 assert(isIRAtom(st->Ist.PutI.ix));
428 assert(isIRAtom(st->Ist.PutI.data));
432 assert(isIRAtom(st->Ist.Exit.guard));
438 if (st->Ist.Dirty.details->mFx == Ifx_None)
2575 e = st->Ist.WrTmp.data; in checkForBogusLiterals()
2600 return isBogusAtom(st->Ist.Put.data); in checkForBogusLiterals()
[all …]
/external/valgrind/memcheck/
Dmc_translate.c6152 e = st->Ist.WrTmp.data; in checkForBogusLiterals()
6191 d = st->Ist.Dirty.details; in checkForBogusLiterals()
6205 return isBogusAtom(st->Ist.Put.data); in checkForBogusLiterals()
6207 return isBogusAtom(st->Ist.PutI.details->ix) in checkForBogusLiterals()
6208 || isBogusAtom(st->Ist.PutI.details->data); in checkForBogusLiterals()
6210 return isBogusAtom(st->Ist.Store.addr) in checkForBogusLiterals()
6211 || isBogusAtom(st->Ist.Store.data); in checkForBogusLiterals()
6213 IRStoreG* sg = st->Ist.StoreG.details; in checkForBogusLiterals()
6218 IRLoadG* lg = st->Ist.LoadG.details; in checkForBogusLiterals()
6223 return isBogusAtom(st->Ist.Exit.guard); in checkForBogusLiterals()
[all …]
/external/valgrind/exp-dhat/
Ddh_main.c921 IRExpr* data = st->Ist.WrTmp.data; in dh_instrument()
934 IRExpr* data = st->Ist.Store.data; in dh_instrument()
935 IRExpr* aexpr = st->Ist.Store.addr; in dh_instrument()
944 IRDirty* d = st->Ist.Dirty.details; in dh_instrument()
974 IRCAS* cas = st->Ist.CAS.details; in dh_instrument()
989 if (st->Ist.LLSC.storedata == NULL) { in dh_instrument()
991 dataTy = typeOfIRTemp(tyenv, st->Ist.LLSC.result); in dh_instrument()
994 st->Ist.LLSC.addr, goff_sp ); in dh_instrument()
997 dataTy = typeOfIRExpr(tyenv, st->Ist.LLSC.storedata); in dh_instrument()
1000 st->Ist.LLSC.addr, goff_sp ); in dh_instrument()
/external/valgrind/exp-bbv/
Dbbv_main.c372 origAddr=st->Ist.IMark.addr; in bbv_instrument()
416 ourAddr = st->Ist.IMark.addr; in bbv_instrument()
418 opcode_type=get_inst_type(st->Ist.IMark.len,ourAddr); in bbv_instrument()
/external/valgrind/coregrind/m_gdbserver/
Dm_gdbserver.c1263 st->Ist.Exit.dst->Ico.U64 : in VG_()
1264 st->Ist.Exit.dst->Ico.U32); in VG_()
1275 st->Ist.IMark.addr, in VG_()
1276 st->Ist.IMark.delta, in VG_()
/external/valgrind/exp-sgcheck/
Dsg_main.c2228 tl_assert(st->Ist.Exit.jk != Ijk_Call); in sg_instrument_IRStmt()
2234 env->curr_IP = st->Ist.IMark.addr; in sg_instrument_IRStmt()
2243 st->Ist.Store.addr, in sg_instrument_IRStmt()
2244 sizeofIRType(typeOfIRExpr(sbOut->tyenv, st->Ist.Store.data)), in sg_instrument_IRStmt()
2254 IRExpr* data = st->Ist.WrTmp.data; in sg_instrument_IRStmt()
2274 IRDirty* d = st->Ist.Dirty.details; in sg_instrument_IRStmt()
2312 IRCAS* cas = st->Ist.CAS.details; in sg_instrument_IRStmt()
/external/valgrind/helgrind/
Dhg_main.c4665 cia = st->Ist.IMark.addr; in hg_instrument()
4683 cia = st->Ist.IMark.addr; in hg_instrument()
4701 switch (st->Ist.MBE.event) { in hg_instrument()
4713 IRCAS* cas = st->Ist.CAS.details; in hg_instrument()
4742 if (st->Ist.LLSC.storedata == NULL) { in hg_instrument()
4744 dataTy = typeOfIRTemp(bbIn->tyenv, st->Ist.LLSC.result); in hg_instrument()
4748 st->Ist.LLSC.addr, in hg_instrument()
4766 st->Ist.Store.addr, in hg_instrument()
4767 sizeofIRType(typeOfIRExpr(bbIn->tyenv, st->Ist.Store.data)), in hg_instrument()
4776 IRStoreG* sg = st->Ist.StoreG.details; in hg_instrument()
[all …]
/external/valgrind/VEX/pub/
Dlibvex_ir.h2905 } Ist; member

12