Open phate opened 10 months ago
The duplication I was referencing is the set of statistics options listed both at https://github.com/phate/jlm/blob/master/jlm%2Ftooling%2FCommandLine.cpp#L512
and
https://github.com/phate/jlm/blob/master/jlm%2Ftooling%2FCommandLine.cpp#L771
Which can be nicely deduplicated by replacing the individual command line flags by a single comma separated string.
Also, the mapping between StatisticsId and statistic name can use a BiMap :)
The statistics command line flags for jlc and jlm-opt are very verbose and partly non-descriptive. The following should be done:
--statistics=statistics1, statistics2,...