reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
5797 prog = isl_calloc_type(ctx, struct gpu_prog); 5798 assert(prog); 5800 prog->ctx = ctx; 5801 prog->scop = scop; 5802 prog->context = isl_set_copy(scop->context); 5803 prog->n_stmts = scop->pet->n_stmt; 5804 prog->any_to_outer = pet_scop_compute_outer_to_any(scop->pet); 5805 prog->any_to_outer = isl_union_map_reverse(prog->any_to_outer); 5805 prog->any_to_outer = isl_union_map_reverse(prog->any_to_outer); 5806 space = isl_union_map_get_space(prog->any_to_outer); 5811 prog->any_to_outer = isl_union_map_add_map(prog->any_to_outer, id); 5811 prog->any_to_outer = isl_union_map_add_map(prog->any_to_outer, id); 5812 prog->stmts = extract_stmts(ctx, scop, prog->any_to_outer); 5812 prog->stmts = extract_stmts(ctx, scop, prog->any_to_outer); 5813 prog->read = isl_union_map_copy(scop->reads); 5814 prog->may_write = isl_union_map_copy(scop->may_writes); 5815 prog->must_write = isl_union_map_copy(scop->must_writes); 5816 prog->tagged_must_kill = isl_union_map_copy(scop->tagged_must_kills); 5817 prog->to_inner = pet_scop_compute_outer_to_inner(scop->pet); 5818 prog->to_outer = isl_union_map_copy(prog->to_inner); 5818 prog->to_outer = isl_union_map_copy(prog->to_inner); 5819 prog->to_outer = isl_union_map_reverse(prog->to_outer); 5819 prog->to_outer = isl_union_map_reverse(prog->to_outer); 5821 if (!prog->stmts) 5822 return gpu_prog_free(prog); 5824 if (collect_array_info(prog) < 0) 5825 return gpu_prog_free(prog); 5826 prog->may_persist = compute_may_persist(prog); 5826 prog->may_persist = compute_may_persist(prog); 5828 return prog;