By maintaining consistency of instruction or operation identification between
code prepared for profiling and that prepared using profiling results, efficacy
of profile-directed code optimizations can be improved. In particular, profile-directed
optimizations based on stall statistics are facilitated in an environment in which
correspondence maintained between (i) instructions or operations whose execution
performance may be optimized (or which may provide an opportunity for optimization
of other instructions or operations) and (ii) particular instructions or operations profiled.