llvm-6502/lib/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
..
SelectionDAG Update to reflect changes in Makefile rules. 2004-10-13 11:46:52 +00:00
AsmPrinter.cpp Do not use .xword and friends to emit zeros on V9. Apparently there are issues 2004-08-24 00:26:11 +00:00
BranchFolding.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
IntrinsicLowering.cpp Fix #includes of i*.h => Instructions.h as per PR403. 2004-07-29 17:30:56 +00:00
LiveInterval.cpp Fix includes. Patch contributed by Paolo Invernizzi! 2004-09-28 02:38:58 +00:00
LiveInterval.h Make a method const, no functionality changes 2004-07-25 06:23:01 +00:00
LiveIntervalAnalysis.cpp When a virtual register is folded into an instruction, keep track of whether 2004-10-01 23:15:36 +00:00
LiveIntervalAnalysis.h * Wrap some comments to 80 cols 2004-09-30 15:59:17 +00:00
LiveVariables.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
MachineBasicBlock.cpp Indent to 2 spaces. 2004-09-05 18:39:20 +00:00
MachineCodeEmitter.cpp Add #include <iostream> since Value.h does not #include it any more. 2004-07-04 12:19:56 +00:00
MachineFunction.cpp Indent to 2 spaces and cleanup excess whitespace. 2004-09-05 18:41:35 +00:00
MachineInstr.cpp Allow machine operands to represent global variables with offsets. This is 2004-10-15 04:38:41 +00:00
Makefile ModuloScheduling has moved to lib/Target/SparcV9 2004-10-10 23:37:40 +00:00
Makefile.am Update to reflect changes in Makefile rules. 2004-10-13 11:46:52 +00:00
Passes.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
PHIElimination.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
PhysRegTracker.h Improved PhysRegTracker interface. RegAlloc lazily allocates the register tracker using a std::auto_ptr 2004-02-23 06:10:13 +00:00
PrologEpilogInserter.cpp Put this change back in after testing from Reid proved its innocence. getSpillSize now returns value in bits 2004-08-29 22:00:24 +00:00
RegAllocIterativeScan.cpp Change the way we choose a free register: instead of picking the first 2004-09-02 21:24:33 +00:00
RegAllocLinearScan.cpp Free the VirtRegMap at the end of MachineFunction processing instead of at 2004-09-30 02:02:33 +00:00
RegAllocLocal.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
RegAllocSimple.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
TwoAddressInstructionPass.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
UnreachableBlockElim.cpp Changes For Bug 352 2004-09-01 22:55:40 +00:00
VirtRegMap.cpp This patch fixes the nasty bug that caused 175.vpr to fail for X86 last night. 2004-10-15 03:19:31 +00:00
VirtRegMap.h When a virtual register is folded into an instruction, keep track of whether 2004-10-01 23:15:36 +00:00