aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/InlineCost.cpp
AgeCommit message (Expand)Author
2013-01-21Sink InlineCost.cpp into IPA -- it is now officially an interproceduralChandler Carruth
2013-01-21Move the inline cost analysis's primary cost query to TTI instead of theChandler Carruth
2013-01-21Now that the inline cost analysis is a pass, we can easily have itChandler Carruth
2013-01-21Make the inline cost a proper analysis pass. This remains essentiallyChandler Carruth
2013-01-02Move all of the header files which are involved in modelling the LLVM IRChandler Carruth
2012-12-30Remove the Function::getFnAttributes method in favor of using the AttributeSetBill Wendling
2012-12-28Fix a stunning oversight in the inline cost analysis. It was neverChandler Carruth
2012-12-28Teach the inline cost analysis about calls that can be simplified andChandler Carruth
2012-12-20Add a new attribute, 'noduplicate'. If a function contains a noduplicate call...James Molloy
2012-12-19Rename the 'Attributes' class to 'Attribute'. It's going to represent a singl...Bill Wendling
2012-12-03Use the new script to sort the includes of every file under lib.Chandler Carruth
2012-11-30Move the InstVisitor utility into VMCore where it belongs. It heavilyChandler Carruth
2012-11-19Clean up handling of always-inline functions in the inliner.Bob Wilson
2012-11-19Some comment fixes.Bob Wilson
2012-11-01Revert the majority of the next patch in the address space series:Chandler Carruth
2012-11-01Revert the series of commits starting with r166578 which introduced theChandler Carruth
2012-10-24Add some cleanup to the DataLayout changes requested by Chandler.Micah Villmow
2012-10-24Add in support for getIntPtrType to get the pointer type based on the address...Micah Villmow
2012-10-15Resubmit the changes to llvm core to update the functions to support differen...Micah Villmow
2012-10-11Revert 165732 for further review.Micah Villmow
2012-10-11Add in the first iteration of support for llvm/clang/lldb to allow variable p...Micah Villmow
2012-10-09Create enums for the different attributes.Bill Wendling
2012-10-08Move TargetData to DataLayout.Micah Villmow
2012-10-07Make sure always-inline functions get inlined. <rdar://problem/12423986>Bob Wilson
2012-09-26Remove the `hasFnAttr' method from Function.Bill Wendling
2012-09-19Prevent inlining of callees which allocate lots of memory into a recursive ca...Nadav Rotem
2012-09-12Release build: guard dump functions withManman Ren
2012-09-06Release build: guard dump functions with "ifndef NDEBUG"Manman Ren
2012-08-07PR13095: Give an inline cost bonus to functions using byval arguments.Benjamin Kramer
2012-06-02Fix typos found by http://github.com/lyda/misspell-checkBenjamin Kramer
2012-05-04A pile of long over-due refactorings here. There are some very, *very*Chandler Carruth
2012-04-11Add two statistics to help track how we are computing the inline cost.Chandler Carruth
2012-04-06Reintroduce InlineCostAnalyzer::getInlineCost() variant with explicit calleeDavid Chisnall
2012-03-31Fix a typo reported in IRC by someone reviewing this code.Chandler Carruth
2012-03-31Remove a bunch of empty, dead, and no-op methods from all of theseChandler Carruth
2012-03-31Initial commit for the rewrite of the inline cost analysis to operateChandler Carruth
2012-03-16Start removing the use of an ad-hoc 'never inline' set and insteadChandler Carruth
2012-03-16Pull the implementation of the code metrics out of the inline costChandler Carruth
2012-03-15Make the swap code here a bit more obvious what its doing... We'reChandler Carruth
2012-03-15Don't assume that the arguments are processed in some particular order.Chandler Carruth
2012-03-15Remove all remnants of partial specialization in the cost computationChandler Carruth
2012-03-14Extend the inline cost calculation to account for bonuses due toChandler Carruth
2012-03-14Refactor the inline cost bonus calculation for constants to useChandler Carruth
2012-03-10Make helper static, so it can be inlined into its sole caller.Benjamin Kramer
2012-03-09Undo a previous restriction on the inline cost calculation which NickChandler Carruth
2012-03-08Rotate two of the functions used to count bonuses for the inline costChandler Carruth
2012-01-25Use precomputed BB size instead of BB->size().Nick Lewycky
2012-01-25Support pointer comparisons against constants, when looking at the inline-costNick Lewycky
2012-01-20Fix CountCodeReductionForAlloca to more accurately represent what SROA can andNick Lewycky
2011-12-21Continue counting intrinsics as instructions (except when they aren't, such asNick Lewycky