PoCC Version 1.0
driver-cloog.c File Reference

Functions

static CloogMatrix * convert_to_cloogmatrix (scoplib_matrix_p mat)
static scoplib_matrix_p cloogify_schedule (scoplib_matrix_p mat, int nb_scatt, int nb_par)
void pocc_cloogify_scop (scoplib_scop_p program)
struct clast_stmt * pocc_driver_cloog (scoplib_scop_p program, CloogOptions *coptions, s_pocc_options_t *poptions, s_pocc_utils_options_t *puoptions)

Function Documentation

static CloogMatrix* convert_to_cloogmatrix ( scoplib_matrix_p  mat) [static]

Referenced by pocc_driver_cloog().

static scoplib_matrix_p cloogify_schedule ( scoplib_matrix_p  mat,
int  nb_scatt,
int  nb_par 
) [static]

Create a CLooG schedule from a pluto scattering.

Referenced by pocc_cloogify_scop(), and pocc_driver_cloog().

void pocc_cloogify_scop ( scoplib_scop_p  program)

Create a complete, CLooG-compatible scattering from the Pluto/LetSee generated scatterings.

This is needed in particular when tiling constraints are to be embedded in the scatterings.

References cloogify_schedule().

Referenced by main(), and pocc_driver_pluto().

struct clast_stmt* pocc_driver_cloog ( scoplib_scop_p  program,
CloogOptions *  coptions,
s_pocc_options_t poptions,
s_pocc_utils_options_t puoptions 
) [read]

Call CLooG, return a CLAST. Supports tiling-in-scattering, from PluTo.

FIXME: reactivate this. input must be passed

References cloogify_schedule(), convert_to_cloogmatrix(), s_pocc_options::print_cloog_file, and s_pocc_options::quiet.

Referenced by pocc_driver_codegen().