| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | ARM TAI no longer needs a TM, but createTargetAsmInfo() still does. | Chris Lattner | 2009-08-02 | 3 | -22/+11 |
| | | | | | llvm-svn: 77878 | ||||
| * | Move the getInlineAsmLength virtual method from TAI to TII, where | Chris Lattner | 2009-08-02 | 12 | -213/+225 |
| | | | | | | | | | | | 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 | ||||
| * | move a virtual method body to its .cpp file to avoid a #include | Chris Lattner | 2009-08-02 | 1 | -2/+9 |
| | | | | | | | in a header. llvm-svn: 77874 | ||||
| * | turn some templated inline functions into static functions. | Chris Lattner | 2009-08-02 | 2 | -14/+11 |
| | | | | | llvm-svn: 77873 | ||||
| * | alpha TAI doesn't need TM. | Chris Lattner | 2009-08-02 | 3 | -8/+3 |
| | | | | | llvm-svn: 77872 | ||||
| * | MSP430 TAI doesn't need TM. | Chris Lattner | 2009-08-02 | 3 | -4/+3 |
| | | | | | llvm-svn: 77871 | ||||
| * | simplify SPULinuxTargetAsmInfo, remove use of TM. | Chris Lattner | 2009-08-02 | 3 | -44/+16 |
| | | | | | llvm-svn: 77869 | ||||
| * | xcore TAI doesn't need TM. | Chris Lattner | 2009-08-02 | 3 | -4/+3 |
| | | | | | llvm-svn: 77868 | ||||
| * | PIC16 TAI doesn't need TM | Chris Lattner | 2009-08-02 | 3 | -12/+7 |
| | | | | | llvm-svn: 77867 | ||||
| * | remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfo | Chris Lattner | 2009-08-02 | 6 | -22/+1 |
| | | | | | | | 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 | ||||
| * | Add missing flush(). | Daniel Dunbar | 2009-08-02 | 1 | -0/+3 |
| | | | | | llvm-svn: 77859 | ||||
| * | 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 | ||||
| * | Fix some fixme's in #if 0'd code by making it dependent on the structural | Chris Lattner | 2009-08-02 | 1 | -29/+34 |
| | | | | | | | | behavior of the LSDA section instead of on some random target hook that needs to be kept in synch with other points of truth. llvm-svn: 77855 | ||||
| * | move getDwarfExceptionSection from TAI to TLOF and rename it to | Chris Lattner | 2009-08-02 | 5 | -10/+15 |
| | | | | | | | | | | | | 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 | 8 | -25/+66 |
| | | | | | | | 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 | 3 | -72/+64 |
| | | | | | llvm-svn: 77834 | ||||
| * | Remove "JumpTableDataSection" from TAI, instead, have AsmPrinter | Chris Lattner | 2009-08-01 | 7 | -25/+23 |
| | | | | | | | | | | | | | 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 | ||||
| * | eXtensible Systems doesn't exist any more and Reid donated this to the | Chris Lattner | 2009-08-01 | 1 | -6/+0 |
| | | | | | | | project under the normal license, yay. :) llvm-svn: 77823 | ||||
| * | loweringinfo is always non-null. | Chris Lattner | 2009-08-01 | 1 | -1/+1 |
| | | | | | llvm-svn: 77821 | ||||
| * | REmove dead fields of TAI. | Chris Lattner | 2009-08-01 | 11 | -25/+0 |
| | | | | | llvm-svn: 77820 | ||||
| * | fix a problem Eli noticed where we would compile the attached ptrtoint | Chris Lattner | 2009-08-01 | 1 | -13/+13 |
| | | | | | | | | | | | | | | | | to: .quad X even on a 32-bit system, where X is not 64-bits. There isn't much that we can do here, so we just print: .quad ((X) & 4294967295) instead. llvm-svn: 77818 | ||||
| * | 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 | 9 | -161/+187 |
| | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Print the target flags as an int instead of a char, as they aren't | Dan Gohman | 2009-08-01 | 1 | -4/+4 |
| | | | | | | | actually characters. llvm-svn: 77794 | ||||
| * | 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 | 2 | -9/+6 |
| | | | | | llvm-svn: 77787 | ||||
| * | Workaround a couple of Darwin assembler bugs. | Evan Cheng | 2009-08-01 | 3 | -31/+71 |
| | | | | | llvm-svn: 77781 | ||||
| * | Give MachineFunctionAnalysis a destructor so it can verify that | Dan Gohman | 2009-08-01 | 1 | -0/+4 |
| | | | | | | | that it released its allocated memory. llvm-svn: 77775 | ||||
| * | Delete a redundant variable. | Dan Gohman | 2009-08-01 | 1 | -1/+0 |
| | | | | | llvm-svn: 77774 | ||||

