aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/InlineCost.cpp
Commit message (Expand)AuthorAgeFilesLines
* Start removing the use of an ad-hoc 'never inline' set and insteadChandler Carruth2012-03-161-8/+4
* Pull the implementation of the code metrics out of the inline costChandler Carruth2012-03-161-158/+0
* Make the swap code here a bit more obvious what its doing... We'reChandler Carruth2012-03-151-1/+1
* Don't assume that the arguments are processed in some particular order.Chandler Carruth2012-03-151-2/+4
* Remove all remnants of partial specialization in the cost computationChandler Carruth2012-03-151-69/+0
* Extend the inline cost calculation to account for bonuses due toChandler Carruth2012-03-141-3/+86
* Refactor the inline cost bonus calculation for constants to useChandler Carruth2012-03-141-20/+26
* Make helper static, so it can be inlined into its sole caller.Benjamin Kramer2012-03-101-3/+3
* Undo a previous restriction on the inline cost calculation which NickChandler Carruth2012-03-091-107/+146
* Rotate two of the functions used to count bonuses for the inline costChandler Carruth2012-03-081-14/+10
* Use precomputed BB size instead of BB->size().Nick Lewycky2012-01-251-1/+1
* Support pointer comparisons against constants, when looking at the inline-costNick Lewycky2012-01-251-1/+55
* Fix CountCodeReductionForAlloca to more accurately represent what SROA can andNick Lewycky2012-01-201-16/+60
* Continue counting intrinsics as instructions (except when they aren't, such asNick Lewycky2011-12-211-3/+17
* Fix typo and spacing, no functionality change.Nick Lewycky2011-12-211-2/+2
* A call to a function marked 'noinline' is not an inline candidate. The soleNick Lewycky2011-12-211-4/+4
* Allow inlining of functions with returns_twice calls, if they have theJoerg Sonnenberger2011-12-181-6/+8
* A FIXME about block addresses and indirectbr.Eli Friedman2011-10-201-0/+6
* Correct over-zealous removal of hack.Bill Wendling2011-10-171-1/+1
* Now that we have the ReturnsTwice function attribute, this method isBill Wendling2011-10-171-6/+5
* Inlining and unrolling heuristics should be aware of free truncs.Andrew Trick2011-10-011-12/+20
* whitespaceAndrew Trick2011-10-011-46/+46
* Change condition for determining whether a function is small for inlining met...Eli Friedman2011-05-241-1/+1
* Extra refactoring noticed by Eli Friedman.Rafael Espindola2011-05-161-9/+8
* Fix a ton of comment typos found by codespell. Patch byChris Lattner2011-04-151-2/+2
* Remove premature optimization that avoided calculating argument weightsEric Christopher2011-02-061-5/+0
* Fix cut and paste error spotted by Jakob.Eric Christopher2011-02-051-1/+1
* Rewrite how the indirect call bonus is handled. This now works by:Eric Christopher2011-02-051-78/+125
* Reapply 124275 since the Dragonegg failure was unreproducible.Eric Christopher2011-02-011-82/+85
* Temporarily revert 124275 to see if it brings the dragonegg buildbot back.Eric Christopher2011-01-261-85/+82
* Separate out the constant bonus from the size reduction metrics. ReworkEric Christopher2011-01-261-82/+85
* Coding style formatting changes.Eric Christopher2011-01-261-7/+2
* Reorganize this so that the early exit and special cases come earlyEric Christopher2011-01-251-26/+26
* Add a FIXME explaining the move to a single indirect call bonus per functionEric Christopher2011-01-221-0/+5
* Only apply the devirtualization bonus once instead of per-call site in theEric Christopher2011-01-221-2/+6
* Now using a variant of the existing inlining heuristics to decide whether to ...Kenneth Uildriks2010-10-091-0/+70
* Start separating out code metrics into code size metrics and code performance...Kenneth Uildriks2010-10-081-10/+53
* What the loop unroller cares about, rather than just not unrolling loops with...Owen Anderson2010-09-091-0/+6
* Refactor code-size reduction estimation methods out of InlineCostAnalyzer and...Owen Anderson2010-09-091-92/+90
* use ImmutableCallSite for const-corrgoodnessGabor Greif2010-07-271-4/+4
* Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it ...Kenneth Uildriks2010-06-091-7/+20
* Avoid counting InlineAsm as a call - it prevents loop unrolling.Jakob Stoklund Olesen2010-05-261-1/+5
* Clear CachedFunctionInfo upon Pass::releaseMemory. Because ValueMap will abortNick Lewycky2010-05-121-1/+6
* Added a variant of InlineCostAnalyzer::getInlineCost() that takes the called ...David Chisnall2010-05-011-3/+9
* Dan recently disabled recursive inlining within a function, but weChris Lattner2010-04-301-1/+9
* Revert r101471. For tight recursive functions which have multipleDan Gohman2010-04-211-7/+0
* fix PR6858: a dangling pointer use bug which was causedChris Lattner2010-04-171-1/+8
* a bunch of cleanups and tweaks, no functionality changes.Chris Lattner2010-04-171-42/+48
* Disable inlining of recursive calls. It can complicate tailcallelim andDan Gohman2010-04-161-0/+7
* Make callIsSmall accessible as a utility function.Dan Gohman2010-04-161-4/+4