summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
...
* TargetData assumes (and some regression tests depend on it) that the size ofOwen Anderson2007-01-201-4/+11
| | | | | | an unspecified datatype in the datalayout is capped by the size of a pointer. llvm-svn: 33411
* trivial cleanupChris Lattner2007-01-201-2/+0
| | | | llvm-svn: 33410
* Teach TargetData to handle 'preferred' alignment for each target, and useChris Lattner2007-01-203-61/+190
| | | | | | these alignment amounts to align scalars when we can. Patch by Scott Michel! llvm-svn: 33409
* Round up stack to multiple of alignment only if it's a leaf function without ↵Evan Cheng2007-01-201-4/+7
| | | | | | alloca. llvm-svn: 33401
* One more try...Evan Cheng2007-01-201-2/+3
| | | | llvm-svn: 33400
* Last check-in was bogus. There is no need to align the stack if the function ↵Evan Cheng2007-01-201-3/+6
| | | | | | is a leaf function (and without alloca). llvm-svn: 33399
* Prologue and epilogue bugs for non-Darwin targets.Evan Cheng2007-01-201-22/+46
| | | | llvm-svn: 33390
* Clean up ARM PEI code.Evan Cheng2007-01-204-91/+75
| | | | llvm-svn: 33389
* Backend is reponsible for aligning the stack.Evan Cheng2007-01-201-7/+5
| | | | llvm-svn: 33388
* For PR1043:Reid Spencer2007-01-191-0/+1
| | | | | | | | | | | | | | This is the final patch for this PR. It implements some minor cleanup in the use of IntegerType, to wit: 1. Type::getIntegerTypeMask -> IntegerType::getBitMask 2. Type::Int*Ty changed to IntegerType* from Type* 3. ConstantInt::getType() returns IntegerType* now, not Type* This also fixes PR1120. Patch by Sheng Zhou. llvm-svn: 33370
* Code clean up. Use def : pat instead of defining new instructions.Evan Cheng2007-01-191-127/+87
| | | | llvm-svn: 33368
* isDarwin -> isTargetDarwinEvan Cheng2007-01-193-8/+8
| | | | llvm-svn: 33366
* Restructure code a bit to make use of continue (simplifying things). GeneralizeEvan Cheng2007-01-191-64/+87
| | | | | | the .zerofill directive emission to not be darwin-specific. llvm-svn: 33365
* Darwin doesn't support .bss, but it does have .zerofillEvan Cheng2007-01-191-5/+7
| | | | llvm-svn: 33364
* Introduce TargetType's ELF and Darwin.Evan Cheng2007-01-192-8/+17
| | | | llvm-svn: 33363
* Modify emission of jump tables on darwin to emit an extra "l" label thatEvan Cheng2007-01-191-0/+7
| | | | | | | delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. llvm-svn: 33362
* Fix section definition.Lauro Ramos Venancio2007-01-191-2/+2
| | | | llvm-svn: 33359
* ARM backend contribution from Apple.Evan Cheng2007-01-1932-1968/+8695
| | | | llvm-svn: 33353
* Needed to build on PPC Linux.Nick Lewycky2007-01-191-0/+3
| | | | llvm-svn: 33352
* - Target PIC style is no longer affected by relocation model.Evan Cheng2007-01-182-49/+49
| | | | | | | | - In x86-64 mode, symbols with external linkage (not just symbols which are defined externally) requires GOT indirect reference. - Stylistic code clean up. llvm-svn: 33345
* move contents of PR587 to here.Chris Lattner2007-01-181-0/+45
| | | | llvm-svn: 33333
* The zerofill directive needs a newline after it.Bill Wendling2007-01-181-1/+1
| | | | llvm-svn: 33327
* Minor code clean up.Evan Cheng2007-01-182-18/+21
| | | | llvm-svn: 33323
* Have the OutputBuffer take the is64Bit and isLittleEndian booleans.Bill Wendling2007-01-181-8/+8
| | | | llvm-svn: 33316
* Modify emission of jump tables on darwin to emit an extra "l" label thatChris Lattner2007-01-182-0/+14
| | | | | | | delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. llvm-svn: 33315
* add new JumpTableSpecialLabelPrefix hook to asmprinter for jumptable emission.Chris Lattner2007-01-181-0/+1
| | | | llvm-svn: 33314
* Changed to use the OutputBuffer instead of the methods in MachO and ELFBill Wendling2007-01-171-30/+51
| | | | | | writers. llvm-svn: 33311
* restructure code a bit to make use of continue (simplifying things). GeneralizeChris Lattner2007-01-171-92/+95
| | | | | | the .zerofill directive emission to not be darwin-specific llvm-svn: 33304
* darwin doesn't support .bss, but it does have .zerofillChris Lattner2007-01-171-0/+2
| | | | llvm-svn: 33303
* add new directiveChris Lattner2007-01-171-0/+1
| | | | llvm-svn: 33302
* * Fix one more bug in PIC codegen: extra load is needed for *all*Anton Korobeynikov2007-01-175-16/+31
| | | | | | | | | non-statics. * Introduce new option to output zero-initialized data to .bss section. This can reduce size of binaries. Enable it by default for ELF & Cygwin/Mingw targets. Probably, Darwin should be also added. llvm-svn: 33299
* Revert patch.Bill Wendling2007-01-1710-362/+18
| | | | llvm-svn: 33298
* Create the specified TargetObjInfo and use it.Bill Wendling2007-01-175-18/+30
| | | | llvm-svn: 33291
* Create/store/and delete the TargetObjInfo object.Bill Wendling2007-01-171-0/+2
| | | | llvm-svn: 33290
* New "TargetObjInfo" class. This holds information that the object writers willBill Wendling2007-01-174-0/+330
| | | | | | | use to write things to the file. It's abstract so each target should implement its own version for each writer type. llvm-svn: 33286
* Missed "<" :)Anton Korobeynikov2007-01-161-1/+1
| | | | llvm-svn: 33265
* Cleanup. Comments added.Anton Korobeynikov2007-01-161-56/+62
| | | | llvm-svn: 33260
* Fix SMG2000 with the CBE: opaque types need names too.Chris Lattner2007-01-161-10/+8
| | | | llvm-svn: 33258
* document some subtletyChris Lattner2007-01-161-1/+3
| | | | llvm-svn: 33257
* Emit symbol type information for ELF/COFF targetsAnton Korobeynikov2007-01-163-6/+128
| | | | llvm-svn: 33256
* Instead of yet another enum indicating the "assembly language flavor",Bill Wendling2007-01-165-18/+22
| | | | | | just use the one that's in the subtarget. llvm-svn: 33255
* Fix PR918 by only using typedefs to name struct types. This makes the laterChris Lattner2007-01-161-8/+15
| | | | | | | | | type ordering stuff work better. This fixes PR918 and CodeGen/CBackend/2007-01-15-NamedArrayType.ll Patch by Gordon Henriksen. llvm-svn: 33254
* add a note: we need whole-function selectiondags :)Chris Lattner2007-01-161-0/+28
| | | | llvm-svn: 33252
* Make inline ASM the INTEL one if it's in that emission mode.Bill Wendling2007-01-161-2/+4
| | | | llvm-svn: 33247
* Fix for PR1095:Bill Wendling2007-01-164-1/+17
| | | | | | | | 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
* add some notesChris Lattner2007-01-151-0/+68
| | | | llvm-svn: 33228
* rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger.Chris Lattner2007-01-152-8/+8
| | | | | | | | | rename Type::getIntegralTypeMask to Type::getIntegerTypeMask. This makes naming much more consistent. For example, there are now no longer any instances of IntegerType that are not considered isInteger! :) llvm-svn: 33225
* Make use of isInteger vs isIntegral more explicitChris Lattner2007-01-152-5/+5
| | | | llvm-svn: 33216
* No hidden visiblity on Mingw32/CygwinAnton Korobeynikov2007-01-141-0/+1
| | | | llvm-svn: 33202
* add support for hidden visibility to darwin/ppc and linux/ppc targetsChris Lattner2007-01-142-1/+22
| | | | llvm-svn: 33200
OpenPOWER on IntegriCloud