HPC
HPC

| HPC and Data for Lattice QCD

Sofan Usage

HPC and Data for Lattice QCD

Sofan Usage

Usage

%> sofan [options] input.masm [output.masm]

NOTE: if no output file is specified the input file is moved to '[input]-nosofan.masm' and the output is written to 'input.masm'.

Enable/Disable transformation
--[no]-cp
disable/enable copy propagation (default ON)
--[no]-cu
disable/enable copy propagation upwards (default ON)
--[no]-dc
disable/enable dead code elimination (default ON)
--[no]-cf
disable/enable normals fusion (default ON)
--[no]-rr
disable/enable register renaming (default OFF)
--[no]-du
disable/enable computation of du-chains. Implies --no-rr. (default ON)
--[no]-cse
disable/enable common subexpression elimination. (Disabled in current release 0.8.1)
--[no]-dom
disable/enable dominators computation and natural loop detection. (Disabled in current release 0.8.1)
Auxilaury options
--unigraph
generates a *.dot file depicting a function's flow graph.
--no-op
disables all optimizations. Does not affect any other options on the command line. Use for manual optimization sequences.
--verbose
turns on verbose output.
--parseonly
parses the input file and instruments it with PRAGMA_IMPORT/EXPORT. No optimization is done.
-v, --version
displays the version of the release.
-h, --help
displays help legend.