summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-201-10/+9
| | | | | | wasn't an optimization and it was causing lots of bugs. llvm-svn: 4779
* Implement feofChris Lattner2002-11-081-0/+10
| | | | llvm-svn: 4627
* Implement freopen for burgChris Lattner2002-11-071-2/+11
| | | | llvm-svn: 4606
* Implement fprintfChris Lattner2002-11-061-0/+16
| | | | llvm-svn: 4585
* Implement fputc and ungetc to allow burg to run in lliChris Lattner2002-11-061-0/+19
| | | | llvm-svn: 4584
* * Implement the getc() functionChris Lattner2002-10-021-11/+86
| | | | | | * Support usage of stdin, stdout & stderr correctly in LLI! llvm-svn: 4022
* * Fix a bug that was causing lli to misrun:Chris Lattner2002-09-131-1/+0
| | | | | | | test/Regression/Transforms/DecomposeMultiDimRefs/mixedindices.c * Eliminate unneccesary #include llvm-svn: 3712
* Fix problem where lli would not print out a 64 bit value when the client codeChris Lattner2002-08-021-2/+10
| | | | | | | uses the modifier "%ld". Now lli passes off "%lld" to the underlying runtime library in this case. llvm-svn: 3230
* MEGAPATCH checkin.Chris Lattner2002-06-251-1/+2
| | | | | | For details, See: docs/2002-06-25-MegaPatchInfo.txt llvm-svn: 2778
* Remove explicit support for tracing code. It should be linked into theChris Lattner2002-05-201-43/+10
| | | | | | executable just like everything else. llvm-svn: 2674
* Added external functions for hashing pointers to sequence numbers.Vikram S. Adve2002-05-191-0/+44
| | | | llvm-svn: 2659
* Fix a bug printing out %c formated characters.Chris Lattner2002-04-171-1/+1
| | | | llvm-svn: 2277
* Change references to the Method class to be references to the FunctionChris Lattner2002-04-071-9/+11
| | | | | | | 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-291-43/+43
| | | | llvm-svn: 2036
* Implement a bunch of new functions to support the SPECINT mcfChris Lattner2002-03-081-0/+84
| | | | | | benchmark llvm-svn: 1841
* Implement exp functionChris Lattner2002-02-181-0/+9
| | | | llvm-svn: 1774
* Implement the clock() functionChris Lattner2002-01-231-0/+7
| | | | llvm-svn: 1573
* Changes to build successfully with GCC 3.02Chris Lattner2002-01-201-11/+14
| | | | llvm-svn: 1503
* Implement sprintfChris Lattner2001-12-131-11/+25
| | | | llvm-svn: 1445
* Renamed inst_const_iterator -> const_inst_iteratorChris Lattner2001-12-041-2/+2
| | | | | | | Renamed op_const_iterator -> const_op_iterator Renamed PointerType::getValueType() -> PointerType::getElementType() llvm-svn: 1408
* Remove invalid,unneccesary ## tokenChris Lattner2001-11-261-1/+1
| | | | llvm-svn: 1391
* * Implement array indexing in lliChris Lattner2001-11-261-0/+25
| | | | | | * Add external atoi method as well as floor, and srand llvm-svn: 1355
* Implement some more rand functions for em3d benchmarkChris Lattner2001-11-131-0/+19
| | | | llvm-svn: 1291
* * Switch to operation on pointers with PointerTy more consistentlyChris Lattner2001-11-071-31/+36
| | | | | | | | | | | | | | | | | | | | * 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
* 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 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
* * Fix pow wrapper to actually workChris Lattner2001-10-291-1/+56
| | | | | | * Implement rudimentary printf support for lli llvm-svn: 1037
* 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
* * Make pointer values work better by treating them uniformly as 64 bit values.Chris Lattner2001-10-271-0/+22
| | | | | | | | | 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
* * Implement exit() builtin functionChris Lattner2001-10-271-2/+34
| | | | | | | * 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-2/+8
| | | | llvm-svn: 909
* Implement global variables. Struct and Pointer initializers are not ↵Chris Lattner2001-10-151-1/+29
| | | | | | 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
* Use the correct style castsChris Lattner2001-09-101-2/+2
| | | | llvm-svn: 546
* Add support for external methodsChris Lattner2001-09-101-0/+107
llvm-svn: 529
OpenPOWER on IntegriCloud