summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCCodeEmitter.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Change the BasicBlockAddrs map to be a vector, indexed by MBB number.Chris Lattner2006-05-031-7/+9
| | | | llvm-svn: 28069
* Several related changes:Chris Lattner2006-05-021-2/+0
| | | | | | | | | | | | | 1. Change several methods in the MachineCodeEmitter class to be pure virtual. 2. Suck emitConstantPool/initJumpTableInfo into startFunction, removing them from the MachineCodeEmitter interface, and reducing the amount of target- specific code. 3. Change the JITEmitter so that it allocates constantpools and jump tables *right* next to the functions that they belong to, instead of in a separate pool of memory. This makes all memory for a function be contiguous, and means the JITEmitter only tracks one block of memory now. llvm-svn: 28065
* Fix a purely hypothetical problem (for now): emitWord emits in the hostChris Lattner2006-05-021-5/+1
| | | | | | | | byte format. This doesn't work when using the code emitter in a cross target environment. Since the code emitter is only really used by the JIT, this isn't a current problem, but if we ever start emitting .o files, it would be. llvm-svn: 28060
* Refactor the machine code emitter interface to pull the pointers for the currentChris Lattner2006-05-021-7/+11
| | | | | | | | | | code emission location into the base class, instead of being in the derived classes. This change means that low-level methods like emitByte/emitWord now are no longer virtual (yaay for speed), and we now have a framework to support growable code segments. This implements feature request #1 of PR469. llvm-svn: 28059
* JumpTable support! What this represents is working asm and jit support forNate Begeman2006-04-221-5/+10
| | | | | | | | x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947
* Teach the JIT how to relocate LI, this fixes the JIT on Prolangs-C/TimberWolfMCChris Lattner2006-04-221-0/+1
| | | | llvm-svn: 27943
* Change the PPC JIT to use a Static relocation modelNate Begeman2006-04-211-16/+2
| | | | llvm-svn: 27937
* Move some knowledge about registers out of the code emitter into the ↵Chris Lattner2006-04-171-41/+1
| | | | | | register info. llvm-svn: 27770
* Don't emit pseudo instructions!Chris Lattner2006-03-211-0/+1
| | | | llvm-svn: 26926
* teach the JIT to encode vector registersChris Lattner2006-03-101-32/+32
| | | | llvm-svn: 26697
* - Added option -relocation-model to set relocation model. Valid values ↵Evan Cheng2006-02-221-1/+3
| | | | | | | | | | 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
* Moved PICEnabled to include/llvm/Target/TargetOptions.hEvan Cheng2006-02-181-0/+1
| | | | llvm-svn: 26272
* Functions that are lazily streamed in from the .bc file are *not* external.Chris Lattner2006-01-291-1/+2
| | | | | | | This fixes llvm-test/SingleSource/UnitTests/2006-01-29-SimpleIndirectCall.c and PR704 llvm-svn: 25793
* Add explicit #includes of <iostream>Chris Lattner2006-01-221-0/+1
| | | | llvm-svn: 25509
* Fix the PPC JIT failures last night, which were due to mishandling of ↵Chris Lattner2006-01-071-0/+1
| | | | | | linkonce globals llvm-svn: 25141
* Fix the JIT failures from last night.Chris Lattner2005-12-111-1/+2
| | | | llvm-svn: 24659
* Patch to clean up function call pseudos and support the BLA instruction,Nate Begeman2005-11-161-1/+1
| | | | | | | which branches to an absolute address. This is required to support objc direct dispatch. llvm-svn: 24370
* More PPC32 -> PPC changes, as well as merging some classes that wereNate Begeman2005-10-161-3/+3
| | | | | | redundant after the change. llvm-svn: 23759
* prune #includesChris Lattner2005-10-151-0/+1
| | | | llvm-svn: 23752
* Rename PPC32*.h to PPC*.hChris Lattner2005-10-141-0/+264
This completes the grand PPC file renaming llvm-svn: 23745
OpenPOWER on IntegriCloud