summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ProfileEstimatorPass.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Now that PassInfo and Pass::ID have been separated, move the rest of the ↵Owen Anderson2010-08-231-4/+2
| | | | | | passes over to the new registration API. llvm-svn: 111815
* Reapply r110396, with fixes to appease the Linux buildbot gods.Owen Anderson2010-08-061-4/+4
| | | | llvm-svn: 110460
* Revert r110396 to fix buildbots.Owen Anderson2010-08-061-4/+4
| | | | llvm-svn: 110410
* Don't use PassInfo* as a type identifier for passes. Instead, use the ↵Owen Anderson2010-08-051-4/+4
| | | | | | | | address of the static ID member as the sole unique type identifier. Clean up APIs related to this change. llvm-svn: 110396
* Speculatively revert r108813, in an attempt to get the self-host buildbots ↵Owen Anderson2010-07-201-1/+1
| | | | | | | | working again. I don't see why this patch would cause them to fail the way they are, but none of the other intervening patches seem likely either. llvm-svn: 108818
* Reapply r108794, a fix for the failing test from last time.Owen Anderson2010-07-201-1/+1
| | | | llvm-svn: 108813
* Revert r108794, "Separate PassInfo into two classes: a constructor-freeDaniel Dunbar2010-07-201-1/+1
| | | | | | | superclass (StaticPassInfo) and a constructor-ful subclass (PassInfo).", it is breaking teh everything. llvm-svn: 108805
* Separate PassInfo into two classes: a constructor-free superclass ↵Owen Anderson2010-07-201-1/+1
| | | | | | (StaticPassInfo) and a constructor-ful subclass (PassInfo). llvm-svn: 108794
* rename pred_const_iterator to const_pred_iterator for consistency's sakeGabor Greif2010-03-251-1/+1
| | | | llvm-svn: 99567
* adopt getAdjustedAnalysisPointer in a few more passes.Chris Lattner2010-01-201-0/+10
| | | | llvm-svn: 94018
* 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