| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfo | Chris Lattner | 2009-08-02 | 5 | -21/+0 |
| | | | | | | | defaults to being ELF. llvm-svn: 77866 | ||||
| * | eliminate the TM argument to the TAI class, remove comment about supporting | Chris Lattner | 2009-08-02 | 3 | -8/+4 |
| | | | | | | | solaris :) llvm-svn: 77865 | ||||
| * | eliminate TargetMAchine argument to sparc TAI | Chris Lattner | 2009-08-02 | 3 | -7/+4 |
| | | | | | llvm-svn: 77864 | ||||
| * | remove TargetAsmInfo::TM, which is now dead. The basic TAI class now | Chris Lattner | 2009-08-02 | 24 | -61/+33 |
| | | | | | | | no longer depends on TM! llvm-svn: 77863 | ||||
| * | remove the x86/ppc impls of getEHGlobalPrefix, which is already dead. | Chris Lattner | 2009-08-02 | 4 | -17/+0 |
| | | | | | llvm-svn: 77861 | ||||
| * | clean up #includes of TargetAsmInfo.cpp | Chris Lattner | 2009-08-02 | 1 | -11/+0 |
| | | | | | llvm-svn: 77858 | ||||
| * | remove the dead PreferredEHDataFormat TAI hook: its now dead | Chris Lattner | 2009-08-02 | 3 | -84/+1 |
| | | | | | | | even considering #if 0 code. llvm-svn: 77856 | ||||
| * | move getDwarfExceptionSection from TAI to TLOF and rename it to | Chris Lattner | 2009-08-02 | 4 | -5/+11 |
| | | | | | | | | | | | | getLSDASection() to be more specific. This makes it pretty obvious that the ELF LSDA section is being specified wrong in PIC mode. We're probably getting a lot of startup-time relocations to a readonly page, which is expensive and bad. Someone who cares about ELF C++ should investigate this. llvm-svn: 77847 | ||||
| * | Fix a possible crash on delete of an uninitialized variable. | Daniel Dunbar | 2009-08-02 | 2 | -1/+7 |
| | | | | | llvm-svn: 77846 | ||||
| * | Don't call SectionForGlobal for hasAvailableExternallyLinkage() | Dan Gohman | 2009-08-02 | 1 | -1/+1 |
| | | | | | | | variables either. llvm-svn: 77844 | ||||
| * | don't call SectionForGlobal on declarations, you can't tell the section a | Chris Lattner | 2009-08-02 | 1 | -1/+3 |
| | | | | | | | declaration will end up in. llvm-svn: 77843 | ||||
| * | convert ctors/dtors section to be in TLOF instead of | Chris Lattner | 2009-08-02 | 7 | -23/+64 |
| | | | | | | | TAI. llvm-svn: 77842 | ||||
| * | don't override the default of this, the only difference is \t instead of ' '. | Chris Lattner | 2009-08-02 | 1 | -2/+0 |
| | | | | | llvm-svn: 77838 | ||||
| * | Change MCOperand to use Create style instead of Make style for constructing | Daniel Dunbar | 2009-08-02 | 2 | -10/+11 |
| | | | | | | | operands. llvm-svn: 77837 | ||||
| * | Make SectionKind::get() private. | Chris Lattner | 2009-08-02 | 4 | -22/+22 |
| | | | | | llvm-svn: 77835 | ||||
| * | (re)introduce new simpler apis for creation sectionkinds. | Chris Lattner | 2009-08-01 | 1 | -56/+50 |
| | | | | | llvm-svn: 77834 | ||||
| * | Remove "JumpTableDataSection" from TAI, instead, have AsmPrinter | Chris Lattner | 2009-08-01 | 5 | -12/+6 |
| | | | | | | | | | | | | | compute it based on what it knows. As part of this, rename getSectionForMergeableConstant to getSectionForConstant because it works for non-mergable constants also. The only functionality change from this is that Xcore will start dropping its jump tables into readonly section instead of data section in -static mode. This should be fine as the linker resolves the relocations. If this is a problem, let me know and we'll come up with another solution. llvm-svn: 77833 | ||||
| * | give alpha its readonly section. This optimizes alpha, and prevents a | Chris Lattner | 2009-08-01 | 1 | -0/+2 |
| | | | | | | | testsuite regression with a coming patch. llvm-svn: 77832 | ||||
| * | .rdata == .rodata on mips. | Chris Lattner | 2009-08-01 | 1 | -1/+0 |
| | | | | | llvm-svn: 77827 | ||||
| * | no need to override the default with the default. | Chris Lattner | 2009-08-01 | 1 | -1/+0 |
| | | | | | llvm-svn: 77826 | ||||
| * | REmove dead fields of TAI. | Chris Lattner | 2009-08-01 | 11 | -25/+0 |
| | | | | | llvm-svn: 77820 | ||||
| * | update for rename | Chris Lattner | 2009-08-01 | 1 | -3/+3 |
| | | | | | llvm-svn: 77817 | ||||
| * | fix a fixme by sinking various target-specific directives down into | Chris Lattner | 2009-08-01 | 2 | -18/+15 |
| | | | | | | | the appropriate subclasses. llvm-svn: 77815 | ||||
| * | coff also doesn't have a ReadOnlySection yet, (!) | Chris Lattner | 2009-08-01 | 1 | -3/+0 |
| | | | | | llvm-svn: 77814 | ||||
| * | coff doesn't set a .bss seciton, so this is dead. | Chris Lattner | 2009-08-01 | 1 | -3/+0 |
| | | | | | llvm-svn: 77813 | ||||
| * | it turns out that isWeak() was basically dead anyway. Kill off SectionInfo :-/ | Chris Lattner | 2009-08-01 | 3 | -50/+49 |
| | | | | | llvm-svn: 77812 | ||||
| * | don't use isWeak anymore. | Chris Lattner | 2009-08-01 | 1 | -4/+4 |
| | | | | | llvm-svn: 77810 | ||||
| * | Fix typos in comments. | Dan Gohman | 2009-08-01 | 2 | -2/+2 |
| | | | | | llvm-svn: 77806 | ||||
| * | Change SectionKind to be a property that is true of a *section*, it | Chris Lattner | 2009-08-01 | 6 | -141/+167 |
| | | | | | | | | | | | | | | | | | | | 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. llvm-svn: 77803 | ||||
| * | Minor code cleanups. | Dan Gohman | 2009-08-01 | 1 | -8/+6 |
| | | | | | llvm-svn: 77795 | ||||
| * | Add newline at end of file to remove gcc warning. | Nick Lewycky | 2009-08-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 77791 | ||||
| * | All MCSections are now required to have a SectionKind. | Chris Lattner | 2009-08-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 77787 | ||||
| * | Workaround a couple of Darwin assembler bugs. | Evan Cheng | 2009-08-01 | 3 | -31/+71 |
| | | | | | llvm-svn: 77781 | ||||
| * | Minor code simplifications. | Dan Gohman | 2009-08-01 | 2 | -8/+1 |
| | | | | | llvm-svn: 77768 | ||||
| * | Split t2MOVCCs since some assemblers do not recognize mov shifted register ↵ | Evan Cheng | 2009-08-01 | 2 | -8/+29 |
| | | | | | | | alias with predicate. llvm-svn: 77764 | ||||
| * | The X86 maximal stack alignment calculator preserves the CFG. Also, | Dan Gohman | 2009-08-01 | 1 | -2/+9 |
| | | | | | | | be more careful about the return value of runOnMachineFunction. llvm-svn: 77758 | ||||
| * | X86 floating-point passes don't modify the CFG. | Dan Gohman | 2009-08-01 | 2 | -0/+2 |
| | | | | | llvm-svn: 77757 | ||||
| * | Fix Thumb2 function call isel. Thumb1 and Thumb2 should share the same | Evan Cheng | 2009-08-01 | 5 | -72/+40 |
| | | | | | | | | | | instructions for calls since BL and BLX are always 32-bit long and BX is always 16-bit long. Also, we should be using BLX to call external function stubs. llvm-svn: 77756 | ||||
| * | Use setPreservesAll in X86CodeEmitter. | Dan Gohman | 2009-07-31 | 1 | -0/+1 |
| | | | | | llvm-svn: 77755 | ||||
| * | llvm-mc: A few more parsing / match tweaks. | Daniel Dunbar | 2009-07-31 | 1 | -11/+42 |
| | | | | | | | | | | | | | | | - Operands which are just a label should be parsed as immediates, not memory operands (from the assembler perspective). - Match a few more flavors of immediates. - Distinguish match functions for memory operands which don't take a segment register. - We match the .s for "hello world" now! llvm-svn: 77745 | ||||
| * | t2BR_JT is mov pc, it's 2 byte long, not 4. | Evan Cheng | 2009-07-31 | 1 | -9/+9 |
| | | | | | llvm-svn: 77744 | ||||
| * | Thumb2 movcc need .w suffix. | Evan Cheng | 2009-07-31 | 1 | -3/+3 |
| | | | | | llvm-svn: 77743 | ||||
| * | PreferredEHDataFormat is always call with data and global, but this whole | Chris Lattner | 2009-07-31 | 3 | -46/+18 |
| | | | | | | | | 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 | ||||
| * | llvm-mc/X86: Sketch match functions for immediates and memory operands. | Daniel Dunbar | 2009-07-31 | 1 | -37/+112 |
| | | | | | | | | Also, change scale value to always be 1 when unspecified to machine MachineInst encoding. llvm-svn: 77728 | ||||
| * | move emitUsedDirectiveFor to TargetLoweringObjectFile and rename it to | Chris Lattner | 2009-07-31 | 2 | -20/+23 |
| | | | | | | | | indicate that it is a predicate, not an emitter. This eliminates TAI dependencies on Mangler and GlobalValue. llvm-svn: 77726 | ||||
| * | remove the PPCLinuxTargetAsmInfo implementation of PreferredEHDataFormat, | Chris Lattner | 2009-07-31 | 2 | -35/+0 |
| | | | | | | | | | | | because it just calls the default impl. Remove the PPCDarwinTargetAsmInfo version of PreferredEHDataFormat because it just returns DW_EH_PE_absptr unless on 10.6. However, 10.6 doesn't support PPC, so the default impl is just fine. llvm-svn: 77724 | ||||
| * | remove a pointless override. | Chris Lattner | 2009-07-31 | 2 | -12/+0 |
| | | | | | llvm-svn: 77723 | ||||
| * | Move a few more APIs back to 2.5 forms. The only remaining ones left to ↵ | Owen Anderson | 2009-07-31 | 3 | -10/+8 |
| | | | | | | | | | change back are metadata related, which I'm waiting on to avoid conflicting with Devang. llvm-svn: 77721 | ||||
| * | Whitespace and 80-col cleanup. | Eric Christopher | 2009-07-31 | 1 | -153/+167 |
| | | | | | llvm-svn: 77718 | ||||
| * | switch off of 'Section' onto MCSection. We're not properly using | Chris Lattner | 2009-07-31 | 12 | -104/+111 |
| | | | | | | | MCSection subclasses yet, but this is a step in the right direction. llvm-svn: 77708 | ||||

