summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter
Commit message (Collapse)AuthorAgeFilesLines
...
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-076-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/FunctionChris Lattner2002-03-292-49/+49
| | | | llvm-svn: 2036
* Change from Method to FunctionChris Lattner2002-03-262-5/+4
| | | | llvm-svn: 1992
* Do not link in runtime library anymore, assume that user manually links inChris Lattner2002-03-111-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 mcfChris Lattner2002-03-081-0/+84
| | | | | | benchmark llvm-svn: 1841
* Keep track of memory allocated by alloca so that it is freed appropriatelyChris Lattner2002-02-192-5/+37
| | | | llvm-svn: 1776
* Implement exp functionChris Lattner2002-02-181-0/+9
| | | | llvm-svn: 1774
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-122-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 flagChris Lattner2002-02-121-2/+7
| | | | llvm-svn: 1737
* Make array bound checks optional and disabled by default.Chris Lattner2002-02-111-2/+2
| | | | llvm-svn: 1725
* Implement the clock() functionChris Lattner2002-01-231-0/+7
| | | | llvm-svn: 1573
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-206-90/+102
| | | | llvm-svn: 1503
* * Support the new -q flag for automated testsChris Lattner2001-12-141-39/+32
| | | | | | | * Remove unsized array support * Add pointer indexing support llvm-svn: 1477
* Implement sprintfChris Lattner2001-12-131-11/+25
| | | | llvm-svn: 1445
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-042-5/+5
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Rename ConstPoolVal -> ConstantChris Lattner2001-12-031-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 fileChris Lattner2001-12-031-0/+1
| | | | llvm-svn: 1405
* Create a new #include "Support/..." directory structure to move thingsChris Lattner2001-11-271-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 SupportChris Lattner2001-11-262-2/+1
| | | | llvm-svn: 1399
* Use pointertype where appropriateChris Lattner2001-11-261-2/+2
| | | | llvm-svn: 1392
* Remove invalid,unneccesary ## tokenChris Lattner2001-11-261-1/+1
| | | | llvm-svn: 1391
* * Implement array indexing in lliChris Lattner2001-11-262-24/+69
| | | | | | * Add external atoi method as well as floor, and srand llvm-svn: 1355
* Rename cruftChris Lattner2001-11-141-3/+3
| | | | llvm-svn: 1299
* Implement some more rand functions for em3d benchmarkChris Lattner2001-11-131-0/+19
| | | | llvm-svn: 1291
* Print percentages for profiling info betterChris Lattner2001-11-121-1/+19
| | | | llvm-svn: 1274
* Print profile info if exit() is calledChris Lattner2001-11-121-26/+30
| | | | llvm-svn: 1268
* Hack a structure profiling option togetherChris Lattner2001-11-122-1/+49
| | | | llvm-svn: 1267
* Correct problem that allows indirect function callsChris Lattner2001-11-071-1/+5
| | | | llvm-svn: 1179
* * Switch to operation on pointers with PointerTy more consistentlyChris Lattner2001-11-073-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 Lattner2001-11-073-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 Lattner2001-11-073-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 Lattner2001-11-071-0/+2
| | | | llvm-svn: 1166
* Implement log and drand48 for TSP bmChris Lattner2001-11-061-0/+17
| | | | llvm-svn: 1165
* Implement sqrt, implement printf better, simpler.Chris Lattner2001-11-061-16/+31
| | | | llvm-svn: 1161
* Be lenient on types so that programs that are not very typesafe will workChris Lattner2001-11-031-14/+14
| | | | llvm-svn: 1104
* Implement xor operatorChris Lattner2001-10-301-0/+22
| | | | llvm-svn: 1050
* callExternalMethod now returns the return value of the functionChris Lattner2001-10-301-2/+6
| | | | llvm-svn: 1048
* Implement a gross function name map that must be used when linking staticallyChris Lattner2001-10-301-18/+42
| | | | | | This is for use with purify llvm-svn: 1047
* * Add some assertions for checking internal error conditionsChris Lattner2001-10-301-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 directoryChris Lattner2001-10-301-1/+4
| | | | llvm-svn: 1044
* Print out a label if we step into the first instruction of a basic blockChris Lattner2001-10-291-0/+3
| | | | llvm-svn: 1038
* * Fix pow wrapper to actually workChris Lattner2001-10-291-1/+56
| | | | | | * Implement rudimentary printf support for lli llvm-svn: 1037
* Implement getelementptr instruction as well as the load and store formsChris Lattner2001-10-291-6/+44
| | | | | | that incorporate gep llvm-svn: 1036
* Remember to print out the next instruction if stepping over an external ↵Chris Lattner2001-10-291-0/+2
| | | | | | method call llvm-svn: 1028
* Fix problem next'ing over an external methodChris Lattner2001-10-291-2/+6
| | | | llvm-svn: 1027
* Fix some illegal uses of the ## operatorChris Lattner2001-10-281-4/+3
| | | | llvm-svn: 1013
* Add methods print<TYPE> for String, Pointer, and each primitive type.Vikram S. Adve2001-10-281-0/+31
| | | | llvm-svn: 994
* Implement a -trace command line option and a trace option in the interpreter.Chris Lattner2001-10-273-1/+20
| | | | llvm-svn: 989
* * Make pointer values work better by treating them uniformly as 64 bit values.Chris Lattner2001-10-274-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 commandsChris Lattner2001-10-273-6/+22
| | | | llvm-svn: 987
OpenPOWER on IntegriCloud