Lines Matching refs:TCGOp
53 TCGOp *prev_mb;
340 static TCGOp *opt_insert_after(OptContext *ctx, TCGOp *op, in opt_insert_after()
346 static TCGOp *opt_insert_before(OptContext *ctx, TCGOp *op, in opt_insert_before()
352 static bool tcg_opt_gen_mov(OptContext *ctx, TCGOp *op, TCGArg dst, TCGArg src) in tcg_opt_gen_mov()
408 static bool tcg_opt_gen_movi(OptContext *ctx, TCGOp *op, in tcg_opt_gen_movi()
775 static int do_constant_folding_cond1(OptContext *ctx, TCGOp *op, TCGArg dest, in do_constant_folding_cond1()
819 TCGOp *op2 = opt_insert_before(ctx, op, INDEX_op_and, 3); in do_constant_folding_cond1()
833 static int do_constant_folding_cond2(OptContext *ctx, TCGOp *op, TCGArg *args) in do_constant_folding_cond2()
912 TCGOp *op1 = opt_insert_before(ctx, op, INDEX_op_and, 3); in do_constant_folding_cond2()
913 TCGOp *op2 = opt_insert_before(ctx, op, INDEX_op_and, 3); in do_constant_folding_cond2()
932 static void init_arguments(OptContext *ctx, TCGOp *op, int nb_args) in init_arguments()
940 static void copy_propagate(OptContext *ctx, TCGOp *op, in copy_propagate()
965 static bool finish_folding(OptContext *ctx, TCGOp *op) in finish_folding()
989 static bool fold_const1(OptContext *ctx, TCGOp *op) in fold_const1()
1001 static bool fold_const2(OptContext *ctx, TCGOp *op) in fold_const2()
1013 static bool fold_commutative(OptContext *ctx, TCGOp *op) in fold_commutative()
1019 static bool fold_const2_commutative(OptContext *ctx, TCGOp *op) in fold_const2_commutative()
1031 static bool fold_masks_zs(OptContext *ctx, TCGOp *op, in fold_masks_zs()
1073 static bool fold_masks_z(OptContext *ctx, TCGOp *op, uint64_t z_mask) in fold_masks_z()
1078 static bool fold_masks_s(OptContext *ctx, TCGOp *op, uint64_t s_mask) in fold_masks_s()
1088 static bool fold_affected_mask(OptContext *ctx, TCGOp *op, uint64_t a_mask) in fold_affected_mask()
1104 static bool fold_not(OptContext *ctx, TCGOp *op);
1105 static bool fold_to_not(OptContext *ctx, TCGOp *op, int idx) in fold_to_not()
1134 static bool fold_ix_to_i(OptContext *ctx, TCGOp *op, uint64_t i) in fold_ix_to_i()
1143 static bool fold_ix_to_not(OptContext *ctx, TCGOp *op, uint64_t i) in fold_ix_to_not()
1152 static bool fold_xi_to_i(OptContext *ctx, TCGOp *op, uint64_t i) in fold_xi_to_i()
1161 static bool fold_xi_to_x(OptContext *ctx, TCGOp *op, uint64_t i) in fold_xi_to_x()
1170 static bool fold_xi_to_not(OptContext *ctx, TCGOp *op, uint64_t i) in fold_xi_to_not()
1179 static bool fold_xx_to_i(OptContext *ctx, TCGOp *op, uint64_t i) in fold_xx_to_i()
1188 static bool fold_xx_to_x(OptContext *ctx, TCGOp *op) in fold_xx_to_x()
1205 static bool fold_addco(OptContext *ctx, TCGOp *op);
1206 static bool fold_or(OptContext *ctx, TCGOp *op);
1207 static bool fold_orc(OptContext *ctx, TCGOp *op);
1208 static bool fold_subbo(OptContext *ctx, TCGOp *op);
1209 static bool fold_xor(OptContext *ctx, TCGOp *op);
1211 static bool fold_add(OptContext *ctx, TCGOp *op) in fold_add()
1221 static bool fold_add_vec(OptContext *ctx, TCGOp *op) in fold_add_vec()
1230 static void squash_prev_carryout(OptContext *ctx, TCGOp *op) in squash_prev_carryout()
1263 static bool fold_addci(OptContext *ctx, TCGOp *op) in fold_addci()
1284 TCGOp *op2 = opt_insert_before(ctx, op, INDEX_op_add, 3); in fold_addci()
1300 static bool fold_addcio(OptContext *ctx, TCGOp *op) in fold_addcio()
1360 static bool fold_addco(OptContext *ctx, TCGOp *op) in fold_addco()
1394 static bool fold_and(OptContext *ctx, TCGOp *op) in fold_and()
1430 static bool fold_andc(OptContext *ctx, TCGOp *op) in fold_andc()
1481 static bool fold_bitsel_vec(OptContext *ctx, TCGOp *op) in fold_bitsel_vec()
1536 static bool fold_brcond(OptContext *ctx, TCGOp *op) in fold_brcond()
1554 static bool fold_brcond2(OptContext *ctx, TCGOp *op) in fold_brcond2()
1650 static bool fold_bswap(OptContext *ctx, TCGOp *op) in fold_bswap()
1701 static bool fold_call(OptContext *ctx, TCGOp *op) in fold_call()
1738 static bool fold_cmp_vec(OptContext *ctx, TCGOp *op) in fold_cmp_vec()
1747 static bool fold_cmpsel_vec(OptContext *ctx, TCGOp *op) in fold_cmpsel_vec()
1768 static bool fold_count_zeros(OptContext *ctx, TCGOp *op) in fold_count_zeros()
1801 static bool fold_ctpop(OptContext *ctx, TCGOp *op) in fold_ctpop()
1822 static bool fold_deposit(OptContext *ctx, TCGOp *op) in fold_deposit()
1867 static bool fold_divide(OptContext *ctx, TCGOp *op) in fold_divide()
1876 static bool fold_dup(OptContext *ctx, TCGOp *op) in fold_dup()
1886 static bool fold_dup2(OptContext *ctx, TCGOp *op) in fold_dup2()
1901 static bool fold_eqv(OptContext *ctx, TCGOp *op) in fold_eqv()
1937 static bool fold_extract(OptContext *ctx, TCGOp *op) in fold_extract()
1958 static bool fold_extract2(OptContext *ctx, TCGOp *op) in fold_extract2()
1977 static bool fold_exts(OptContext *ctx, TCGOp *op) in fold_exts()
2001 static bool fold_extu(OptContext *ctx, TCGOp *op) in fold_extu()
2024 static bool fold_mb(OptContext *ctx, TCGOp *op) in fold_mb()
2048 static bool fold_mov(OptContext *ctx, TCGOp *op) in fold_mov()
2053 static bool fold_movcond(OptContext *ctx, TCGOp *op) in fold_movcond()
2106 static bool fold_mul(OptContext *ctx, TCGOp *op) in fold_mul()
2116 static bool fold_mul_highpart(OptContext *ctx, TCGOp *op) in fold_mul_highpart()
2125 static bool fold_multiply2(OptContext *ctx, TCGOp *op) in fold_multiply2()
2134 TCGOp *op2; in fold_multiply2()
2172 static bool fold_nand(OptContext *ctx, TCGOp *op) in fold_nand()
2186 static bool fold_neg_no_const(OptContext *ctx, TCGOp *op) in fold_neg_no_const()
2195 static bool fold_neg(OptContext *ctx, TCGOp *op) in fold_neg()
2200 static bool fold_nor(OptContext *ctx, TCGOp *op) in fold_nor()
2214 static bool fold_not(OptContext *ctx, TCGOp *op) in fold_not()
2222 static bool fold_or(OptContext *ctx, TCGOp *op) in fold_or()
2240 static bool fold_orc(OptContext *ctx, TCGOp *op) in fold_orc()
2277 static bool fold_qemu_ld_1reg(OptContext *ctx, TCGOp *op) in fold_qemu_ld_1reg()
2299 static bool fold_qemu_ld_2reg(OptContext *ctx, TCGOp *op) in fold_qemu_ld_2reg()
2306 static bool fold_qemu_st(OptContext *ctx, TCGOp *op) in fold_qemu_st()
2313 static bool fold_remainder(OptContext *ctx, TCGOp *op) in fold_remainder()
2323 static int fold_setcond_zmask(OptContext *ctx, TCGOp *op, bool neg) in fold_setcond_zmask()
2407 static void fold_setcond_tst_pow2(OptContext *ctx, TCGOp *op, bool neg) in fold_setcond_tst_pow2()
2411 TCGOp *op2; in fold_setcond_tst_pow2()
2472 static bool fold_setcond(OptContext *ctx, TCGOp *op) in fold_setcond()
2491 static bool fold_negsetcond(OptContext *ctx, TCGOp *op) in fold_negsetcond()
2511 static bool fold_setcond2(OptContext *ctx, TCGOp *op) in fold_setcond2()
2595 static bool fold_sextract(OptContext *ctx, TCGOp *op) in fold_sextract()
2619 static bool fold_shift(OptContext *ctx, TCGOp *op) in fold_shift()
2667 static bool fold_sub_to_neg(OptContext *ctx, TCGOp *op) in fold_sub_to_neg()
2701 static bool fold_sub_vec(OptContext *ctx, TCGOp *op) in fold_sub_vec()
2711 static bool fold_sub(OptContext *ctx, TCGOp *op) in fold_sub()
2730 static void squash_prev_borrowout(OptContext *ctx, TCGOp *op) in squash_prev_borrowout()
2764 static bool fold_subbi(OptContext *ctx, TCGOp *op) in fold_subbi()
2789 TCGOp *op2 = opt_insert_before(ctx, op, INDEX_op_sub, 3); in fold_subbi()
2803 static bool fold_subbio(OptContext *ctx, TCGOp *op) in fold_subbio()
2850 static bool fold_subbo(OptContext *ctx, TCGOp *op) in fold_subbo()
2869 static bool fold_tcg_ld(OptContext *ctx, TCGOp *op) in fold_tcg_ld()
2899 static bool fold_tcg_ld_memcopy(OptContext *ctx, TCGOp *op) in fold_tcg_ld_memcopy()
2922 static bool fold_tcg_st(OptContext *ctx, TCGOp *op) in fold_tcg_st()
2953 static bool fold_tcg_st_memcopy(OptContext *ctx, TCGOp *op) in fold_tcg_st_memcopy()
2985 static bool fold_xor(OptContext *ctx, TCGOp *op) in fold_xor()
3008 TCGOp *op, *op_next; in tcg_optimize()