1. A system comprising: at least one processor: a memory connected to the at least one processor; and at least one program module comprising a multiphased profile guided compiler that receives profiling data associated with a plurality of program phases and generates an optimized executable based on the profiling data, the optimized executable optimized for a program phase of the plurality of program phases.