Optimization can occur during any phase of compilation; however, the bulk of optimizations are performed after the syntax and semantic analysis of the system? Totally true, I checked. There's nothing related