llvm-6502/include/llvm
Chris Lattner bc99be10b8 Teach GVN to invalidate some memdep information when it does an RAUW
of a pointer.  This allows is to catch more equivalencies.  For example,
the type_lists_compatible_p function used to require two iterations of
the gvn pass (!) to delete its 18 redundant loads because the first pass
would CSE all the addressing computation cruft, which would unblock the
second memdep/gvn passes from recognizing them.  This change allows
memdep/gvn to catch all 18 when run just once on the function (as is 
typical :) instead of just 3.

On all of 403.gcc, this bumps up the # reundandancies found from:

     63 gvn    - Number of instructions PRE'd
 153991 gvn    - Number of instructions deleted
  50069 gvn    - Number of loads deleted
to:
     63 gvn    - Number of instructions PRE'd
 154137 gvn    - Number of instructions deleted
  50185 gvn    - Number of loads deleted

+120 loads deleted isn't bad.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60799 91177308-0d34-0410-b5e6-96231b3b80d8
2008-12-09 22:06:23 +00:00
..
ADT Move the conversion to intptr_t to a separate statement. This 2008-12-08 17:41:24 +00:00
Analysis Teach GVN to invalidate some memdep information when it does an RAUW 2008-12-09 22:06:23 +00:00
Assembly
Bitcode
CodeGen Fix PR3117: not all nodes being legalized. The 2008-12-09 21:33:20 +00:00
CompilerDriver Support -emit-llvm properly (with -S and -c). 2008-12-09 14:40:18 +00:00
Config
Debugger
ExecutionEngine DisableGVCompilation should not abort on internal GlobalValue's. 2008-12-09 07:31:49 +00:00
Support newline at end of phile 2008-12-09 06:32:32 +00:00
System
Target Fix the name of ISD::TokenFactor in a comment. Thanks Gabor! 2008-12-09 02:18:52 +00:00
Transforms Factor some code into a new FoldSingleEntryPHINodes method. 2008-12-03 19:44:02 +00:00
AbstractTypeUser.h
Argument.h
Attributes.h
AutoUpgrade.h
BasicBlock.h remove two unneeded forward declarations, pointed out by Gabor. 2008-12-09 02:10:10 +00:00
CallGraphSCCPass.h
CallingConv.h
CMakeLists.txt
Constant.h
Constants.h Make ConstantAggregateZero::get return a ConstantAggregateZero*, 2008-12-08 07:10:54 +00:00
DerivedTypes.h
Function.h
GlobalAlias.h
GlobalValue.h
GlobalVariable.h
InlineAsm.h
InstrTypes.h
Instruction.def
Instruction.h improve const correctness. 2008-11-27 08:39:18 +00:00
Instructions.h add a long-overdue AllocaInst::isStaticAlloca method. 2008-11-26 02:54:17 +00:00
IntrinsicInst.h reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an 2008-11-21 16:42:48 +00:00
Intrinsics.h
Intrinsics.td reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an 2008-11-21 16:42:48 +00:00
IntrinsicsAlpha.td
IntrinsicsARM.td
IntrinsicsCellSPU.td
IntrinsicsPowerPC.td
IntrinsicsX86.td
IntrinsicsXCore.td
LinkAllPasses.h
LinkAllVMCore.h
Linker.h
Module.h
ModuleProvider.h
OperandTraits.h
Pass.h
PassAnalysisSupport.h
PassManager.h
PassManagers.h
PassSupport.h
SymbolTableListTraits.h
Type.h
TypeSymbolTable.h
Use.h
User.h
Value.h Comment typeo fix, thanks Duncan! 2008-12-02 18:33:11 +00:00
ValueSymbolTable.h