llvm/lib/Transforms/IPO
Dan Gohman 01b97dd01e Make ConstantFoldConstantExpression recursively visit the entire
ConstantExpr, not just the top-level operator. This allows it to
fold many more constants.

Also, make GlobalOpt call ConstantFoldConstantExpression on
GlobalVariable initializers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89659 91177308-0d34-0410-b5e6-96231b3b80d8
2009-11-23 16:22:21 +00:00
..
ArgumentPromotion.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
CMakeLists.txt Auto-upgrade free instructions to calls to the builtin free function. 2009-10-24 04:23:03 +00:00
ConstantMerge.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
DeadArgumentElimination.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
DeadTypeElimination.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
ExtractGV.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
FunctionAttrs.cpp Extend CaptureTracking to indicate when a value is never stored, even 2009-11-19 21:57:48 +00:00
GlobalDCE.cpp cleanups, switch GlobalDCE to SmallPtrSet instead of std::set 2009-11-01 19:03:42 +00:00
GlobalOpt.cpp Make ConstantFoldConstantExpression recursively visit the entire 2009-11-23 16:22:21 +00:00
InlineAlways.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
Inliner.cpp use isInstructionTriviallyDead, as pointed out by Duncan 2009-11-12 21:58:18 +00:00
InlineSimple.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
Internalize.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
IPConstantPropagation.cpp Remove unused LLVMContext. 2009-11-23 03:29:18 +00:00
IPO.cpp Reverting 85714, 85715, 85716, which are breaking the build 2009-11-01 16:42:53 +00:00
LoopExtractor.cpp Update various Loop optimization passes to cope with the possibility that 2009-11-05 21:11:53 +00:00
LowerSetJmp.cpp Eliminate some temporaries. 2009-11-03 12:52:50 +00:00
Makefile
MergeFunctions.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
PartialInlining.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
PartialSpecialization.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
PruneEH.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
StripDeadPrototypes.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00
StripSymbols.cpp Remove debug info attached with an instruction. 2009-11-17 00:47:06 +00:00
StructRetPromotion.cpp Remove includes of Support/Compiler.h that are no longer needed after the 2009-10-25 06:57:41 +00:00