I'm working on porting a plug-in designed for the old
branches/plugin branch to the (recently merged) shiny new
branches/plugins branch. One thing that's turning out to be tricky is
placing the plug-in transform in exactly the same place. In the old
branch, plug-ins hook in just before the pass_all_optimizations
passes. I want to specify pass_all_optimizations as the reference
pass for register_callback(), but pass_all_optimizations doesn't have
a name (the name field is NULL).
Unless that's not a good place to put plug-in passes, I propose
giving the pass_all_optimizations pass the name "all_optimizations."
I believe that there are a handful of other unnamed passes that might
also be useful for plug-in developers.
--Justin