llvm/lib
Chris Lattner 44a6807f4f 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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11116 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-04 04:17:06 +00:00
..
Analysis Avoid referencing deleted DSgraphs when merging an SCC into a larger SCC. This 2004-01-31 21:02:18 +00:00
Archive * finegrainify namespacification of ArchiveReader.cpp 2004-01-10 19:00:15 +00:00
AsmParser Don't use ConstantExpr::getShift anymore 2004-01-12 19:08:43 +00:00
Bytecode Remove all of the annoying statistics now that I'm finished (for the near 2004-02-01 01:50:31 +00:00
CodeGen When an instruction like: A += B had both A and B virtual registers 2004-02-03 01:13:07 +00:00
Debugger "fix" a nasty race condition 2004-01-14 21:18:03 +00:00
ExecutionEngine Print an error message if we can't materialize the bytecode file 2004-02-01 01:07:25 +00:00
Linker Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into 2004-01-26 20:59:41 +00:00
Support Fixes for PR214. Use the SHLIBEXT variable instead of hardcoding .so into 2004-01-26 20:59:41 +00:00
Target Generate ftst instructions for comparison against zero 2004-02-03 18:54:04 +00:00
Transforms Optimize the case where we are inlining a function that contains only one basic block, 2004-02-04 04:17:06 +00:00
VMCore Adjust to the new BB ctor 2004-02-04 03:57:50 +00:00
Makefile Add new dir 2004-01-05 05:25:59 +00:00