Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename TargetAsmInfo (and its subclasses) to MCAsmInfo. | Chris Lattner | 2009-08-22 | 1 | -42/+0 |
| | | | | llvm-svn: 79763 | ||||
* | Revert 78892 and 78895, these break generating working executables on | Daniel Dunbar | 2009-08-13 | 1 | -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" symbols | Chris Lattner | 2009-08-13 | 1 | -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+Triple | Chris Lattner | 2009-08-12 | 1 | -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 TAI | Chris Lattner | 2009-08-11 | 1 | -1/+0 |
| | | | | llvm-svn: 78729 | ||||
* | fix a bug I introduced in r78724 that caused failures in: | Chris Lattner | 2009-08-11 | 1 | -1/+1 |
| | | | | | | CodeGen/X86/dll-linkage.ll & CodeGen/X86/mingw-alloca.ll llvm-svn: 78728 | ||||
* | eliminate the X86TargetAsmInfo template. | Chris Lattner | 2009-08-11 | 1 | -16/+6 |
| | | | | llvm-svn: 78724 | ||||
* | remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfo | Chris Lattner | 2009-08-02 | 1 | -1/+0 |
| | | | | | | defaults to being ELF. llvm-svn: 77866 | ||||
* | remove TargetAsmInfo::TM, which is now dead. The basic TAI class now | Chris Lattner | 2009-08-02 | 1 | -2/+2 |
| | | | | | | no longer depends on TM! llvm-svn: 77863 | ||||
* | remove the x86/ppc impls of getEHGlobalPrefix, which is already dead. | Chris Lattner | 2009-08-02 | 1 | -1/+0 |
| | | | | llvm-svn: 77861 | ||||
* | remove the dead PreferredEHDataFormat TAI hook: its now dead | Chris Lattner | 2009-08-02 | 1 | -8/+1 |
| | | | | | | even considering #if 0 code. llvm-svn: 77856 | ||||
* | PreferredEHDataFormat is always call with data and global, but this whole | Chris Lattner | 2009-07-31 | 1 | -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. Since | Chris Lattner | 2009-07-28 | 1 | -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 own | Chris Lattner | 2009-07-27 | 1 | -8/+6 |
| | | | | | | header even though there is only one COFF target. llvm-svn: 77204 | ||||
* | Eliminate SectionFlags, just embed a SectionKind into Section | Chris Lattner | 2009-07-27 | 1 | -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 Lattner | 2009-07-26 | 1 | -1/+3 |
| | | | | | | just use a smallstring instead. llvm-svn: 77144 | ||||
* | make SectionKind be a first-class pod struct instead of just | Chris Lattner | 2009-07-25 | 1 | -1/+1 |
| | | | | | | an enum. llvm-svn: 77096 | ||||
* | Replace UniqueSectionForGlobal with getSectionPrefixForUniqueGlobal. | Chris Lattner | 2009-07-24 | 1 | -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::ExpandInlineAsm | Chris Lattner | 2009-07-20 | 1 | -10/+2 |
| | | | | llvm-svn: 76445 | ||||
* | Fix bug 3202. | Rafael Espindola | 2008-12-19 | 1 | -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 away | Dan Gohman | 2008-11-03 | 1 | -2/+0 |
| | | | | | | adding a TargetMachine member to the base TargetAsmInfo class instead. llvm-svn: 58624 | ||||
* | Reapply 56585:56589 with proper fix for some gcc versions | Anton Korobeynikov | 2008-09-25 | 1 | -10/+22 |
| | | | | llvm-svn: 56621 | ||||
* | Temporarily backing out 56585:56589 to unbreak the build. | Evan Cheng | 2008-09-25 | 1 | -22/+10 |
| | | | | llvm-svn: 56607 | ||||
* | Minor cleanup | Anton Korobeynikov | 2008-09-24 | 1 | -0/+3 |
| | | | | llvm-svn: 56588 | ||||
* | Use crazy template-based inheritance instead of virtual one. | Anton Korobeynikov | 2008-09-24 | 1 | -10/+19 |
| | | | | llvm-svn: 56585 | ||||
* | Reduce heap trashing due to std::string construction / concatenation via ↵ | Anton Korobeynikov | 2008-08-16 | 1 | -1/+1 |
| | | | | | | caching of section flags string representations llvm-svn: 54842 | ||||
* | Remove dead forward decl | Anton Korobeynikov | 2008-08-07 | 1 | -1/+0 |
| | | | | llvm-svn: 54461 | ||||
* | Use generic ELFTargetAsmInfo and DarwinTargetAsmInfo for X86 code | Anton Korobeynikov | 2008-07-19 | 1 | -20/+9 |
| | | | | llvm-svn: 53788 | ||||
* | First sketch of special section objects | Anton Korobeynikov | 2008-07-09 | 1 | -12/+11 |
| | | | | llvm-svn: 53320 | ||||
* | Add hacky way to distinguish named and named sections. This will be ↵ | Anton Korobeynikov | 2008-07-09 | 1 | -0/+2 |
| | | | | | | generalized in the future. llvm-svn: 53311 | ||||
* | Drop dead member reference | Anton Korobeynikov | 2008-07-09 | 1 | -1/+0 |
| | | | | llvm-svn: 53308 | ||||
* | Add funny darwin section selection logic | Anton Korobeynikov | 2008-07-09 | 1 | -0/+5 |
| | | | | llvm-svn: 53307 | ||||
* | Handle ELF mergeable sections | Anton Korobeynikov | 2008-07-09 | 1 | -0/+5 |
| | | | | llvm-svn: 53306 | ||||
* | Provide section selection for X86 ELF targets | Anton Korobeynikov | 2008-07-09 | 1 | -0/+2 |
| | | | | llvm-svn: 53305 | ||||
* | Split PrintSectionFlags | Anton Korobeynikov | 2008-07-09 | 1 | -1/+2 |
| | | | | llvm-svn: 53302 | ||||
* | Split UniqueSectionForGlobal() | Anton Korobeynikov | 2008-07-09 | 1 | -2/+4 |
| | | | | llvm-svn: 53301 | ||||
* | Split PreferredEHDataFormat hook | Anton Korobeynikov | 2008-07-09 | 1 | -2/+6 |
| | | | | llvm-svn: 53300 | ||||
* | Split X86TargetAsmInfo into 4 subtarget-specific classes | Anton Korobeynikov | 2008-07-09 | 1 | -1/+18 |
| | | | | llvm-svn: 53299 | ||||
* | Move flag decoding stuff into special hook | Anton Korobeynikov | 2008-07-09 | 1 | -0/+1 |
| | | | | llvm-svn: 53297 | ||||
* | Properly handle linkonce stuff | Anton Korobeynikov | 2008-07-09 | 1 | -0/+2 |
| | | | | llvm-svn: 53296 | ||||
* | Provide skeletone code for calculation of section, where global should be ↵ | Anton Korobeynikov | 2008-07-09 | 1 | -1/+2 |
| | | | | | | emitted into llvm-svn: 53295 | ||||
* | Use enumeration for preffered EH dwarf encoding reason | Anton Korobeynikov | 2008-02-29 | 1 | -1/+2 |
| | | | | llvm-svn: 47770 | ||||
* | Preparation step for some cleanup/generalization in EH information emission: | Anton Korobeynikov | 2008-02-27 | 1 | -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 Lattner | 2007-12-29 | 1 | -2/+2 |
| | | | | llvm-svn: 45418 | ||||
* | More explicit keywords. | Dan Gohman | 2007-09-25 | 1 | -1/+1 |
| | | | | llvm-svn: 42316 | ||||
* | Fix for PR1095: | Bill Wendling | 2007-01-16 | 1 | -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 the | Chris Lattner | 2006-11-29 | 1 | -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 Lattner | 2006-10-05 | 1 | -2/+0 |
| | | | | llvm-svn: 30737 | ||||
* | Break out target asm info into separate files. | Jim Laskey | 2006-09-07 | 1 | -0/+31 |
llvm-svn: 30161 |