da: remove inconsistencies from dependence relations
[ppn.git] / dependence_graph_relation_options.c
blobfce4ba92a4dfc1d486f0cdcc2657ad483b04ba4f
1 #include <stdio.h>
2 #include "dependence_graph_relation_options.h"
3 #include "version.h"
5 static void print_version(void)
7 printf("%s\n", pdg_version());
10 static struct isl_arg_choice type[] = {
11 {"mem", TYPE_MEM},
12 {"flow", TYPE_FLOW},
13 {"val", TYPE_VAL},
14 {0}
17 ISL_ARGS_START(struct options, options_args)
18 ISL_ARG_CHOICE(struct options, type, 't', "type", type, 0, NULL)
19 ISL_ARG_STR(struct options, input, 'i', "input", "filename", NULL, NULL)
20 ISL_ARG_BOOL(struct options, verbose, 'v', "verbose", 0, NULL)
21 ISL_ARG_BOOL(struct options, named, 0, "named", 0, NULL)
22 ISL_ARG_VERSION(&print_version)
23 ISL_ARGS_END
25 ISL_ARG_DEF(options, struct options, options_args)