Manually change the OPT

Hello, I need to manually change the OPT commands, since I need to put the “-cc1 -analyze -analyzer-checker = debug.DumpCFG” command between optimization steps done by the compiler. In the OPT documentation link there is nowhere spoken about how to make such manual use.
I need to extract the CFG (Control flow graph) from the source, between each of the optimization steps made by OPT. I will use these CFGs in my course completion work.