Building Abstractions For Staged Dsls In Performance-Oriented Program Generators