aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis/InlineCost.cpp
Commit message (Expand)AuthorAgeFilesLines
* 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
* performance: cache the dereferenced use_iteratorGabor Greif2010-04-141-7/+8
* Reapply r99451 with a fix to move the NoInline check to the cost functionsEric Christopher2010-03-251-2/+4
* Treat copysignl like the other copysign functions.Duncan Sands2010-03-151-1/+1
* Do not ignore arg_size() impact while counting bb instructions.Devang Patel2010-03-131-3/+2
* Remove extra parameter.Devang Patel2010-03-131-5/+4
* Do not overestimate code size reduction in presense of debug info.Devang Patel2010-03-131-6/+11
* Try to keep the cached inliner costs around for a bit longer for big functions.Jakob Stoklund Olesen2010-03-091-0/+42
* Revert r98089, it was breaking a clang test.Jakob Stoklund Olesen2010-03-091-36/+0
* Try to keep the cached inliner costs around for a bit longer for big functions.Jakob Stoklund Olesen2010-03-091-0/+36
* Permit inlining into huge functions. This heuristic is ancient, and inliningJakob Stoklund Olesen2010-03-091-5/+0
* There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands2010-02-161-2/+2
* Update CodeMetrics to count 'big' function calls explicitly.Jakob Stoklund Olesen2010-02-051-5/+9
* Fix inline cost predictions with SCIENCE.Jakob Stoklund Olesen2010-01-261-28/+31
* Revert test polarity to match comment and desired outcome. Remove undeserved ...Jakob Stoklund Olesen2010-01-261-2/+2
* Remove dead code.Jakob Stoklund Olesen2010-01-261-3/+0
* Skip calculation of ArgumentWeights if it will never be used.Jakob Stoklund Olesen2010-01-261-0/+6
* Pad my commit stats by reducing indentation in this now separateEric Christopher2010-01-141-19/+20
* Few minor changes that were requested. No functional change.Eric Christopher2010-01-141-2/+6
* Small tweak to inline cost computation. Ext of i/fcmp results are mostly opti...Evan Cheng2010-01-141-1/+6
* Reduce the inlining cost of functions that contain calls to easily,Eric Christopher2010-01-141-1/+27
* Add a missing closing parenthesis, and tweak to fit in 80Duncan Sands2009-11-011-2/+2
* add a comment about why we don't allow inlining indbr.Chris Lattner2009-11-011-0/+5