aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPCJITInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* More PPC32 -> PPC changes, as well as merging some classes that wereNate Begeman2005-10-161-6/+6
| | | | | | | redundant after the change. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23759 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename PPC32*.h to PPC*.hChris Lattner2005-10-141-1/+1
| | | | | | | This completes the grand PPC file renaming git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23745 91177308-0d34-0410-b5e6-96231b3b80d8
* Merge PPCJITInfo.h and PPC32JITInfo.h. Note that the PowerPCJITInfoChris Lattner2005-10-141-1/+1
| | | | | | | and PPC32JITInfo classes should be merged. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23744 91177308-0d34-0410-b5e6-96231b3b80d8
* update interfaceAndrew Lenharth2005-07-221-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22498 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove trailing whitespaceMisha Brukman2005-04-211-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21425 91177308-0d34-0410-b5e6-96231b3b80d8
* There is no reason to store <x,x>, just store <x>.Chris Lattner2004-11-261-5/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18263 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix the build on non ppc machinesChris Lattner2004-11-251-0/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18235 91177308-0d34-0410-b5e6-96231b3b80d8
* * Rename existing relocations to be more specificChris Lattner2004-11-241-3/+21
| | | | | | | | | | | | | | | * Add relocations for refernces to non-lazy darwin stubs and implement them correctly. With this change, we can correctly references external globals, and now all but two UnitTests and all but 1 Regression/C tests pass. More importantly, bugpoint-jit will start giving us useful testcases, instead of always telling us that references to external globals don't work :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18222 91177308-0d34-0410-b5e6-96231b3b80d8
* Write CompilationCallback as an explicit assembly stub to avoid getting GCC'sChris Lattner2004-11-241-20/+35
| | | | | | | prolog. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18220 91177308-0d34-0410-b5e6-96231b3b80d8
* When rewriting the original call instruction, make sure to rewrite it toChris Lattner2004-11-241-4/+5
| | | | | | | call the right address. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18213 91177308-0d34-0410-b5e6-96231b3b80d8
* Force the intregs ptr into R2 and the FPregs ptr into R3. This fixes a reallyChris Lattner2004-11-241-4/+8
| | | | | | | | | | | | | | | obscure problem where we were doing: lmw r3,0(r9) which is undefined on PPC. Now we do: lmw r3,0(r2) by force, not relying on the GCC register allocator for luck :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18212 91177308-0d34-0410-b5e6-96231b3b80d8
* Use the correct register class as a constaint to gcc's inline assembly, soNate Begeman2004-11-231-2/+2
| | | | | | | that we don't end up trying to use r0 as a base register. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18176 91177308-0d34-0410-b5e6-96231b3b80d8
* Save/Restore arg regs and nonvolatile regs the compiler might use duringNate Begeman2004-11-231-12/+29
| | | | | | | CompilationCallback git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18175 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of exiting CompilationCallbackChris Lattner2004-11-231-9/+24
| | | | | | | | This should save all argument registers on entry and restore on exit, despite that, simple things seem to work!!! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18161 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the first hunk of CompilationCallback. The pieces missing are theChris Lattner2004-11-231-10/+54
| | | | | | | | | | | ones noted, which require funny PPC specific inline assembly. If some angel felt the desire to help me, I think this is that last bit missing for JIT support (however, generic code emitter might night work right with the constant pool yet). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18151 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the stub needed to get into compilation callback.Chris Lattner2004-11-231-5/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18147 91177308-0d34-0410-b5e6-96231b3b80d8
* Initial implementation of the JIT interfaces. Relocation is done and stubsChris Lattner2004-11-231-0/+117
for external functions work. CompilationCallback has not been written, and stubs for internal functions are not generated yet. This means you can call printf and exit, and use global variables, but cannot call functions local to a module yet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18145 91177308-0d34-0410-b5e6-96231b3b80d8