llvm-6502/lib/Transforms/Utils
Evan Cheng 8d84d5b62c Increasing the inline limit from (overly conservative) 200 to 300. Given each BB costs 20 and each instruction costs 5, 200 means a 4 BB function + 24 instructions (actually less because caller's size also contributes to it).
Furthermore, double the limit when more than 10% of the callee instructions are vector instructions. Multimedia kernels tend to love inlining.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48725 91177308-0d34-0410-b5e6-96231b3b80d8
2008-03-24 06:37:48 +00:00
..
BasicBlockUtils.cpp Two things. Preserve the unwind_to when splitting a BB. 2008-03-09 05:04:48 +00:00
BasicInliner.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
BreakCriticalEdges.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
CloneFunction.cpp Preserve calling convention during function cloning 2008-03-23 16:03:00 +00:00
CloneLoop.cpp Update the block cloner which fixes bugpoint on code using unwind_to (phew!) 2008-03-09 05:24:34 +00:00
CloneModule.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
CloneTrace.cpp Turn unwind_to into "unwinds to". 2008-03-10 02:20:00 +00:00
CodeExtractor.cpp Make Transforms to be 4.3 warnings-clean 2008-02-20 11:26:25 +00:00
DemoteRegToStack.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
InlineCost.cpp Increasing the inline limit from (overly conservative) 200 to 300. Given each BB costs 20 and each instruction costs 5, 200 means a 4 BB function + 24 instructions (actually less because caller's size also contributes to it). 2008-03-24 06:37:48 +00:00
InlineFunction.cpp Restore optimization that merges blocks when inline function 2008-03-10 18:34:00 +00:00
LCSSA.cpp Fix newly-introduced 4.3 warnings 2008-02-20 12:07:57 +00:00
Local.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00
LoopSimplify.cpp Update the block cloner which fixes bugpoint on code using unwind_to (phew!) 2008-03-09 05:24:34 +00:00
LowerAllocations.cpp remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
LowerInvoke.cpp remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
LowerSwitch.cpp remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
Makefile remove attribution from lib Makefiles. 2007-12-29 20:09:26 +00:00
Mem2Reg.cpp remove the LowerSelect pass. The last client was the old Sparc backend, which is long dead by now. 2008-02-19 07:49:17 +00:00
PromoteMemoryToRegister.cpp Update -mem2reg to use succ_iterator instead of iterating across TerminatorInst 2008-03-13 02:42:41 +00:00
SimplifyCFG.cpp Check to see if a two-entry PHI block can be simplified 2008-03-11 21:53:06 +00:00
UnifyFunctionExitNodes.cpp simplify 2008-03-10 18:11:41 +00:00
ValueMapper.cpp Remove attribution from file headers, per discussion on llvmdev. 2007-12-29 20:36:04 +00:00