llvm-6502/lib
Eric Christopher 4e8af6db18 Rewrite how the indirect call bonus is handled. This now works by:
a) Making it a per call site bonus for functions that we can move from
indirect to direct calls.
b) Reduces the bonus from 500 to 100 per call site.
c) Subtracts the size of the possible newly inlineable call from the
bonus to only add a bonus if we can inline a small function to devirtualize
it.

Also changes the bonus from a positive that's subtracted to a negative
that's added.

Fixes the remainder of rdar://8546196 by reducing the object file size
after inlining by 84%.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124916 91177308-0d34-0410-b5e6-96231b3b80d8
2011-02-05 00:49:15 +00:00
..
Analysis Rewrite how the indirect call bonus is handled. This now works by: 2011-02-05 00:49:15 +00:00
Archive
AsmParser
Bitcode
CodeGen Apparently, it is possible for a block with a landing pad successor to have no calls. 2011-02-04 23:11:13 +00:00
CompilerDriver
ExecutionEngine
Linker
MC Teach ARM/MC/ELF about EF_ARM_EABI_VERSION. The magic number is set to 2011-02-04 21:41:11 +00:00
Object
Support Make Win32's header file name lower for cross build on case-sensitive filesystem. 2011-02-04 12:53:04 +00:00
Target [AVX] Revert 124910 until clients are ready. 2011-02-05 00:24:41 +00:00
Transforms SimplifyCFG: Also transform switches that represent a range comparison but are not sorted into sub+icmp. 2011-02-03 22:51:41 +00:00
VMCore
Makefile