llvm/lib/Target/XCore
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 Add TargetInfo libraries for all targets. 2009-07-15 06:35:19 +00:00
README.txt
XCore.h Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
XCore.td Move target independent td files from lib/Target/ to include/llvm/Target so they can be distributed along with the header files. 2008-11-24 07:34:46 +00:00
XCoreAsmPrinter.cpp pass the mangler down into the various SectionForGlobal methods. 2009-07-29 05:09:30 +00:00
XCoreCallingConv.td
XCoreFrameInfo.cpp
XCoreFrameInfo.h
XCoreInstrFormats.td
XCoreInstrInfo.cpp Remove unused member functions. 2009-07-24 07:43:59 +00:00
XCoreInstrInfo.h Remove unused member functions. 2009-07-24 07:43:59 +00:00
XCoreInstrInfo.td Fix pattern for LD16S_3r, add basic tests to check load / store instructions 2009-07-15 17:06:59 +00:00
XCoreISelDAGToDAG.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
XCoreISelLowering.cpp switch off of 'Section' onto MCSection. We're not properly using 2009-07-31 18:48:30 +00:00
XCoreISelLowering.h Combine an unaligned store of unaligned load into a memmove. 2009-07-16 12:50:48 +00:00
XCoreMachineFunctionInfo.h Add explicit keywords. 2009-06-05 23:05:51 +00:00
XCoreRegisterInfo.cpp More migration to raw_ostream, the water has dried up around the iostream hole. 2009-07-25 00:23:56 +00:00
XCoreRegisterInfo.h Remove refs to non-DebugLoc version of BuildMI from XCore, PIC16. 2009-02-13 02:29:03 +00:00
XCoreRegisterInfo.td
XCoreSubtarget.cpp
XCoreSubtarget.h Propagate CPU string out of SubtargetFeatures 2009-05-23 19:50:50 +00:00
XCoreTargetAsmInfo.cpp Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreTargetAsmInfo.h Rip all of the global variable lowering logic out of TargetAsmInfo. Since 2009-07-28 03:13:23 +00:00
XCoreTargetMachine.cpp Add new helpers for registering targets. 2009-07-25 06:49:55 +00:00
XCoreTargetMachine.h Lift addAssemblyEmitter into LLVMTargetMachine. 2009-07-15 23:34:19 +00:00
XCoreTargetObjectFile.cpp Change SectionKind to be a property that is true of a *section*, it 2009-08-01 21:11:14 +00:00
XCoreTargetObjectFile.h switch off of 'Section' onto MCSection. We're not properly using 2009-07-31 18:48:30 +00:00

To-do
-----

* Instruction encodings
* Tailcalls
* Investigate loop alignment
* Add builtins
* Make better use of lmul / macc