Useful Multiflow Details
- To add a command-line option, merely create a global variable to
be set by the option, include the header file in which the variable is
declared in phase1/main.C, and add the variable to the
alphabetically ordered list of options in phase1/main.C.
- To create a new module, make a new directory under mflow
and add its name to the mod_list. Then create a new
pmakefile to correctly compile your new files. Then add the
name of your new pass to p2dep.H and p2dep.C. If
you want to be able to invoke your pass from the phase2 script,
p2_comp_script.csi, you also need to add entries to
csi.C.
- Here's how to add a new pool.
- New data types used outside your module should be declared in
p2types/p2types.H.
- phase2/phase2.C:phase2_Format_Space_Entry_Name_Pairs()
returns a list of entry names for the current function.
- GLOB_feedback_source_file_name is set by scc to
the name of the current file being compiled.
- The source code to scc is in
/projects/trace1/mflow/proj/vssad/src/release/aux/dev/src/rcc.c.
- GNU C header files are in
/usr/local/.contrib/gcc/lib/gcc-lib/alpha-dec-osf3.2/2.6.3/include/.
- DT_AddConstrainingVnDelay(ConstrainedVn,LimitingVn,1)
will prevent motion of ContrainedVn above LimitingVn.