summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC
Commit message (Collapse)AuthorAgeFilesLines
* Support for non-landing pad exception handling.Jim Laskey2007-02-012-0/+7
| | | | llvm-svn: 33755
* Fix CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.llChris Lattner2007-02-012-1/+7
| | | | llvm-svn: 33732
* A relatively simple PPC optimization.Chris Lattner2007-01-311-0/+27
| | | | llvm-svn: 33709
* For PR1136: Rename GlobalVariable::isExternal as isDeclaration to avoidReid Spencer2007-01-302-3/+3
| | | | | | confusion with external linkage types. llvm-svn: 33663
* Darwin -static should codegen static ctors / dtors to .constructor / ↵Evan Cheng2007-01-302-3/+15
| | | | | | .destructor sections. llvm-svn: 33657
* Only gather frame info if debug or eh.Jim Laskey2007-01-291-2/+2
| | | | llvm-svn: 33639
* Finish off bug 680, allowing targets to custom lower frame and returnNate Begeman2007-01-291-0/+4
| | | | | | address nodes. llvm-svn: 33636
* We'd still like to register allocate r2 on darwin before the callee-saveNate Begeman2007-01-291-6/+6
| | | | | | regs. llvm-svn: 33635
* Update some of the llvm in the readmeNate Begeman2007-01-291-25/+23
| | | | llvm-svn: 33630
* Landing pad-less eh for PPC.Jim Laskey2007-01-292-4/+5
| | | | llvm-svn: 33622
* Propagate changes from my local tree. This patch includes:Anton Korobeynikov2007-01-281-3/+3
| | | | | | | | | | | | | | | | | | | | | | 1. New parameter attribute called 'inreg'. It has meaning "place this parameter in registers, if possible". This is some generalization of gcc's regparm(n) attribute. It's currently used only in X86-32 backend. 2. Completely rewritten CC handling/lowering code inside X86 backend. Merged stdcall + c CCs and fastcall + fast CC. 3. Dropped CSRET CC. We cannot add struct return variant for each target-specific CC (e.g. stdcall + csretcc and so on). 4. Instead of CSRET CC introduced 'sret' parameter attribute. Setting in on first attribute has meaning 'This is hidden pointer to structure return. Handle it gently'. 5. Fixed small bug in llvm-extract + add new feature to FunctionExtraction pass, which relinks all internal-linkaged callees from deleted function to external linkage. This will allow further linking everything together. NOTEs: 1. Documentation will be updated soon. 2. llvm-upgrade should be improved to translate csret => sret. Before this, there will be some unexpected test fails. llvm-svn: 33597
* Fix a spelling errorNate Begeman2007-01-261-1/+1
| | | | llvm-svn: 33556
* Handle multiple functions, properly mangle symbols, and fix support forNate Begeman2007-01-261-12/+23
| | | | | | scattered relocations. llvm-svn: 33555
* Change the MachineDebugInfo to MachineModuleInfo to better reflect usageJim Laskey2007-01-262-13/+13
| | | | | | for debugging and exception handling. llvm-svn: 33550
* Make LABEL a builtin opcode.Jim Laskey2007-01-265-14/+6
| | | | llvm-svn: 33537
* Fix comment.Evan Cheng2007-01-251-2/+1
| | | | llvm-svn: 33508
* - Tell PEI that PPC will handle stack frame rounding itself.Evan Cheng2007-01-252-7/+7
| | | | | | | - Do not round up to max. alignment of stack object if it is > stack alignment. It will have to be handled with dynamic aligning code. llvm-svn: 33505
* Fix test/CFrontend/2007-01-24-InlineAsmCModifier.c on PPCChris Lattner2007-01-251-0/+4
| | | | llvm-svn: 33494
* Repair debug frames as a prelude to eh_frames. Switched to using MachineMovesJim Laskey2007-01-242-16/+44
| | | | | | by value so that clean up is less confusing (these vectors tend to be small.) llvm-svn: 33488
* Make ivars private and use getters. Have the MachOWriter return "Mach-OBill Wendling2007-01-241-5/+2
| | | | | | Writer" for the pass name. llvm-svn: 33483
* Add a field for and construction of the PPCMachOWriterInfo object.Bill Wendling2007-01-242-2/+7
| | | | llvm-svn: 33480
* Move the getJTRelocation method out of here.Bill Wendling2007-01-241-26/+7
| | | | llvm-svn: 33479
* New "TargetMachOWriterInfo" class. It holds target-specific informationBill Wendling2007-01-242-0/+57
| | | | | | that the MachOWriter needs in order to do its writing stuff 'n things. llvm-svn: 33475
* hasFP() is now a virtual method of MRegisterInfo.Evan Cheng2007-01-232-1/+3
| | | | llvm-svn: 33455
* Double and long preferred alignment set to 8 bytes.Evan Cheng2007-01-221-1/+2
| | | | llvm-svn: 33447
* Needed to build on PPC Linux.Nick Lewycky2007-01-191-0/+3
| | | | llvm-svn: 33352
* move contents of PR587 to here.Chris Lattner2007-01-181-0/+45
| | | | llvm-svn: 33333
* 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-181-0/+7
| | | | | | | delimits the boundaries of jump tables. This lets the linker's dead code stripping optimization do a better job. llvm-svn: 33315
* Changed to use the OutputBuffer instead of the methods in MachO and ELFBill Wendling2007-01-171-30/+51
| | | | | | writers. llvm-svn: 33311
* Revert patch.Bill Wendling2007-01-175-191/+18
| | | | llvm-svn: 33298
* Create the specified TargetObjInfo and use it.Bill Wendling2007-01-173-18/+24
| | | | llvm-svn: 33291
* New "TargetObjInfo" class. This holds information that the object writers willBill Wendling2007-01-172-0/+167
| | | | | | | 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
* Instead of yet another enum indicating the "assembly language flavor",Bill Wendling2007-01-163-9/+16
| | | | | | just use the one that's in the subtarget. llvm-svn: 33255
* Fix for PR1095:Bill Wendling2007-01-161-0/+8
| | | | | | | | 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 support for hidden visibility to darwin/ppc and linux/ppc targetsChris Lattner2007-01-142-1/+22
| | | | llvm-svn: 33200
* Disable the macho writer until it is 100% functional. Enabling it whenChris Lattner2007-01-061-0/+3
| | | | | | broken invites bug reports. llvm-svn: 32961
* setSetCCIsExpensive is gone.Evan Cheng2007-01-051-2/+0
| | | | llvm-svn: 32941
* Fix naming inconsistency.Evan Cheng2007-01-022-12/+12
| | | | llvm-svn: 32823
* Changes from Nick Lewycky with a simplified PPCTargetAsmInfo.Jim Laskey2006-12-215-18/+274
| | | | 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-193-7/+5
| | | | llvm-svn: 32703
* move ExtWeakSymbols to AsmPrinterRafael Espindola2006-12-181-15/+3
| | | | llvm-svn: 32648
* Apply B. Scott Michel's patch for PR1054, thanks!Chris Lattner2006-12-161-3/+3
| | | | llvm-svn: 32630
* Patterns no longer needed due to fix in the DAG combiner.Jim Laskey2006-12-151-4/+0
| | | | llvm-svn: 32612
* Not all test cases are created equal. This fix is needed.Jim Laskey2006-12-151-0/+4
| | | | llvm-svn: 32605
* Not needed. Misinterpreted error message from other bug (Missing load/storeJim Laskey2006-12-151-4/+0
| | | | | | relocations.) llvm-svn: 32604
* Missing load/store relocations.Jim Laskey2006-12-151-1/+7
| | | | llvm-svn: 32601
OpenPOWER on IntegriCloud