summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT/VM.h
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup the JIT as per PR176. This renames the VM class to JIT, and merges theChris Lattner2003-12-201-94/+0
| | | | | | | 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
* Rip JIT specific stuff out of TargetMachine, as per PR176Chris Lattner2003-12-201-1/+4
| | | | llvm-svn: 10542
* Implement the ExecutionEngine::getPointerToFunctionOrStub by forwarding theChris Lattner2003-12-121-0/+6
| | | | | | request on to the TargetMachine if it supports the getJITStubForFunction method llvm-svn: 10431
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Added LLVM copyright header.John Criswell2003-10-211-0/+7
| | | | llvm-svn: 9321
* Tidy up doxygen comment for getPointerToFunction().Brian Gaeke2003-10-171-0/+10
| | | | | | Add prototypes for recompileAndRelinkFunction() and runJITOnFunction(). llvm-svn: 9200
* Enabling incremental bytecode loading in the JIT:Misha Brukman2003-10-141-2/+2
| | | | | | * The VM is now constructed with a ModuleProvider llvm-svn: 9125
* ExecutionEngine.h, GenericValue.h --> include/llvm/ExecutionEngine/Brian Gaeke2003-09-051-1/+1
| | | | | | Build ExecutionEngine as library. llvm-svn: 8370
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-3/+2
| | | | | | | | | | | | | | | 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
* ExecutionEngine.cpp: Move execution engine creation stuff into a newBrian Gaeke2003-09-031-0/+5
| | | | | | | | | | | | | | | | | | 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
* The JIT now passes the environment pointer to the main() function when itJohn Criswell2003-08-211-1/+2
| | | | | | | starts a program. This allows the GNU env program to compile and JIT under LLVM. llvm-svn: 8022
* Deconstify parameter to getPointerToFunction().Brian Gaeke2003-08-131-2/+2
| | | | | | Use a FunctionPassManager instead of a PassManager. llvm-svn: 7820
* * Removed SparcEmitter.cpp; rolled into lib/Target/Sparc/SparcV9CodeEmitter.cppMisha Brukman2003-06-021-2/+1
| | | | | | | | | * 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-25/+4
| | | | | | class is actually target independent! llvm-svn: 6517
* Allow for specification of which JIT to run on the commandline.Misha Brukman2003-05-271-1/+2
| | | | | | | | | | | | | | | | `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-0/+7
| | | | llvm-svn: 6193
* Add support for function stubs, which allow calling functions which need toChris Lattner2003-05-091-0/+8
| | | | | | have an address available, but have not yet been code generated. llvm-svn: 6059
* Improve efficiency of JIT by having it use direct function calls instead ofChris Lattner2003-05-081-0/+5
| | | | | | signals to regain control from the executing code llvm-svn: 6051
* Add support for named functionsChris Lattner2003-01-131-0/+6
| | | | llvm-svn: 5258
* Initial checkinChris Lattner2002-12-241-0/+54
llvm-svn: 5127
OpenPOWER on IntegriCloud