| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
| |
already has been. This may be a small speedup.
llvm-svn: 17863
|
|
|
|
| |
llvm-svn: 17601
|
|
|
|
| |
llvm-svn: 17174
|
|
|
|
|
|
|
|
| |
Move include/Config and include/Support into include/llvm/Config,
include/llvm/ADT and include/llvm/Support. From here on out, all LLVM
public header files must be under include/llvm/.
llvm-svn: 16137
|
|
|
|
| |
llvm-svn: 15802
|
|
|
|
| |
llvm-svn: 15799
|
|
|
|
| |
llvm-svn: 15798
|
|
|
|
| |
llvm-svn: 15797
|
|
|
|
| |
llvm-svn: 15796
|
|
|
|
| |
llvm-svn: 15794
|
|
|
|
| |
llvm-svn: 15793
|
|
|
|
|
|
| |
is read, not parsed.
llvm-svn: 14677
|
|
|
|
|
|
| |
Improve exeception handling around bcreader invocations.
llvm-svn: 14674
|
|
|
|
| |
llvm-svn: 14622
|
|
|
|
|
|
| |
This should unbreak the Sparc JIT again.
llvm-svn: 12949
|
|
|
|
| |
llvm-svn: 11041
|
|
|
|
|
|
|
| |
rename run to runFunction
Genericize the runFunction code a little bit, though it still stinks
llvm-svn: 10610
|
|
|
|
| |
llvm-svn: 10558
|
|
|
|
| |
llvm-svn: 10549
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 10318
|
|
|
|
| |
llvm-svn: 9903
|
|
|
|
|
|
| |
longer used.
llvm-svn: 9823
|
|
|
|
| |
llvm-svn: 9790
|
|
|
|
|
|
| |
because the Arch variable will likely be undefined.
llvm-svn: 9576
|
|
|
|
|
|
| |
Header files will be on the way.
llvm-svn: 9298
|
|
|
|
|
|
|
|
|
|
|
|
| |
* #include "llvm/ModuleProvider"
* alphabetize #includes
* omit extraneous parens in pointer expressions
VM.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
llvm-svn: 9182
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
ad-hoc "Config" flags
llvm-svn: 8134
|
|
|
|
|
|
| |
llvm style
llvm-svn: 8024
|
|
|
|
|
|
|
| |
starts a program. This allows the GNU env program to compile and JIT under
LLVM.
llvm-svn: 8022
|
|
|
|
| |
llvm-svn: 7273
|
|
|
|
|
|
|
|
|
|
|
| |
* Setting ENABLE_X86_JIT or ENABLE_SPARC_JIT on the `make' command-line will
force the inclusion of that JIT on a different architecture
* If neither JIT is enabled (e.g., compiling on a different architecture), the
-march option will not be available to LLI.
* As a side effect of the $ARCH variable, the Sparc LLI can now link just a bit
faster by not including the x86 library.
llvm-svn: 7070
|
|
|
|
| |
llvm-svn: 6744
|
|
|
|
| |
llvm-svn: 6742
|
|
|
|
| |
llvm-svn: 6741
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
|
| |
because the globals may refer to functions that need to be compiled!
llvm-svn: 6105
|
|
llvm-svn: 5126
|