summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileDataLoader.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Clean up ProfileDataLoader a bit.Benjamin Kramer2012-08-311-43/+19
| | | | | | | | | | | | - Overloading operator<< for raw_ostream and pointers is dangerous, it alters the behavior of code that includes the header. - Remove unused ID. - Use LLVM's byte swapping helpers instead of a hand-coded. - Make ReadProfilingData work directly on a pointer. No functionality change. llvm-svn: 162992
* Cleanups due to feedback. No functionality change. Patch by Alistair.Bill Wendling2012-08-311-34/+34
| | | | llvm-svn: 162979
* Profile: set branch weight metadata with data generated from profiling.Manman Ren2012-08-281-0/+186
This patch implements ProfileDataLoader which loads profile data generated by -insert-edge-profiling and updates branch weight metadata accordingly. Patch by Alastair Murray. llvm-svn: 162799
OpenPOWER on IntegriCloud