summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
Commit message (Collapse)AuthorAgeFilesLines
* leopard and above support alignment for common symbols.Chris Lattner2008-01-021-0/+3
| | | | llvm-svn: 45493
* Add new shorter predicates for testing machine operands for various types: Chris Lattner2007-12-301-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 Lattner2007-12-301-14/+14
| | | | | | Likewise setImmedValue -> setImm llvm-svn: 45453
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Fix .eh table linkage issues on Darwin. Some EH supportDale Johannesen2007-11-201-3/+15
| | | | | | for Darwin PPC, but it's not fully working yet. llvm-svn: 44258
* Eliminate the remaining uses of getTypeSize. ThisDuncan Sands2007-11-051-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. PR1771Nick Lewycky2007-11-041-0/+2
| | | | llvm-svn: 43676
* Revert 42908 for now.Evan Cheng2007-10-141-9/+9
| | | | llvm-svn: 42960
* Change the names used for internal labels to use the currentDan Gohman2007-10-121-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 insteadDan Gohman2007-10-031-1/+1
| | | | | | of comparing begin() and end(). llvm-svn: 42585
* Honor user-defined section specification of a global, ignores whether its ↵Evan Cheng2007-09-211-2/+2
| | | | | | initializer is null. llvm-svn: 42182
* Do not override user specified section.Devang Patel2007-09-201-2/+2
| | | | llvm-svn: 42179
* Remove isReg, isImm, and isMBB, and change all their users to use Dan Gohman2007-09-141-1/+1
| | | | | | | isRegister, isImmediate, and isMachineBasicBlock, which are equivalent, and more popular. llvm-svn: 41958
* Don't ignore the return value of AsmPrinter::doInitialization andDan Gohman2007-07-251-8/+6
| | | | | | AsmPrinter::doFinalization. llvm-svn: 40487
* Fix debug info and globals filled with zeros.Nick Lewycky2007-07-251-2/+2
| | | | llvm-svn: 40483
* add support for printing offset of globalChris Lattner2007-05-031-0/+5
| | | | llvm-svn: 36667
* Fix PR1351 and CodeGen/PowerPC/2007-04-24-InlineAsm-I-Modifier.llChris Lattner2007-04-241-0/+6
| | | | llvm-svn: 36410
* Putting more constants which do not contain relocations into .literal{4|8|16}Evan Cheng2007-03-081-6/+9
| | | | llvm-svn: 35026
* For Darwin, put constant data into .const, .const_data, .literal{4|8|16}Evan Cheng2007-03-081-2/+24
| | | | | | sections. llvm-svn: 35017
* Emit low/high immediate loads properly for Linux/PPC.Nick Lewycky2007-03-031-6/+10
| | | | llvm-svn: 34871
* Add support for changes in DwarfWriter.Jim Laskey2007-02-211-0/+14
| | | | llvm-svn: 34478
* Fix CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.llChris Lattner2007-02-011-1/+4
| | | | llvm-svn: 33732
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-301-2/+2
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Darwin -static should codegen static ctors / dtors to .constructor / ↵Evan Cheng2007-01-301-1/+8
| | | | | | .destructor sections. llvm-svn: 33657
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-261-5/+5
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPCChris Lattner2007-01-251-0/+4
| | | | llvm-svn: 33494
* add support for hidden visibility to darwin/ppc and linux/ppc targetsChris Lattner2007-01-141-1/+21
| | | | llvm-svn: 33200
* Changes from Nick Lewycky with a simplified PPCTargetAsmInfo.Jim Laskey2006-12-211-1/+223
| | | | llvm-svn: 32735
* Oops.Jim Laskey2006-12-201-1/+1
| | | | llvm-svn: 32724
* Original patch was overly complicated.Jim Laskey2006-12-201-34/+11
| | | | llvm-svn: 32723
* Changes to target powerpc for non-Darwin assemblers.Jim Laskey2006-12-201-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 Lattner2006-12-191-2/+2
| | | | llvm-svn: 32703
* move ExtWeakSymbols to AsmPrinterRafael Espindola2006-12-181-15/+3
| | | | llvm-svn: 32648
* Honor cpu directive, take two.Jim Laskey2006-12-121-17/+20
| | | | llvm-svn: 32492
* Rollback changes to take a different tack.Jim Laskey2006-12-121-0/+5
| | | | llvm-svn: 32488
* Honor the command line specification for machine type.Jim Laskey2006-12-121-1/+12
| | | | llvm-svn: 32483
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-3/+2
| | | | llvm-svn: 32333
* Detemplatize the Statistic class. The only type it is instantiated withChris Lattner2006-12-061-1/+1
| | | | | | is 'unsigned'. llvm-svn: 32279
* Add weak reference directive.Evan Cheng2006-12-011-5/+7
| | | | llvm-svn: 32091
* Copy and paste error. An initialized global cannot be a weak reference.Evan Cheng2006-12-011-3/+0
| | | | llvm-svn: 32075
* ExternalWeak case in wrong location.Jim Laskey2006-12-011-1/+1
| | | | llvm-svn: 32073
* A initialized global variable cannot be extern weak. However, if a global ↵Evan Cheng2006-12-011-0/+10
| | | | | | value's initializer is itself a external weak symbol, emit the weak reference. llvm-svn: 32069
* Darwin PPC external weak linkage support.Evan Cheng2006-12-011-1/+15
| | | | llvm-svn: 32068
* Prime text sections to improve branch locality in large object files.Jim Laskey2006-11-281-0/+13
| | | | llvm-svn: 31969
* Pretty print 'rldicr r2, r2, 2, 61' as 'sldi r2, r2, 2'.Chris Lattner2006-11-181-0/+12
| | | | llvm-svn: 31838
* start using PPC predicates more consistently.Chris Lattner2006-11-171-0/+1
| | | | llvm-svn: 31833
* fix a regression that I introduced. stdu should scale the offset by 4Chris Lattner2006-11-161-1/+10
| | | | | | before printing it. llvm-svn: 31791
* Go through all kinds of trouble to mark 'blr' as having a predicate operandChris Lattner2006-11-041-0/+30
| | | | | | | | | | that takes a register and condition code. Print these pieces of BLR the right way, even though it is currently set to 'always'. Next up: get the JIT encoding right, then enhance branch folding to produce predicated blr for simple examples. llvm-svn: 31449
* For PR786:Reid Spencer2006-11-021-2/+0
| | | | | | | | | | Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting fall out by removing unused variables. Remaining warnings have to do with unused functions (I didn't want to delete code without review) and unused variables in generated code. Maintainers should clean up the remaining issues when they see them. All changes pass DejaGnu tests and Olden. llvm-svn: 31380
* 1. Clean up code due to changes in SwitchTo*Section(2)Anton Korobeynikov2006-10-311-5/+5
| | | | | | | | | | 2. Added partial debug support for mingw\cygwin targets (the same as Linux\ELF). Please note, that currently mingw\cygwin uses 'stabs' format for storing debug info by default, thus many (runtime) libraries has this information included. These formats shouldn't be mixed in one binary ('stabs' & 'DWARF'), otherwise binutils tools will be confused. llvm-svn: 31311
OpenPOWER on IntegriCloud