00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef POCC_DRIVER_CODEGEN_H
00026 # define POCC_DRIVER_CODEGEN_H
00027
00028 # include <stdio.h>
00029
00030 # if HAVE_CONFIG_H
00031 # include <pocc-utils/config.h>
00032 # endif
00033
00034 # include <pocc/common.h>
00035 # include <pocc-utils/options.h>
00036 # include <pocc/options.h>
00037 # include <pocc/exec.h>
00038
00039 # ifndef SCOPLIB_INT_T_IS_LONGLONG
00040 # define SCOPLIB_INT_T_IS_LONGLONG
00041 # endif
00042 # include <scoplib/scop.h>
00043
00044
00045 BEGIN_C_DECLS
00046
00047 extern
00048 void
00049 pocc_driver_codegen (scoplib_scop_p program,
00050 s_pocc_options_t* poptions,
00051 s_pocc_utils_options_t* puoptions);
00052
00053 extern
00054 void*
00055 pocc_codegen (void* program, s_pocc_utils_options_t* puoptions);
00056
00057 END_C_DECLS
00058
00059
00060 #endif // POCC_DRIVER_CODEGEN_H