reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/polly/lib/External/ppcg/ppcg.c
  887 	ps = isl_calloc_type(ctx, struct ppcg_scop);
  888 	if (!ps)
  891 	ps->names = collect_names(scop);
  892 	ps->options = options;
  893 	ps->start = pet_loc_get_start(scop->loc);
  894 	ps->end = pet_loc_get_end(scop->loc);
  895 	ps->context = isl_set_copy(scop->context);
  896 	ps->context = set_intersect_str(ps->context, options->ctx);
  896 	ps->context = set_intersect_str(ps->context, options->ctx);
  898 		isl_space *space = isl_set_get_space(ps->context);
  900 		ps->context = isl_set_intersect(ps->context, nn);
  900 		ps->context = isl_set_intersect(ps->context, nn);
  902 	ps->domain = collect_non_kill_domains(scop);
  903 	ps->call = collect_call_domains(scop);
  904 	ps->tagged_reads = pet_scop_get_tagged_may_reads(scop);
  905 	ps->reads = pet_scop_get_may_reads(scop);
  906 	ps->tagged_may_writes = pet_scop_get_tagged_may_writes(scop);
  907 	ps->may_writes = pet_scop_get_may_writes(scop);
  908 	ps->tagged_must_writes = pet_scop_get_tagged_must_writes(scop);
  909 	ps->must_writes = pet_scop_get_must_writes(scop);
  910 	ps->tagged_must_kills = pet_scop_get_tagged_must_kills(scop);
  911 	ps->must_kills = pet_scop_get_must_kills(scop);
  912 	ps->schedule = isl_schedule_copy(scop->schedule);
  913 	ps->pet = scop;
  914 	ps->independence = isl_union_map_empty(isl_set_get_space(ps->context));
  914 	ps->independence = isl_union_map_empty(isl_set_get_space(ps->context));
  916 		ps->independence = isl_union_map_union(ps->independence,
  916 		ps->independence = isl_union_map_union(ps->independence,
  919 	compute_tagger(ps);
  920 	compute_dependences(ps);
  921 	eliminate_dead_code(ps);
  923 	if (!ps->context || !ps->domain || !ps->call || !ps->reads ||
  923 	if (!ps->context || !ps->domain || !ps->call || !ps->reads ||
  923 	if (!ps->context || !ps->domain || !ps->call || !ps->reads ||
  923 	if (!ps->context || !ps->domain || !ps->call || !ps->reads ||
  924 	    !ps->may_writes || !ps->must_writes || !ps->tagged_must_kills ||
  924 	    !ps->may_writes || !ps->must_writes || !ps->tagged_must_kills ||
  924 	    !ps->may_writes || !ps->must_writes || !ps->tagged_must_kills ||
  925 	    !ps->must_kills || !ps->schedule || !ps->independence || !ps->names)
  925 	    !ps->must_kills || !ps->schedule || !ps->independence || !ps->names)
  925 	    !ps->must_kills || !ps->schedule || !ps->independence || !ps->names)
  925 	    !ps->must_kills || !ps->schedule || !ps->independence || !ps->names)
  926 		return ppcg_scop_free(ps);
  928 	return ps;