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
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052
00053
00054
00055 #include "config_flist.h"
00056
00057
00058 FLIST_FLAGS Flist_Flags =
00059 {
00060 NULL,
00061 NULL,
00062 NULL,
00063 FALSE,
00064 TRUE,
00065 FALSE,
00066 FALSE,
00067 FALSE,
00068 FALSE,
00069 FALSE,
00070 FALSE,
00071 FALSE,
00072 FALSE,
00073 FALSE,
00074 FALSE,
00075 TRUE,
00076 0,
00077 {0,0,0,0,0,0,0,0,0,0,0,0,0,0,0},
00078 };
00079
00080
00081 FLIST_FLAGS *Current_FLIST = &Flist_Flags;
00082
00083
00084
00085
00086
00087
00088
00089 #define FLF Flist_Flags
00090 static OPTION_DESC Options_FLIST[] =
00091 {
00092 { OVK_BOOL, OV_VISIBLE, FALSE, "", NULL,
00093 0, 0, 0, &FLF.enabled, NULL,
00094 "Enable listing of transformed source" },
00095 { OVK_BOOL, OV_VISIBLE, FALSE, "show", NULL,
00096 0, 0, 0, &FLF.verbose, NULL,
00097 "Show progress of translation to transformed source" },
00098 { OVK_BOOL, OV_SHY, FALSE, "old_f77", NULL,
00099 0, 0, 0, &FLF.old_f77, NULL,
00100 "Emit code for older versions of f77" },
00101 { OVK_BOOL, OV_VISIBLE, FALSE, "ansi_format", NULL,
00102 0, 0, 0, &FLF.ansi_format, NULL,
00103 "Generate code with strict F77 formatting rules" },
00104 { OVK_BOOL, OV_SHY, FALSE, "emit_frequency", NULL,
00105 0, 0, 0, &FLF.emit_frequency, NULL,
00106 "Emit feedback frequency information for statements" },
00107 { OVK_BOOL, OV_SHY, FALSE, "no_pragmas", NULL,
00108 0, 0, 0, &FLF.no_pragmas, NULL,
00109 "Do not emit directives in transformed source" },
00110 { OVK_BOOL, OV_VISIBLE, FALSE, "emit_pfetch", NULL,
00111 0, 0, 0, &FLF.emit_prefetch, NULL,
00112 "Emit prefetch information in comments" },
00113 { OVK_BOOL, OV_SHY, FALSE, "emit_regions", NULL,
00114 0, 0, 0, &FLF.emit_all_regions, NULL,
00115 "Emit regions, even compiler-generated ones" },
00116 { OVK_BOOL, OV_SHY, FALSE, "emit_linedirs", NULL,
00117 0, 0, 0, &FLF.emit_linedirs, NULL,
00118 "Map back to original source with line-directives" },
00119 { OVK_BOOL, OV_SHY, FALSE, "emit_nested_pu", NULL,
00120 0, 0, 0, &FLF.emit_nested_pus, NULL,
00121 "Emit nested PUs at file-level, i.e. out of context" },
00122 { OVK_BOOL, OV_SHY, FALSE, "emit_cgtag", NULL,
00123 0, 0, 0, &FLF.emit_cgtag, NULL,
00124 "Emit tags for do-loops for correlation with CG output" },
00125 { OVK_BOOL, OV_VISIBLE, FALSE, "emit_pcf", NULL,
00126 0, 0, 0, &FLF.emit_pcf, NULL,
00127 "Use PCF spellings for pragmas" },
00128 { OVK_BOOL, OV_VISIBLE, FALSE, "emit_omp", NULL,
00129 0, 0, 0, &FLF.emit_omp, NULL,
00130 "Use PCF spellings for pragmas" },
00131 { OVK_UINT32, OV_VISIBLE, FALSE, "linelength", NULL,
00132 0, 0, 1024, &FLF.line_length, NULL,
00133 "Set maximum line-length for transformed sources" },
00134 { OVK_NAME, OV_SHY, FALSE, "src_file", NULL,
00135 0, 0, 0, &FLF.orig_filename, NULL,
00136 "The name of the original source file" },
00137 { OVK_NAME, OV_VISIBLE, FALSE, "ftn_file", NULL,
00138 0, 0, 0, &FLF.ftn_filename, NULL,
00139 "The name of the generated source file" },
00140 { OVK_NAME, OV_SHY, FALSE, "loc_file", NULL,
00141 0, 0, 0, &FLF.loc_filename, NULL,
00142 "The name of a source location map-table file"},
00143 { OVK_COUNT }
00144 };
00145 #undef FLF
00146