| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 8436
|
| |
|
|
| |
llvm-svn: 8400
|
| |
|
|
| |
llvm-svn: 8375
|
| |
|
|
|
|
| |
Build ExecutionEngine as library.
llvm-svn: 8370
|
| |
|
|
|
|
| |
This lets us protect a few more ExecutionEngine methods.
llvm-svn: 8367
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 8362
|
| |
|
|
|
|
|
| |
w/ interactive keyboard entry of names.
With that, Support.cpp is history.
llvm-svn: 8360
|
| |
|
|
|
|
|
|
|
| |
Remove printCurrentInstruction, printStackFrame and infoValue
(only used interactively) and other unused methods of Interpreter.
Fold UserInput.cpp containing only callMainFunction() into Interpreter.cpp.
Remove unused Profile flag.
llvm-svn: 8359
|
| |
|
|
|
|
| |
Remove some dead code and whitespace.
llvm-svn: 8346
|
| |
|
|
| |
llvm-svn: 8345
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Get rid of support for DebugMode (make it always off).
Mung some comments.
Get rid of interpreter's PROFILE_STRUCTURE_FIELDS and PerformExitStuff
which have been disabled forever.
Get rid of -abort-on-exception (make it always on).
Get rid of user interaction stuff (debug mode innards).
Simplify Interpreter's callMainFunction().
llvm-svn: 8344
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
llvm-svn: 8305
|
| |
|
|
|
|
| |
library
llvm-svn: 8302
|
| |
|
|
|
|
|
| |
size is. This ensures that if the module has no specified pointer size that
things will work correctly.
llvm-svn: 8136
|
| |
|
|
|
|
| |
ad-hoc "Config" flags
llvm-svn: 8134
|
| |
|
|
|
|
| |
to change soon though.
llvm-svn: 8123
|
| |
|
|
|
|
| |
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: 7955
|
| |
|
|
| |
llvm-svn: 7953
|
| |
|
|
| |
llvm-svn: 7944
|
| |
|
|
| |
llvm-svn: 7878
|
| |
|
|
|
|
| |
speeds up program execution by 15% pretty consistently for large programs
llvm-svn: 7845
|
| |
|
|
| |
llvm-svn: 7822
|
| |
|
|
|
|
| |
Use a FunctionPassManager instead of a PassManager.
llvm-svn: 7820
|
| |
|
|
|
|
|
| |
Run passes on single function (hey, just-in-time compilation!)
instead of the entire module that contains it.
llvm-svn: 7819
|
| |
|
|
|
|
| |
on Function * when passing it to getPointerToFunction().
llvm-svn: 7818
|
| |
|
|
| |
llvm-svn: 7800
|
| |
|
|
| |
llvm-svn: 7720
|
| |
|
|
| |
llvm-svn: 7604
|
| |
|
|
| |
llvm-svn: 7491
|
| |
|
|
|
|
|
|
| |
now handle far calls (i.e., beyond the 30-bit limit in call instructions).
* As a side-effect, this allows us to unify and clean up the mmap() call and
code around it.
llvm-svn: 7381
|
| |
|
|
| |
llvm-svn: 7368
|
| |
|
|
|
|
|
|
|
| |
This us used by bugpoint -- when code is compiled to a shared object to be
JITted, it must use the JIT's lazy resolution method to find function addresses,
because some functions will not be available at .so load time, as they are in
the bytecode file.
llvm-svn: 7363
|
| |
|
|
| |
llvm-svn: 7362
|
| |
|
|
| |
llvm-svn: 7361
|
| |
|
|
| |
llvm-svn: 7360
|
| |
|
|
| |
llvm-svn: 7273
|
| |
|
|
| |
llvm-svn: 7254
|
| |
|
|
|
|
|
| |
to pass to dlsym() -- Linux/x86 wants 0 while Sparc/Solaris wants RTLD_SELF,
which is not zero. Thanks to Chris for the suggestion.
llvm-svn: 7204
|
| |
|
|
|
|
| |
usage of the special file handle RTLD_SELF on Sparc/Solaris vs. 0 on Linux/x86.
llvm-svn: 7177
|
| |
|
|
|
|
|
| |
the program's executing image, not 0 as it is on Linux/x86 and possibly other
systems.
llvm-svn: 7176
|
| |
|
|
|
|
|
|
|
|
|
| |
* 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
|
| |
|
|
|
|
| |
system.
llvm-svn: 7014
|
| |
|
|
| |
llvm-svn: 7012
|
| |
|
|
|
|
| |
Remove isnan; it's too unportable to handle cleanly at this point.
llvm-svn: 6866
|
| |
|
|
|
|
|
| |
(We're already talking about autoconf'ing this, so I'm assuming this hack
will be short-lived...I just don't want it to get lost in my working files.)
llvm-svn: 6761
|
| |
|
|
|
|
| |
it is needed.
llvm-svn: 6753
|