Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Smaller function alignment when optimizing for size. | Evan Cheng | 2008-03-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 48805 | |||||
* | A quick nm audit turned up several fixed tables and objects that were | Dan Gohman | 2008-03-25 | 1 | -1/+1 | |
| | | | | | | | marked read-write. Use const so that they can be allocated in a read-only segment. llvm-svn: 48800 | |||||
* | Add a quick and dirty "loop aligner pass". x86 uses it to align its loops to ↵ | Evan Cheng | 2008-02-28 | 1 | -2/+2 | |
| | | | | | | 16-byte boundaries. llvm-svn: 47703 | |||||
* | Change "Name" to "AsmName" in the target register info. Gee, a refactoring tool | Bill Wendling | 2008-02-26 | 1 | -1/+1 | |
| | | | | | | would have been a Godsend here! llvm-svn: 47625 | |||||
* | Handle \n's in value names for more targets. The asm printers | Chris Lattner | 2008-02-15 | 1 | -6/+21 | |
| | | | | | | really really really need refactoring :( llvm-svn: 47171 | |||||
* | Rewrite tblgen handling of subtarget features so | Dale Johannesen | 2008-02-14 | 1 | -0/+1 | |
| | | | | | | | | | | it follows the order of the enum, not alphabetical. The motivation is to make -mattr=+ssse3,+sse41 select SSE41 as it ought to. Added "ignored" enum values of 0 to PPC and SPU to avoid compiler warnings. llvm-svn: 47143 | |||||
* | Rename MRegisterInfo to TargetRegisterInfo. | Dan Gohman | 2008-02-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 46930 | |||||
* | Ident mnemonics appropriately | Nate Begeman | 2008-02-05 | 1 | -4/+4 | |
| | | | | llvm-svn: 46746 | |||||
* | Get rid of the annoying blank lines before labels. | Evan Cheng | 2008-02-02 | 1 | -2/+0 | |
| | | | | llvm-svn: 46667 | |||||
* | If there's no instructions being emitted on X86 for a function, emit a | Bill Wendling | 2008-01-26 | 1 | -6/+2 | |
| | | | | | | nop. Emit the nop directly for PPC. llvm-svn: 46398 | |||||
* | If there are no machine instructions emitted for a function, then insert | Bill Wendling | 2008-01-26 | 1 | -2/+15 | |
| | | | | | | | a "nop" instruction so that we don't have the function's label associated with something that it's not supposed to be associated with. llvm-svn: 46394 | |||||
* | Honor explicit section information on Darwin. | Dale Johannesen | 2008-01-23 | 1 | -2/+5 | |
| | | | | llvm-svn: 46267 | |||||
* | Revert the part of 45848 that treated weak globals | Dale Johannesen | 2008-01-17 | 1 | -1/+2 | |
| | | | | | | | | as weak globals rather than commons. While not wrong, this change tickled a latent bug in Darwin's strip, so revert it for now as a workaround. llvm-svn: 46144 | |||||
* | Weak things initialized to 0 don't go in bss on Darwin. | Dale Johannesen | 2008-01-11 | 1 | -9/+8 | |
| | | | | | | | Cosmetic changes to spacing to match gcc (some dejagnu tests actually care). llvm-svn: 45848 | |||||
* | leopard and above support alignment for common symbols. | Chris Lattner | 2008-01-02 | 1 | -0/+3 | |
| | | | | llvm-svn: 45493 | |||||
* | Add new shorter predicates for testing machine operands for various types: | Chris Lattner | 2007-12-30 | 1 | -3/+3 | |
| | | | | | | | | | | | | e.g. MO.isMBB() instead of MO.isMachineBasicBlock(). I don't plan on switching everything over, so new clients should just start using the shorter names. Remove old long accessors, switching everything over to use the short accessor: getMachineBasicBlock() -> getMBB(), getConstantPoolIndex() -> getIndex(), setMachineBasicBlock -> setMBB(), etc. llvm-svn: 45464 | |||||
* | Use MachineOperand::getImm instead of MachineOperand::getImmedValue. ↵ | Chris Lattner | 2007-12-30 | 1 | -14/+14 | |
| | | | | | | Likewise setImmedValue -> setImm llvm-svn: 45453 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Fix .eh table linkage issues on Darwin. Some EH support | Dale Johannesen | 2007-11-20 | 1 | -3/+15 | |
| | | | | | | for Darwin PPC, but it's not fully working yet. llvm-svn: 44258 | |||||
* | Eliminate the remaining uses of getTypeSize. This | Duncan Sands | 2007-11-05 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | should only effect x86 when using long double. Now 12/16 bytes are output for long double globals (the exact amount depends on the alignment). This brings globals in line with the rest of LLVM: the space reserved for an object is now always the ABI size. One tricky point is that only 10 bytes should be output for long double if it is a field in a packed struct, which is the reason for the additional argument to EmitGlobalConstant. llvm-svn: 43688 | |||||
* | Fix crash before main on ppc/linux with static constructors. PR1771 | Nick Lewycky | 2007-11-04 | 1 | -0/+2 | |
| | | | | llvm-svn: 43676 | |||||
* | Revert 42908 for now. | Evan Cheng | 2007-10-14 | 1 | -9/+9 | |
| | | | | llvm-svn: 42960 | |||||
* | Change the names used for internal labels to use the current | Dan Gohman | 2007-10-12 | 1 | -9/+9 | |
| | | | | | | | | | function symbol name instead of a codegen-assigned function number. Thanks Evan! :-) llvm-svn: 42908 | |||||
* | Use empty() member functions when that's what's being tested for instead | Dan Gohman | 2007-10-03 | 1 | -1/+1 | |
| | | | | | | of comparing begin() and end(). llvm-svn: 42585 | |||||
* | Honor user-defined section specification of a global, ignores whether its ↵ | Evan Cheng | 2007-09-21 | 1 | -2/+2 | |
| | | | | | | initializer is null. llvm-svn: 42182 | |||||
* | Do not override user specified section. | Devang Patel | 2007-09-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 42179 | |||||
* | Remove isReg, isImm, and isMBB, and change all their users to use | Dan Gohman | 2007-09-14 | 1 | -1/+1 | |
| | | | | | | | isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. llvm-svn: 41958 | |||||
* | Don't ignore the return value of AsmPrinter::doInitialization and | Dan Gohman | 2007-07-25 | 1 | -8/+6 | |
| | | | | | | AsmPrinter::doFinalization. llvm-svn: 40487 | |||||
* | Fix debug info and globals filled with zeros. | Nick Lewycky | 2007-07-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 40483 | |||||
* | add support for printing offset of global | Chris Lattner | 2007-05-03 | 1 | -0/+5 | |
| | | | | llvm-svn: 36667 | |||||
* | Fix PR1351 and CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.ll | Chris Lattner | 2007-04-24 | 1 | -0/+6 | |
| | | | | llvm-svn: 36410 | |||||
* | Putting more constants which do not contain relocations into .literal{4|8|16} | Evan Cheng | 2007-03-08 | 1 | -6/+9 | |
| | | | | llvm-svn: 35026 | |||||
* | For Darwin, put constant data into .const, .const_data, .literal{4|8|16} | Evan Cheng | 2007-03-08 | 1 | -2/+24 | |
| | | | | | | sections. llvm-svn: 35017 | |||||
* | Emit low/high immediate loads properly for Linux/PPC. | Nick Lewycky | 2007-03-03 | 1 | -6/+10 | |
| | | | | llvm-svn: 34871 | |||||
* | Add support for changes in DwarfWriter. | Jim Laskey | 2007-02-21 | 1 | -0/+14 | |
| | | | | llvm-svn: 34478 | |||||
* | Fix CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll | Chris Lattner | 2007-02-01 | 1 | -1/+4 | |
| | | | | llvm-svn: 33732 | |||||
* | For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoid | Reid Spencer | 2007-01-30 | 1 | -2/+2 | |
| | | | | | | confusion with external linkage types. llvm-svn: 33663 | |||||
* | Darwin -static should codegen static ctors / dtors to .constructor / ↵ | Evan Cheng | 2007-01-30 | 1 | -1/+8 | |
| | | | | | | .destructor sections. llvm-svn: 33657 | |||||
* | Change the MachineDebugInfo to MachineModuleInfo to better reflect usage | Jim Laskey | 2007-01-26 | 1 | -5/+5 | |
| | | | | | | for debugging and exception handling. llvm-svn: 33550 | |||||
* | Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPC | Chris Lattner | 2007-01-25 | 1 | -0/+4 | |
| | | | | llvm-svn: 33494 | |||||
* | add support for hidden visibility to darwin/ppc and linux/ppc targets | Chris Lattner | 2007-01-14 | 1 | -1/+21 | |
| | | | | llvm-svn: 33200 | |||||
* | Changes from Nick Lewycky with a simplified PPCTargetAsmInfo. | Jim Laskey | 2006-12-21 | 1 | -1/+223 | |
| | | | | llvm-svn: 32735 | |||||
* | Oops. | Jim Laskey | 2006-12-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 32724 | |||||
* | Original patch was overly complicated. | Jim Laskey | 2006-12-20 | 1 | -34/+11 | |
| | | | | llvm-svn: 32723 | |||||
* | Changes to target powerpc for non-Darwin assemblers. | Jim Laskey | 2006-12-20 | 1 | -10/+62 | |
| | | | | | | | | 1. Patches from Nick Lewycky. 2. Code to filter register names and print them as numeric values on non-Darwin systems. llvm-svn: 32721 | |||||
* | eliminate static ctors for Statistic objects. | Chris Lattner | 2006-12-19 | 1 | -2/+2 | |
| | | | | llvm-svn: 32703 | |||||
* | move ExtWeakSymbols to AsmPrinter | Rafael Espindola | 2006-12-18 | 1 | -15/+3 | |
| | | | | llvm-svn: 32648 | |||||
* | Honor cpu directive, take two. | Jim Laskey | 2006-12-12 | 1 | -17/+20 | |
| | | | | llvm-svn: 32492 | |||||
* | Rollback changes to take a different tack. | Jim Laskey | 2006-12-12 | 1 | -0/+5 | |
| | | | | llvm-svn: 32488 | |||||
* | Honor the command line specification for machine type. | Jim Laskey | 2006-12-12 | 1 | -1/+12 | |
| | | | | llvm-svn: 32483 |