Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Correct problem that allows indirect function calls | Chris Lattner | 2001-11-07 | 1 | -1/+5 | |
| | | | | llvm-svn: 1179 | |||||
* | * Switch to operation on pointers with PointerTy more consistently | Chris Lattner | 2001-11-07 | 3 | -76/+149 | |
| | | | | | | | | | | | | | | | | | | | | * 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 | |||||
* | *Print Stack traces better. | Chris Lattner | 2001-11-07 | 3 | -27/+64 | |
| | | | | | | | | * Use the cache writer for all it's problems. * print arguments to methods in stack traces. *Print the current stack from for up/down commands. llvm-svn: 1170 | |||||
* | * Use cached writer to speed up printing and get symbolic types more ↵ | Chris Lattner | 2001-11-07 | 3 | -15/+54 | |
| | | | | | | | | consistently * When a segfault or bus error occurs, stop the program, print a stack trace, and dump the user in the debugger mode llvm-svn: 1169 | |||||
* | 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 | |||||
* | Be lenient on types so that programs that are not very typesafe will work | Chris Lattner | 2001-11-03 | 1 | -14/+14 | |
| | | | | llvm-svn: 1104 | |||||
* | Implement xor operator | Chris Lattner | 2001-10-30 | 1 | -0/+22 | |
| | | | | llvm-svn: 1050 | |||||
* | callExternalMethod now returns the return value of the function | Chris Lattner | 2001-10-30 | 1 | -2/+6 | |
| | | | | llvm-svn: 1048 | |||||
* | Implement a gross function name map that must be used when linking statically | Chris Lattner | 2001-10-30 | 1 | -18/+42 | |
| | | | | | | This is for use with purify llvm-svn: 1047 | |||||
* | * Add some assertions for checking internal error conditions | Chris Lattner | 2001-10-30 | 1 | -32/+90 | |
| | | | | | | | | | * Implement the 'rem' instruction * Fix getelementptr to work right * Copy the return result of an external function call into the receiving value * Convert stuff to new style casts llvm-svn: 1046 | |||||
* | Don't fail to load runtime if running LLI from the current directory | Chris Lattner | 2001-10-30 | 1 | -1/+4 | |
| | | | | llvm-svn: 1044 | |||||
* | Print out a label if we step into the first instruction of a basic block | Chris Lattner | 2001-10-29 | 1 | -0/+3 | |
| | | | | llvm-svn: 1038 | |||||
* | * Fix pow wrapper to actually work | Chris Lattner | 2001-10-29 | 1 | -1/+56 | |
| | | | | | | * Implement rudimentary printf support for lli llvm-svn: 1037 | |||||
* | Implement getelementptr instruction as well as the load and store forms | Chris Lattner | 2001-10-29 | 1 | -6/+44 | |
| | | | | | | that incorporate gep llvm-svn: 1036 | |||||
* | Remember to print out the next instruction if stepping over an external ↵ | Chris Lattner | 2001-10-29 | 1 | -0/+2 | |
| | | | | | | method call llvm-svn: 1028 | |||||
* | Fix problem next'ing over an external method | Chris Lattner | 2001-10-29 | 1 | -2/+6 | |
| | | | | llvm-svn: 1027 | |||||
* | Fix some illegal uses of the ## operator | Chris Lattner | 2001-10-28 | 1 | -4/+3 | |
| | | | | llvm-svn: 1013 | |||||
* | Add methods print<TYPE> for String, Pointer, and each primitive type. | Vikram S. Adve | 2001-10-28 | 1 | -0/+31 | |
| | | | | llvm-svn: 994 | |||||
* | Implement a -trace command line option and a trace option in the interpreter. | Chris Lattner | 2001-10-27 | 3 | -1/+20 | |
| | | | | llvm-svn: 989 | |||||
* | * Make pointer values work better by treating them uniformly as 64 bit values. | Chris Lattner | 2001-10-27 | 5 | -37/+90 | |
| | | | | | | | | | This causes code that is generated by gcc to work better. * Implement mul & div * Export malloc, free, and pow * add strtol, atoi, and atol to the runtime library llvm-svn: 988 | |||||
* | Provide argv for commands | Chris Lattner | 2001-10-27 | 3 | -6/+22 | |
| | | | | llvm-svn: 987 | |||||
* | * Implement exit() builtin function | Chris Lattner | 2001-10-27 | 5 | -7/+66 | |
| | | | | | | | * Implement linked in runtime library with puts(char*) in it * implement builtin putchar(int) function llvm-svn: 985 | |||||
* | Add support for building a runtime library for LLI | Chris Lattner | 2001-10-24 | 1 | -0/+12 | |
| | | | | llvm-svn: 983 | |||||
* | Enhancements to pass argc & argv to main if required | Chris Lattner | 2001-10-18 | 4 | -2/+74 | |
| | | | | llvm-svn: 909 | |||||
* | Implement ulong & long support | Chris Lattner | 2001-10-15 | 2 | -27/+36 | |
| | | | | llvm-svn: 843 | |||||
* | Implement initializers for structs and pointers | Chris Lattner | 2001-10-15 | 1 | -80/+100 | |
| | | | | llvm-svn: 823 | |||||
* | Implement global variables. Struct and Pointer initializers are not ↵ | Chris Lattner | 2001-10-15 | 5 | -38/+252 | |
| | | | | | | implemented yet though llvm-svn: 818 | |||||
* | * Both Method & GlobalVariable now subclass GlobalValue | Chris Lattner | 2001-10-03 | 1 | -2/+2 | |
| | | | | | | | | * ConstPoolPointerReference now represents a pointer to a GlobalValue * Methods name references are now explicit pointers to methods * Rename Value::GlobalVal to Value::GlobalVariableVal to avoid confusion llvm-svn: 703 | |||||
* | Commit more code over to new cast style | Chris Lattner | 2001-10-02 | 1 | -10/+10 | |
| | | | | llvm-svn: 697 | |||||
* | Convert more code to use new style casts | Chris Lattner | 2001-10-01 | 2 | -3/+3 | |
| | | | | | | Eliminate old style casts from value.h llvm-svn: 696 | |||||
* | Add support for new style casts | Chris Lattner | 2001-10-01 | 2 | -2/+2 | |
| | | | | llvm-svn: 694 | |||||
* | File #include file | Chris Lattner | 2001-09-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 665 | |||||
* | Make a new llvm/Target #include directory. | Chris Lattner | 2001-09-14 | 1 | -1/+1 | |
| | | | | | | | | Move files from lib/CodeGen/TargetMachine to lib/Target Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h} Prepare to split TargetMachine.h into several smaller files llvm-svn: 566 | |||||
* | Use the correct style casts | Chris Lattner | 2001-09-10 | 2 | -3/+3 | |
| | | | | llvm-svn: 546 | |||||
* | Add support for external methods | Chris Lattner | 2001-09-10 | 1 | -0/+107 | |
| | | | | llvm-svn: 529 | |||||
* | Genericize support for calling functions a bit | Chris Lattner | 2001-09-10 | 4 | -21/+33 | |
| | | | | | | Add external method support llvm-svn: 528 | |||||
* | Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common | Chris Lattner | 2001-09-07 | 1 | -8/+3 | |
| | | | | llvm-svn: 501 | |||||
* | Annotations are now const | Chris Lattner | 2001-09-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 470 | |||||
* | Lots of new functionality | Chris Lattner | 2001-08-27 | 5 | -19/+278 | |
| | | | | llvm-svn: 372 | |||||
* | Initial checkin of interpreter | Chris Lattner | 2001-08-23 | 6 | -0/+1054 | |
llvm-svn: 361 |