Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Improve JIT support for linux/ppc: Patch by Nicolas Geoffray! | Chris Lattner | 2007-02-25 | 1 | -2/+2 | |
| | | | | llvm-svn: 34572 | |||||
* | Moved the MachOWriter and ELFWriter out of the Target/* files. Placed the | Bill Wendling | 2007-02-08 | 1 | -10/+6 | |
| | | | | | | | | definition of it into the CodeGen library. This is so that a backend doesn't necessarily add in these writers if it doesn't use them (like in the lli program). llvm-svn: 34034 | |||||
* | Add a field for and construction of the PPCMachOWriterInfo object. | Bill Wendling | 2007-01-24 | 1 | -1/+1 | |
| | | | | llvm-svn: 33480 | |||||
* | Revert patch. | Bill Wendling | 2007-01-17 | 1 | -5/+0 | |
| | | | | llvm-svn: 33298 | |||||
* | Create the specified TargetObjInfo and use it. | Bill Wendling | 2007-01-17 | 1 | -0/+5 | |
| | | | | llvm-svn: 33291 | |||||
* | Disable the macho writer until it is 100% functional. Enabling it when | Chris Lattner | 2007-01-06 | 1 | -0/+3 | |
| | | | | | | broken invites bug reports. llvm-svn: 32961 | |||||
* | Changes from Nick Lewycky with a simplified PPCTargetAsmInfo. | Jim Laskey | 2006-12-21 | 1 | -2/+5 | |
| | | | | llvm-svn: 32735 | |||||
* | Another step forward in PPC64 JIT support: we now no-longer need stubs | Chris Lattner | 2006-12-11 | 1 | -1/+4 | |
| | | | | | | | | | | emitted for external globals in PPC64-JIT-PIC mode (which is good because we didn't handle them before!). This also fixes a bug handling the picbase delta, which we would get wrong in some cases. llvm-svn: 32451 | |||||
* | this is an initial patch to switch the ppc64 jit over to working in PIC mode, | Chris Lattner | 2006-12-08 | 1 | -2/+10 | |
| | | | | | | | | which allows the code to be above the 2G marker. We still need to JIT emit dyld stubs to support external, weak, common, etc globals, but that will happen tomorrow. llvm-svn: 32348 | |||||
* | make sure to safe LR8 in the right stack slot for PPC64 | Chris Lattner | 2006-11-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 31839 | |||||
* | The DarwinAsmPrinter need not check for isDarwin. createPPCAsmPrinterPass | Chris Lattner | 2006-09-20 | 1 | -1/+1 | |
| | | | | | | should create the right asmprinter subclass. llvm-svn: 30542 | |||||
* | We actually do support object file writing, so don't return true (error) | Nate Begeman | 2006-09-08 | 1 | -3/+1 | |
| | | | | llvm-svn: 30173 | |||||
* | 1. Remove condition on delete. | Jim Laskey | 2006-09-07 | 1 | -0/+5 | |
| | | | | | | | | 2. Protect and outline createTargetAsmInfo. 3. Misc. kruft. llvm-svn: 30169 | |||||
* | Separate target specific asm properties from the asm printers. | Jim Laskey | 2006-09-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 30126 | |||||
* | Completely rearchitect the interface between targets and the pass manager. | Chris Lattner | 2006-09-04 | 1 | -90/+29 | |
| | | | | | | | | | | | | | | | | | | | | | | | | This pass: 1. Splits TargetMachine into TargetMachine (generic targets, can be implemented any way, like the CBE) and LLVMTargetMachine (subclass of TM that is used by things using libcodegen and other support). 2. Instead of having each target fully populate the passmgr for file or JIT output, move all this to common code, and give targets hooks they can implement. 3. Commonalize the target population stuff between file emission and JIT emission. 4. All (native code) codegen stuff now happens in a FunctionPassManager, which paves the way for "fast -O0" stuff in the CFE later, and now LLC could lazily stream .bc files from disk to use less memory. 5. There are now many fewer #includes and the targets don't depend on the scalar xforms or libanalysis anymore (but codegen does). 6. Changing common code generator pass ordering stuff no longer requires touching all targets. 7. The JIT now has the option of "-fast" codegen or normal optimized codegen, which is now orthogonal to the fact that JIT'ing is being done. llvm-svn: 30081 | |||||
* | Simplify target construction. | Chris Lattner | 2006-09-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 30070 | |||||
* | Make ppc64 jit kinda work right. About 2/3 of Olden passes with this, | Nate Begeman | 2006-08-29 | 1 | -1/+1 | |
| | | | | | | there are clearly some encoding bugs lurking in there somewhere. llvm-svn: 29949 | |||||
* | Initial checkin of the Mach-O emitter. There's plenty of fixmes, but it | Nate Begeman | 2006-08-23 | 1 | -4/+22 | |
| | | | | | | does emit linkable .o files in very simple cases. llvm-svn: 29850 | |||||
* | Rename RelocModel::PIC to PIC_, to avoid conflicts with -DPIC. | Chris Lattner | 2006-07-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 29307 | |||||
* | Remove what little AIX support we have. It has never been tested and isn't | Chris Lattner | 2006-07-15 | 1 | -6/+1 | |
| | | | | | | complete. llvm-svn: 29156 | |||||
* | An overaggressive #ifdef allows a function to fall off the bottom of the | Chris Lattner | 2006-07-12 | 1 | -2/+1 | |
| | | | | | | | function instead of returning a value. This sometimes allowed the ppc32 jit to be used in 64-bit mode. llvm-svn: 29123 | |||||
* | Undisable ppc64 jit | Chris Lattner | 2006-07-06 | 1 | -1/+1 | |
| | | | | llvm-svn: 29011 | |||||
* | Implement the getPointerRegClass method, which is required for the ptr_rc | Chris Lattner | 2006-06-17 | 1 | -1/+1 | |
| | | | | | | magic to work. llvm-svn: 28847 | |||||
* | Remove the -darwin and -aix llc options, inferring darwinism and aixism from | Chris Lattner | 2006-06-16 | 1 | -11/+2 | |
| | | | | | | the target triple & subtarget info. woo. llvm-svn: 28835 | |||||
* | Don't pass target name into TargetData anymore, it is never used or needed. | Chris Lattner | 2006-06-16 | 1 | -2/+1 | |
| | | | | | | | Remove explicit casts to std::string now that there is no overload resolution issues in the TargetData ctors. llvm-svn: 28830 | |||||
* | First baby step towards ppc64 support. This adds a new -march=ppc64 backend | Chris Lattner | 2006-06-16 | 1 | -10/+49 | |
| | | | | | | that is currently just like ppc32 :) llvm-svn: 28813 | |||||
* | Make TargetData strings less redundant. | Owen Anderson | 2006-05-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 28423 | |||||
* | Make all of the TargetMachine subclasses use the new string TargetData methods. | Owen Anderson | 2006-05-20 | 1 | -1/+1 | |
| | | | | | | This is part of the on-going work on PR 761. llvm-svn: 28414 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 1 | -1/+2 | |
| | | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074 | |||||
* | Fix the comment | Nate Begeman | 2006-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 27938 | |||||
* | Change the PPC JIT to use a Static relocation model | Nate Begeman | 2006-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 27937 | |||||
* | Disable switch lowering for targets based on the selection dag isel, | Nate Begeman | 2006-04-08 | 1 | -6/+0 | |
| | | | | | | letting the code generator handle them directly. llvm-svn: 27539 | |||||
* | Eliminate IntrinsicLowering from TargetMachine. | Chris Lattner | 2006-03-23 | 1 | -4/+2 | |
| | | | | | | Make the CBE and V9 backends create their own, since they're the only ones that use it. llvm-svn: 26974 | |||||
* | Added a way for TargetLowering to specify what values can be used as the | Evan Cheng | 2006-03-16 | 1 | -2/+2 | |
| | | | | | | scale component of the target addressing mode. llvm-svn: 26802 | |||||
* | PPC LSR pass should use target lowering hooks. | Evan Cheng | 2006-03-13 | 1 | -2/+2 | |
| | | | | llvm-svn: 26743 | |||||
* | Added getTargetLowering() to TargetMachine. Refactored targets to support this. | Evan Cheng | 2006-03-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 26742 | |||||
* | PPC JIT relocation model should be DynamicNoPIC. | Evan Cheng | 2006-02-23 | 1 | -2/+2 | |
| | | | | llvm-svn: 26338 | |||||
* | - Added option -relocation-model to set relocation model. Valid values ↵ | Evan Cheng | 2006-02-22 | 1 | -2/+7 | |
| | | | | | | | | | | include static, pic, dynamic-no-pic, and default. PPC and x86 default is dynamic-no-pic for Darwin, pic for others. - Removed options -enable-pic and -ppc-static. llvm-svn: 26315 | |||||
* | Goodbye PPC pattern isel. You have served us well, but it is now time for | Chris Lattner | 2006-01-12 | 1 | -11/+2 | |
| | | | | | | you to ride off into the sunset. llvm-svn: 25236 | |||||
* | Tie dwarf generation to darwin assembler. | Jim Laskey | 2006-01-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 25093 | |||||
* | Add a new option to indicate we want the code generator to emit code quickly, | Chris Lattner | 2005-11-08 | 1 | -3/+4 | |
| | | | | | | | not spending tons of time microoptimizing it. This is useful for an -O0 style of build. llvm-svn: 24235 | |||||
* | Allow itineraries to be passed through the Target Machine. | Jim Laskey | 2005-11-01 | 1 | -1/+2 | |
| | | | | llvm-svn: 24139 | |||||
* | First bits of 64 bit PowerPC stuff, currently disabled. A lot of this is | Nate Begeman | 2005-10-18 | 1 | -4/+4 | |
| | | | | | | purely mechanical. llvm-svn: 23778 | |||||
* | More PPC32 -> PPC changes, as well as merging some classes that were | Nate Begeman | 2005-10-16 | 1 | -46/+34 | |
| | | | | | | redundant after the change. llvm-svn: 23759 | |||||
* | Rename PPC32*.h to PPC*.h | Chris Lattner | 2005-10-14 | 1 | -1/+1 | |
| | | | | | | This completes the grand PPC file renaming llvm-svn: 23745 | |||||
* | Merge PPCJITInfo.h and PPC32JITInfo.h. Note that the PowerPCJITInfo | Chris Lattner | 2005-10-14 | 1 | -1/+1 | |
| | | | | | | and PPC32JITInfo classes should be merged. llvm-svn: 23744 | |||||
* | Rename PowerPC*.h to PPC*.h | Chris Lattner | 2005-10-14 | 1 | -0/+184 | |
| | | | | llvm-svn: 23743 | |||||
* | Do IMPLICIT_DEFs on incoming args' hard regs, to avoid confusing the regalloc. | Brian Gaeke | 2004-07-16 | 1 | -118/+0 | |
| | | | | | | | | Support single-fp incoming args. Support single-fp outgoing args ('call' operands). Support double-fp return values. llvm-svn: 14880 | |||||
* | Revert stuff that I didn't mean to checkin | Chris Lattner | 2004-07-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 14844 | |||||
* | Patches towards fixing PR341 | Chris Lattner | 2004-07-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 14841 |