1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/lib/Transforms
Chris Lattner 790d7321b4 Optimize the case where we are inlining a function that contains only one basic block,
and that basic block ends with a return instruction.  In this case, we can just splice
the cloned "body" of the function directly into the source basic block, avoiding a lot
of rearrangement and splitBasicBlock's linear scan over the split block.  This speeds up
the inliner on the testcase in PR209 from 2.3s to 1.7s, a 35% reduction.

llvm-svn: 11116
2004-02-04 04:17:06 +00:00
..
Hello Finegrainify namespacification 2004-01-09 06:12:26 +00:00
Instrumentation Finegrainify namespacification 2004-01-09 06:12:26 +00:00
IPO Remove unneeded code now that splitBasicBlock does the "right thing" 2004-02-04 03:21:51 +00:00
Scalar Adjust to the new BasicBlock ctor, which requires a function parameter 2004-02-04 03:58:28 +00:00
Utils Optimize the case where we are inlining a function that contains only one basic block, 2004-02-04 04:17:06 +00:00
ExprTypeConvert.cpp Remove uses of ConstantHandling itf 2004-01-12 18:12:44 +00:00
LevelRaise.cpp Remove uses of ConstantHandling itf 2004-01-12 18:12:44 +00:00
Makefile Added LLVM copyright notice to Makefiles. 2003-10-20 22:26:57 +00:00
TransformInternals.cpp Finegrainify namespacification 2004-01-09 05:53:38 +00:00
TransformInternals.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00