- Sep 05, 2003
-
-
Brian Gaeke authored
llvm-svn: 8371
-
Brian Gaeke authored
Build ExecutionEngine as library. llvm-svn: 8370
-
Brian Gaeke authored
This lets us protect a few more ExecutionEngine methods. llvm-svn: 8367
-
Brian Gaeke authored
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
-
Chris Lattner authored
llvm-svn: 8365
-
Chris Lattner authored
llvm-svn: 8363
-
Brian Gaeke authored
llvm-svn: 8362
-
Chris Lattner authored
llvm-svn: 8361
-
Brian Gaeke authored
w/ interactive keyboard entry of names. With that, Support.cpp is history. llvm-svn: 8360
-
Brian Gaeke authored
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
-
Chris Lattner authored
Inline containsEquivalent Remove some //'s llvm-svn: 8358
-
Chris Lattner authored
llvm-svn: 8357
-
Chris Lattner authored
Check in a bunch of minor fixes, plus a whole lot of #if 0'd out code, which will hopefully be enabled in the near future This does not make any functionality changes llvm-svn: 8355
-
Chris Lattner authored
llvm-svn: 8353
-
Chris Lattner authored
llvm-svn: 8352
-
Chris Lattner authored
llvm-svn: 8351
-
Chris Lattner authored
llvm-svn: 8350
-
Chris Lattner authored
llvm-svn: 8348
-
Chris Lattner authored
llvm-svn: 8347
-
Brian Gaeke authored
Remove some dead code and whitespace. llvm-svn: 8346
-
Brian Gaeke authored
llvm-svn: 8345
-
Brian Gaeke authored
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
-
- Sep 03, 2003
-
-
Brian Gaeke authored
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
-
Chris Lattner authored
llvm-svn: 8342
-
Chris Lattner authored
llvm-svn: 8341
-
Chris Lattner authored
llvm-svn: 8340
-
Chris Lattner authored
llvm-svn: 8339
-
Chris Lattner authored
llvm-svn: 8335
-
Chris Lattner authored
unless it's not empty! llvm-svn: 8334
-
Chris Lattner authored
llvm-svn: 8333
-
- Sep 02, 2003
-
-
Chris Lattner authored
call setAbstract). Now that we just compute abstractness we can also return the computed value by value instead of as an argument. llvm-svn: 8332
-
Chris Lattner authored
not correctly calculated, and calculating it wrong for fun seems rather pointless. This also speeds up my favorite testcase by .25 seconds. llvm-svn: 8330
-
John Criswell authored
llvm-svn: 8327
-
John Criswell authored
Return failure if the chmod() fails. llvm-svn: 8326
-
John Criswell authored
gives it execute access while respecting the user's umask. llvm-svn: 8324
-
Chris Lattner authored
we need to know anyway. This reduces the 2002-07-08-HugePerformanceProblem.llx down to 3.210u:0.010s, which is back in the acceptable range again llvm-svn: 8323
-
Chris Lattner authored
Now we're back to: 131.730u, 0.330s, which is still quite an improvement, but still quite unacceptable llvm-svn: 8322
-
Chris Lattner authored
llvm-svn: 8321
-
Chris Lattner authored
the type is analyzed. Instead, only compute it when requested (with getDescription), and cached for reuse later. This dramatically speeds up LLVM in general because these descriptions almost _never_ need to be constructed. The only time they are used is when a type is <<'d. Printing of modules by themselves uses other code to print symbolic types when possible, so these descriptions are really only used for debugging. Also, this fixes the particularly bad case when lots of types get resolved to each other, such as during linking of large programs. In these cases, the type descriptions would be repeatedly recomputed and discarded even though: A. noone reads the description before it gets resolved, and B. many many resolutions happen at intermediate steps, causing a HUGE waste of time. Overall, this makes the getTypeDesc function much more light-weight, and fixes bug: Assembler/2002-07-08-HugePerformanceProblem.llx, which went from taking 1048.770u/19.150s (which is 17.5 MINUTES, on apoc), to taking 0.020u/0.000s, which is a nice little speedup. :) llvm-svn: 8320
-
Brian Gaeke authored
llvm-svn: 8318
-