llvm-6502/lib/Target/PIC16
Chris Lattner 968ff11967 Change SectionKind to be a property that is true of a *section*, it
should have no state that is specific to particular globals in the
section.  In this case, it means the removal of the "isWeak" and
"ExplicitSection" bits.  MCSection uses the new form of SectionKind.

To handle isWeak, I introduced a new SectionInfo class, which is
SectionKind + isWeak, and it is used by the part of the code generator
that does classification of a specific global.

The ExplicitSection disappears.  It is moved onto MCSection as a new
"IsDirective" bit.  Since the Name of a section is either a section
or directive, it makes sense to keep this bit in MCSection.  Ultimately
the creator of MCSection should canonicalize (e.g.) .text to whatever
the actual section is.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77803 91177308-0d34-0410-b5e6-96231b3b80d8
2009-08-01 21:11:14 +00:00
..
TargetInfo Factor commonality in triple match routines into helper template for registering 2009-07-26 05:03:33 +00:00
CMakeLists.txt Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
Makefile
PIC16.h define target names for std libcalls. 2009-07-31 07:35:57 +00:00
PIC16.td
PIC16AsmPrinter.cpp Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
PIC16AsmPrinter.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16DebugInfo.cpp
PIC16DebugInfo.h
PIC16InstrFormats.td
PIC16InstrInfo.cpp
PIC16InstrInfo.h
PIC16InstrInfo.td Mark attributes of return insn correctly. It was being assumed safe to delete in isSafeToDelete (a thing checked-in 76281). 2009-07-25 07:48:53 +00:00
PIC16ISelDAGToDAG.cpp
PIC16ISelDAGToDAG.h don't copy TargetLowering. 2009-07-28 03:05:40 +00:00
PIC16ISelLowering.cpp switch off of 'Section' onto MCSection. We're not properly using 2009-07-31 18:48:30 +00:00
PIC16ISelLowering.h Generate a libcall for i8 multiply. 2009-07-27 02:44:46 +00:00
PIC16MemSelOpt.cpp
PIC16RegisterInfo.cpp
PIC16RegisterInfo.h
PIC16RegisterInfo.td
PIC16Subtarget.cpp
PIC16Subtarget.h
PIC16TargetAsmInfo.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16TargetAsmInfo.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
PIC16TargetMachine.cpp Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
PIC16TargetMachine.h
PIC16TargetObjectFile.cpp Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
PIC16TargetObjectFile.h Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00