llvm-6502/lib/VMCore
Chris Lattner f8d1097e9d If we are trying to create a ConstantExpr cast that is really a GEP to the
first element of an array, return a GEP instead of a cast.  This allows us
to transparently fold this:

int* getelementptr (int* cast ([100 x int]* %Gbody to int*), int 40)

into this:

int* getelementptr ([100 x int]* %Gbody, int 0, int 40)


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@16911 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-11 03:57:30 +00:00
..
AsmWriter.cpp Okay, the list of link-time passes wasn't such a hot idea. Its prone to 2004-09-14 05:43:23 +00:00
BasicBlock.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
ConstantFold.cpp If we are trying to create a ConstantExpr cast that is really a GEP to the 2004-10-11 03:57:30 +00:00
ConstantFold.h Fix a link error using VS8.0 2004-06-08 17:53:24 +00:00
ConstantFolding.h Fix a link error using VS8.0 2004-06-08 17:53:24 +00:00
ConstantRange.cpp Bug fixes for PR341 2004-07-15 01:29:12 +00:00
Constants.cpp When creating constant arrays check that the initializer vector is the 2004-09-15 02:32:15 +00:00
Dominators.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
Function.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
Globals.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
InstrTypes.cpp Fix #includes of i*.h => Instructions.h as per PR403. 2004-07-29 17:30:56 +00:00
Instruction.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
Instructions.cpp Packed types, brought to you by Brad Jones 2004-08-20 06:00:58 +00:00
LeakDetector.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
Linker.cpp Make sure the const bit gets inherited correctly when linking declarations 2004-10-05 02:28:11 +00:00
Makefile Added LLVM copyright notice to Makefiles. 2003-10-20 22:26:57 +00:00
Makefile.am Initial version of automake Makefile.am file. 2004-10-10 22:20:40 +00:00
Mangler.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
Module.cpp Okay, the list of link-time passes wasn't such a hot idea. Its prone to 2004-09-14 05:43:23 +00:00
ModuleProvider.cpp Let subclasses implement ModuleProvider::materializeModule() which is based on 2004-01-21 22:54:50 +00:00
Pass.cpp 'Pass' should now not be derived from by clients. Instead, they should derive 2004-09-20 04:47:19 +00:00
PassManagerT.h 'Pass' should now not be derived from by clients. Instead, they should derive 2004-09-20 04:48:05 +00:00
SymbolTable.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
SymbolTableListTraitsImpl.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
Type.cpp Unfortunately the fix for the previous bug introduced the previous 2004-10-07 19:20:48 +00:00
Value.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
Verifier.cpp Make sure to check select instructions for generic instruction properties 2004-09-29 21:19:28 +00:00