Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add a special case for argc,argv | Chris Lattner | 2004-08-16 | 1 | -2/+13 |
| | | | | llvm-svn: 15802 | ||||
* | Don't pass too many arguments into runFunction | Chris Lattner | 2004-08-16 | 1 | -8/+15 |
| | | | | llvm-svn: 15801 | ||||
* | Finally, add support for calling arbitrary non-varargs functions. | Chris Lattner | 2004-08-16 | 1 | -9/+58 |
| | | | | llvm-svn: 15799 | ||||
* | Handle all nullary functions, of any valid return type. | Chris Lattner | 2004-08-15 | 1 | -7/+46 |
| | | | | llvm-svn: 15798 | ||||
* | Fine, go all of the way and check that the argument types are correct as well. | Chris Lattner | 2004-08-15 | 1 | -13/+27 |
| | | | | llvm-svn: 15797 | ||||
* | These only really work if returning int or void | Chris Lattner | 2004-08-15 | 1 | -17/+21 |
| | | | | llvm-svn: 15796 | ||||
* | Handle zero arg function case | Chris Lattner | 2004-08-15 | 1 | -1/+5 |
| | | | | llvm-svn: 15794 | ||||
* | Simplify code a bit, print error message always instead of asserting. | Chris Lattner | 2004-08-15 | 1 | -16/+19 |
| | | | | llvm-svn: 15793 | ||||
* | Stop using getValues(). | Alkis Evlogimenos | 2004-08-04 | 1 | -7/+4 |
| | | | | llvm-svn: 15487 | ||||
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -11/+6 |
| | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14951 | ||||
* | Fixes for PR341 | Chris Lattner | 2004-07-15 | 1 | -2/+2 |
| | | | | llvm-svn: 14848 | ||||
* | Fixes for PR341 | Chris Lattner | 2004-07-15 | 2 | -6/+6 |
| | | | | llvm-svn: 14847 | ||||
* | The cleanup is done. Update comment. | Chris Lattner | 2004-07-11 | 1 | -5/+2 |
| | | | | llvm-svn: 14761 | ||||
* | Make add constantexprs work with all types, fixing the regressions from last ↵ | Chris Lattner | 2004-07-11 | 1 | -4/+28 |
| | | | | | | night llvm-svn: 14760 | ||||
* | Goodbye macro hell, hello nice clean simple extensible code. This change | Chris Lattner | 2004-07-11 | 1 | -55/+13 |
| | | | | | | | | also gives the JIT the ability to dynamically load targets. e.g. lli -load libparisc.so -march=parisc foo.bc llvm-svn: 14750 | ||||
* | Make error message consistent with the rest of LLVM by saying that bytecode | Reid Spencer | 2004-07-07 | 1 | -2/+2 |
| | | | | | | is read, not parsed. llvm-svn: 14677 | ||||
* | Fix for bug 391. | Reid Spencer | 2004-07-07 | 2 | -0/+5 |
| | | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674 | ||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 2 | -0/+3 |
| | | | | llvm-svn: 14622 | ||||
* | Move the IntrinsicLowering header into the CodeGen directory, as per PR346 | Chris Lattner | 2004-06-20 | 2 | -2/+2 |
| | | | | llvm-svn: 14266 | ||||
* | Move the IntrinsicLowering header into the CodeGen directory | Chris Lattner | 2004-06-20 | 1 | -1/+1 |
| | | | | llvm-svn: 14265 | ||||
* | Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() | Chris Lattner | 2004-06-17 | 3 | -29/+29 |
| | | | | llvm-svn: 14201 | ||||
* | Add int ferror(FILE *) | Brian Gaeke | 2004-06-16 | 1 | -0/+8 |
| | | | | llvm-svn: 14194 | ||||
* | Implement PR315: abort, don't warn, when missing external functions encountered | Chris Lattner | 2004-06-01 | 1 | -9/+17 |
| | | | | | | This fixes some critical problems building libstdc++ on cygwin. llvm-svn: 13934 | ||||
* | Use the SystemUtils.h file to do our dirty work. | Chris Lattner | 2004-05-28 | 1 | -52/+2 |
| | | | | llvm-svn: 13868 | ||||
* | Remove long unused #includes | Chris Lattner | 2004-05-27 | 1 | -1/+0 |
| | | | | llvm-svn: 13857 | ||||
* | These #includes are long dead | Chris Lattner | 2004-05-27 | 1 | -2/+0 |
| | | | | llvm-svn: 13856 | ||||
* | This code is a real mess, but at least get the JIT *building* on platforms | Chris Lattner | 2004-05-27 | 1 | -0/+8 |
| | | | | | | | (such as plan 9) without mmap. Of course it won't RUN... but that's another step. :) llvm-svn: 13839 | ||||
* | Get rid of a wart: useless getFILE function is now a cast macro. | Reid Spencer | 2004-05-25 | 1 | -42/+2 |
| | | | | llvm-svn: 13747 | ||||
* | Generalize the strlen size_t hack, for the benefit of the other external | Brian Gaeke | 2004-05-01 | 1 | -17/+33 |
| | | | | | | functions with wrappers that either take or return size_ts. llvm-svn: 13296 | ||||
* | Go back to the interpreter main loop after performing intrinsic lowering, | Brian Gaeke | 2004-04-23 | 1 | -0/+1 |
| | | | | | | | | because 1) the first instruction might not be a call site, and 2) CS and SF.Caller were not getting set to point to the new call site anyway (resulting in a crash on e.g. call %llvm.memset). llvm-svn: 13122 | ||||
* | Implement emitWordAt() for the JIT emitter. | Brian Gaeke | 2004-04-23 | 1 | -0/+5 |
| | | | | llvm-svn: 13118 | ||||
* | Add support for the select instruction | Chris Lattner | 2004-04-20 | 2 | -2/+24 |
| | | | | llvm-svn: 13076 | ||||
* | Add a TargetData to the PassManager regardless of the TargetMachine. | Brian Gaeke | 2004-04-14 | 1 | -0/+3 |
| | | | | | | This should unbreak the Sparc JIT again. llvm-svn: 12949 | ||||
* | Adjust to new interface | Chris Lattner | 2004-04-04 | 1 | -1/+1 |
| | | | | llvm-svn: 12646 | ||||
* | Adjust to new gep_type_iterator prototypes. | Chris Lattner | 2004-04-04 | 1 | -1/+3 |
| | | | | llvm-svn: 12644 | ||||
* | Fix PR296: [execution engines] Unhandled cast constant expression | Chris Lattner | 2004-03-16 | 1 | -6/+17 |
| | | | | llvm-svn: 12435 | ||||
* | Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* to | Chris Lattner | 2004-03-13 | 1 | -3/+3 |
| | | | | | | Intrinsic::va*. This avoid conflicting with macros in the stdlib.h file. llvm-svn: 12356 | ||||
* | My fix for PR274 broke the build on Darwin/PPC. As I'm fairly certain this | Brian Gaeke | 2004-03-10 | 1 | -2/+4 |
| | | | | | | | bug only affects Linux systems that use GLIBC, I'm going to put ifdefs around the array. llvm-svn: 12269 | ||||
* | Address PR274 - '[JIT] Programs cannot resolve the fstat function' | Brian Gaeke | 2004-03-09 | 1 | -0/+18 |
| | | | | | | | | | by trying to get the compiler to generate an undefined reference for it and related functions which live in libc_nonshared.a on Linux. Linkers... sigh. llvm-svn: 12256 | ||||
* | remove obsolete comment | Chris Lattner | 2004-02-26 | 1 | -1/+1 |
| | | | | llvm-svn: 11872 | ||||
* | Represent va_list in interpreter as a (ec-stack-depth . var-arg-index) | Brian Gaeke | 2004-02-25 | 1 | -11/+14 |
| | | | | | | | | | pair, and look up varargs in the execution stack every time, instead of just pushing iterators (which can be invalidated during callFunction()) around. (union GenericValue now has a "pair of uints" member, to support this mechanism.) Fixes Bug 234. llvm-svn: 11845 | ||||
* | Great sparc renaming fallout IV: Sparc --> SparcV9. | Brian Gaeke | 2004-02-25 | 1 | -1/+1 |
| | | | | llvm-svn: 11844 | ||||
* | Great renaming part II: Sparc --> SparcV9 (also includes command-line ↵ | Brian Gaeke | 2004-02-25 | 1 | -5/+5 |
| | | | | | | options and Makefiles) llvm-svn: 11827 | ||||
* | Make the JIT zero out globals with memset instead of an element at a time. This | Chris Lattner | 2004-02-15 | 1 | -0/+4 |
| | | | | | | should speed it up a bit on a lot of programs llvm-svn: 11472 | ||||
* | Fix off-by-one in Interpreter::getFirstVarArg(), which was punishing | Brian Gaeke | 2004-02-13 | 1 | -1/+1 |
| | | | | | | | any attempts by LLI to use varargs (possibly left over from the introduction of IntrinsicLowering??) llvm-svn: 11370 | ||||
* | The Interpreter was failing the AtExit UnitTest. This fixes it. | Brian Gaeke | 2004-02-13 | 1 | -0/+4 |
| | | | | llvm-svn: 11367 | ||||
* | Start using the new and improve interface to FunctionType arguments | Chris Lattner | 2004-02-09 | 1 | -2/+2 |
| | | | | llvm-svn: 11224 | ||||
* | rename the "exceptional" destination of an invoke instruction to the ↵ | Chris Lattner | 2004-02-08 | 1 | -2/+1 |
| | | | | | | 'unwind' dest llvm-svn: 11202 | ||||
* | Print out all globals as they are emitted, not just those emitted from | Chris Lattner | 2004-02-08 | 1 | -3/+2 |
| | | | | | | emitGlobals llvm-svn: 11191 | ||||
* | There is no reason to #define fd | Chris Lattner | 2004-02-08 | 1 | -3/+2 |
| | | | | llvm-svn: 11190 |