hans accepted this revision. hans added a comment. This revision is now accepted and ready to land. I'm not an expert on the layering principles in LLVM, but depending on ProfileData in CodeGen seems very reasonable to me, so lgtm. http://reviews.llvm.org/D17524