llvm-6502/lib/Transforms
Chris Lattner bd38edfe23 If a global is just loaded and restored, realize that it is not changing
value.  This allows us to turn more globals into constants and eliminate them.
This patch implements GlobalOpt/load-store-global.llx.

Note that this patch speeds up 255.vortex from:

Output/255.vortex.out-cbe.time:program 7.640000
Output/255.vortex.out-llc.time:program 9.810000

to:

Output/255.vortex.out-cbe.time:program 7.250000
Output/255.vortex.out-llc.time:program 9.490000

Which isn't bad at all!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17746 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 20:50:30 +00:00
..
Hello Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
Instrumentation Remove dead vars 2004-11-05 04:46:22 +00:00
IPO If a global is just loaded and restored, realize that it is not changing 2004-11-14 20:50:30 +00:00
Scalar This optimization makes MANY phi nodes that all have the same incoming value. 2004-11-14 19:29:34 +00:00
Utils Lazily create the abort message, so only translation units that use unwind 2004-11-13 19:07:32 +00:00
ExprTypeConvert.cpp Add includes and use std:: for standard library calls to make code 2004-09-28 14:42:44 +00:00
LevelRaise.cpp Prototype more accurately 2004-09-20 04:43:57 +00:00
Makefile Change Library Names Not To Conflict With Others When Installed 2004-10-27 23:18:45 +00:00
TransformInternals.cpp Merge i*.h headers into Instructions.h as part of bug403. 2004-07-29 12:17:34 +00:00
TransformInternals.h Convert 'struct' to 'class' in various places to adhere to the coding standards 2004-10-27 16:14:51 +00:00