aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InlineCost.cpp
AgeCommit message (Expand)Author
2011-05-24Change condition for determining whether a function is small for inlining met...Eli Friedman
2011-05-16Extra refactoring noticed by Eli Friedman.Rafael Espindola
2011-04-15Fix a ton of comment typos found by codespell. Patch byChris Lattner
2011-02-06Remove premature optimization that avoided calculating argument weightsEric Christopher
2011-02-05Fix cut and paste error spotted by Jakob.Eric Christopher
2011-02-05Rewrite how the indirect call bonus is handled. This now works by:Eric Christopher
2011-02-01Reapply 124275 since the Dragonegg failure was unreproducible.Eric Christopher
2011-01-26Temporarily revert 124275 to see if it brings the dragonegg buildbot back.Eric Christopher
2011-01-26Separate out the constant bonus from the size reduction metrics. ReworkEric Christopher
2011-01-26Coding style formatting changes.Eric Christopher
2011-01-25Reorganize this so that the early exit and special cases come earlyEric Christopher
2011-01-22Add a FIXME explaining the move to a single indirect call bonus per functionEric Christopher
2011-01-22Only apply the devirtualization bonus once instead of per-call site in theEric Christopher
2010-10-09Now using a variant of the existing inlining heuristics to decide whether to ...Kenneth Uildriks
2010-10-08Start separating out code metrics into code size metrics and code performance...Kenneth Uildriks
2010-09-09What the loop unroller cares about, rather than just not unrolling loops with...Owen Anderson
2010-09-09Refactor code-size reduction estimation methods out of InlineCostAnalyzer and...Owen Anderson
2010-07-27use ImmutableCallSite for const-corrgoodnessGabor Greif
2010-06-09Pulled CodeMetrics out of InlineCost.h and made it a bit more general, so it ...Kenneth Uildriks
2010-05-26Avoid counting InlineAsm as a call - it prevents loop unrolling.Jakob Stoklund Olesen
2010-05-12Clear CachedFunctionInfo upon Pass::releaseMemory. Because ValueMap will abortNick Lewycky
2010-05-01Added a variant of InlineCostAnalyzer::getInlineCost() that takes the called ...David Chisnall
2010-04-30Dan recently disabled recursive inlining within a function, but weChris Lattner
2010-04-21Revert r101471. For tight recursive functions which have multipleDan Gohman
2010-04-17fix PR6858: a dangling pointer use bug which was causedChris Lattner
2010-04-17a bunch of cleanups and tweaks, no functionality changes.Chris Lattner
2010-04-16Disable inlining of recursive calls. It can complicate tailcallelim andDan Gohman
2010-04-16Make callIsSmall accessible as a utility function.Dan Gohman
2010-04-14performance: cache the dereferenced use_iteratorGabor Greif
2010-03-25Reapply r99451 with a fix to move the NoInline check to the cost functionsEric Christopher
2010-03-15Treat copysignl like the other copysign functions.Duncan Sands
2010-03-13Do not ignore arg_size() impact while counting bb instructions.Devang Patel
2010-03-13Remove extra parameter.Devang Patel
2010-03-13Do not overestimate code size reduction in presense of debug info.Devang Patel
2010-03-09Try to keep the cached inliner costs around for a bit longer for big functions.Jakob Stoklund Olesen
2010-03-09Revert r98089, it was breaking a clang test.Jakob Stoklund Olesen
2010-03-09Try to keep the cached inliner costs around for a bit longer for big functions.Jakob Stoklund Olesen
2010-03-09Permit inlining into huge functions. This heuristic is ancient, and inliningJakob Stoklund Olesen
2010-02-16There are two ways of checking for a given type, for example isa<PointerType>(T)Duncan Sands
2010-02-05Update CodeMetrics to count 'big' function calls explicitly.Jakob Stoklund Olesen
2010-01-26Fix inline cost predictions with SCIENCE.Jakob Stoklund Olesen
2010-01-26Revert test polarity to match comment and desired outcome. Remove undeserved ...Jakob Stoklund Olesen
2010-01-26Remove dead code.Jakob Stoklund Olesen
2010-01-26Skip calculation of ArgumentWeights if it will never be used.Jakob Stoklund Olesen
2010-01-14Pad my commit stats by reducing indentation in this now separateEric Christopher
2010-01-14Few minor changes that were requested. No functional change.Eric Christopher
2010-01-14Small tweak to inline cost computation. Ext of i/fcmp results are mostly opti...Evan Cheng
2010-01-14Reduce the inlining cost of functions that contain calls to easily,Eric Christopher
2009-11-01Add a missing closing parenthesis, and tweak to fit in 80Duncan Sands
2009-11-01add a comment about why we don't allow inlining indbr.Chris Lattner