llvm-6502/include/llvm
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
..
ADT Remove NoVendor and NoOS, added in commit 123990, from Triple. While it 2011-02-02 10:08:38 +00:00
Analysis Rewrite how the indirect call bonus is handled. This now works by: 2011-02-05 00:49:15 +00:00
Assembly
Bitcode
CodeGen Merge .debug_loc entries whenever possible to reduce debug_loc size. 2011-02-04 22:57:18 +00:00
CompilerDriver
Config Moved to Clang's source tree its configuration options and associated 2011-02-03 22:47:59 +00:00
ExecutionEngine
MC Remove trailing whitespace 2011-02-03 23:17:44 +00:00
Object Edit a comment for consistency. 2011-02-03 23:17:40 +00:00
Support Teach ARM/MC/ELF about EF_ARM_EABI_VERSION. The magic number is set to 2011-02-04 21:41:11 +00:00
Target MC/AsmMatcher: Add support for custom conversion functions. 2011-02-04 17:12:15 +00:00
Transforms Re-apply r124518 with fix. Watch out for invalidated iterator. 2011-01-29 04:46:23 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h
CallGraphSCCPass.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h Have m_One also match constant vectors for which every element is 1. 2011-02-01 08:39:12 +00:00
DerivedTypes.h
Function.h
GlobalAlias.h
GlobalValue.h
GlobalVariable.h
GVMaterializer.h
InitializePasses.h Implementation of path profiling. 2011-01-29 01:09:53 +00:00
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h
Instructions.h Make SwitchInst::removeCase() more efficient. 2011-02-01 09:22:34 +00:00
IntrinsicInst.h
Intrinsics.h
Intrinsics.td
IntrinsicsAlpha.td
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td Add XCore intrinsics for resource instructions. 2011-02-03 13:14:25 +00:00
LinkAllPasses.h Implementation of path profiling. 2011-01-29 01:09:53 +00:00
LinkAllVMCore.h
Linker.h
LLVMContext.h
Metadata.h
Module.h
OperandTraits.h
Operator.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassRegistry.h
PassSupport.h
SymbolTableListTraits.h
Type.h
TypeSymbolTable.h
Use.h Add missing include for ptrdiff_t. Patch by Joerg Sonnenberger! 2011-01-28 03:52:25 +00:00
User.h Simplify User::operator delete(). 2011-01-26 21:56:10 +00:00
Value.h Fix reassociate to clear optional flags, such as nsw. 2011-02-02 02:02:34 +00:00
ValueSymbolTable.h