Title correction: "Computer program optimizes the speed of image filters".
the technique could be applied in other areas
The optimisations used in the paper are tightly coupled to a certain approach to image-processing.Answer: Understand the problem domain better.
http://llvm.1065342.n5.nabble.com/Capabilities-of-Clang-s-PG...