Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Reorder #includes to follow LLVM conventions | Chris Lattner | 2003-09-05 | 1 | -4/+4 | |
| | | | | llvm-svn: 8375 | |||||
* | ExecutionEngine.h, GenericValue.h --> include/llvm/ExecutionEngine/ | Brian Gaeke | 2003-09-05 | 1 | -2/+2 | |
| | | | | | | Build ExecutionEngine as library. llvm-svn: 8370 | |||||
* | Make getOperandValue and executeCastOperation methods of Interpreter. | Brian Gaeke | 2003-09-05 | 2 | -3/+6 | |
| | | | | | | This lets us protect a few more ExecutionEngine methods. llvm-svn: 8367 | |||||
* | Make CreateArgv part of lli rather than part of ExecutionEngine. | Brian Gaeke | 2003-09-05 | 3 | -110/+54 | |
| | | | | | | | | | | | | | | | 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 | |||||
* | Remove printOperandInfo(), and simplify run(). | Brian Gaeke | 2003-09-05 | 1 | -30/+0 | |
| | | | | llvm-svn: 8362 | |||||
* | Remove support for printing values from a module by name, only used | Brian Gaeke | 2003-09-05 | 3 | -109/+0 | |
| | | | | | | | w/ interactive keyboard entry of names. With that, Support.cpp is history. llvm-svn: 8360 | |||||
* | Remove support for interactive (step finish next) instructions. | Brian Gaeke | 2003-09-05 | 4 | -186/+44 | |
| | | | | | | | | | 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 support for breakpoints (not used). | Brian Gaeke | 2003-09-04 | 3 | -47/+8 | |
| | | | | | | Remove some dead code and whitespace. llvm-svn: 8346 | |||||
* | Interpreter cleanups: | Brian Gaeke | 2003-09-04 | 4 | -317/+30 | |
| | | | | | | | | | | | | 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 | |||||
* | ExecutionEngine.cpp: Move execution engine creation stuff into a new | Brian Gaeke | 2003-09-03 | 2 | -6/+9 | |
| | | | | | | | | | | | | | | | | | | 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 | |||||
* | Targets now configure themselves based on the source module, not on the | Chris Lattner | 2003-08-24 | 2 | -10/+28 | |
| | | | | | | ad-hoc "Config" flags llvm-svn: 8134 | |||||
* | Add preliminary support for "any" pointersize/endianness. This will need | Chris Lattner | 2003-08-24 | 1 | -1/+2 | |
| | | | | | | to change soon though. llvm-svn: 8123 | |||||
* | The JIT now passes the environment pointer to the main() function when it | John Criswell | 2003-08-21 | 2 | -2/+4 | |
| | | | | | | | starts a program. This allows the GNU env program to compile and JIT under LLVM. llvm-svn: 8022 | |||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 7944 | |||||
* | Deconstify parameter to getPointerToFunction(). | Brian Gaeke | 2003-08-13 | 1 | -1/+1 | |
| | | | | llvm-svn: 7822 | |||||
* | Remove redundant const qualifier | Chris Lattner | 2003-07-23 | 1 | -3/+3 | |
| | | | | llvm-svn: 7254 | |||||
* | Merged in autoconf branch. This provides configuration via the autoconf | John Criswell | 2003-06-30 | 1 | -3/+3 | |
| | | | | | | system. llvm-svn: 7014 | |||||
* | Include <cmath> instead of <math.h> | Brian Gaeke | 2003-06-23 | 1 | -10/+1 | |
| | | | | | | Remove isnan; it's too unportable to handle cleanly at this point. llvm-svn: 6866 | |||||
* | Use std::isnan instead of isnan. Brought back to you from the | Brian Gaeke | 2003-06-17 | 1 | -1/+1 | |
| | | | | | | future, by the reconciliation of the C++ and C99 standards. Someday. llvm-svn: 6751 | |||||
* | Add support for atexit function, remove support for __main function | Chris Lattner | 2003-05-14 | 5 | -14/+37 | |
| | | | | llvm-svn: 6194 | |||||
* | Make sure that globals are emitted AFTER the passmanager is set up for the JIT, | Chris Lattner | 2003-05-12 | 1 | -0/+1 | |
| | | | | | | because the globals may refer to functions that need to be compiled! llvm-svn: 6105 | |||||
* | switch main LLI core execution to use an InstVisitor instead of a switch ↵ | Chris Lattner | 2003-05-10 | 2 | -67/+61 | |
| | | | | | | statement llvm-svn: 6081 | |||||
* | Fix testcase: SingleSource/UnitTests/2003-05-02-DependantPHI.c | Chris Lattner | 2003-05-10 | 2 | -34/+55 | |
| | | | | llvm-svn: 6074 | |||||
* | Implement varargs support for LLI! | Chris Lattner | 2003-05-08 | 2 | -73/+56 | |
| | | | | llvm-svn: 6043 | |||||
* | A large number of simple changes: | Chris Lattner | 2003-05-08 | 7 | -178/+95 | |
| | | | | | | | * s/Method/Function * Kill some obsolete (external) functions that used to be to support tracing llvm-svn: 6041 | |||||
* | Add support for recording arguments passed through the ... of a varargs function | Chris Lattner | 2003-05-08 | 2 | -10/+17 | |
| | | | | llvm-svn: 6040 | |||||
* | Remove two fields from TargetData which are target specific. | Chris Lattner | 2003-04-26 | 1 | -1/+0 | |
| | | | | llvm-svn: 5963 | |||||
* | Only do the %ld -> %lld promotion when running a 64 bit bytecode on a 32 bit ↵ | Chris Lattner | 2003-04-25 | 1 | -1/+2 | |
| | | | | | | host llvm-svn: 5942 | |||||
* | Add __strdup | Chris Lattner | 2003-04-25 | 1 | -0/+7 | |
| | | | | llvm-svn: 5941 | |||||
* | MAke sure that LLI properly configures align_of(double) | Chris Lattner | 2003-04-25 | 1 | -0/+1 | |
| | | | | llvm-svn: 5938 | |||||
* | Fix problem where we would read 64 bits worth of pointer information, even ↵ | Chris Lattner | 2003-04-25 | 1 | -10/+10 | |
| | | | | | | on 32 bit targets! llvm-svn: 5930 | |||||
* | Add memcpy | Chris Lattner | 2003-04-23 | 1 | -0/+7 | |
| | | | | llvm-svn: 5887 | |||||
* | Fix a problem with setcc instructions and pointers | Chris Lattner | 2003-04-23 | 1 | -6/+15 | |
| | | | | llvm-svn: 5886 | |||||
* | Implement a bunch of new external functions | Chris Lattner | 2003-04-23 | 1 | -0/+54 | |
| | | | | llvm-svn: 5885 | |||||
* | Implement &|^ on bool values | Chris Lattner | 2003-04-23 | 1 | -0/+3 | |
| | | | | llvm-svn: 5884 | |||||
* | Add support for _IO_getc function used on linux | Chris Lattner | 2003-04-23 | 1 | -0/+6 | |
| | | | | llvm-svn: 5883 | |||||
* | Kill using declarations | Chris Lattner | 2003-04-22 | 1 | -96/+101 | |
| | | | | | | Kill code for invalid operations on pointers llvm-svn: 5856 | |||||
* | Implement cast to bool | Chris Lattner | 2003-04-22 | 1 | -0/+2 | |
| | | | | llvm-svn: 5855 | |||||
* | Get rid of extraneous arguments to implementation functions | Chris Lattner | 2003-04-22 | 1 | -31/+31 | |
| | | | | llvm-svn: 5852 | |||||
* | Add support to LLI for switch instruction | Chris Lattner | 2003-04-22 | 1 | -0/+22 | |
| | | | | llvm-svn: 5851 | |||||
* | Fix wierd idiom | Chris Lattner | 2003-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 5831 | |||||
* | fprintf CAN take exactly 2 args | Chris Lattner | 2003-04-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 5830 | |||||
* | Implement scanf and fix sscanf to actually endian swap the results correctly | Chris Lattner | 2003-03-31 | 1 | -2/+97 | |
| | | | | llvm-svn: 5763 | |||||
* | Fix typeo | Chris Lattner | 2003-02-25 | 1 | -1/+1 | |
| | | | | llvm-svn: 5624 | |||||
* | * Wrap at 80 columns | Chris Lattner | 2003-01-13 | 1 | -49/+47 | |
| | | | | | | | * Fix a ton of warnings * Implement puts llvm-svn: 5254 | |||||
* | Handle value promotion properly to work with tracing better | Chris Lattner | 2003-01-13 | 1 | -1/+21 | |
| | | | | llvm-svn: 5253 | |||||
* | Initial checkin of new LLI with JIT compiler | Chris Lattner | 2002-12-24 | 2 | -0/+60 | |
| | | | | llvm-svn: 5126 | |||||
* | Substantial changes to refactor LLI to incorporate both the Jello JIT and | Chris Lattner | 2002-12-23 | 6 | -354/+62 | |
| | | | | | | the traditional LLI interpreter llvm-svn: 5125 | |||||
* | Add support for isnan | Chris Lattner | 2002-12-20 | 1 | -0/+9 | |
| | | | | llvm-svn: 5111 | |||||
* | Namespacify more | Chris Lattner | 2002-12-08 | 1 | -10/+10 | |
| | | | | llvm-svn: 4956 |