llvm-6502/lib/VMCore
Chandler Carruth 7550f96b2f Holding my nose and moving the accumulation routine to GEPOperator
instead of the instruction. I've left a forwarding wrapper for the
instruction so users with the instruction don't need to create
a GEPOperator themselves.

This lets us remove the copy of this code in instsimplify.

I've looked at most of the other copies of similar code, and this is the
only one I've found that is actually exactly the same. The one in
InlineCost is very close, but it requires re-mapping non-constant
indices through the cost analysis value simplification map. I could add
direct support for this to the generic routine, but it seems overly
specific.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@169853 91177308-0d34-0410-b5e6-96231b3b80d8
2012-12-11 11:05:15 +00:00
..
AsmWriter.cpp s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. 2012-12-07 23:16:57 +00:00
Attributes.cpp s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. 2012-12-07 23:16:57 +00:00
AttributesImpl.h Sort includes for all of the .h files under the 'lib' tree. These were 2012-12-04 07:12:27 +00:00
AutoUpgrade.cpp Attributes Rewrite 2012-10-15 04:46:55 +00:00
BasicBlock.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
CMakeLists.txt Don't explicitly require RTTI and EH. 2012-10-26 12:15:29 +00:00
ConstantFold.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
ConstantFold.h
Constants.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
ConstantsContext.h
Core.cpp s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. 2012-12-07 23:16:57 +00:00
DataLayout.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
DebugInfo.cpp Fix name. The array is unboundED. 2012-12-05 21:43:30 +00:00
DebugLoc.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
DIBuilder.cpp Use the 'count' attribute to calculate the upper bound of an array. 2012-12-04 21:34:03 +00:00
Dominators.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Function.cpp s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. 2012-12-07 23:16:57 +00:00
GCOV.cpp
Globals.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
GVMaterializer.cpp
InlineAsm.cpp
Instruction.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Instructions.cpp Holding my nose and moving the accumulation routine to GEPOperator 2012-12-11 11:05:15 +00:00
IntrinsicInst.cpp
IRBuilder.cpp
LeakDetector.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
LeaksContext.h Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
LLVMBuild.txt
LLVMContext.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
LLVMContextImpl.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
LLVMContextImpl.h Sort includes for all of the .h files under the 'lib' tree. These were 2012-12-04 07:12:27 +00:00
Makefile Don't explicitly require RTTI and EH. 2012-10-26 12:15:29 +00:00
Metadata.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Module.cpp s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. 2012-12-07 23:16:57 +00:00
Pass.cpp moves doInitialization and doFinalization to the Pass class and removes some unreachable code in MachineModuleInfo 2012-12-03 21:56:57 +00:00
PassManager.cpp - Added calls to doInitialization/doFinalization to immutable passes 2012-12-05 17:12:22 +00:00
PassRegistry.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
PrintModulePass.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
SymbolTableListTraitsImpl.h
TargetTransformInfo.cpp Lowercase the argument for TargetTransformInfo so it's consistent with all other passes. 2012-10-26 18:46:15 +00:00
Type.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
TypeFinder.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Use.cpp
User.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Value.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
ValueSymbolTable.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
ValueTypes.cpp Use the new script to sort the includes of every file under lib. 2012-12-03 16:50:05 +00:00
Verifier.cpp s/AttrListPtr/AttributeSet/g to better label what this class is going to be in the near future. 2012-12-07 23:16:57 +00:00