summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/X86/X86TargetAsmInfo.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename TargetAsmInfo (and its subclasses) to MCAsmInfo.Chris Lattner2009-08-221-42/+0
| | | | llvm-svn: 79763
* Revert 78892 and 78895, these break generating working executables onDaniel Dunbar2009-08-131-0/+2
| | | | | | | | | | | | | | | | | | | | | 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-2/+0
| | | | | | don't need to be exported from the .o files. llvm-svn: 78892
* Change TargetAsmInfo to be constructed via TargetRegistry from a Target+TripleChris Lattner2009-08-121-5/+5
| | | | | | | | 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
* eliminate template from arm TAIChris Lattner2009-08-111-1/+0
| | | | llvm-svn: 78729
* fix a bug I introduced in r78724 that caused failures in:Chris Lattner2009-08-111-1/+1
| | | | | | CodeGen/X86/dll-linkage.ll & CodeGen/X86/mingw-alloca.ll llvm-svn: 78728
* eliminate the X86TargetAsmInfo template.Chris Lattner2009-08-111-16/+6
| | | | llvm-svn: 78724
* remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfoChris Lattner2009-08-021-1/+0
| | | | | | defaults to being ELF. llvm-svn: 77866
* remove TargetAsmInfo::TM, which is now dead. The basic TAI class now Chris Lattner2009-08-021-2/+2
| | | | | | no longer depends on TM! llvm-svn: 77863
* remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.Chris Lattner2009-08-021-1/+0
| | | | llvm-svn: 77861
* remove the dead PreferredEHDataFormat TAI hook: its now deadChris Lattner2009-08-021-8/+1
| | | | | | even considering #if 0 code. llvm-svn: 77856
* PreferredEHDataFormat is always call with data and global, but this wholeChris Lattner2009-07-311-6/+3
| | | | | | | thing is #if0'd out anyway. Just simplify the code by reducing the interface. Not deleting this is essential for Bill's continuing happiness. llvm-svn: 77736
* Rip all of the global variable lowering logic out of TargetAsmInfo. SinceChris Lattner2009-07-281-3/+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
* make COFF work like ELF and macho, by splitting out into its ownChris Lattner2009-07-271-8/+6
| | | | | | header even though there is only one COFF target. llvm-svn: 77204
* Eliminate SectionFlags, just embed a SectionKind into SectionChris Lattner2009-07-271-2/+2
| | | | | | instead and drive things based off of that. llvm-svn: 77184
* remove a densemap from TargetAsmInfo that was uniquing the targetflags strings,Chris Lattner2009-07-261-1/+3
| | | | | | just use a smallstring instead. llvm-svn: 77144
* make SectionKind be a first-class pod struct instead of justChris Lattner2009-07-251-1/+1
| | | | | | an enum. llvm-svn: 77096
* Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal.Chris Lattner2009-07-241-2/+2
| | | | | | | | The later doesn't depend on any crazy LLVM IR stuff, and this pulls the concatenation of prefix with GV name (the root problem behind PR4584) out one level. llvm-svn: 76948
* remove TargetAsmInfo::ExpandInlineAsmChris Lattner2009-07-201-10/+2
| | | | llvm-svn: 76445
* Fix bug 3202.Rafael Espindola2008-12-191-1/+1
| | | | | | | The EH_frame and .eh symbols are now private, except for darwin9 and earlier. The patch also fixes the definition of PrivateGlobalPrefix on pcc linux. llvm-svn: 61242
* Refactor various TargetAsmInfo subclasses' TargetMachine members awayDan Gohman2008-11-031-2/+0
| | | | | | adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624
* Reapply 56585:56589 with proper fix for some gcc versionsAnton Korobeynikov2008-09-251-10/+22
| | | | llvm-svn: 56621
* Temporarily backing out 56585:56589 to unbreak the build.Evan Cheng2008-09-251-22/+10
| | | | llvm-svn: 56607
* Minor cleanupAnton Korobeynikov2008-09-241-0/+3
| | | | llvm-svn: 56588
* Use crazy template-based inheritance instead of virtual one.Anton Korobeynikov2008-09-241-10/+19
| | | | llvm-svn: 56585
* Reduce heap trashing due to std::string construction / concatenation via ↵Anton Korobeynikov2008-08-161-1/+1
| | | | | | caching of section flags string representations llvm-svn: 54842
* Remove dead forward declAnton Korobeynikov2008-08-071-1/+0
| | | | llvm-svn: 54461
* Use generic ELFTargetAsmInfo and DarwinTargetAsmInfo for X86 codeAnton Korobeynikov2008-07-191-20/+9
| | | | llvm-svn: 53788
* First sketch of special section objectsAnton Korobeynikov2008-07-091-12/+11
| | | | llvm-svn: 53320
* Add hacky way to distinguish named and named sections. This will be ↵Anton Korobeynikov2008-07-091-0/+2
| | | | | | generalized in the future. llvm-svn: 53311
* Drop dead member referenceAnton Korobeynikov2008-07-091-1/+0
| | | | llvm-svn: 53308
* Add funny darwin section selection logicAnton Korobeynikov2008-07-091-0/+5
| | | | llvm-svn: 53307
* Handle ELF mergeable sectionsAnton Korobeynikov2008-07-091-0/+5
| | | | llvm-svn: 53306
* Provide section selection for X86 ELF targetsAnton Korobeynikov2008-07-091-0/+2
| | | | llvm-svn: 53305
* Split PrintSectionFlagsAnton Korobeynikov2008-07-091-1/+2
| | | | llvm-svn: 53302
* Split UniqueSectionForGlobal()Anton Korobeynikov2008-07-091-2/+4
| | | | llvm-svn: 53301
* Split PreferredEHDataFormat hookAnton Korobeynikov2008-07-091-2/+6
| | | | llvm-svn: 53300
* Split X86TargetAsmInfo into 4 subtarget-specific classesAnton Korobeynikov2008-07-091-1/+18
| | | | llvm-svn: 53299
* Move flag decoding stuff into special hookAnton Korobeynikov2008-07-091-0/+1
| | | | llvm-svn: 53297
* Properly handle linkonce stuffAnton Korobeynikov2008-07-091-0/+2
| | | | llvm-svn: 53296
* Provide skeletone code for calculation of section, where global should be ↵Anton Korobeynikov2008-07-091-1/+2
| | | | | | emitted into llvm-svn: 53295
* Use enumeration for preffered EH dwarf encoding reasonAnton Korobeynikov2008-02-291-1/+2
| | | | llvm-svn: 47770
* Preparation step for some cleanup/generalization in EH information emission:Anton Korobeynikov2008-02-271-0/+3
| | | | | | provide TAI hook for selection of EH data emission format. Currently unused. llvm-svn: 47699
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* More explicit keywords.Dan Gohman2007-09-251-1/+1
| | | | llvm-svn: 42316
* Fix for PR1095:Bill Wendling2007-01-161-1/+1
| | | | | | | | LLVM would miscompile ASM dialects when compiling for PPC. Added dialects for the X86 and PPC backends. It defaults to "0", the first variant of a compound inline asm expression. llvm-svn: 33246
* Trivially lower 'bswap $0' into llvm.bswap. This fixes hexxagon with theChris Lattner2006-11-291-0/+4
| | | | | | JIT on darwin/x86, which has htonl implemented as inline asm. llvm-svn: 31999
* Implement getSectionForFunction, use it when printing function body.Chris Lattner2006-10-051-2/+0
| | | | llvm-svn: 30737
* Break out target asm info into separate files.Jim Laskey2006-09-071-0/+31
llvm-svn: 30161
OpenPOWER on IntegriCloud