Arm keil4 optimization

Hi sir,

My IDE is arm keil4 and keilv5. And I want to know what the compiler really do when the optimization is turn on(-o1 -o2 -o3 and cross module optimization).

I just found some brief descriptions. But is there any documentations that describe it in detailed?

Thanks a lot!