summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileEstimatorPass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Convert debug messages to use dbgs(). Generally this meansDavid Greene2009-12-231-10/+10
| | | | | | s/errs/dbgs/g except for certain special cases. llvm-svn: 92050
* Fix MSVC build.Benjamin Kramer2009-12-031-1/+1
| | | | llvm-svn: 90454
* Do not create negative edge weights in ProfileEstimator.Andreas Neustifter2009-12-031-21/+125
| | | | | | | Use integer values for weights to prevent rounding errors. Make ProfileEstimator more robust in general CFGs. llvm-svn: 90449
* Remove VISIBILITY_HIDDEN from class/struct found inside anonymous namespaces.Nick Lewycky2009-10-251-2/+1
| | | | | | | Chris claims we should never have visibility_hidden inside any .cpp file but that's still not true even after this commit. llvm-svn: 85042
* Make ProfileEstimator even more robust on general CFGs.Andreas Neustifter2009-09-111-41/+87
| | | | llvm-svn: 81516
* Make ProfileEstimator more robust on general CFGs.Andreas Neustifter2009-09-101-38/+52
| | | | llvm-svn: 81450
* Small fix in ProfileEstimator that eliminates duplicated code.Andreas Neustifter2009-09-011-2/+1
| | | | llvm-svn: 80711
* Preparation for Optimal Edge Profiling:Andreas Neustifter2009-09-011-1/+8
| | | | | | | | | Optimal edge profiling is only possible when blocks with no predecessors get an virtual edge (BB,0) that counts the execution frequencies of this function-exiting blocks. This patch makes the necessary changes before actually enabling optimal edge profiling. llvm-svn: 80667
* Implemented comments from Daniel Dunbar.Andreas Neustifter2009-08-261-37/+45
| | | | | | (See http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20090817/084958.html) llvm-svn: 80100
* Add a basic static ProfileInfo provider (ProfileEstimatorPass).Daniel Dunbar2009-08-081-0/+236
- Part of optimal static profiling patch sequence by Andreas Neustifter. llvm-svn: 78484
OpenPOWER on IntegriCloud