| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
VM.cpp and JIT.cpp files into JIT.cpp. This also splits some nasty code out
into TargetSelect.cpp so that people hopefully won't notice it. :)
llvm-svn: 10544
|
|
|
|
| |
llvm-svn: 10542
|
|
|
|
|
|
| |
request on to the TargetMachine if it supports the getJITStubForFunction method
llvm-svn: 10431
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
| |
llvm-svn: 9321
|
|
|
|
|
|
| |
Add prototypes for recompileAndRelinkFunction() and runJITOnFunction().
llvm-svn: 9200
|
|
|
|
|
|
| |
* The VM is now constructed with a ModuleProvider
llvm-svn: 9125
|
|
|
|
|
|
| |
Build ExecutionEngine as library.
llvm-svn: 8370
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Switch Interpreter and JIT's "run" methods to take a Function and a vector of
GenericValues.
Move (almost all of) the stuff that constructs a canonical call to main()
into lli (new methods "callAsMain", "makeStringVector").
Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(),
isStopped(), and many dead decls from interpreter.
Add linux strdup() support to interpreter.
Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look
more alike, in preparation for refactoring.
atexit() is spelled "atexit", not "at_exit".
llvm-svn: 8366
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
static method here.
Remove some extra blank lines.
ExecutionEngine.h: Add its prototype.
lli.cpp: Call it.
Make creation method for each type of EE into a static method of its
own subclass.
Interpreter/Interpreter.cpp: ExecutionEngine::createInterpreter -->
Interpreter::create
Interpreter/Interpreter.h: Likewise.
JIT/JIT.cpp: ExecutionEngine::createJIT --> VM::create
JIT/VM.h: Likewise.
llvm-svn: 8343
|
|
|
|
|
|
|
| |
starts a program. This allows the GNU env program to compile and JIT under
LLVM.
llvm-svn: 8022
|
|
|
|
|
|
| |
Use a FunctionPassManager instead of a PassManager.
llvm-svn: 7820
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
class is actually target independent!
llvm-svn: 6517
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
`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
|
|
|
|
| |
llvm-svn: 6193
|
|
|
|
|
|
| |
have an address available, but have not yet been code generated.
llvm-svn: 6059
|
|
|
|
|
|
| |
signals to regain control from the executing code
llvm-svn: 6051
|
|
|
|
| |
llvm-svn: 5258
|
|
llvm-svn: 5127
|