summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetAsmInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-72/+0
| | | | llvm-svn: 79763
* Revert 78892 and 78895, these break generating working executables onDaniel Dunbar2009-08-131-2/+1
| | | | | | | | | | | | | | | | | | | | | x86_64-apple-darwin10. --- Reverse-merging r78895 into '.': U test/CodeGen/PowerPC/2008-12-12-EH.ll U lib/Target/DarwinTargetAsmInfo.cpp --- Reverse-merging r78892 into '.': U include/llvm/Target/DarwinTargetAsmInfo.h U lib/Target/X86/X86TargetAsmInfo.cpp U lib/Target/X86/X86TargetAsmInfo.h U lib/Target/ARM/ARMTargetAsmInfo.h U lib/Target/ARM/ARMTargetMachine.cpp U lib/Target/ARM/ARMTargetAsmInfo.cpp U lib/Target/PowerPC/PPCTargetAsmInfo.cpp U lib/Target/PowerPC/PPCTargetAsmInfo.h U lib/Target/PowerPC/PPCTargetMachine.cpp G lib/Target/DarwinTargetAsmInfo.cpp llvm-svn: 78919
* fix a minor fixme. When building with SL and later tools, the ".eh" symbolsChris Lattner2009-08-131-1/+2
| | | | | | don't need to be exported from the .o files. llvm-svn: 78892
* Change the asmprinter to print the comment character before theChris Lattner2009-08-111-5/+0
| | | | | | | | | | "inlineasmstart/end" strings so that the contents of the directive are separate from the comment character. This lets elf targets get #APP/#NOAPP for free even if they don't use "#" as the comment character. This also allows hoisting the darwin stuff up to the shared TAI class. llvm-svn: 78737
* factorize more darwin TAI stuff. Note that this givesChris Lattner2009-08-111-5/+0
| | | | | | darwin/arm support for .no_dead_strip llvm-svn: 78734
* factorize darwin ProtectedDirective and SetDirective.Chris Lattner2009-08-111-2/+0
| | | | llvm-svn: 78732
* all darwin targets have .space and .zerofill, pull up.Chris Lattner2009-08-111-2/+0
| | | | llvm-svn: 78730
* eliminate template from arm TAIChris Lattner2009-08-111-5/+17
| | | | llvm-svn: 78729
* move LCOMMDirective = "\t.lcomm\t" up to DarwinTAI, eliminateChris Lattner2009-08-111-0/+2
| | | | | | template in PPC backend for TAI. llvm-svn: 78727
* SjLj based exception handling unwinding support. This patch is nasty, brutishJim Grosbach2009-08-111-0/+6
| | | | | | | | | | | | | and short. Well, it's kinda short. Definitely nasty and brutish. The front-end generates the register/unregister calls into the SjLj runtime, call-site indices and landing pad dispatch. The back end fills in the LSDA with the call-site information provided by the front end. Catch blocks are not yet implemented. Built on Darwin and verified no llvm-core "make check" regressions. llvm-svn: 78625
* move dwarf debug info section selection stuff from TAI toChris Lattner2009-08-021-11/+0
| | | | | | TLOF, unifying all the dwarf targets at the same time. llvm-svn: 77889
* ARM TAI no longer needs a TM, but createTargetAsmInfo() still does.Chris Lattner2009-08-021-11/+3
| | | | llvm-svn: 77878
* Move the getInlineAsmLength virtual method from TAI to TII, whereChris Lattner2009-08-021-160/+0
| | | | | | | | | | the only real caller (GetFunctionSizeInBytes) uses it. The custom ARM implementation of this is basically reimplementing an assembler poorly for negligible gain. It should be removed IMNSHO, but I'll leave that to ARMish folks to decide. llvm-svn: 77877
* turn some templated inline functions into static functions.Chris Lattner2009-08-021-12/+11
| | | | llvm-svn: 77873
* remove TargetAsmInfo::TM, which is now dead. The basic TAI class now Chris Lattner2009-08-021-1/+1
| | | | | | no longer depends on TM! llvm-svn: 77863
* convert ctors/dtors section to be in TLOF instead ofChris Lattner2009-08-021-7/+0
| | | | | | TAI. llvm-svn: 77842
* REmove dead fields of TAI.Chris Lattner2009-08-011-1/+0
| | | | llvm-svn: 77820
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-281-2/+0
| | | | | | | | | | | | | | | | | | | | 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
* Eliminate getNamed/getUnnamedSection, adding a new and unified ↵Chris Lattner2009-07-271-1/+1
| | | | | | | | getOrCreateSection instead. llvm-svn: 77186
* Eliminate SectionFlags, just embed a SectionKind into SectionChris Lattner2009-07-271-2/+1
| | | | | | instead and drive things based off of that. llvm-svn: 77184
* untangle a TargetAsmInfo hack where ELFTargetAsmInfo would create aChris Lattner2009-07-261-0/+3
| | | | | | | | | 'unnamed' bss section, but some impls would want a named one. Since they don't have consistent behavior, just make each target do their own thing, instead of doing something "sortof common" then having targets change immutable objects later. llvm-svn: 77165
* Use common code for both ARM and Thumb-2 instruction and register info.David Goodwin2009-07-081-1/+1
| | | | llvm-svn: 75067
* Split thumb-related stuff into separate classes.Anton Korobeynikov2009-06-261-2/+2
| | | | | | Step 1: ARMInstructionInfo => {ARM,Thumb}InstructionInfo llvm-svn: 74329
* Move up dwarf writer initialization in common AsmPrinter class.Devang Patel2009-06-191-0/+2
| | | | llvm-svn: 73784
* merge the common darwin settings from the X86/PPC/ARM targetsChris Lattner2009-06-191-41/+0
| | | | | | | | into DarwinTargetAsmInfo.cpp. The remaining differences should be evaluated. It seems strange that x86/arm has .zerofill but ppc doesn't, etc. llvm-svn: 73742
* move mangler quote handling from asm printers to TargetAsmInfo.Chris Lattner2009-06-181-24/+26
| | | | llvm-svn: 73738
* simplify macro debug info directive handling.Chris Lattner2009-06-181-2/+2
| | | | llvm-svn: 73736
* On Darwin, ams printer should output a second label before a jump table so ↵Evan Cheng2009-06-181-4/+4
| | | | | | the linker knows it's a new atom. But this is only needed if the jump table is put in a separate section from the function body. llvm-svn: 73720
* fix PR3785, a valgrind error on test/CodeGen/ARM/pr3502.llChris Lattner2009-03-111-1/+5
| | | | llvm-svn: 66660
* Clean up some ARM GV asm printing out; minor fixes to match what gcc does.Evan Cheng2008-12-061-0/+1
| | | | llvm-svn: 60621
* Fix bug 3140.Rafael Espindola2008-12-031-0/+1
| | | | | | Print a single parameter .file directive if we have an ELF target. llvm-svn: 60480
* Refactor various TargetAsmInfo subclasses' TargetMachine members awayDan Gohman2008-11-031-2/+2
| | | | | | adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
* Fix weird think-o and unbreak build on all gcc-3.4.x-based platforms (e.g. ↵Anton Korobeynikov2008-10-051-9/+4
| | | | | | mingw) llvm-svn: 57106
* Reapply 56585:56589 with proper fix for some gcc versionsAnton Korobeynikov2008-09-251-22/+22
| | | | llvm-svn: 56621
* Temporarily backing out 56585:56589 to unbreak the build.Evan Cheng2008-09-251-15/+22
| | | | llvm-svn: 56607
* Get rid of virtual inheritance for ARM TAIAnton Korobeynikov2008-09-241-22/+15
| | | | llvm-svn: 56587
* Get rid of ReadOnlySection duplicateAnton Korobeynikov2008-09-241-2/+0
| | | | llvm-svn: 56582
* Get rid of now unused {Four,Eight,Sixteen}ByteConstantSectionAnton Korobeynikov2008-09-241-5/+0
| | | | llvm-svn: 56580
* Get rid of duplicate char*/Section* stuff for TLS sectionsAnton Korobeynikov2008-09-241-2/+0
| | | | llvm-svn: 56577
* Get rid of duplicate char*/Section* DataSectionAnton Korobeynikov2008-09-241-1/+0
| | | | llvm-svn: 56575
* Fix logic for not emitting no-dead-strip for someDale Johannesen2008-09-091-0/+1
| | | | | | | | | | objects in llvm.used (thanks Anton). Makes visible the magic 'l' prefix for symbols on Darwin which are to be passed through the assembler, then removed at linktime (previously all references to this had been hidden in the ObjC FE code, oh well). llvm-svn: 55973
* Switch ARM to new section handling stuffAnton Korobeynikov2008-08-071-77/+89
| | | | llvm-svn: 54458
* Add StringConstantPrefix to control what theDale Johannesen2008-06-031-0/+1
| | | | | | assembler names of string constants look like. llvm-svn: 51909
* A quick nm audit turned up several fixed tables and objects that wereDan Gohman2008-03-251-1/+2
| | | | | | | marked read-write. Use const so that they can be allocated in a read-only segment. llvm-svn: 48800
* Add \t after .set. Fix by Jay Freeman.Evan Cheng2008-03-241-1/+1
| | | | llvm-svn: 48753
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-3/+2
| | | | llvm-svn: 45418
* Support non-POSIX hosts by removing use of strncasecmp.Dale Johannesen2007-10-251-44/+53
| | | | llvm-svn: 43364
* Enable indirect encoding for the personality functionBill Wendling2007-09-111-0/+1
| | | | llvm-svn: 41873
* Define AsmTransCBE for ARM.Lauro Ramos Venancio2007-06-081-0/+25
| | | | llvm-svn: 37527
* Enable aliases on arm-linux.Lauro Ramos Venancio2007-05-141-0/+1
| | | | llvm-svn: 37042
OpenPOWER on IntegriCloud