aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InlineCost.cpp
AgeCommit message (Expand)Author
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
2009-11-01pull check for return inst out of loop, never inline a callee that containsChris Lattner
2009-10-28rename indbr -> indirectbr to appease the residents of #llvm.Chris Lattner
2009-10-27Random updates to passes for indbr, I need blockaddress before I can do much ...Chris Lattner
2009-10-26Remove FreeInst.Victor Hernandez
2009-10-23Remove AllocationInst. Since MallocInst went away, AllocaInst is the only su...Victor Hernandez
2009-10-17Remove MallocInst from LLVM Instructions.Victor Hernandez
2009-10-13Compute a full cost value even when a setjmp call is found.Dan Gohman
2009-10-13Split code not specific to Function inlining out into a separate class,Dan Gohman
2009-10-13Move the InlineCost code from Transforms/Utils to Analysis.Dan Gohman