summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/XCore/XCoreTargetAsmInfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-29/+0
| | | | llvm-svn: 79763
* Change TargetAsmInfo to be constructed via TargetRegistry from a Target+TripleChris Lattner2009-08-121-1/+3
| | | | | | | | pair instead of from a virtual method on TargetMachine. This cuts the final ties of TargetAsmInfo to TargetMachine, meaning that MC can now use TargetAsmInfo. llvm-svn: 78802
* xcore TAI doesn't need TM.Chris Lattner2009-08-021-2/+1
| | | | llvm-svn: 77868
* remove TargetAsmInfo::TM, which is now dead. The basic TAI class now Chris Lattner2009-08-021-3/+3
| | | | | | no longer depends on TM! llvm-svn: 77863
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-281-5/+1
| | | | | | | | | | | | | | | | | | | | 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. llvm-svn: 77294
* remove the last bits of SectionFlagsForGlobal. There is some flag here thatChris Lattner2009-07-211-6/+0
| | | | | | | | | depends on XS1A, but I think the ReadOnlySection is already set up for this and there is no testcase that this breaks. If this is really needed, we can add the appropriate parameterization to TargetAsmInfo in the future to support this. llvm-svn: 76667
* remove the Xcore implementation of SelectSectionForGlobal. While you haveChris Lattner2009-07-211-1/+0
| | | | | | to twist your brain to see it, I believe it is the same as ELFTargetAsmInfo::SelectSectionForGlobal. llvm-svn: 76664
* Remove the XCore custom implementation of MergeableConstSection, relying onChris Lattner2009-07-211-1/+0
| | | | | | | | the generic ELF version instead. This will result in its mergable constant sections getting named ".rodata.cst4" instead of ".cp.const4", but the linker looks at the section flags, not the name of the section AFAICT. llvm-svn: 76659
* Remove some overridden functions in XCoreTargetAsmInfo that areChris Lattner2009-07-211-6/+1
| | | | | | | implemented exactly the same way as its ELFTargetAsmInfo subclass has them. llvm-svn: 76653
* Add XCore backend.Richard Osborne2008-11-071-0/+45
llvm-svn: 58838
OpenPOWER on IntegriCloud