summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-275-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 commandsChris Lattner2001-10-273-6/+22
| | | | llvm-svn: 987
* * Implement exit() builtin functionChris Lattner2001-10-275-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 LLIChris Lattner2001-10-241-0/+12
| | | | llvm-svn: 983
* Enhancements to pass argc & argv to main if requiredChris Lattner2001-10-184-2/+74
| | | | llvm-svn: 909
* Implement ulong & long supportChris Lattner2001-10-152-27/+36
| | | | 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-155-38/+252
| | | | | | implemented yet though llvm-svn: 818
* * Both Method & GlobalVariable now subclass GlobalValueChris Lattner2001-10-031-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 styleChris Lattner2001-10-021-10/+10
| | | | llvm-svn: 697
* Convert more code to use new style castsChris Lattner2001-10-012-3/+3
| | | | | | Eliminate old style casts from value.h llvm-svn: 696
* Add support for new style castsChris Lattner2001-10-012-2/+2
| | | | 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-102-3/+3
| | | | llvm-svn: 546
* Add support for external methodsChris Lattner2001-09-101-0/+107
| | | | llvm-svn: 529
* Genericize support for calling functions a bitChris Lattner2001-09-104-21/+33
| | | | | | Add external method support llvm-svn: 528
* Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.commonChris Lattner2001-09-071-8/+3
| | | | llvm-svn: 501
* Annotations are now constChris Lattner2001-09-071-1/+1
| | | | llvm-svn: 470
* Lots of new functionalityChris Lattner2001-08-275-19/+278
| | | | llvm-svn: 372
* Initial checkin of interpreterChris Lattner2001-08-236-0/+1054
llvm-svn: 361
OpenPOWER on IntegriCloud