summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/PowerPC/PPCJITInfo.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵Evan Cheng2008-11-081-4/+4
| | | | | | ptr. llvm-svn: 58897
* Trim #includes.Dan Gohman2008-10-161-1/+0
| | | | llvm-svn: 57649
* Switch the PPC backend and target-independent JIT to use the libsystem Chris Lattner2008-06-251-26/+3
| | | | | | | InvalidateInstructionCache method instead of calling through a hook on the JIT. This is a host feature, not a target feature. llvm-svn: 52734
* Add one more 'magic' define :)Anton Korobeynikov2008-06-171-1/+2
| | | | llvm-svn: 52420
* Unbreak non-PPC buildsAnton Korobeynikov2008-06-171-4/+5
| | | | llvm-svn: 52419
* Provide generic hooks for icache invalidation. Add PPC implementation.Anton Korobeynikov2008-06-171-10/+5
| | | | | | Patch by Gary Benson! llvm-svn: 52418
* Add support for icache invalidation on non-darwin ppc systems.Chris Lattner2008-06-161-2/+19
| | | | | | Patch by Gary Benson! llvm-svn: 52332
* Add FreeBSD/PPC support, patch by Marcel Moolenaar!Chris Lattner2008-05-241-2/+2
| | | | llvm-svn: 51538
* Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵Nicolas Geoffray2008-04-161-5/+7
| | | | | | | | the memory manager which function the stub will resolve. llvm-svn: 49814
* JITEmitter.cpp was trying to sync the icache for function stubs, butChris Lattner2008-01-251-2/+19
| | | | | | | | was actually passing a completely incorrect size to sys_icache_invalidate. Instead of having the JITEmitter do this (which doesn't have the correct size), just make the target sync its own stubs. llvm-svn: 46354
* Remove attribution from file headers, per discussion on llvmdev.Chris Lattner2007-12-291-2/+2
| | | | llvm-svn: 45418
* Implementation of compilation callback in PPC ELF32Nicolas Geoffray2007-05-291-31/+32
| | | | llvm-svn: 37340
* Improve JIT support for linux/ppc: Patch by Nicolas Geoffray!Chris Lattner2007-02-251-0/+65
| | | | llvm-svn: 34572
* Layout proper frame for ppc64.Jim Laskey2006-12-111-28/+38
| | | | llvm-svn: 32436
* Reverting until finding the cause of secondary bugs.Jim Laskey2006-12-101-33/+28
| | | | llvm-svn: 32413
* __PPC64CompilationCallback code was allowing registers to be clobbered by stub.Jim Laskey2006-12-101-28/+33
| | | | llvm-svn: 32412
* this is an initial patch to switch the ppc64 jit over to working in PIC mode,Chris Lattner2006-12-081-0/+2
| | | | | | | | 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
* fix incorrect encoding of rldicr, used by ppc64 function stubs, etc.Chris Lattner2006-12-071-1/+1
| | | | llvm-svn: 32341
* What should be the last unnecessary <iostream>s in the library.Bill Wendling2006-12-071-1/+0
| | | | llvm-svn: 32333
* wrap long linesChris Lattner2006-09-281-2/+4
| | | | llvm-svn: 30662
* First pass at supporting relocations. Relocations are written correctly toNate Begeman2006-09-081-4/+1
| | | | | | | the file now, however the relocated address is currently wrong. Fixing that will require some deep pondering. llvm-svn: 30207
* Make ppc64 jit kinda work right. About 2/3 of Olden passes with this,Nate Begeman2006-08-291-29/+127
| | | | | | there are clearly some encoding bugs lurking in there somewhere. llvm-svn: 29949
* Resolve BB references with relocation.Evan Cheng2006-07-271-23/+8
| | | | llvm-svn: 29351
* synchronizeICache removeed from TargetJITInfo.Evan Cheng2006-07-271-10/+0
| | | | llvm-svn: 29348
* - Refactor the code that resolve basic block references to a TargetJITInfoEvan Cheng2006-07-251-0/+35
| | | | | | | | | | method. - Added synchronizeICache() to TargetJITInfo. It is called after each block of code is emitted to flush the icache. This ensures correct execution on targets that have separate dcache and icache. - Added PPC / Mac OS X specific code to do icache flushing. llvm-svn: 29276
* Implement PPC64 relocations typesChris Lattner2006-07-121-1/+11
| | | | llvm-svn: 29125
* Silence -pedantic warningChris Lattner2006-06-011-1/+1
| | | | llvm-svn: 28633
* Patches to make the LLVM sources more -pedantic clean. Patch providedChris Lattner2006-05-241-1/+1
| | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447
* Fix a purely hypothetical problem (for now): emitWord emits in the hostChris Lattner2006-05-021-11/+11
| | | | | | | | 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
* Update the PPC compilation callback code to not need weird abi-violatingNate Begeman2006-05-021-49/+46
| | | | | | | prologs and epilogs, keep all the asm in one place, and remove use of compiler builtin functions. llvm-svn: 28049
* No functionality changes, but cleaner code with correct comments.Nate Begeman2006-04-251-34/+40
| | | | llvm-svn: 27966
* Change the PPC JIT to use a Static relocation modelNate Begeman2006-04-211-12/+1
| | | | llvm-svn: 27937
* More PPC32 -> PPC changes, as well as merging some classes that wereNate Begeman2005-10-161-6/+6
| | | | | | redundant after the change. llvm-svn: 23759
* Rename PPC32*.h to PPC*.hChris Lattner2005-10-141-0/+243
This completes the grand PPC file renaming llvm-svn: 23745
OpenPOWER on IntegriCloud