How to proceed to each of the optimization steps after forcing your stop.

How to proceed for each of the optimization steps after using the command “-mllvm -disable-llvm-optzns test -Emit-llvm -c -S” and get an output file between the optimization steps.

Also, if you can not do this how you could do the extraction of a CFG (Control flow graph), between all the steps of the optimization process.