- Apr 02, 2008
-
-
Evan Cheng authored
2. Do not use # of basic blocks as part of the cost computation since it doesn't really figure into function size. 3. More aggressively inline function with vector code. llvm-svn: 49061
-
- Apr 01, 2008
-
-
Dale Johannesen authored
llvm-svn: 49046
-
Dale Johannesen authored
not marked nounwind, or for all functions when -enable-eh is set, provided the target supports Dwarf EH. llvm-gcc generates nounwind in the right places; other FEs will need to do so also. Given such a FE, -enable-eh should no longer be needed. llvm-svn: 49006
-
- Mar 24, 2008
-
-
Evan Cheng authored
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. llvm-svn: 48725
-
- Mar 23, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 48708
-
- Mar 20, 2008
-
-
Evan Cheng authored
llvm-svn: 48573
-
- Mar 13, 2008
-
-
Nick Lewycky authored
successors. This makes it support nounwind. llvm-svn: 48320
-
- Mar 11, 2008
-
-
Dan Gohman authored
before trying to merge the block into its predecessors. This allows two-entry-phi-return.ll to be simplified into a single basic block. llvm-svn: 48252
-
- Mar 10, 2008
-
-
Devang Patel authored
has single return value. llvm-svn: 48162
-
Devang Patel authored
llvm-svn: 48161
-
Devang Patel authored
llvm-svn: 48160
-
Nick Lewycky authored
llvm-svn: 48123
-
- Mar 09, 2008
-
-
Nick Lewycky authored
Secondly, we have to check whether the branch is actually pointing to the block with the unwind in it. We could have gotten here because of the unwind_to alone. llvm-svn: 48099
-
Nick Lewycky authored
at all. llvm-svn: 48096
-
Nick Lewycky authored
and also update the cloning interface's major user, the loop optimizations. llvm-svn: 48088
-
Nick Lewycky authored
llvm-svn: 48086
-
Nick Lewycky authored
Add the ability to remove just one instance of a BB from a phi node. This fixes the compile error in the tree now. llvm-svn: 48085
-
- Mar 07, 2008
-
-
Devang Patel authored
llvm-svn: 48020
-
- Mar 05, 2008
-
-
Devang Patel authored
llvm-svn: 47965
-
Devang Patel authored
llvm-svn: 47924
-
- Mar 04, 2008
-
-
Devang Patel authored
llvm-svn: 47909
-
Devang Patel authored
Update test to use multiple return value directly, instead of relying on -sretpromotion. llvm-svn: 47907
-
Devang Patel authored
llvm-svn: 47904
-
- Feb 20, 2008
-
-
Anton Korobeynikov authored
llvm-svn: 47375
-
Anton Korobeynikov authored
llvm-svn: 47371
-
- Feb 19, 2008
-
-
Chris Lattner authored
llvm-svn: 47323
-
- Feb 18, 2008
-
-
Chris Lattner authored
this speeds it up 2.3% on eon. llvm-svn: 47261
-
- Feb 14, 2008
-
-
Chris Lattner authored
llvm-svn: 47129
-
- Feb 05, 2008
-
-
Chris Lattner authored
check more intelligent. This speeds up mem2reg from 5.29s to 0.79s on a synthetic testcase with tons of predecessors and phi nodes. llvm-svn: 46767
-
- Jan 27, 2008
-
-
Duncan Sands authored
longer allowed to write through byval arguments. llvm-svn: 46416
-
- Jan 26, 2008
-
-
Duncan Sands authored
when inlining a readonly function. llvm-svn: 46393
-
- Jan 25, 2008
-
-
Duncan Sands authored
llvm-svn: 46369
-
- Jan 12, 2008
-
-
Chris Lattner authored
inlining a function if we know that the function does not write to *any* memory. This implements test/Transforms/Inline/byval2.ll llvm-svn: 45912
-
- Jan 11, 2008
-
-
Chris Lattner authored
copy of it in case the callee modifies the struct. llvm-svn: 45853
-
- Jan 03, 2008
-
-
Chris Lattner authored
could theoretically introduce a trap, but is also a performance issue. This speeds up ptrdist/ks by 8%. llvm-svn: 45533
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45418
-
Chris Lattner authored
llvm-svn: 45415
-
Chris Lattner authored
have potential side-effects. llvm-svn: 45392
-
- Dec 25, 2007
-
-
Gordon Henriksen authored
define void @f() { ... call i32 @g() ... } define void @g() { ... } The hazards are: - @f and @g have GC, but they differ GC. Inlining is invalid. This may never occur. - @f has no GC, but @g does. g's GC must be propagated to @f. The other scenarios are safe: - @f and @g have the same GC. - @f and @g have no GC. - @g has no GC. This patch adds inliner checks for the former two scenarios. llvm-svn: 45351
-
- Dec 22, 2007
-
-
Devang Patel authored
not merge current bb and succ even if bb's terminator is unconditional branch to succ. llvm-svn: 45305
-