llvm-6502/include/llvm/CodeGen
Chris Lattner ca4f6ebefc Allow machine operands to represent global variables with offsets. This is
useful when you have a reference like:

int A[100];

void foo() { A[10] = 1; }

In this case, &A[10] is a single constant and should be treated as such.

Only MO_GlobalAddress and MO_ExternalSymbol are allowed to use this field, no
other operand type is.

This is another fine patch contributed by Jeff Cohen!!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17007 91177308-0d34-0410-b5e6-96231b3b80d8
2004-10-15 04:38:41 +00:00
..
AsmPrinter.h Alkis pointed out that this is not a character (we actually support strings) 2004-08-18 02:22:34 +00:00
InstrScheduling.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
IntrinsicLowering.h Use class instead of struct for defining classes. This unbreaks the 2004-09-28 01:59:17 +00:00
LiveInterval.h Make a method const, no functionality changes 2004-07-25 06:23:01 +00:00
LiveIntervalAnalysis.h * Wrap some comments to 80 cols 2004-09-30 15:59:17 +00:00
LiveVariables.h Use newly added API in MRegisterInfo and don't expose the allocatable 2004-08-26 22:23:32 +00:00
MachineBasicBlock.h Changes For Bug 352 2004-09-01 22:55:40 +00:00
MachineCodeEmitter.h Changes For Bug 352 2004-09-01 22:55:40 +00:00
MachineConstantPool.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
MachineFrameInfo.h Remove helper method 2004-08-15 22:02:36 +00:00
MachineFunction.h Add const version of getLastBlock() member function. 2004-09-30 21:42:02 +00:00
MachineFunctionPass.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
MachineInstr.h Allow machine operands to represent global variables with offsets. This is 2004-10-15 04:38:41 +00:00
MachineInstrBuilder.h Allow machine operands to represent global variables with offsets. This is 2004-10-15 04:38:41 +00:00
Passes.h New pass 2004-07-31 09:59:14 +00:00
SchedGraphCommon.h Changes For Bug 352 2004-09-01 22:55:40 +00:00
SelectionDAG.h Changes For Bug 352 2004-09-01 22:55:40 +00:00
SSARegMap.h Changes For Bug 352 2004-09-01 22:55:40 +00:00
ValueSet.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
ValueTypes.h Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00