Home | History | Annotate | Download | only in gcc

Lines Matching refs:plats

431   class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
432 return &plats->itself;
440 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
441 return &plats->ctxlat;
591 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
593 plats->itself.print (f, dump_sources, dump_benefits);
595 plats->ctxlat.print (f, dump_sources, dump_benefits);
596 plats->bits_lattice.print (f);
598 plats->m_value_range.print (f);
600 if (plats->virt_call)
603 if (plats->aggs_bottom)
608 if (plats->aggs_contain_variable)
610 for (aglat = plats->aggs; aglat; aglat = aglat->next)
613 plats->aggs_by_ref ? "ref " : "", aglat->offset);
971 /* Set all aggregate lattices in PLATS to bottom and return true if they were
975 set_agg_lats_to_bottom (class ipcp_param_lattices *plats)
977 bool ret = !plats->aggs_bottom;
978 plats->aggs_bottom = true;
982 /* Mark all aggregate lattices in PLATS as containing an unknown value and
986 set_agg_lats_contain_variable (class ipcp_param_lattices *plats)
988 bool ret = !plats->aggs_contain_variable;
989 plats->aggs_contain_variable = true;
1223 set_all_contains_variable (class ipcp_param_lattices *plats)
1226 ret = plats->itself.set_contains_variable ();
1227 ret |= plats->ctxlat.set_contains_variable ();
1228 ret |= set_agg_lats_contain_variable (plats);
1229 ret |= plats->bits_lattice.set_to_bottom ();
1230 ret |= plats->m_value_range.set_to_bottom ();
1357 ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
1363 plats->itself.set_to_bottom ();
1364 plats->ctxlat.set_to_bottom ();
1365 set_agg_lats_to_bottom (plats);
1366 plats->bits_lattice.set_to_bottom ();
1367 plats->m_value_range.m_vr = value_range ();
1368 plats->m_value_range.set_to_bottom ();
1372 plats->m_value_range.init ();
1374 set_all_contains_variable (plats);
3383 /* Return all context independent values from aggregate lattices in PLATS in a
3387 context_independent_aggregate_values (class ipcp_param_lattices *plats)
3391 if (plats->aggs_bottom
3392 || plats->aggs_contain_variable
3393 || plats->aggs_count == 0)
3396 for (struct ipcp_agg_lattice *aglat = plats->aggs;
3436 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
3437 ipcp_lattice<tree> *lat = &plats->itself;
3457 ipcp_lattice<ipa_polymorphic_call_context> *ctxlat = &plats->ctxlat;
3468 agg_items = context_independent_aggregate_values (plats);
3471 agg->by_ref = plats->aggs_by_ref;
3612 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
3613 ipcp_lattice<tree> *lat = &plats->itself;
3646 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
3648 if (!plats->virt_call)
3651 ipcp_lattice<ipa_polymorphic_call_context> *ctxlat = &plats->ctxlat;
3681 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
3683 if (plats->aggs_bottom || !plats->aggs)
3687 for (ipcp_agg_lattice *aglat = plats->aggs; aglat; aglat = aglat->next)
3692 || (!plats->aggs_contain_variable
3715 plats->aggs_by_ref ? "ref " : "",
3794 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
3795 ipcp_lattice<tree> *lat = &plats->itself;
3805 if (!plats->aggs_bottom)
3806 for (aglat = plats->aggs; aglat; aglat = aglat->next)
3814 ipcp_lattice<ipa_polymorphic_call_context> *ctxlat = &plats->ctxlat;
4266 class ipcp_param_lattices *plats = ipa_get_parm_lattices (caller_info,
4269 return (plats->itself.is_single_const ()
4271 plats->itself.values->value));
4274 if (plats->aggs_bottom || plats->aggs_contain_variable)
4276 for (aglat = plats->aggs; aglat; aglat = aglat->next)
4308 class ipcp_param_lattices *plats = ipa_get_parm_lattices (caller_info,
4310 return plats->ctxlat.is_single_const ()
4312 plats->ctxlat.values->value);
5441 /* Go through PLATS and create a vector of values consisting of values and
5445 copy_plats_to_inter (class ipcp_param_lattices *plats, HOST_WIDE_INT offset)
5449 if (!plats->aggs || plats->aggs_contain_variable || plats->aggs_bottom)
5452 for (struct ipcp_agg_lattice *aglat = plats->aggs; aglat; aglat = aglat->next)
5463 /* Intersect all values in INTER with single value lattices in PLATS (while
5467 intersect_with_plats (class ipcp_param_lattices *plats,
5475 if (!plats->aggs || plats->aggs_contain_variable || plats->aggs_bottom)
5481 aglat = plats->aggs;
5768 class ipcp_param_lattices *plats = ipa_get_parm_lattices (dest_info, i);
5773 if (plats->aggs_bottom)
5781 && (!plats->aggs_by_ref
5801 v->by_ref = plats->aggs_by_ref;
5875 class ipcp_param_lattices *plats;
5886 plats = ipa_get_parm_lattices (orig_node_info, aggval->index);
5887 if (plats->aggs_bottom)
6185 class ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
6186 ipcp_lattice<tree> *lat = &plats->itself;
6187 ipcp_lattice<ipa_polymorphic_call_context> *ctxlat = &plats->ctxlat;
6200 && !plats->m_value_range.bottom_p ()
6201 && !plats->m_value_range.m_vr.contains_p (val->value))
6222 if (!plats->aggs_bottom)
6226 for (aglat = plats->aggs; aglat; aglat = aglat->next)
6230 && (plats->aggs_contain_variable
6456 ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
6457 if (plats->bits_lattice.constant_p ())
6473 ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
6476 if (plats->bits_lattice.constant_p ())
6479 = ipa_get_ipa_bits_for_value (plats->bits_lattice.get_value (),
6480 plats->bits_lattice.get_mask ());
6536 ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
6537 if (!plats->m_value_range.bottom_p ()
6538 && !plats->m_value_range.top_p ())
6553 ipcp_param_lattices *plats = ipa_get_parm_lattices (info, i);
6556 if (!plats->m_value_range.bottom_p ()
6557 && !plats->m_value_range.top_p ()
6561 vr.type = plats->m_value_range.m_vr.kind ();
6562 vr.min = wi::to_wide (plats->m_value_range.m_vr.min ());
6563 vr.max = wi::to_wide (plats->m_value_range.m_vr.max ());