<div dir="ltr">I'm looking into cleaning up the main file of the opt tool (more on the motivation in a separate post). One things that immediately sprints up is moving all kinds of self-contained functionality into their own modules within tools/opt;<div>

<br></div><div>This patch does the same for the *PassPrinter passes. This code is very old (seems to be from ~2007) and since then new chunks of functionality was often added in separate modules, though the analysis pass printers were left out.</div>

<div><br></div><div>PTAL</div><div><br></div></div>