Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Change references to the Method class to be references to the Function | Chris Lattner | 2002-04-07 | 6 | -68/+72 | |
| | | | | | | | 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 | 2 | -49/+49 | |
| | | | | llvm-svn: 2036 | |||||
* | Change from Method to Function | Chris Lattner | 2002-03-26 | 2 | -5/+4 | |
| | | | | llvm-svn: 1992 | |||||
* | Do not link in runtime library anymore, assume that user manually links in | Chris Lattner | 2002-03-11 | 1 | -0/+2 | |
| | | | | | | | libraries. Code should be generalized to allow lli to take -lc -lm arguments in the future (todo) llvm-svn: 1852 | |||||
* | Implement a bunch of new functions to support the SPECINT mcf | Chris Lattner | 2002-03-08 | 1 | -0/+84 | |
| | | | | | | benchmark llvm-svn: 1841 | |||||
* | Keep track of memory allocated by alloca so that it is freed appropriately | Chris Lattner | 2002-02-19 | 2 | -5/+37 | |
| | | | | llvm-svn: 1776 | |||||
* | Implement exp function | Chris Lattner | 2002-02-18 | 1 | -0/+9 | |
| | | | | llvm-svn: 1774 | |||||
* | Method.h no longer includes BasicBlock.h | Chris Lattner | 2002-02-12 | 2 | -4/+7 | |
| | | | | | | | Method::inst_* is now in llvm/Support/InstIterator.h GraphTraits specializations for BasicBlock and Methods are now in llvm/Support/CFG.h llvm-svn: 1746 | |||||
* | Add new abort-on-exceptions flag | Chris Lattner | 2002-02-12 | 1 | -2/+7 | |
| | | | | llvm-svn: 1737 | |||||
* | Make array bound checks optional and disabled by default. | Chris Lattner | 2002-02-11 | 1 | -2/+2 | |
| | | | | llvm-svn: 1725 | |||||
* | 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 | 6 | -90/+102 | |
| | | | | llvm-svn: 1503 | |||||
* | * Support the new -q flag for automated tests | Chris Lattner | 2001-12-14 | 1 | -39/+32 | |
| | | | | | | | * Remove unsized array support * Add pointer indexing support llvm-svn: 1477 | |||||
* | 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 | 2 | -5/+5 | |
| | | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408 | |||||
* | Rename ConstPoolVal -> Constant | Chris Lattner | 2001-12-03 | 1 | -37/+38 | |
| | | | | | | | Rename ConstPool* -> Constant* Rename ConstPoolVals.h -> ConstantVals.h llvm-svn: 1407 | |||||
* | Split the PHINode class out from the iOther.h file into the iPHINode.h file | Chris Lattner | 2001-12-03 | 1 | -0/+1 | |
| | | | | llvm-svn: 1405 | |||||
* | Create a new #include "Support/..." directory structure to move things | Chris Lattner | 2001-11-27 | 1 | -1/+1 | |
| | | | | | | | | from "llvm/Support/..." that are not llvm dependant. Move files and fix #includes llvm-svn: 1400 | |||||
* | Move DataTypes.h from llvm/Support to just Support | Chris Lattner | 2001-11-26 | 2 | -2/+1 | |
| | | | | llvm-svn: 1399 | |||||
* | Use pointertype where appropriate | Chris Lattner | 2001-11-26 | 1 | -2/+2 | |
| | | | | llvm-svn: 1392 | |||||
* | 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 | 2 | -24/+69 | |
| | | | | | | * Add external atoi method as well as floor, and srand llvm-svn: 1355 | |||||
* | Rename cruft | Chris Lattner | 2001-11-14 | 1 | -3/+3 | |
| | | | | llvm-svn: 1299 | |||||
* | Implement some more rand functions for em3d benchmark | Chris Lattner | 2001-11-13 | 1 | -0/+19 | |
| | | | | llvm-svn: 1291 | |||||
* | Print percentages for profiling info better | Chris Lattner | 2001-11-12 | 1 | -1/+19 | |
| | | | | llvm-svn: 1274 | |||||
* | Print profile info if exit() is called | Chris Lattner | 2001-11-12 | 1 | -26/+30 | |
| | | | | llvm-svn: 1268 | |||||
* | Hack a structure profiling option together | Chris Lattner | 2001-11-12 | 2 | -1/+49 | |
| | | | | llvm-svn: 1267 | |||||
* | 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 | 4 | -37/+89 | |
| | | | | | | | | | 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 |