llvm-6502/lib/Target
Brian Gaeke 20244b7e2c This checkin is brought to you by the brian gaeke allnighter fund.
(lib/Target/X86) InstSelectSimple.cpp:
 Include llvm/DerivedTypes.h and iostream.
 Refactor visitMul out into a wrapper around doMultiply(), so that we
  can do multiplications on temporary values when we are doing
  getelementptrs.
 Refactor part of getReg out into makeAnotherReg, so that we can create
  registers willy-nilly to hold temporary values, when we are doing
  getelementptrs.
 Add stub implementations of visitMallocInst and visitAllocaInst.
 Add initial implementation of visitGetElementPtrInst.
 In copyConstantToRegister:
  We throw a *lot* of our asserts here. So, when we want to throw an
   assert, print out to stderr whatever expr or whatever constant made
   us barf.
  Support copying ConstantPointerNull to register, using a move immediate
   of zero.
 Rename FLDr4 and FLDr8 to FLDr32 and FLDr64, so that they match the meanings
  of the numbers in the other instruction names. All uses modified.
 Teach visitCallInst to extract byte- and short-class return values
  from subregs of EAX.  Add a FIXME note about how we would do it for
  float-class return values.
 Add a FIXME note about how we would cast float to int and back.

X86InstrInfo.def:
 Rename FLDr4 and FLDr8 to FLDr32 and FLDr64, so that they match the meanings
  of the numbers in the other instruction names. All uses modified.

(tools/jello) GlobalVars.cpp:
 Include iostream.
 If we have to emit a floating-point constant to memory, gamble and use
  the same method as for ints.
 If we have to emit a ConstantPointerNull to memory, try using a "void *"
  and "NULL".
 Otherwise, if we are going to throw an assert, print out whatever constant
  made us barf, first.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4973 91177308-0d34-0410-b5e6-96231b3b80d8
2002-12-12 15:33:40 +00:00
..
CBackend - Eliminated the deferred symbol table stuff in Module & Function, it really 2002-11-20 18:36:02 +00:00
SparcV9 Initialize implicit uses/defs fields for sparc backend to empty list 2002-12-03 05:41:54 +00:00
X86 This checkin is brought to you by the brian gaeke allnighter fund. 2002-12-12 15:33:40 +00:00
MachineFrameInfo.cpp Changed MachineCodeForMethod' to MachineFunction'. 2002-10-28 00:28:31 +00:00
Makefile X86 target builds fine now 2002-11-20 20:17:03 +00:00
TargetData.cpp * Privatize the TargetName 2002-10-29 21:48:17 +00:00
TargetInstrInfo.cpp Pass on a targetmachine 2002-11-17 23:22:03 +00:00
TargetMachine.cpp Implement findOptimalStorageSize a bit more generally 2002-10-29 21:47:50 +00:00
TargetSchedInfo.cpp Move TargetInstrDescriptors to MachineInstrInfo.cpp 2002-10-29 17:37:48 +00:00