Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | 1 | -1/+1 | |
| | | | | llvm-svn: 9021 | |||||
* | 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 | |||||
* | Make CreateArgv part of lli rather than part of ExecutionEngine. | Brian Gaeke | 2003-09-05 | 1 | -16/+6 | |
| | | | | | | | | | | | | | | | 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 | |||||
* | 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 | |||||
* | Spell `necessary' correctly. | Misha Brukman | 2003-08-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 7944 | |||||
* | 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 | 1 | -5/+8 | |
| | | | | llvm-svn: 6194 | |||||
* | Implement varargs support for LLI! | Chris Lattner | 2003-05-08 | 1 | -0/+33 | |
| | | | | llvm-svn: 6043 | |||||
* | A large number of simple changes: | Chris Lattner | 2003-05-08 | 1 | -91/+11 | |
| | | | | | | | * s/Method/Function * Kill some obsolete (external) functions that used to be to support tracing llvm-svn: 6041 | |||||
* | 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 | |||||
* | Add memcpy | Chris Lattner | 2003-04-23 | 1 | -0/+7 | |
| | | | | llvm-svn: 5887 | |||||
* | Implement a bunch of new external functions | Chris Lattner | 2003-04-23 | 1 | -0/+54 | |
| | | | | llvm-svn: 5885 | |||||
* | Add support for _IO_getc function used on linux | Chris Lattner | 2003-04-23 | 1 | -0/+6 | |
| | | | | llvm-svn: 5883 | |||||
* | 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 | |||||
* | * Wrap at 80 columns | Chris Lattner | 2003-01-13 | 1 | -49/+47 | |
| | | | | | | | * Fix a ton of warnings * Implement puts llvm-svn: 5254 | |||||
* | Substantial changes to refactor LLI to incorporate both the Jello JIT and | Chris Lattner | 2002-12-23 | 1 | -4/+5 | |
| | | | | | | the traditional LLI interpreter llvm-svn: 5125 | |||||
* | Add support for isnan | Chris Lattner | 2002-12-20 | 1 | -0/+9 | |
| | | | | llvm-svn: 5111 | |||||
* | - Eliminated the deferred symbol table stuff in Module & Function, it really | Chris Lattner | 2002-11-20 | 1 | -10/+9 | |
| | | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779 | |||||
* | Implement feof | Chris Lattner | 2002-11-08 | 1 | -0/+10 | |
| | | | | llvm-svn: 4627 | |||||
* | Implement freopen for burg | Chris Lattner | 2002-11-07 | 1 | -2/+11 | |
| | | | | llvm-svn: 4606 | |||||
* | Implement fprintf | Chris Lattner | 2002-11-06 | 1 | -0/+16 | |
| | | | | llvm-svn: 4585 | |||||
* | Implement fputc and ungetc to allow burg to run in lli | Chris Lattner | 2002-11-06 | 1 | -0/+19 | |
| | | | | llvm-svn: 4584 | |||||
* | * Implement the getc() function | Chris Lattner | 2002-10-02 | 1 | -11/+86 | |
| | | | | | | * Support usage of stdin, stdout & stderr correctly in LLI! llvm-svn: 4022 | |||||
* | * Fix a bug that was causing lli to misrun: | Chris Lattner | 2002-09-13 | 1 | -1/+0 | |
| | | | | | | | test/Regression/Transforms/DecomposeMultiDimRefs/mixedindices.c * Eliminate unneccesary #include llvm-svn: 3712 | |||||
* | Fix problem where lli would not print out a 64 bit value when the client code | Chris Lattner | 2002-08-02 | 1 | -2/+10 | |
| | | | | | | | uses the modifier "%ld". Now lli passes off "%lld" to the underlying runtime library in this case. llvm-svn: 3230 | |||||
* | MEGAPATCH checkin. | Chris Lattner | 2002-06-25 | 1 | -1/+2 | |
| | | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778 | |||||
* | Remove explicit support for tracing code. It should be linked into the | Chris Lattner | 2002-05-20 | 1 | -43/+10 | |
| | | | | | | executable just like everything else. llvm-svn: 2674 | |||||
* | Added external functions for hashing pointers to sequence numbers. | Vikram S. Adve | 2002-05-19 | 1 | -0/+44 | |
| | | | | llvm-svn: 2659 | |||||
* | Fix a bug printing out %c formated characters. | Chris Lattner | 2002-04-17 | 1 | -1/+1 | |
| | | | | llvm-svn: 2277 | |||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 1 | -9/+11 | |
| | | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144 | |||||
* | s/Method/Function | Chris Lattner | 2002-03-29 | 1 | -43/+43 | |
| | | | | llvm-svn: 2036 | |||||
* | Implement a bunch of new functions to support the SPECINT mcf | Chris Lattner | 2002-03-08 | 1 | -0/+84 | |
| | | | | | | benchmark llvm-svn: 1841 | |||||
* | Implement exp function | Chris Lattner | 2002-02-18 | 1 | -0/+9 | |
| | | | | llvm-svn: 1774 | |||||
* | Implement the clock() function | Chris Lattner | 2002-01-23 | 1 | -0/+7 | |
| | | | | llvm-svn: 1573 | |||||
* | Changes to build successfully with GCC 3.02 | Chris Lattner | 2002-01-20 | 1 | -11/+14 | |
| | | | | llvm-svn: 1503 | |||||
* | Implement sprintf | Chris Lattner | 2001-12-13 | 1 | -11/+25 | |
| | | | | llvm-svn: 1445 | |||||
* | Renamed inst_const_iterator -> const_inst_iterator | Chris Lattner | 2001-12-04 | 1 | -2/+2 | |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | |||||
* | Remove invalid,unneccesary ## token | Chris Lattner | 2001-11-26 | 1 | -1/+1 | |
| | | | | llvm-svn: 1391 | |||||
* | * Implement array indexing in lli | Chris Lattner | 2001-11-26 | 1 | -0/+25 | |
| | | | | | | * Add external atoi method as well as floor, and srand llvm-svn: 1355 | |||||
* | Implement some more rand functions for em3d benchmark | Chris Lattner | 2001-11-13 | 1 | -0/+19 | |
| | | | | llvm-svn: 1291 | |||||
* | * Switch to operation on pointers with PointerTy more consistently | Chris Lattner | 2001-11-07 | 1 | -31/+36 | |
| | | | | | | | | | | | | | | | | | | | | * Fix misspeling * Catch SIGFPE for traps * info XXX now prints the raw contents of the GenericValue * Switch to calloc instead of malloc (temporarily I hope) to bandaid Olden benchmarks * Implement binary And & Or * Convert expressions like this: PointerTy SrcPtr = getOperandValue(I->getPtrOperand(), SF).PointerVal; to: GenericValue SRC = getOperandValue(I->getPtrOperand(), SF); PointerTy SrcPtr = SRC.PointerVal; because the prior way confuses purify. * Taint the initial values of the value planes * Handling 'print bb4' in the interpreter without crashing * Print nicer stack frames with concise return type * printf doesn't suck nearly as badly as it used to llvm-svn: 1177 | |||||
* | Add %p format to printf, which MUST be used when printing pointer values. | Chris Lattner | 2001-11-07 | 1 | -0/+2 | |
| | | | | llvm-svn: 1166 | |||||
* | Implement log and drand48 for TSP bm | Chris Lattner | 2001-11-06 | 1 | -0/+17 | |
| | | | | llvm-svn: 1165 | |||||
* | Implement sqrt, implement printf better, simpler. | Chris Lattner | 2001-11-06 | 1 | -16/+31 | |
| | | | | llvm-svn: 1161 |