if the compiler pipeline discussion in Chapter 39 interested you. The complete academic treatment of compilation: from parsing to register allocation to instruction scheduling.