llvm-6502/lib/Transforms
Chris Lattner 98d5c3141e Split some code out to a helper function (FindReusablePredBB)
and add a doxygen comment.

Cache the phi entry to avoid doing tons of 
PHINode::getBasicBlockIndex calls in the common case.

On my insane testcase from re2c, this speeds up CGP from
617.4s to 7.9s (78x).



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96083 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-13 05:35:08 +00:00
..
Hello make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
InstCombine Make sure that ConstantExpr offsets also aren't off of extern 2010-02-11 17:44:04 +00:00
Instrumentation make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
IPO Enable the inlinehint attribute in the Inliner. 2010-02-13 01:51:53 +00:00
Scalar Split some code out to a helper function (FindReusablePredBB) 2010-02-13 05:35:08 +00:00
Utils Speed up codegen prepare from 3.58s to 0.488s. 2010-02-13 05:01:14 +00:00
Makefile move instcombine to its own library, it's past time. 2010-01-04 06:23:24 +00:00