summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/Execution.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix #include broken by iMemory.h not including DerivedTypes.hChris Lattner2002-04-291-1/+1
| | | | llvm-svn: 2407
* FIXME removed: malloc/alloca ALWAYS have a size argumentChris Lattner2002-04-281-7/+2
| | | | llvm-svn: 2389
* Split ConstantVals.h into Constant.h and Constants.hChris Lattner2002-04-281-1/+1
| | | | llvm-svn: 2378
* Move FunctionArgument out of iOther.h into Argument.h and rename class toChris Lattner2002-04-091-5/+6
| | | | | | be 'Argument' instead of FunctionArgument. llvm-svn: 2217
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-28/+29
| | | | | | | class. The Method class is obsolete (renamed) and all references to it are being converted over to Function. llvm-svn: 2144
* Change from Method to FunctionChris Lattner2002-03-261-4/+2
| | | | llvm-svn: 1992
* Keep track of memory allocated by alloca so that it is freed appropriatelyChris Lattner2002-02-191-5/+6
| | | | llvm-svn: 1776
* Method.h no longer includes BasicBlock.hChris Lattner2002-02-121-4/+6
| | | | | | | 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
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-41/+44
| | | | 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
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-3/+3
| | | | | | | 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-261-1/+0
| | | | llvm-svn: 1399
* * Implement array indexing in lliChris Lattner2001-11-261-24/+44
| | | | | | * Add external atoi method as well as floor, and srand llvm-svn: 1355
* Rename cruftChris Lattner2001-11-141-3/+3
| | | | llvm-svn: 1299
* 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-121-0/+45
| | | | 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-071-44/+110
| | | | | | | | | | | | | | | | | | | | * 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-071-22/+34
| | | | | | | | * 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-071-14/+48
| | | | | | | | 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
* Implement xor operatorChris Lattner2001-10-301-0/+22
| | | | llvm-svn: 1050
* * 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
* Print out a label if we step into the first instruction of a basic blockChris Lattner2001-10-291-0/+3
| | | | llvm-svn: 1038
* 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
* Implement a -trace command line option and a trace option in the interpreter.Chris Lattner2001-10-271-0/+3
| | | | llvm-svn: 989
* * Make pointer values work better by treating them uniformly as 64 bit values.Chris Lattner2001-10-271-35/+65
| | | | | | | | | 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-271-1/+1
| | | | llvm-svn: 987
* * Implement exit() builtin functionChris Lattner2001-10-271-0/+9
| | | | | | | * Implement linked in runtime library with puts(char*) in it * implement builtin putchar(int) function llvm-svn: 985
* Enhancements to pass argc & argv to main if requiredChris Lattner2001-10-181-0/+2
| | | | llvm-svn: 909
* Implement ulong & long supportChris Lattner2001-10-151-27/+33
| | | | llvm-svn: 843
* Implement initializers for structs and pointersChris Lattner2001-10-151-80/+100
| | | | llvm-svn: 823
* Implement global variables. Struct and Pointer initializers are not ↵Chris Lattner2001-10-151-25/+138
| | | | | | implemented yet though llvm-svn: 818
* Commit more code over to new cast styleChris Lattner2001-10-021-10/+10
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-011-2/+2
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add support for new style castsChris Lattner2001-10-011-1/+1
| | | | llvm-svn: 694
* File #include fileChris Lattner2001-09-281-1/+1
| | | | llvm-svn: 665
* Make a new llvm/Target #include directory.Chris Lattner2001-09-141-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 castsChris Lattner2001-09-101-1/+1
| | | | llvm-svn: 546
* Genericize support for calling functions a bitChris Lattner2001-09-101-18/+23
| | | | | | Add external method support llvm-svn: 528
* Lots of new functionalityChris Lattner2001-08-271-12/+261
| | | | llvm-svn: 372
* Initial checkin of interpreterChris Lattner2001-08-231-0/+598
llvm-svn: 361
OpenPOWER on IntegriCloud