From: Chris Lattner
We are getting to the point where we really need a unified infrastructure for -profile guided optimizations. It would be wonderful to be able to write profile -guided transformations which can be performed either at static compile time -(compile time or offline optimization time) or at runtime in a JIT type setup. -The LLVM transformation itself shouldn't need to know how it is being used.
+We now have a unified infrastructure for writing profile-guided +transformations, which will work either at offline-compile-time or in the JIT, +but we don't have many transformations. We would welcome new profile-guided +transformations as well as improvements to the current profiling system. +
Ideas for profile guided transformations:
@@ -245,6 +245,23 @@ The LLVM transformation itself shouldn't need to know how it is being used.Improvements to the existing support:
+ +