Move main llvm-prof functionality into a ModulePass.
 - To support using the ProfileInfo analysis results instead of accessing the
   ProfileInfoLoader directly.

 - Based on (part of) a patch by Andreas Neustifter.

 - No functionality change.

llvm-svn: 75625
1 file changed
tree: eb2ff633240313acd9583181134f760e904a7a86
  1. clang/
  2. compiler-rt/
  3. llvm/