phosek added a comment. That was the alternative design that I was originally considering but I wanted to start with something simpler. I'll give it a try and see how complicated it's going to be. Repository: rL LLVM http://reviews.llvm.org/D20337