llvm/lib/CodeGen
Chris Lattner 588e72db75 Refactor code. Now the intrinsic lowering pass tries to recycle preexisting
prototypes, even if they don't precisely match what it would prefer to use.
This fixes: CBackend/2004-02-15-PreexistingExternals.llx compiling it into:

  ltmp_0_30 = memcpy(l14_C, 4u, 17);
  ltmp_1_30 = memcpy(((int *)l27_A), ((unsigned )(long)l27_B), ((int )123u));

instead of:

  ltmp_0_30 = memcpy(l14_C, 4u, 17);
  ltmp_1_27 = l43_memcpy(l27_A, l27_B, 123u);

Which does the wrong thing as you could imagine.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11481 91177308-0d34-0410-b5e6-96231b3b80d8
2004-02-15 22:16:39 +00:00
..
InstrSched Remove getAllocatedRegNum(). Use getReg() instead. 2004-02-13 21:01:20 +00:00
ModuloScheduling Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
SelectionDAG Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
IntrinsicLowering.cpp Refactor code. Now the intrinsic lowering pass tries to recycle preexisting 2004-02-15 22:16:39 +00:00
LiveIntervalAnalysis.cpp Eliminate the use of spill (reserved) registers. 2004-02-15 10:24:21 +00:00
LiveIntervalAnalysis.h Eliminate the use of spill (reserved) registers. 2004-02-15 10:24:21 +00:00
LiveVariables.cpp Make dense maps keyed on physical registers smallerusing 2004-02-15 21:37:17 +00:00
MachineCodeEmitter.cpp Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
MachineCodeForInstruction.cpp Change MachineBasicBlock's vector of MachineInstr pointers into an 2004-02-12 02:27:10 +00:00
MachineFunction.cpp Add back machine code deleter pass until we get a MachineCode pass 2004-02-15 00:03:15 +00:00
MachineInstr.cpp Remove getAllocatedRegNum(). Use getReg() instead. 2004-02-13 21:01:20 +00:00
MachineInstrAnnot.cpp Put all LLVM code into the llvm namespace, as per bug 109. 2003-11-11 22:41:34 +00:00
Makefile Move InstrSelection into lib/Target/Sparc, as it's sparc specific 2004-01-09 06:24:06 +00:00
Passes.cpp finegrainify namespacification 2003-12-28 07:59:53 +00:00
PHIElimination.cpp Use newly added next() and prior() utility functions. 2004-02-14 01:18:34 +00:00
PrologEpilogInserter.cpp Make dense maps keyed on physical registers smallerusing 2004-02-15 21:37:17 +00:00
RegAllocLinearScan.cpp Eliminate the use of spill (reserved) registers. 2004-02-15 10:24:21 +00:00
RegAllocLocal.cpp Make dense maps keyed on physical registers smallerusing 2004-02-15 21:37:17 +00:00
RegAllocSimple.cpp Finegrainify namespacification 2004-02-15 21:38:28 +00:00
TwoAddressInstructionPass.cpp This pass should not require phi elimination or live variable 2004-02-15 21:50:32 +00:00