Lines Matching defs:apm

117       struct ipa_adjusted_param *apm;
118 apm = &(*adj_params)[i];
125 fprintf (f, "%i. %s %s", i, ipa_param_op_names[apm->op],
126 apm->prev_clone_adjustment ? "prev_clone_adjustment " : "");
127 switch (apm->op)
133 fprintf (f, ", base_index: %u", apm->base_index);
134 fprintf (f, ", prev_clone_index: %u", apm->prev_clone_index);
138 fprintf (f, ", offset: %u", apm->unit_offset);
141 fprintf (f, ", base_index: %u", apm->base_index);
142 fprintf (f, ", prev_clone_index: %u", apm->prev_clone_index);
143 print_node_brief (f, ", type: ", apm->type, 0);
144 print_node_brief (f, ", alias type: ", apm->alias_ptr_type, 0);
146 ipa_param_prefixes[apm->param_prefix_index]);
147 if (apm->reverse)
169 ipa_adjusted_param *apm = &(*adj_params)[i];
170 if (apm->op == IPA_PARAM_OP_COPY)
173 = use_prev_indices ? apm->prev_clone_index : apm->base_index;
181 else if (apm->op == IPA_PARAM_OP_NEW
182 || apm->op == IPA_PARAM_OP_SPLIT)
184 tree ntype = apm->type;
269 ipa_adjusted_param *apm = &(*m_adj_params)[i];
270 if (apm->op == IPA_PARAM_OP_COPY
271 && max_index < apm->base_index)
272 max_index = apm->base_index;
296 ipa_adjusted_param *apm = &(*m_adj_params)[i];
297 if (apm->op == IPA_PARAM_OP_COPY)
298 (*surviving_params)[apm->base_index] = true;
321 ipa_adjusted_param *apm = &(*m_adj_params)[i];
322 if (apm->op == IPA_PARAM_OP_COPY)
323 (*new_indices)[apm->base_index] = i;
606 ipa_adjusted_param *apm = &(*m_adj_params)[i];
607 if (apm->op == IPA_PARAM_OP_COPY)
609 unsigned index = apm->base_index;
615 index = index_map[apm->base_index];
631 gcc_assert (apm->op == IPA_PARAM_OP_SPLIT);
637 if (trans_map[j].base_index == apm->base_index
638 && trans_map[j].unit_offset == apm->unit_offset)
649 unsigned index = apm->base_index;
654 index = index_map[apm->base_index];
677 off = build_int_cst (apm->alias_ptr_type, apm->unit_offset);
698 off = build_int_cst (apm->alias_ptr_type, apm->unit_offset);
707 off = build_int_cst (apm->alias_ptr_type,
708 base_offset + apm->unit_offset);
715 off = build_int_cst (apm->alias_ptr_type,
716 base_offset + apm->unit_offset);
721 tree type = apm->type;
750 REF_REVERSE_STORAGE_ORDER (expr) = apm->reverse;
921 ipa_param_body_adjustments::register_replacement (ipa_adjusted_param *apm,
925 gcc_checking_assert (apm->op == IPA_PARAM_OP_SPLIT
926 || apm->op == IPA_PARAM_OP_NEW);
927 gcc_checking_assert (!apm->prev_clone_adjustment);
929 psr.base = m_oparms[apm->prev_clone_index];
932 psr.unit_offset = apm->unit_offset;
1011 ipa_adjusted_param *apm = &(*m_adj_params)[i];
1012 unsigned prev_index = apm->prev_clone_index;
1014 if (apm->op == IPA_PARAM_OP_COPY
1015 || apm->prev_clone_adjustment)
1021 else if (apm->op == IPA_PARAM_OP_NEW
1022 || apm->op == IPA_PARAM_OP_SPLIT)
1028 const char *prefix = ipa_param_prefixes[apm->param_prefix_index];
1042 if (apm->op == IPA_PARAM_OP_SPLIT)
1065 register_replacement (apm, new_parm, dummy_decl);
1068 ps.unit_offset = apm->unit_offset;
1072 register_replacement (apm, new_parm);