Arm keil optimization

Hi sir,

My IDE is arm 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 documentation that describe it in detailed?

Thanks a lot!