Lines Matching refs:irrm
651 set_bfp_rounding_mode_in_fpc(ISelEnv *env, IRExpr *irrm) in set_bfp_rounding_mode_in_fpc() argument
653 vassert(typeOfIRExpr(env->type_env, irrm) == Ity_I32); in set_bfp_rounding_mode_in_fpc()
658 irrm->tag == Iex_RdTmp && in set_bfp_rounding_mode_in_fpc()
659 env->previous_bfp_rounding_mode->Iex.RdTmp.tmp == irrm->Iex.RdTmp.tmp) { in set_bfp_rounding_mode_in_fpc()
665 env->previous_bfp_rounding_mode = irrm; in set_bfp_rounding_mode_in_fpc()
679 HReg ir = s390_isel_int_expr(env, irrm); in set_bfp_rounding_mode_in_fpc()
696 get_bfp_rounding_mode(ISelEnv *env, IRExpr *irrm) in get_bfp_rounding_mode() argument
698 if (irrm->tag == Iex_Const) { /* rounding mode is known */ in get_bfp_rounding_mode()
699 vassert(irrm->Iex.Const.con->tag == Ico_U32); in get_bfp_rounding_mode()
700 IRRoundingMode mode = irrm->Iex.Const.con->Ico.U32; in get_bfp_rounding_mode()
712 set_bfp_rounding_mode_in_fpc(env, irrm); in get_bfp_rounding_mode()
725 set_dfp_rounding_mode_in_fpc(ISelEnv *env, IRExpr *irrm) in set_dfp_rounding_mode_in_fpc() argument
727 vassert(typeOfIRExpr(env->type_env, irrm) == Ity_I32); in set_dfp_rounding_mode_in_fpc()
732 irrm->tag == Iex_RdTmp && in set_dfp_rounding_mode_in_fpc()
733 env->previous_dfp_rounding_mode->Iex.RdTmp.tmp == irrm->Iex.RdTmp.tmp) { in set_dfp_rounding_mode_in_fpc()
739 env->previous_dfp_rounding_mode = irrm; in set_dfp_rounding_mode_in_fpc()
757 HReg ir = s390_isel_int_expr(env, irrm); in set_dfp_rounding_mode_in_fpc()
806 get_dfp_rounding_mode(ISelEnv *env, IRExpr *irrm) in get_dfp_rounding_mode() argument
808 if (irrm->tag == Iex_Const) { /* rounding mode is known */ in get_dfp_rounding_mode()
809 vassert(irrm->Iex.Const.con->tag == Ico_U32); in get_dfp_rounding_mode()
810 IRRoundingMode mode = irrm->Iex.Const.con->Ico.U32; in get_dfp_rounding_mode()
834 set_dfp_rounding_mode_in_fpc(env, irrm); in get_dfp_rounding_mode()
2078 IRExpr *irrm; in s390_isel_float128_expr_wrk() local
2099 irrm = expr->Iex.Binop.arg1; in s390_isel_float128_expr_wrk()
2101 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_float128_expr_wrk()
2116 IRExpr *irrm; in s390_isel_float128_expr_wrk() local
2128 irrm = expr->Iex.Binop.arg1; in s390_isel_float128_expr_wrk()
2130 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_float128_expr_wrk()
2365 IRExpr *irrm = expr->Iex.Binop.arg1; in s390_isel_float_expr_wrk() local
2376 set_bfp_rounding_mode_in_fpc(env, irrm); in s390_isel_float_expr_wrk()
2408 rounding_mode = get_bfp_rounding_mode(env, irrm); in s390_isel_float_expr_wrk()
2410 set_bfp_rounding_mode_in_fpc(env, irrm); in s390_isel_float_expr_wrk()
2427 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_float_expr_wrk()
2447 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_float_expr_wrk()
2486 rounding_mode = get_bfp_rounding_mode(env, irrm); in s390_isel_float_expr_wrk()
2488 set_bfp_rounding_mode_in_fpc(env, irrm); in s390_isel_float_expr_wrk()
2648 IRExpr *irrm = triop->arg1; in s390_isel_dfp128_expr_wrk() local
2688 rounding_mode = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp128_expr_wrk()
2690 set_dfp_rounding_mode_in_fpc(env, irrm); in s390_isel_dfp128_expr_wrk()
2712 rounding_mode = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp128_expr_wrk()
2792 IRExpr *irrm; in s390_isel_dfp128_expr_wrk() local
2813 irrm = expr->Iex.Binop.arg1; in s390_isel_dfp128_expr_wrk()
2815 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp128_expr_wrk()
2830 IRExpr *irrm; in s390_isel_dfp128_expr_wrk() local
2842 irrm = expr->Iex.Binop.arg1; in s390_isel_dfp128_expr_wrk()
2844 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp128_expr_wrk()
2977 IRExpr *irrm = expr->Iex.Binop.arg1; in s390_isel_dfp_expr_wrk() local
3008 rounding_mode = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp_expr_wrk()
3010 set_dfp_rounding_mode_in_fpc(env, irrm); in s390_isel_dfp_expr_wrk()
3027 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp_expr_wrk()
3047 rm = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp_expr_wrk()
3081 rounding_mode = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp_expr_wrk()
3083 set_dfp_rounding_mode_in_fpc(env, irrm); in s390_isel_dfp_expr_wrk()
3187 IRExpr *irrm = triop->arg1; in s390_isel_dfp_expr_wrk() local
3209 rounding_mode = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp_expr_wrk()
3211 set_dfp_rounding_mode_in_fpc(env, irrm); in s390_isel_dfp_expr_wrk()
3223 rounding_mode = get_dfp_rounding_mode(env, irrm); in s390_isel_dfp_expr_wrk()