aboutsummaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils/InlineCost.cpp
AgeCommit message (Expand)Author
2009-10-13Commit the removal of this file, which is now moved to lib/Analysis.Dan Gohman
2009-10-13Start refactoring the inline cost estimation code so that it can be usedDan Gohman
2009-10-09Use names instead of numbers for some of the magicDale Johannesen
2009-10-07Add FreeInst to the "is a call" check for Insts that are calls, butEric Christopher
2009-10-07While we still have a MallocInst treat it as a call like any otherEric Christopher
2009-09-27calls are already handled, malloc doesn't need a special case.Chris Lattner
2009-09-23A minor improvment in accuracy to inline costDale Johannesen
2009-09-18Enhance transform passes so that they apply the same tranforms to malloc call...Victor Hernandez
2009-08-27unbreak the build, yay for symlinks + makefiles. :(Chris Lattner
2009-07-25Remove Value::{isName, getNameRef}.Daniel Dunbar
2009-07-22Don't give a massive inlining cost bonus to available_externally Eli Friedman
2009-07-18add a fixmeChris Lattner
2009-07-18Fix the inline cost calculation to take into account instructions Eli Friedman
2009-05-23available_externall linkage is not local, this was confusing the codegenerator,Torok Edwin
2009-04-21use predicate instead of hand-rolled loopChris Lattner
2009-03-10If a function is marked alwaysinline, it must be inlined (possibly for correc...Evan Cheng
2009-03-07Introduce new linkage types linkonce_odr, weak_odr, common_odrDuncan Sands
2009-02-16Fix typo caused by too much surfing, dudes...Nick Lewycky
2009-01-24Revert previous change; even this mild and clearlyDale Johannesen
2009-01-24Improve the inlining cost function a bit.Dale Johannesen
2009-01-15Add the private linkage.Rafael Espindola
2009-01-12Enable recursive inlining. Reduce inlining thresholdDale Johannesen
2009-01-09Adjustments to last patch based on review.Dale Johannesen
2009-01-08Do not inline functions with (dynamic) alloca intoDale Johannesen
2008-11-05Check Attribute::NoInline.Devang Patel
2008-10-30Add InlineCost class for represent the estimated cost of inlining aDaniel Dunbar
2008-09-29Rename isWeakForLinker to mayBeOverridden. Use itDuncan Sands
2008-09-26Implement function notes as function attributes. Devang Patel
2008-09-25 Large mechanical patch.Devang Patel
2008-09-24Put FN_NOTE_AlwaysInline and others in FnAttr namespace.Devang Patel
2008-09-23Move FN_NOTE_AlwaysInline and other out of ParamAttrs namespace.Devang Patel
2008-09-23Use parameter attribute store (soon to be renamed) forDevang Patel
2008-09-22Add hasNote() to check note associated with a function.Devang Patel
2008-09-03Handle "always inline" note during inline cost analysis.Devang Patel
2008-07-17Inliner tweak. Function calls should cost more than one instruction!Evan Cheng
2008-07-14Reapply r53540, now with the matching header!Chris Lattner
2008-07-14Revert r53540 - it does not compile.Duncan Sands
2008-07-14If a function calls setjmp, never inline it into other functions. This isChris Lattner
2008-07-14simplify some code, shuffle and insertelt always return a vector.Chris Lattner
2008-04-24Adjust inline cost computation to be less aggressive.Evan Cheng
2008-04-011. Drop default inline threshold back down to 200.Evan Cheng
2008-03-24Increasing the inline limit from (overly conservative) 200 to 300. Given each...Evan Cheng
2008-03-2080 col violation.Evan Cheng
2007-12-29Remove attribution from file headers, per discussion on llvmdev.Chris Lattner
2007-09-17Fix comment.Devang Patel
2007-07-27Use SmallPtrSet.Devang Patel
2007-07-25Add BasicInliner interface. Devang Patel