aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix indentation.Dan Gohman2009-08-021-301/+301
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77895 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a comment.Dan Gohman2009-08-021-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77894 91177308-0d34-0410-b5e6-96231b3b80d8
* Resync lea32addr and lea64addr.Dan Gohman2009-08-022-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77893 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove duplicated colons and spaces.Benjamin Kramer2009-08-023-23/+23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77892 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle <undef> flag in machine code verifier.Jakob Stoklund Olesen2009-08-021-1/+2
| | | | | | Use of an <undef> register is treated like an <imp-use>. It is not an error to use a dead <undef> register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77890 91177308-0d34-0410-b5e6-96231b3b80d8
* move dwarf debug info section selection stuff from TAI toChris Lattner2009-08-0212-208/+174
| | | | | | | TLOF, unifying all the dwarf targets at the same time. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77889 91177308-0d34-0410-b5e6-96231b3b80d8
* convert EHFrameSection to be managed by TLOF instead of TAI.Chris Lattner2009-08-026-10/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77888 91177308-0d34-0410-b5e6-96231b3b80d8
* I need Triple information, 10.6 shouldn't set this, it bloats Chris Lattner2009-08-021-1/+2
| | | | | | | object files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77887 91177308-0d34-0410-b5e6-96231b3b80d8
* ARM TAI no longer needs a TM, but createTargetAsmInfo() still does.Chris Lattner2009-08-023-22/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77878 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the getInlineAsmLength virtual method from TAI to TII, whereChris Lattner2009-08-0214-218/+236
| | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77877 91177308-0d34-0410-b5e6-96231b3b80d8
* move a virtual method body to its .cpp file to avoid a #include Chris Lattner2009-08-022-7/+11
| | | | | | | in a header. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77874 91177308-0d34-0410-b5e6-96231b3b80d8
* turn some templated inline functions into static functions.Chris Lattner2009-08-022-14/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77873 91177308-0d34-0410-b5e6-96231b3b80d8
* alpha TAI doesn't need TM.Chris Lattner2009-08-023-8/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77872 91177308-0d34-0410-b5e6-96231b3b80d8
* MSP430 TAI doesn't need TM.Chris Lattner2009-08-023-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77871 91177308-0d34-0410-b5e6-96231b3b80d8
* simplify SPULinuxTargetAsmInfo, remove use of TM.Chris Lattner2009-08-023-44/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77869 91177308-0d34-0410-b5e6-96231b3b80d8
* xcore TAI doesn't need TM.Chris Lattner2009-08-023-4/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77868 91177308-0d34-0410-b5e6-96231b3b80d8
* PIC16 TAI doesn't need TMChris Lattner2009-08-023-12/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77867 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the dead ELFTargetAsmInfo.h/cpp file. TargetAsmInfoChris Lattner2009-08-027-48/+1
| | | | | | | | defaults to being ELF. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77866 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate the TM argument to the TAI class, remove comment about supportingChris Lattner2009-08-023-8/+4
| | | | | | | solaris :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77865 91177308-0d34-0410-b5e6-96231b3b80d8
* eliminate TargetMAchine argument to sparc TAIChris Lattner2009-08-023-7/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77864 91177308-0d34-0410-b5e6-96231b3b80d8
* remove TargetAsmInfo::TM, which is now dead. The basic TAI class now Chris Lattner2009-08-0228-71/+37
| | | | | | | no longer depends on TM! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77863 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the x86/ppc impls of getEHGlobalPrefix, which is already dead.Chris Lattner2009-08-024-17/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77861 91177308-0d34-0410-b5e6-96231b3b80d8
* Add missing flush().Daniel Dunbar2009-08-021-0/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77859 91177308-0d34-0410-b5e6-96231b3b80d8
* clean up #includes of TargetAsmInfo.cppChris Lattner2009-08-021-11/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77858 91177308-0d34-0410-b5e6-96231b3b80d8
* move an enum from TM -> TargetOptions. This makes TargetOptions.hChris Lattner2009-08-022-9/+9
| | | | | | | be self contained, and it isn't used from TM.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77857 91177308-0d34-0410-b5e6-96231b3b80d8
* remove the dead PreferredEHDataFormat TAI hook: its now deadChris Lattner2009-08-025-91/+3
| | | | | | | even considering #if 0 code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77856 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix some fixme's in #if 0'd code by making it dependent on the structuralChris Lattner2009-08-021-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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77855 91177308-0d34-0410-b5e6-96231b3b80d8
* Test both darwin and linux.Evan Cheng2009-08-021-5/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77852 91177308-0d34-0410-b5e6-96231b3b80d8
* move getDwarfExceptionSection from TAI to TLOF and rename it to Chris Lattner2009-08-027-19/+21
| | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77847 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a possible crash on delete of an uninitialized variable.Daniel Dunbar2009-08-022-1/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77846 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix an ENABLE_EXPENSIVE_CHECKS error.Daniel Dunbar2009-08-021-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77845 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't call SectionForGlobal for hasAvailableExternallyLinkage()Dan Gohman2009-08-021-1/+1
| | | | | | | variables either. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77844 91177308-0d34-0410-b5e6-96231b3b80d8
* don't call SectionForGlobal on declarations, you can't tell the section aChris Lattner2009-08-021-1/+3
| | | | | | | declaration will end up in. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77843 91177308-0d34-0410-b5e6-96231b3b80d8
* convert ctors/dtors section to be in TLOF instead ofChris Lattner2009-08-0210-42/+78
| | | | | | | TAI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77842 91177308-0d34-0410-b5e6-96231b3b80d8
* switch to filecheck formatChris Lattner2009-08-021-12/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77841 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak svn:ignoreDaniel Dunbar2009-08-020-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77840 91177308-0d34-0410-b5e6-96231b3b80d8
* Tweak svn:ignoreDaniel Dunbar2009-08-020-0/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77839 91177308-0d34-0410-b5e6-96231b3b80d8
* don't override the default of this, the only difference is \t instead of ' '.Chris Lattner2009-08-021-2/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77838 91177308-0d34-0410-b5e6-96231b3b80d8
* Change MCOperand to use Create style instead of Make style for constructingDaniel Dunbar2009-08-024-24/+33
| | | | | | | operands. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77837 91177308-0d34-0410-b5e6-96231b3b80d8
* make SectionKind::Kind completely private now.Chris Lattner2009-08-021-5/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77836 91177308-0d34-0410-b5e6-96231b3b80d8
* Make SectionKind::get() private.Chris Lattner2009-08-026-24/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77835 91177308-0d34-0410-b5e6-96231b3b80d8
* (re)introduce new simpler apis for creation sectionkinds.Chris Lattner2009-08-014-73/+83
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77834 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove "JumpTableDataSection" from TAI, instead, have AsmPrinterChris Lattner2009-08-019-46/+33
| | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77833 91177308-0d34-0410-b5e6-96231b3b80d8
* give alpha its readonly section. This optimizes alpha, and prevents aChris Lattner2009-08-011-0/+2
| | | | | | | testsuite regression with a coming patch. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77832 91177308-0d34-0410-b5e6-96231b3b80d8
* .rdata == .rodata on mips.Chris Lattner2009-08-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77827 91177308-0d34-0410-b5e6-96231b3b80d8
* no need to override the default with the default.Chris Lattner2009-08-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77826 91177308-0d34-0410-b5e6-96231b3b80d8
* one fewer license, yay. :)Chris Lattner2009-08-011-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77824 91177308-0d34-0410-b5e6-96231b3b80d8
* eXtensible Systems doesn't exist any more and Reid donated this to theChris Lattner2009-08-011-6/+0
| | | | | | | project under the normal license, yay. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77823 91177308-0d34-0410-b5e6-96231b3b80d8
* loweringinfo is always non-null.Chris Lattner2009-08-011-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77821 91177308-0d34-0410-b5e6-96231b3b80d8
* REmove dead fields of TAI.Chris Lattner2009-08-0112-51/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77820 91177308-0d34-0410-b5e6-96231b3b80d8