Lines Matching refs:PPCGScop
2738 auto PPCGScop = (ppcg_scop *)malloc(sizeof(ppcg_scop)); in createPPCGScop() local
2740 PPCGScop->options = createPPCGOptions(); in createPPCGScop()
2742 PPCGScop->options->live_range_reordering = 1; in createPPCGScop()
2744 PPCGScop->start = 0; in createPPCGScop()
2745 PPCGScop->end = 0; in createPPCGScop()
2747 PPCGScop->context = S->getContext().release(); in createPPCGScop()
2748 PPCGScop->domain = S->getDomains().release(); in createPPCGScop()
2750 PPCGScop->call = isl_union_set_from_set(S->getContext().release()); in createPPCGScop()
2751 PPCGScop->tagged_reads = getTaggedReads(); in createPPCGScop()
2752 PPCGScop->reads = S->getReads().release(); in createPPCGScop()
2753 PPCGScop->live_in = nullptr; in createPPCGScop()
2754 PPCGScop->tagged_may_writes = getTaggedMayWrites(); in createPPCGScop()
2755 PPCGScop->may_writes = S->getWrites().release(); in createPPCGScop()
2756 PPCGScop->tagged_must_writes = getTaggedMustWrites(); in createPPCGScop()
2757 PPCGScop->must_writes = S->getMustWrites().release(); in createPPCGScop()
2758 PPCGScop->live_out = nullptr; in createPPCGScop()
2759 PPCGScop->tagged_must_kills = KillsInfo.TaggedMustKills.release(); in createPPCGScop()
2760 PPCGScop->must_kills = KillsInfo.MustKills.release(); in createPPCGScop()
2762 PPCGScop->tagger = nullptr; in createPPCGScop()
2763 PPCGScop->independence = in createPPCGScop()
2764 isl_union_map_empty(isl_set_get_space(PPCGScop->context)); in createPPCGScop()
2765 PPCGScop->dep_flow = nullptr; in createPPCGScop()
2766 PPCGScop->tagged_dep_flow = nullptr; in createPPCGScop()
2767 PPCGScop->dep_false = nullptr; in createPPCGScop()
2768 PPCGScop->dep_forced = nullptr; in createPPCGScop()
2769 PPCGScop->dep_order = nullptr; in createPPCGScop()
2770 PPCGScop->tagged_dep_order = nullptr; in createPPCGScop()
2772 PPCGScop->schedule = S->getScheduleTree().release(); in createPPCGScop()
2775 PPCGScop->schedule = isl_schedule_sequence( in createPPCGScop()
2776 PPCGScop->schedule, KillsInfo.KillsSchedule.release()); in createPPCGScop()
2778 PPCGScop->names = getNames(); in createPPCGScop()
2779 PPCGScop->pet = nullptr; in createPPCGScop()
2781 compute_tagger(PPCGScop); in createPPCGScop()
2782 compute_dependences(PPCGScop); in createPPCGScop()
2783 eliminate_dead_code(PPCGScop); in createPPCGScop()
2785 return PPCGScop; in createPPCGScop()
3082 gpu_prog *createPPCGProg(ppcg_scop *PPCGScop) { in createPPCGProg() argument
3084 if (!PPCGScop) in createPPCGProg()
3090 PPCGProg->scop = PPCGScop; in createPPCGProg()
3091 PPCGProg->context = isl_set_copy(PPCGScop->context); in createPPCGProg()
3092 PPCGProg->read = isl_union_map_copy(PPCGScop->reads); in createPPCGProg()
3093 PPCGProg->may_write = isl_union_map_copy(PPCGScop->may_writes); in createPPCGProg()
3094 PPCGProg->must_write = isl_union_map_copy(PPCGScop->must_writes); in createPPCGProg()
3096 isl_union_map_copy(PPCGScop->tagged_must_kills); in createPPCGProg()
3231 gpu_gen *generateGPU(ppcg_scop *PPCGScop, gpu_prog *PPCGProg) { in generateGPU() argument
3236 PPCGGen->options = PPCGScop->options; in generateGPU()
3315 void freeOptions(ppcg_scop *PPCGScop) { in freeOptions() argument
3316 free(PPCGScop->options->debug); in freeOptions()
3317 PPCGScop->options->debug = nullptr; in freeOptions()
3318 free(PPCGScop->options); in freeOptions()
3319 PPCGScop->options = nullptr; in freeOptions()
3601 auto PPCGScop = createPPCGScop(); in runOnScop() local
3602 auto PPCGProg = createPPCGProg(PPCGScop); in runOnScop()
3603 auto PPCGGen = generateGPU(PPCGScop, PPCGProg); in runOnScop()
3613 freeOptions(PPCGScop); in runOnScop()
3616 ppcg_scop_free(PPCGScop); in runOnScop()