llvm-6502/lib/CodeGen/SelectionDAG
Chris Lattner f0144127b9 Rip all of the global variable lowering logic out of TargetAsmInfo. Since
it is highly specific to the object file that will be generated in the end,
this introduces a new TargetLoweringObjectFile interface that is implemented
for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.

Though still is still a brutal and ugly refactoring, this is a major step
towards goodness.

This patch also:
1. fixes a bunch of dangling pointer problems in the PIC16 backend.
2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
3. gets us closer to xcore having its own crazy target section flags and
   pic16 not having to shadow sections with its own objects.
4. fixes wierdness where ELF targets would set CStringSection but not
   CStringSection_.  Factor the code better.
5. fixes some bugs in string lowering on ELF targets.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77294 91177308-0d34-0410-b5e6-96231b3b80d8
2009-07-28 03:13:23 +00:00
..
CallingConvLower.cpp Get rid of the Pass+Context magic. 2009-07-22 00:24:57 +00:00
CMakeLists.txt Lexically order files in CMakeLists.txt files. 2009-07-15 21:08:16 +00:00
DAGCombiner.cpp Add support for promoting SETCC operations. 2009-07-24 18:22:59 +00:00
FastISel.cpp Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. 2009-07-24 23:12:02 +00:00
LegalizeDAG.cpp Revert the ConstantInt constructors back to their 2.5 forms where possible, thanks to contexts-on-types. More to come. 2009-07-24 23:12:02 +00:00
LegalizeFloatTypes.cpp Convert a few more things to use raw_ostream. 2009-07-25 01:43:01 +00:00
LegalizeIntegerTypes.cpp Convert a few more things to use raw_ostream. 2009-07-25 01:43:01 +00:00
LegalizeTypes.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
LegalizeTypes.h Nowadays vectors are only split if they have an even 2009-07-08 21:34:03 +00:00
LegalizeTypesGeneric.cpp Thread LLVMContext through MVT and related parts of SDISel. 2009-07-09 17:57:24 +00:00
LegalizeVectorOps.cpp Make SINT_TO_FP/UINT_TO_FP vector legalization queries query on the 2009-06-06 03:27:50 +00:00
LegalizeVectorTypes.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
Makefile remove dead makefile flags. 2009-06-24 05:29:56 +00:00
ScheduleDAGFast.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ScheduleDAGList.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ScheduleDAGRRList.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
ScheduleDAGSDNodes.cpp Move more to raw_ostream, provide support for writing MachineBasicBlock, 2009-07-24 10:36:58 +00:00
ScheduleDAGSDNodes.h Rename COPY_TO_SUBCLASS to COPY_TO_REGCLASS, and generalize 2009-04-13 21:06:25 +00:00
ScheduleDAGSDNodesEmit.cpp llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
SelectionDAG.cpp Move ConstantFP construction back to the 2.5-ish API. 2009-07-27 20:59:43 +00:00
SelectionDAGBuild.cpp Move ConstantFP construction back to the 2.5-ish API. 2009-07-27 20:59:43 +00:00
SelectionDAGBuild.h llvm_unreachable->llvm_unreachable(0), LLVM_UNREACHABLE->llvm_unreachable. 2009-07-14 16:55:14 +00:00
SelectionDAGISel.cpp More migration to raw_ostream, the water has dried up around the iostream hole. 2009-07-25 00:23:56 +00:00
SelectionDAGPrinter.cpp Switch to getNameStr(). 2009-07-24 08:24:36 +00:00
TargetLowering.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00