summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/JIT.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* #ifdef out code that only applies when the HOSTARCH = sparcChris Lattner2003-06-171-1/+4
| | | | llvm-svn: 6741
* ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT :::Misha Brukman2003-06-061-1/+14
| | | | | | | | | | | | | | | | | The JIT is designed to code-generate a function at-a-time. That means that any pass can only make local changes to its function. Period. Because the Sparc PreSelection pass claims to be a BasicBlock pass while adding globals to the Module, it cannot be run with the other passes, because by this time, the globals have been output already by the JIT, and the addresses of any globals appearing AFTER this point are not recognized. However, the PreSelection pass is a requirement for correctness in the Sparc codegen path, so it MUST be run. ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: HACK ALERT ::: llvm-svn: 6650
* * Removed SparcEmitter.cpp; rolled into lib/Target/Sparc/SparcV9CodeEmitter.cppMisha Brukman2003-06-021-6/+2
| | | | | | | | | * No more createX86Emitter() vs. createSparcEmitter() -- there can be only one * As a result, the memory management semantics must be handled according to platform -- the parameters to mmap() are particularly sensitive to the host architecture. llvm-svn: 6527
* Move target specific code to target files. The new MachineCodeEmitterChris Lattner2003-06-011-3/+2
| | | | | | class is actually target independent! llvm-svn: 6517
* Allow for specification of which JIT to run on the commandline.Misha Brukman2003-05-271-11/+48
| | | | | | | | | | | | | | | | `lli -march=x86' or `lli -march=sparc' will forcefully select the JIT even on a different platform. Running lli without the -march option will select the JIT for the platform that it's currently running on. Pro: can test Sparc JIT (debug printing mode) on X86 -- faster to compile/link LLVM source base to test changes. Con: Linking lli on x86 now pulls in all the Sparc libs -> longer link time (but X86 can bear it, right?) In the future, perhaps this should be a ./configure option to enable/disable target JITting... llvm-svn: 6360
* Add support for atexit handlers to the JIT, fixing 2003-05-14-AtExit.cChris Lattner2003-05-141-1/+5
| | | | llvm-svn: 6193
* Make sure that globals are emitted AFTER the passmanager is set up for the JIT,Chris Lattner2003-05-121-0/+1
| | | | | | because the globals may refer to functions that need to be compiled! llvm-svn: 6105
* Initial checkin of new LLI with JIT compilerChris Lattner2002-12-241-0/+53
llvm-svn: 5126
OpenPOWER on IntegriCloud