Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Added LLVM copyright notice to Makefiles. | John Criswell | 2003-10-20 | 1 | -0/+8 | |
| | | | | llvm-svn: 9312 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 3 | -0/+21 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | Interpret the new varargs intrinsics correctly | Chris Lattner | 2003-10-18 | 3 | -28/+13 | |
| | | | | llvm-svn: 9222 | |||||
* | Order #includes as per the style guide. | Misha Brukman | 2003-10-14 | 1 | -3/+3 | |
| | | | | llvm-svn: 9128 | |||||
* | Don't include Config/stdio.h or <stdio.h>. | Brian Gaeke | 2003-10-10 | 1 | -1/+0 | |
| | | | | llvm-svn: 9031 | |||||
* | Fix spelling. | Misha Brukman | 2003-10-10 | 2 | -2/+2 | |
| | | | | llvm-svn: 9021 | |||||
* | Never set any signal handlers. | Brian Gaeke | 2003-10-10 | 1 | -37/+2 | |
| | | | | | | Never call setjmp(), longjmp() or strsignal(). llvm-svn: 9014 | |||||
* | Rewrite head-of-file comment. | Brian Gaeke | 2003-10-10 | 1 | -14/+16 | |
| | | | | | | | | | In lookupFunction(): Change to use "F" for Function argument instead of ancient "M". Remove commented-out code. Change to use GetAddressOfSymbol instead of dlsym. llvm-svn: 9013 | |||||
* | Do not read past the end of the contained type list | Chris Lattner | 2003-10-09 | 1 | -2/+2 | |
| | | | | llvm-svn: 8986 | |||||
* | Squelch warning | Chris Lattner | 2003-09-22 | 1 | -2/+2 | |
| | | | | llvm-svn: 8659 | |||||
* | Change FunctionInfo from being an annotation put on Functions to be | Chris Lattner | 2003-09-17 | 3 | -22/+9 | |
| | | | | | | something which is mapped from functions. llvm-svn: 8580 | |||||
* | 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 |