1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-02 00:42:52 +01:00
llvm-mirror/lib/Transforms/Scalar
Chris Lattner 0874dc6dab 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).

llvm-svn: 96083
2010-02-13 05:35:08 +00:00
..
ABCD.cpp Change errs() to dbgs(). 2010-01-05 01:27:39 +00:00
ADCE.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
BasicBlockPlacement.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
CMakeLists.txt Pull these back out, they're a little too aggressive and time 2010-02-09 17:29:18 +00:00
CodeGenPrepare.cpp Split some code out to a helper function (FindReusablePredBB) 2010-02-13 05:35:08 +00:00
ConstantProp.cpp remove a bunch of extraneous LLVMContext arguments 2009-11-06 04:27:31 +00:00
DCE.cpp eliminate VISIBILITY_HIDDEN from Transforms/Scalar. PR4861 2009-09-02 06:11:42 +00:00
DeadStoreElimination.cpp Make DSE only scan blocks that are reachable from the entry 2010-02-11 05:11:54 +00:00
GEPSplitter.cpp Check in the experimental GEP splitter pass. This pass splits complex 2009-10-26 19:12:14 +00:00
GVN.cpp Ignore dbg info intrinsics. 2010-02-11 00:20:49 +00:00
IndVarSimplify.cpp Reapply the new LoopStrengthReduction code, with compile time and 2010-02-12 10:34:29 +00:00
JumpThreading.cpp Make jump threading honor x|undef -> true and x&undef -> false, 2010-02-11 04:40:44 +00:00
LICM.cpp Change errs() to dbgs(). 2010-01-05 01:27:30 +00:00
LoopDeletion.cpp LoopDeletion depends on loops having dedicated exits. 2009-11-05 21:47:04 +00:00
LoopIndexSplit.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
LoopRotation.cpp Update various Loop optimization passes to cope with the possibility that 2009-11-05 21:11:53 +00:00
LoopStrengthReduce.cpp Fix a pruning heuristic which implicitly assumed that SmallPtrSet is 2010-02-13 02:06:02 +00:00
LoopUnrollPass.cpp Don't unroll loops containing function calls. 2010-02-05 23:21:31 +00:00
LoopUnswitch.cpp fix a crash in loop unswitch on a loop invariant vector condition. 2010-02-02 02:26:54 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00
MemCpyOptimizer.cpp Convert a ton of simple integer type equality tests to the new predicate. 2010-01-05 20:07:06 +00:00
Reassociate.cpp Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
Reg2Mem.cpp clean up this code a bit. 2009-09-02 06:15:37 +00:00
Scalar.cpp remove the now dead condprop pass, PR3906. 2009-11-11 05:56:35 +00:00
ScalarReplAggregates.cpp Adjust the heuristics used to decide when SROA is likely to be profitable. 2010-02-03 17:23:56 +00:00
SCCP.cpp Change errs() to dbgs(). 2010-01-05 01:27:15 +00:00
SCCVN.cpp Use do+while instead of while for loops which obviously have a 2010-01-05 16:27:25 +00:00
SimplifyCFGPass.cpp Teach SimplifyCFG about magic pointer constants. 2010-02-05 22:03:18 +00:00
SimplifyHalfPowrLibCalls.cpp Fix "the the" and similar typos. 2010-02-10 16:03:48 +00:00
SimplifyLibCalls.cpp Recommit this, looks like it wasn't the cause. 2010-02-03 00:21:58 +00:00
TailDuplication.cpp Change errs() to dbgs(). 2010-01-05 01:27:33 +00:00
TailRecursionElimination.cpp Revert 94937 and move the noreturn check to codegen. 2010-02-03 03:55:59 +00:00