llvm-6502/lib/Transforms
Chris Lattner a990d94330 If a function always returns a constant, replace all calls sites with that
constant value.  This makes the return value dead and allows for
simplification in the caller.

This implements IPConstantProp/return-constant.ll

This triggers several dozen times throughout SPEC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17730 91177308-0d34-0410-b5e6-96231b3b80d8
2004-11-14 06:10:11 +00:00
..
Hello
Instrumentation Remove dead vars 2004-11-05 04:46:22 +00:00
IPO If a function always returns a constant, replace all calls sites with that 2004-11-14 06:10:11 +00:00
Scalar Teach SROA how to promote an array index that is variable, if the dimension 2004-11-14 05:00:19 +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
LevelRaise.cpp
Makefile
TransformInternals.cpp
TransformInternals.h