summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
Commit message (Collapse)AuthorAgeFilesLines
...
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-171-1/+1
| | | | llvm-svn: 14201
* Add int ferror(FILE *)Brian Gaeke2004-06-161-0/+8
| | | | llvm-svn: 14194
* These #includes are long deadChris Lattner2004-05-271-2/+0
| | | | llvm-svn: 13856
* Get rid of a wart: useless getFILE function is now a cast macro.Reid Spencer2004-05-251-42/+2
| | | | llvm-svn: 13747
* Generalize the strlen size_t hack, for the benefit of the other externalBrian Gaeke2004-05-011-17/+33
| | | | | | functions with wrappers that either take or return size_ts. llvm-svn: 13296
* Pass around IntrinsicLowering instances as appropriate.Chris Lattner2003-12-281-26/+0
| | | | | | Reimplement the Interpreters implementation of va_* to be more direct. llvm-svn: 10627
* Finegrainify namespacificationChris Lattner2003-12-141-21/+1
| | | | llvm-svn: 10465
* Dynamically get the right-sized member of a GenericValue to hold a size_t, andBrian Gaeke2003-12-121-2/+8
| | | | | | use it to return the result of strlen. llvm-svn: 10433
* Change LLI's internal representation of va_list to a pointer to the nextBrian Gaeke2003-11-131-3/+1
| | | | | | | | argument to be returned by va_arg. This allows va_lists to be passed between different LLVM procedures (though it is unlikely that an LLI va_list would make sense to an external function, except by chance.) llvm-svn: 9965
* Put all LLVM code into the llvm namespace, as per bug 109.Brian Gaeke2003-11-111-0/+4
| | | | llvm-svn: 9903
* Abort when the user program calls abort, instead of printing a funny message ↵Brian Gaeke2003-11-051-4/+2
| | | | | | and calling exit(1). llvm-svn: 9716
* Unbreak the buildChris Lattner2003-10-251-1/+0
| | | | llvm-svn: 9502
* Added LLVM project notice to the top of every C++ source file.John Criswell2003-10-201-0/+7
| | | | | | Header files will be on the way. llvm-svn: 9298
* Interpret the new varargs intrinsics correctlyChris Lattner2003-10-181-11/+6
| | | | llvm-svn: 9222
* Order #includes as per the style guide.Misha Brukman2003-10-141-3/+3
| | | | llvm-svn: 9128
* Don't include Config/stdio.h or <stdio.h>.Brian Gaeke2003-10-101-1/+0
| | | | llvm-svn: 9031
* Fix spelling.Misha Brukman2003-10-101-1/+1
| | | | llvm-svn: 9021
* Rewrite head-of-file comment.Brian Gaeke2003-10-101-14/+16
| | | | | | | | | In lookupFunction(): Change to use "F" for Function argument instead of ancient "M". Remove commented-out code. Change to use GetAddressOfSymbol instead of dlsym. llvm-svn: 9013
* Do not read past the end of the contained type listChris Lattner2003-10-091-2/+2
| | | | llvm-svn: 8986
* Make CreateArgv part of lli rather than part of ExecutionEngine.Brian Gaeke2003-09-051-16/+6
| | | | | | | | | | | | | | | Switch Interpreter and JIT's "run" methods to take a Function and a vector of GenericValues. Move (almost all of) the stuff that constructs a canonical call to main() into lli (new methods "callAsMain", "makeStringVector"). Nuke getCurrentExecutablePath(), enableTracing(), getCurrentFunction(), isStopped(), and many dead decls from interpreter. Add linux strdup() support to interpreter. Make interpreter's atexit handler runner and JIT's runAtExitHandlers() look more alike, in preparation for refactoring. atexit() is spelled "atexit", not "at_exit". llvm-svn: 8366
* Add preliminary support for "any" pointersize/endianness. This will needChris Lattner2003-08-241-1/+2
| | | | | | to change soon though. llvm-svn: 8123
* Spell `necessary' correctly.Misha Brukman2003-08-181-1/+1
| | | | llvm-svn: 7944
* Merged in autoconf branch. This provides configuration via the autoconfJohn Criswell2003-06-301-3/+3
| | | | | | system. llvm-svn: 7014
* Include <cmath> instead of <math.h>Brian Gaeke2003-06-231-10/+1
| | | | | | Remove isnan; it's too unportable to handle cleanly at this point. llvm-svn: 6866
* Use std::isnan instead of isnan. Brought back to you from theBrian Gaeke2003-06-171-1/+1
| | | | | | future, by the reconciliation of the C++ and C99 standards. Someday. llvm-svn: 6751
* Add support for atexit function, remove support for __main functionChris Lattner2003-05-141-5/+8
| | | | llvm-svn: 6194
* Implement varargs support for LLI!Chris Lattner2003-05-081-0/+33
| | | | llvm-svn: 6043
* A large number of simple changes:Chris Lattner2003-05-081-91/+11
| | | | | | | * s/Method/Function * Kill some obsolete (external) functions that used to be to support tracing llvm-svn: 6041
* Only do the %ld -> %lld promotion when running a 64 bit bytecode on a 32 bit ↵Chris Lattner2003-04-251-1/+2
| | | | | | host llvm-svn: 5942
* Add __strdupChris Lattner2003-04-251-0/+7
| | | | llvm-svn: 5941
* Add memcpyChris Lattner2003-04-231-0/+7
| | | | llvm-svn: 5887
* Implement a bunch of new external functionsChris Lattner2003-04-231-0/+54
| | | | llvm-svn: 5885
* Add support for _IO_getc function used on linuxChris Lattner2003-04-231-0/+6
| | | | llvm-svn: 5883
* fprintf CAN take exactly 2 argsChris Lattner2003-04-211-1/+1
| | | | llvm-svn: 5830
* Implement scanf and fix sscanf to actually endian swap the results correctlyChris Lattner2003-03-311-2/+97
| | | | llvm-svn: 5763
* * Wrap at 80 columnsChris Lattner2003-01-131-49/+47
| | | | | | | * Fix a ton of warnings * Implement puts llvm-svn: 5254
* Substantial changes to refactor LLI to incorporate both the Jello JIT andChris Lattner2002-12-231-4/+5
| | | | | | the traditional LLI interpreter llvm-svn: 5125
* Add support for isnanChris Lattner2002-12-201-0/+9
| | | | llvm-svn: 5111
* - 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
OpenPOWER on IntegriCloud