|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| | 
| 
| 
| 
| 
| | definition is unused, and enhance it so it can tell that functions which are only used by a blockaddress are in fact dead.  This probably doesn't happen much on most code, but the Linux kernel's _THIS_IP_ can trigger this issue with blockaddress.  (GlobalDCE can also handle the given tescase, but we only run that at -O3.)  Found while looking at PR11180.
llvm-svn: 142572 | 
| | 
| 
| 
| | llvm-svn: 109589 | 
| | 
| 
| 
| 
| 
| 
| 
| | arguments are handled with a new InlineFunctionInfo class.  This 
makes it easier to extend InlineFunction to return more info in the
future.
llvm-svn: 102137 | 
| | 
| 
| 
| | llvm-svn: 92599 | 
| | 
| 
| 
| 
| 
| 
| | Chris claims we should never have visibility_hidden inside any .cpp file but
that's still not true even after this commit.
llvm-svn: 85042 | 
| | 
| 
| 
| 
| 
| | This required converting a bunch of stuff off DOUT and other cleanups.
llvm-svn: 79819 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | and it wasn't generating calls through @PLT for these functions.
hasLocalLinkage() is now false for available_externally,
I attempted to fix the inliner and dce to handle available_externally properly.
It passed make check.
llvm-svn: 72328 | 
| | 
| 
| 
| 
| 
| | inline-threshold option is used by the inliner.
llvm-svn: 65309 | 
| | 
| 
| 
| | llvm-svn: 62279 | 
| | 
| 
| 
| | llvm-svn: 58486 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | function.
 - This explicitly models the costs for functions which should
   "always" or "never" be inlined. This fixes bugs where such costs
   were not previously respected.
llvm-svn: 58450 | 
| | 
| 
| 
| 
| 
| | - No functionality change.
llvm-svn: 58352 | 
| | 
| 
| 
| 
| 
| 
| | several things that were neither in an anonymous namespace nor static
but not intended to be global.
llvm-svn: 51017 | 
| | 
| 
| 
| | llvm-svn: 50696 | 
| | 
| 
| 
| | llvm-svn: 45418 | 
| | 
| 
| 
| | llvm-svn: 40560 | 
|  | This interface allows clients to inline bunch of functions with module
level call graph information.:wq
llvm-svn: 40486 |