summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine
Commit message (Collapse)AuthorAgeFilesLines
* Add a special case for argc,argvChris Lattner2004-08-161-2/+13
| | | | llvm-svn: 15802
* Don't pass too many arguments into runFunctionChris Lattner2004-08-161-8/+15
| | | | llvm-svn: 15801
* Finally, add support for calling arbitrary non-varargs functions.Chris Lattner2004-08-161-9/+58
| | | | llvm-svn: 15799
* Handle all nullary functions, of any valid return type.Chris Lattner2004-08-151-7/+46
| | | | llvm-svn: 15798
* Fine, go all of the way and check that the argument types are correct as well.Chris Lattner2004-08-151-13/+27
| | | | llvm-svn: 15797
* These only really work if returning int or voidChris Lattner2004-08-151-17/+21
| | | | llvm-svn: 15796
* Handle zero arg function caseChris Lattner2004-08-151-1/+5
| | | | llvm-svn: 15794
* Simplify code a bit, print error message always instead of asserting.Chris Lattner2004-08-151-16/+19
| | | | llvm-svn: 15793
* Stop using getValues().Alkis Evlogimenos2004-08-041-7/+4
| | | | llvm-svn: 15487
* bug 122:Reid Spencer2004-07-181-11/+6
| | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14951
* Fixes for PR341Chris Lattner2004-07-151-2/+2
| | | | llvm-svn: 14848
* Fixes for PR341Chris Lattner2004-07-152-6/+6
| | | | llvm-svn: 14847
* The cleanup is done. Update comment.Chris Lattner2004-07-111-5/+2
| | | | llvm-svn: 14761
* Make add constantexprs work with all types, fixing the regressions from last ↵Chris Lattner2004-07-111-4/+28
| | | | | | night llvm-svn: 14760
* Goodbye macro hell, hello nice clean simple extensible code. This changeChris Lattner2004-07-111-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 bytecodeReid Spencer2004-07-071-2/+2
| | | | | | is read, not parsed. llvm-svn: 14677
* Fix for bug 391.Reid Spencer2004-07-072-0/+5
| | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674
* Add #include <iostream> since Value.h does not #include it any more.Reid Spencer2004-07-042-0/+3
| | | | llvm-svn: 14622
* Move the IntrinsicLowering header into the CodeGen directory, as per PR346Chris Lattner2004-06-202-2/+2
| | | | llvm-svn: 14266
* Move the IntrinsicLowering header into the CodeGen directoryChris Lattner2004-06-201-1/+1
| | | | llvm-svn: 14265
* Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID()Chris Lattner2004-06-173-29/+29
| | | | llvm-svn: 14201
* Add int ferror(FILE *)Brian Gaeke2004-06-161-0/+8
| | | | llvm-svn: 14194
* Implement PR315: abort, don't warn, when missing external functions encounteredChris Lattner2004-06-011-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 Lattner2004-05-281-52/+2
| | | | llvm-svn: 13868
* Remove long unused #includesChris Lattner2004-05-271-1/+0
| | | | llvm-svn: 13857
* These #includes are long deadChris Lattner2004-05-271-2/+0
| | | | llvm-svn: 13856
* This code is a real mess, but at least get the JIT *building* on platformsChris Lattner2004-05-271-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 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
* Go back to the interpreter main loop after performing intrinsic lowering,Brian Gaeke2004-04-231-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 Gaeke2004-04-231-0/+5
| | | | llvm-svn: 13118
* Add support for the select instructionChris Lattner2004-04-202-2/+24
| | | | llvm-svn: 13076
* Add a TargetData to the PassManager regardless of the TargetMachine.Brian Gaeke2004-04-141-0/+3
| | | | | | This should unbreak the Sparc JIT again. llvm-svn: 12949
* Adjust to new interfaceChris Lattner2004-04-041-1/+1
| | | | llvm-svn: 12646
* Adjust to new gep_type_iterator prototypes.Chris Lattner2004-04-041-1/+3
| | | | llvm-svn: 12644
* Fix PR296: [execution engines] Unhandled cast constant expressionChris Lattner2004-03-161-6/+17
| | | | llvm-svn: 12435
* Rename the intrinsic enum values for llvm.va_* from Intrinsic::va_* toChris Lattner2004-03-131-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 thisBrian Gaeke2004-03-101-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 Gaeke2004-03-091-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 commentChris Lattner2004-02-261-1/+1
| | | | llvm-svn: 11872
* Represent va_list in interpreter as a (ec-stack-depth . var-arg-index)Brian Gaeke2004-02-251-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 Gaeke2004-02-251-1/+1
| | | | llvm-svn: 11844
* Great renaming part II: Sparc --> SparcV9 (also includes command-line ↵Brian Gaeke2004-02-251-5/+5
| | | | | | options and Makefiles) llvm-svn: 11827
* Make the JIT zero out globals with memset instead of an element at a time. ThisChris Lattner2004-02-151-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 punishingBrian Gaeke2004-02-131-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 Gaeke2004-02-131-0/+4
| | | | llvm-svn: 11367
* Start using the new and improve interface to FunctionType argumentsChris Lattner2004-02-091-2/+2
| | | | llvm-svn: 11224
* rename the "exceptional" destination of an invoke instruction to the ↵Chris Lattner2004-02-081-2/+1
| | | | | | 'unwind' dest llvm-svn: 11202
* Print out all globals as they are emitted, not just those emitted fromChris Lattner2004-02-081-3/+2
| | | | | | emitGlobals llvm-svn: 11191
* There is no reason to #define fdChris Lattner2004-02-081-3/+2
| | | | llvm-svn: 11190
OpenPOWER on IntegriCloud