Lines Matching refs:WrTmp
404 if (isFlat(st->Ist.WrTmp.data)) { in flatten_Stmt()
410 e1 = flatten_Expr(bb, st->Ist.WrTmp.data); in flatten_Stmt()
411 addStmtToIRSB(bb, IRStmt_WrTmp(st->Ist.WrTmp.tmp, e1)); in flatten_Stmt()
584 && st->Ist.WrTmp.data->tag == Iex_Get) { in redundant_get_removal_BB()
587 IRExpr* get = st->Ist.WrTmp.data; in redundant_get_removal_BB()
599 == st->Ist.WrTmp.data->Iex.Get.ty ); in redundant_get_removal_BB()
606 bb->stmts[i] = IRStmt_WrTmp(st->Ist.WrTmp.tmp, valE); in redundant_get_removal_BB()
612 (HWord)(void*)(IRExpr_RdTmp(st->Ist.WrTmp.tmp)) ); in redundant_get_removal_BB()
688 e = st->Ist.WrTmp.data; in handle_gets_Stmt()
1945 st->Ist.WrTmp.tmp, in subst_and_fold_Stmt()
1946 fold_Expr(subst_Expr(env, st->Ist.WrTmp.data)) in subst_and_fold_Stmt()
2102 && st2->Ist.WrTmp.data->tag == Iex_Const in cprop_BB()
2103 && st2->Ist.WrTmp.data->Iex.Const.con->tag != Ico_F64i) { in cprop_BB()
2106 env[(Int)(st2->Ist.WrTmp.tmp)] = st2->Ist.WrTmp.data; in cprop_BB()
2109 if (st2->tag == Ist_WrTmp && st2->Ist.WrTmp.data->tag == Iex_RdTmp) { in cprop_BB()
2112 env[(Int)(st2->Ist.WrTmp.tmp)] = st2->Ist.WrTmp.data; in cprop_BB()
2208 addUses_Expr(set, st->Ist.WrTmp.data); in addUses_Stmt()
2312 && set[(Int)(st->Ist.WrTmp.tmp)] == False) { in do_deadcode_BB()
2373 || st->Ist.WrTmp.data->tag != Iex_CCall) in spec_helpers_BB()
2376 ex = (*specHelper)( st->Ist.WrTmp.data->Iex.CCall.cee->name, in spec_helpers_BB()
2377 st->Ist.WrTmp.data->Iex.CCall.args, in spec_helpers_BB()
2386 = IRStmt_WrTmp(st->Ist.WrTmp.tmp, ex); in spec_helpers_BB()
2390 ppIRExpr(st->Ist.WrTmp.data); in spec_helpers_BB()
2883 t = st->Ist.WrTmp.tmp; in do_cse_BB()
2884 eprime = irExpr_to_AvailExpr(st->Ist.WrTmp.data); in do_cse_BB()
2977 if (st->Ist.WrTmp.tmp != var) in collapseChain()
2979 e = st->Ist.WrTmp.data; in collapseChain()
3015 && isAdd32OrSub32(st->Ist.WrTmp.data, &var, &con)) { in collapse_AddSub_chains_BB()
3028 st->Ist.WrTmp.tmp, in collapse_AddSub_chains_BB()
3049 && st->Ist.WrTmp.data->tag == Iex_GetI in collapse_AddSub_chains_BB()
3050 && st->Ist.WrTmp.data->Iex.GetI.ix->tag == Iex_RdTmp in collapse_AddSub_chains_BB()
3051 && collapseChain(bb, i-1, st->Ist.WrTmp.data->Iex.GetI.ix in collapse_AddSub_chains_BB()
3058 con2 += st->Ist.WrTmp.data->Iex.GetI.bias; in collapse_AddSub_chains_BB()
3061 st->Ist.WrTmp.tmp, in collapse_AddSub_chains_BB()
3062 IRExpr_GetI(st->Ist.WrTmp.data->Iex.GetI.descr, in collapse_AddSub_chains_BB()
3282 if (s2->Ist.WrTmp.data->tag == Iex_GetI) { in guestAccessWhichMightOverlapPutI()
3287 s2->Ist.WrTmp.data->Iex.GetI.descr, in guestAccessWhichMightOverlapPutI()
3288 s2->Ist.WrTmp.data->Iex.GetI.ix, in guestAccessWhichMightOverlapPutI()
3289 s2->Ist.WrTmp.data->Iex.GetI.bias in guestAccessWhichMightOverlapPutI()
3293 if (s2->Ist.WrTmp.data->tag == Iex_Get) { in guestAccessWhichMightOverlapPutI()
3297 s2->Ist.WrTmp.data->Iex.Get.offset, in guestAccessWhichMightOverlapPutI()
3298 s2->Ist.WrTmp.data->Iex.Get.ty in guestAccessWhichMightOverlapPutI()
3340 && st->Ist.WrTmp.data->tag == Iex_GetI in do_redundant_GetI_elimination()
3341 && st->Ist.WrTmp.data->Iex.GetI.ix->tag == Iex_RdTmp) { in do_redundant_GetI_elimination()
3342 IRRegArray* descr = st->Ist.WrTmp.data->Iex.GetI.descr; in do_redundant_GetI_elimination()
3343 IRExpr* ix = st->Ist.WrTmp.data->Iex.GetI.ix; in do_redundant_GetI_elimination()
3344 Int bias = st->Ist.WrTmp.data->Iex.GetI.bias; in do_redundant_GetI_elimination()
3352 ppIRExpr(st->Ist.WrTmp.data); in do_redundant_GetI_elimination()
3357 bb->stmts[i] = IRStmt_WrTmp(st->Ist.WrTmp.tmp, replacement); in do_redundant_GetI_elimination()
3506 st->Ist.WrTmp.tmp += delta; in deltaIRStmt()
3507 deltaIRExpr(st->Ist.WrTmp.data, delta); in deltaIRStmt()
3975 aoccCount_Expr(uses, st->Ist.WrTmp.data); in aoccCount_Stmt()
4278 st->Ist.WrTmp.tmp, in atbSubst_Stmt()
4279 atbSubst_Expr(env, st->Ist.WrTmp.data) in atbSubst_Stmt()
4428 if (st->tag == Ist_WrTmp && uses[st->Ist.WrTmp.tmp] <= 1) { in ado_treebuild_BB()
4433 if (uses[st->Ist.WrTmp.tmp] == 0) { in ado_treebuild_BB()
4437 vassert(uses[st->Ist.WrTmp.tmp] == 1); in ado_treebuild_BB()
4441 e = st->Ist.WrTmp.data; in ado_treebuild_BB()
4443 addToEnvFront(env, st->Ist.WrTmp.tmp, e2); in ado_treebuild_BB()
4637 if (st->Ist.WrTmp.data->tag == Iex_GetI) in considerExpensives()
4639 switch (typeOfIRTemp(bb->tyenv, st->Ist.WrTmp.tmp)) { in considerExpensives()