Lines Matching refs:arg_ct
3257 static int get_constraint_priority(const TCGArgConstraint *arg_ct, int k) in get_constraint_priority() argument
3261 arg_ct += k; in get_constraint_priority()
3262 n = ctpop64(arg_ct->regs); in get_constraint_priority()
3268 if (n == 1 || arg_ct->oalias) { in get_constraint_priority()
3277 switch (arg_ct->pair) { in get_constraint_priority()
3282 return (arg_ct->pair_index + 1) * 2 - 1; in get_constraint_priority()
5254 const TCGArgConstraint *arg_ct; in tcg_reg_alloc_op() local
5309 arg_ct = &args_ct[i]; in tcg_reg_alloc_op()
5314 if (ts->val == 0 && (arg_ct->ct & TCG_CT_REG_ZERO)) { in tcg_reg_alloc_op()
5322 if (tcg_target_const_match(ts->val, arg_ct->ct, ts->type, in tcg_reg_alloc_op()
5333 i_required_regs = arg_ct->regs; in tcg_reg_alloc_op()
5337 switch (arg_ct->pair) { in tcg_reg_alloc_op()
5339 if (arg_ct->ialias) { in tcg_reg_alloc_op()
5340 i_preferred_regs = output_pref(op, arg_ct->alias_index); in tcg_reg_alloc_op()
5349 || args_ct[arg_ct->alias_index].newreg) { in tcg_reg_alloc_op()
5382 i2 = arg_ct->pair_index; in tcg_reg_alloc_op()
5389 if (arg_ct->ialias) { in tcg_reg_alloc_op()
5390 i_preferred_regs = output_pref(op, arg_ct->alias_index); in tcg_reg_alloc_op()
5421 reg = new_args[arg_ct->pair_index] + 1; in tcg_reg_alloc_op()
5425 tcg_debug_assert(arg_ct->ialias); in tcg_reg_alloc_op()
5426 i_preferred_regs = output_pref(op, arg_ct->alias_index); in tcg_reg_alloc_op()
5451 if (arg_ct->ialias && (!IS_DEAD_ARG(i) || temp_readonly(ts))) { in tcg_reg_alloc_op()
5538 arg_ct = &args_ct[i]; in tcg_reg_alloc_op()
5544 switch (arg_ct->pair) { in tcg_reg_alloc_op()
5546 if (arg_ct->oalias && !const_args[arg_ct->alias_index]) { in tcg_reg_alloc_op()
5547 reg = new_args[arg_ct->alias_index]; in tcg_reg_alloc_op()
5548 } else if (arg_ct->newreg) { in tcg_reg_alloc_op()
5549 reg = tcg_reg_alloc(s, arg_ct->regs, in tcg_reg_alloc_op()
5553 reg = tcg_reg_alloc(s, arg_ct->regs, o_allocated_regs, in tcg_reg_alloc_op()
5559 if (arg_ct->oalias) { in tcg_reg_alloc_op()
5560 reg = new_args[arg_ct->alias_index]; in tcg_reg_alloc_op()
5561 } else if (arg_ct->newreg) { in tcg_reg_alloc_op()
5562 reg = tcg_reg_alloc_pair(s, arg_ct->regs, in tcg_reg_alloc_op()
5567 reg = tcg_reg_alloc_pair(s, arg_ct->regs, o_allocated_regs, in tcg_reg_alloc_op()
5574 if (arg_ct->oalias) { in tcg_reg_alloc_op()
5575 reg = new_args[arg_ct->alias_index]; in tcg_reg_alloc_op()
5577 reg = new_args[arg_ct->pair_index] + 1; in tcg_reg_alloc_op()
5582 tcg_debug_assert(!arg_ct->newreg); in tcg_reg_alloc_op()
5583 reg = new_args[arg_ct->pair_index] - 1; in tcg_reg_alloc_op()