Lines Matching refs:WrTmp
420 if (isFlat(st->Ist.WrTmp.data)) { in flatten_Stmt()
426 e1 = flatten_Expr(bb, st->Ist.WrTmp.data); in flatten_Stmt()
427 addStmtToIRSB(bb, IRStmt_WrTmp(st->Ist.WrTmp.tmp, e1)); in flatten_Stmt()
602 && st->Ist.WrTmp.data->tag == Iex_Get) { in redundant_get_removal_BB()
605 IRExpr* get = st->Ist.WrTmp.data; in redundant_get_removal_BB()
617 == st->Ist.WrTmp.data->Iex.Get.ty ); in redundant_get_removal_BB()
624 bb->stmts[i] = IRStmt_WrTmp(st->Ist.WrTmp.tmp, valE); in redundant_get_removal_BB()
630 (HWord)(void*)(IRExpr_RdTmp(st->Ist.WrTmp.tmp)) ); in redundant_get_removal_BB()
706 e = st->Ist.WrTmp.data; in handle_gets_Stmt()
2380 st->Ist.WrTmp.tmp, in subst_and_fold_Stmt()
2381 fold_Expr(env, subst_Expr(env, st->Ist.WrTmp.data)) in subst_and_fold_Stmt()
2535 vassert(env[(Int)(st2->Ist.WrTmp.tmp)] == NULL); in cprop_BB()
2536 env[(Int)(st2->Ist.WrTmp.tmp)] = st2->Ist.WrTmp.data; in cprop_BB()
2539 if (st2->Ist.WrTmp.data->tag == Iex_RdTmp) continue; in cprop_BB()
2545 if (st2->Ist.WrTmp.data->tag == Iex_Const in cprop_BB()
2546 && st2->Ist.WrTmp.data->Iex.Const.con->tag != Ico_F64i) continue; in cprop_BB()
2648 addUses_Expr(set, st->Ist.WrTmp.data); in addUses_Stmt()
2752 && set[(Int)(st->Ist.WrTmp.tmp)] == False) { in do_deadcode_BB()
2815 || st->Ist.WrTmp.data->tag != Iex_CCall) in spec_helpers_BB()
2818 ex = (*specHelper)( st->Ist.WrTmp.data->Iex.CCall.cee->name, in spec_helpers_BB()
2819 st->Ist.WrTmp.data->Iex.CCall.args, in spec_helpers_BB()
2828 = IRStmt_WrTmp(st->Ist.WrTmp.tmp, ex); in spec_helpers_BB()
2832 ppIRExpr(st->Ist.WrTmp.data); in spec_helpers_BB()
3460 t = st->Ist.WrTmp.tmp; in do_cse_BB()
3461 eprime = irExpr_to_AvailExpr(st->Ist.WrTmp.data); in do_cse_BB()
3554 if (st->Ist.WrTmp.tmp != var) in collapseChain()
3556 e = st->Ist.WrTmp.data; in collapseChain()
3592 && isAdd32OrSub32(st->Ist.WrTmp.data, &var, &con)) { in collapse_AddSub_chains_BB()
3605 st->Ist.WrTmp.tmp, in collapse_AddSub_chains_BB()
3626 && st->Ist.WrTmp.data->tag == Iex_GetI in collapse_AddSub_chains_BB()
3627 && st->Ist.WrTmp.data->Iex.GetI.ix->tag == Iex_RdTmp in collapse_AddSub_chains_BB()
3628 && collapseChain(bb, i-1, st->Ist.WrTmp.data->Iex.GetI.ix in collapse_AddSub_chains_BB()
3635 con2 += st->Ist.WrTmp.data->Iex.GetI.bias; in collapse_AddSub_chains_BB()
3638 st->Ist.WrTmp.tmp, in collapse_AddSub_chains_BB()
3639 IRExpr_GetI(st->Ist.WrTmp.data->Iex.GetI.descr, in collapse_AddSub_chains_BB()
3869 if (s2->Ist.WrTmp.data->tag == Iex_GetI) { in guestAccessWhichMightOverlapPutI()
3873 s2->Ist.WrTmp.data->Iex.GetI.descr, in guestAccessWhichMightOverlapPutI()
3874 s2->Ist.WrTmp.data->Iex.GetI.ix, in guestAccessWhichMightOverlapPutI()
3875 s2->Ist.WrTmp.data->Iex.GetI.bias in guestAccessWhichMightOverlapPutI()
3879 if (s2->Ist.WrTmp.data->tag == Iex_Get) { in guestAccessWhichMightOverlapPutI()
3883 s2->Ist.WrTmp.data->Iex.Get.offset, in guestAccessWhichMightOverlapPutI()
3884 s2->Ist.WrTmp.data->Iex.Get.ty in guestAccessWhichMightOverlapPutI()
3926 && st->Ist.WrTmp.data->tag == Iex_GetI in do_redundant_GetI_elimination()
3927 && st->Ist.WrTmp.data->Iex.GetI.ix->tag == Iex_RdTmp) { in do_redundant_GetI_elimination()
3928 IRRegArray* descr = st->Ist.WrTmp.data->Iex.GetI.descr; in do_redundant_GetI_elimination()
3929 IRExpr* ix = st->Ist.WrTmp.data->Iex.GetI.ix; in do_redundant_GetI_elimination()
3930 Int bias = st->Ist.WrTmp.data->Iex.GetI.bias; in do_redundant_GetI_elimination()
3938 ppIRExpr(st->Ist.WrTmp.data); in do_redundant_GetI_elimination()
3943 bb->stmts[i] = IRStmt_WrTmp(st->Ist.WrTmp.tmp, replacement); in do_redundant_GetI_elimination()
4096 st->Ist.WrTmp.tmp += delta; in deltaIRStmt()
4097 deltaIRExpr(st->Ist.WrTmp.data, delta); in deltaIRStmt()
4565 aoccCount_Expr(uses, st->Ist.WrTmp.data); in aoccCount_Stmt()
4896 st->Ist.WrTmp.tmp, in atbSubst_Stmt()
4897 atbSubst_Expr(env, st->Ist.WrTmp.data) in atbSubst_Stmt()
5065 if (st->tag == Ist_WrTmp && uses[st->Ist.WrTmp.tmp] <= 1) { in ado_treebuild_BB()
5070 if (uses[st->Ist.WrTmp.tmp] == 0) { in ado_treebuild_BB()
5074 vassert(uses[st->Ist.WrTmp.tmp] == 1); in ado_treebuild_BB()
5078 e = st->Ist.WrTmp.data; in ado_treebuild_BB()
5080 addToEnvFront(env, st->Ist.WrTmp.tmp, e2); in ado_treebuild_BB()
5281 if (st->Ist.WrTmp.data->tag == Iex_GetI) in considerExpensives()
5283 switch (typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp)) { in considerExpensives()