Lines Matching refs:WrTmp
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()
629 && st->Ist.WrTmp.data->tag == Iex_Get) { in redundant_get_removal_BB()
632 IRExpr* get = st->Ist.WrTmp.data; in redundant_get_removal_BB()
644 == st->Ist.WrTmp.data->Iex.Get.ty ); in redundant_get_removal_BB()
651 bb->stmts[i] = IRStmt_WrTmp(st->Ist.WrTmp.tmp, valE); in redundant_get_removal_BB()
657 (HWord)(void*)(IRExpr_RdTmp(st->Ist.WrTmp.tmp)) ); in redundant_get_removal_BB()
734 e = st->Ist.WrTmp.data; in handle_gets_Stmt()
2587 st->Ist.WrTmp.tmp, in subst_and_fold_Stmt()
2588 fold_Expr(env, subst_Expr(env, st->Ist.WrTmp.data)) in subst_and_fold_Stmt()
2810 vassert(env[(Int)(st2->Ist.WrTmp.tmp)] == NULL); in cprop_BB()
2811 env[(Int)(st2->Ist.WrTmp.tmp)] = st2->Ist.WrTmp.data; in cprop_BB()
2814 if (st2->Ist.WrTmp.data->tag == Iex_RdTmp) in cprop_BB()
2821 if (st2->Ist.WrTmp.data->tag == Iex_Const in cprop_BB()
2822 && st2->Ist.WrTmp.data->Iex.Const.con->tag != Ico_F64i) { in cprop_BB()
3003 addUses_Expr(set, st->Ist.WrTmp.data); in addUses_Stmt()
3124 && set[(Int)(st->Ist.WrTmp.tmp)] == False) { in do_deadcode_BB()
3187 || st->Ist.WrTmp.data->tag != Iex_CCall) in spec_helpers_BB()
3190 ex = (*specHelper)( st->Ist.WrTmp.data->Iex.CCall.cee->name, in spec_helpers_BB()
3191 st->Ist.WrTmp.data->Iex.CCall.args, in spec_helpers_BB()
3200 = IRStmt_WrTmp(st->Ist.WrTmp.tmp, ex); in spec_helpers_BB()
3204 ppIRExpr(st->Ist.WrTmp.data); in spec_helpers_BB()
3991 t = st->Ist.WrTmp.tmp; in do_cse_BB()
3992 eprime = irExpr_to_AvailExpr(st->Ist.WrTmp.data, allowLoadsToBeCSEd); in do_cse_BB()
4085 if (st->Ist.WrTmp.tmp != var) in collapseChain()
4087 e = st->Ist.WrTmp.data; in collapseChain()
4123 && isAdd32OrSub32(st->Ist.WrTmp.data, &var, &con)) { in collapse_AddSub_chains_BB()
4136 st->Ist.WrTmp.tmp, in collapse_AddSub_chains_BB()
4157 && st->Ist.WrTmp.data->tag == Iex_GetI in collapse_AddSub_chains_BB()
4158 && st->Ist.WrTmp.data->Iex.GetI.ix->tag == Iex_RdTmp in collapse_AddSub_chains_BB()
4159 && collapseChain(bb, i-1, st->Ist.WrTmp.data->Iex.GetI.ix in collapse_AddSub_chains_BB()
4166 con2 += st->Ist.WrTmp.data->Iex.GetI.bias; in collapse_AddSub_chains_BB()
4169 st->Ist.WrTmp.tmp, in collapse_AddSub_chains_BB()
4170 IRExpr_GetI(st->Ist.WrTmp.data->Iex.GetI.descr, in collapse_AddSub_chains_BB()
4400 if (s2->Ist.WrTmp.data->tag == Iex_GetI) { in guestAccessWhichMightOverlapPutI()
4404 s2->Ist.WrTmp.data->Iex.GetI.descr, in guestAccessWhichMightOverlapPutI()
4405 s2->Ist.WrTmp.data->Iex.GetI.ix, in guestAccessWhichMightOverlapPutI()
4406 s2->Ist.WrTmp.data->Iex.GetI.bias in guestAccessWhichMightOverlapPutI()
4410 if (s2->Ist.WrTmp.data->tag == Iex_Get) { in guestAccessWhichMightOverlapPutI()
4414 s2->Ist.WrTmp.data->Iex.Get.offset, in guestAccessWhichMightOverlapPutI()
4415 s2->Ist.WrTmp.data->Iex.Get.ty in guestAccessWhichMightOverlapPutI()
4457 && st->Ist.WrTmp.data->tag == Iex_GetI in do_redundant_GetI_elimination()
4458 && st->Ist.WrTmp.data->Iex.GetI.ix->tag == Iex_RdTmp) { in do_redundant_GetI_elimination()
4459 IRRegArray* descr = st->Ist.WrTmp.data->Iex.GetI.descr; in do_redundant_GetI_elimination()
4460 IRExpr* ix = st->Ist.WrTmp.data->Iex.GetI.ix; in do_redundant_GetI_elimination()
4461 Int bias = st->Ist.WrTmp.data->Iex.GetI.bias; in do_redundant_GetI_elimination()
4469 ppIRExpr(st->Ist.WrTmp.data); in do_redundant_GetI_elimination()
4474 bb->stmts[i] = IRStmt_WrTmp(st->Ist.WrTmp.tmp, replacement); in do_redundant_GetI_elimination()
4625 st->Ist.WrTmp.tmp += delta; in deltaIRStmt()
4626 deltaIRExpr(st->Ist.WrTmp.data, delta); in deltaIRStmt()
5161 aoccCount_Expr(uses, st->Ist.WrTmp.data); in aoccCount_Stmt()
5542 st->Ist.WrTmp.tmp, in atbSubst_Stmt()
5543 atbSubst_Expr(env, st->Ist.WrTmp.data) in atbSubst_Stmt()
5832 if (st->tag == Ist_WrTmp && uses[st->Ist.WrTmp.tmp] <= 1) { in ado_treebuild_BB()
5837 if (uses[st->Ist.WrTmp.tmp] == 0) { in ado_treebuild_BB()
5841 vassert(uses[st->Ist.WrTmp.tmp] == 1); in ado_treebuild_BB()
5845 e = st->Ist.WrTmp.data; in ado_treebuild_BB()
5847 addToEnvFront(env, st->Ist.WrTmp.tmp, e2); in ado_treebuild_BB()
6256 IRTemp t = st->Ist.WrTmp.tmp; in do_XOR_TRANSFORM_IRSB()
6258 env[t] = st->Ist.WrTmp.data; in do_XOR_TRANSFORM_IRSB()
6282 = do_XOR_TRANSFORMS_IRExpr(env, st->Ist.WrTmp.data); in do_XOR_TRANSFORM_IRSB()
6285 st->Ist.WrTmp.data = mb_new_data; in do_XOR_TRANSFORM_IRSB()
6484 if (st->Ist.WrTmp.data->tag == Iex_GetI) in considerExpensives()
6486 switch (typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp)) { in considerExpensives()