Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix a bug in the interpreter where divides of unmatched signed operands | Reid Spencer | 2006-11-01 | 1 | -8/+11 | |
| | | | | | | | would fail. E.g. udiv sint X, Y or sdiv uint X, Y would fail to find a type match in the switch statement and fail the operation. llvm-svn: 31338 | |||||
* | For PR950: | Reid Spencer | 2006-10-26 | 1 | -11/+51 | |
| | | | | | | | | Make necessary changes to support DIV -> [SUF]Div. This changes llvm to have three division instructions: signed, unsigned, floating point. The bytecode and assembler are bacwards compatible, however. llvm-svn: 31195 | |||||
* | For PR950: | Reid Spencer | 2006-10-20 | 1 | -2/+2 | |
| | | | | | | | | This patch implements the first increment for the Signless Types feature. All changes pertain to removing the ConstantSInt and ConstantUInt classes in favor of just using ConstantInt. llvm-svn: 31063 | |||||
* | initial changes to support JIT'ing from multiple module providers, implicitly | Chris Lattner | 2006-08-16 | 1 | -1/+1 | |
| | | | | | | linking the program on the fly. llvm-svn: 29721 | |||||
* | Simplify TargetData ctor call | Chris Lattner | 2006-06-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 28832 | |||||
* | Simplify interpreter construction. | Chris Lattner | 2006-06-16 | 2 | -21/+11 | |
| | | | | llvm-svn: 28826 | |||||
* | Fix -pedantic warnings | Chris Lattner | 2006-06-01 | 1 | -2/+3 | |
| | | | | llvm-svn: 28635 | |||||
* | For PR786: | Reid Spencer | 2006-05-24 | 1 | -1/+1 | |
| | | | | | | | | Minor tweaks in public headers and a few .cpp files so that LLVM can build successfully with -pedantic and projects using LLVM with -pedantic don't get warnings from LLVM. There's still more -pedantic warnings to fix. llvm-svn: 28453 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 1 | -1/+1 | |
| | | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074 | |||||
* | Get JIT/Interpreter working on Windows again. | Jeff Cohen | 2006-03-24 | 1 | -0/+5 | |
| | | | | llvm-svn: 27037 | |||||
* | remove the intrinsiclowering hook | Chris Lattner | 2006-03-23 | 2 | -13/+9 | |
| | | | | llvm-svn: 26970 | |||||
* | Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries. | Chris Lattner | 2006-03-22 | 2 | -2/+19 | |
| | | | | | | Now you can build a tool with just the JIT or just the interpreter. llvm-svn: 26946 | |||||
* | The interpreter assumes that the caller of runFunction() must be lli, and | Jeff Cohen | 2006-02-07 | 3 | -8/+7 | |
| | | | | | | | | therefore the function being called must be a main() returning an int. The consequences when these assumptions are false are not good, so don't assume them. llvm-svn: 26031 | |||||
* | Eliminate all remaining tabs and trailing spaces. | Jeff Cohen | 2005-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 22523 | |||||
* | core changes for varargs | Andrew Lenharth | 2005-06-18 | 2 | -13/+3 | |
| | | | | llvm-svn: 22254 | |||||
* | Convert tabs to spaces | Misha Brukman | 2005-04-22 | 3 | -7/+8 | |
| | | | | llvm-svn: 21440 | |||||
* | * Remove trailing whitespace | Misha Brukman | 2005-04-21 | 4 | -113/+113 | |
| | | | | | | * Convert tabs to spaces llvm-svn: 21421 | |||||
* | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -3/+3 | |
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | |||||
* | If the interpreter tries to execute an external function, kill it. Of course | Chris Lattner | 2005-01-21 | 1 | -6/+8 | |
| | | | | | | | | since we are dirty, special case __main. This should fix the infinite loop horrible stuff that happens on linux-alpha when configuring llvm-gcc. It might also help cygwin, who knows?? llvm-svn: 19729 | |||||
* | Improve compatiblity with HPUX on Itanium, patch by Duraid Madina | Chris Lattner | 2005-01-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 19586 | |||||
* | Silence warnings | Chris Lattner | 2005-01-08 | 1 | -2/+2 | |
| | | | | llvm-svn: 19392 | |||||
* | Silence VS warnings | Chris Lattner | 2005-01-08 | 1 | -4/+4 | |
| | | | | llvm-svn: 19389 | |||||
* | Use System/DynamicLibrary instead of Support/DynamicLinker | Reid Spencer | 2004-11-29 | 1 | -3/+4 | |
| | | | | llvm-svn: 18357 | |||||
* | Implement ExecutionEngine::freeMachineCodeForFunction() | Misha Brukman | 2004-11-07 | 1 | -0/+4 | |
| | | | | llvm-svn: 17601 | |||||
* | Fix library name. | Reid Spencer | 2004-10-28 | 1 | -1/+1 | |
| | | | | llvm-svn: 17307 | |||||
* | Changes to support rand48 tests | Reid Spencer | 2004-10-27 | 1 | -0/+15 | |
| | | | | llvm-svn: 17284 | |||||
* | We won't use automake | Reid Spencer | 2004-10-22 | 2 | -679/+0 | |
| | | | | llvm-svn: 17155 | |||||
* | Initial automake generated Makefile template | Reid Spencer | 2004-10-18 | 1 | -0/+662 | |
| | | | | llvm-svn: 17136 | |||||
* | Add support for unreachable | Chris Lattner | 2004-10-16 | 2 | -0/+6 | |
| | | | | llvm-svn: 17056 | |||||
* | Update to reflect changes in Makefile rules. | Reid Spencer | 2004-10-13 | 1 | -4/+4 | |
| | | | | llvm-svn: 16950 | |||||
* | Initial version of automake Makefile.am file. | Reid Spencer | 2004-10-10 | 1 | -0/+17 | |
| | | | | llvm-svn: 16885 | |||||
* | Convert code to compile with vc7.1. | Reid Spencer | 2004-09-15 | 1 | -2/+3 | |
| | | | | | | Patch contributed by Paolo Invernizzi. Thanks Paolo! llvm-svn: 16368 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 3 | -4/+4 | |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
* | Fixes for PR341 | Chris Lattner | 2004-07-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 14848 | |||||
* | Fixes for PR341 | Chris Lattner | 2004-07-15 | 1 | -2/+2 | |
| | | | | llvm-svn: 14847 | |||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 1 | -0/+1 | |
| | | | | 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 | |||||
* | Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() | Chris Lattner | 2004-06-17 | 2 | -21/+21 | |
| | | | | llvm-svn: 14201 | |||||
* | Add int ferror(FILE *) | Brian Gaeke | 2004-06-16 | 1 | -0/+8 | |
| | | | | llvm-svn: 14194 | |||||
* | These #includes are long dead | Chris Lattner | 2004-05-27 | 1 | -2/+0 | |
| | | | | llvm-svn: 13856 | |||||
* | 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 | |||||
* | Add support for the select instruction | Chris Lattner | 2004-04-20 | 2 | -2/+24 | |
| | | | | llvm-svn: 13076 | |||||
* | 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 | |||||
* | 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 | |||||
* | 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 | |||||
* | 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 |