Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | 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 | |||||
* | 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 | |||||
* | Don't pass anything to the IntrinsicLowering class that is not_intrinsic, | Brian Gaeke | 2004-01-14 | 1 | -1/+4 | |
| | | | | | | | | | because that makes it abort. Also, fix a typo in a comment. This checkin brought to you by the "It only takes about 30 seconds to run ENABLE_LLI tests on Shootout on zion, even if they all dump core" fund. llvm-svn: 10844 | |||||
* | Clean up a lot of the code I added yesterday by exposing the IntrinsicLowering | Chris Lattner | 2003-12-28 | 1 | -1/+0 | |
| | | | | | | implementation from the TargetMachine directly. llvm-svn: 10636 | |||||
* | Pass around IntrinsicLowering instances as appropriate. | Chris Lattner | 2003-12-28 | 4 | -41/+58 | |
| | | | | | | Reimplement the Interpreters implementation of va_* to be more direct. llvm-svn: 10627 | |||||
* | No longer run atExit functions from run() | Chris Lattner | 2003-12-26 | 2 | -10/+6 | |
| | | | | | | rename run to runFunction llvm-svn: 10609 | |||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-14 | 2 | -24/+2 | |
| | | | | llvm-svn: 10465 | |||||
* | Dynamically get the right-sized member of a GenericValue to hold a size_t, and | Brian Gaeke | 2003-12-12 | 1 | -2/+8 | |
| | | | | | | use it to return the result of strlen. llvm-svn: 10433 | |||||
* | Since we are using a gep_type_iterator, we apparently must get the type | Brian Gaeke | 2003-12-12 | 1 | -2/+1 | |
| | | | | | | | index by using I.getOperand() here. This was failing an assertion on basically every struct access. llvm-svn: 10426 | |||||
* | Fix typo in comment. Add prototype for getConstantExprValue(). | Brian Gaeke | 2003-12-11 | 1 | -1/+3 | |
| | | | | llvm-svn: 10390 | |||||
* | Add support for --debug-only=interpreter, to print out instrs before | Brian Gaeke | 2003-12-11 | 1 | -40/+144 | |
| | | | | | | | | | | | | | | | | | | interpreting them. Move support for getting the value of a ConstantExpr into getConstantExprValue(), and add support for the rest of the different kinds of ConstantExprs. (I don't think I like ConstantExprs!) This requires separate procedures executeShlInst() and executeShrInst(). Reduce the number of references to TheEE. Get rid of an old comment mentioning annotations. Fix exitCalled(), which was crashing the Interpreter. This was a leftover from the return-value code refactoring. llvm-svn: 10389 | |||||
* | implement method | Chris Lattner | 2003-12-08 | 1 | -0/+7 | |
| | | | | llvm-svn: 10321 | |||||
* | Do not depend on structure elements being of type UByteTy | Chris Lattner | 2003-11-25 | 2 | -22/+31 | |
| | | | | llvm-svn: 10224 | |||||
* | Change LLI's internal representation of va_list to a pointer to the next | Brian Gaeke | 2003-11-13 | 3 | -13/+15 | |
| | | | | | | | | 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 Gaeke | 2003-11-11 | 4 | -1/+17 | |
| | | | | llvm-svn: 9903 | |||||
* | Implement vaarg instruction. This is not quite perfect: 2003-08-11-VaListArg | Brian Gaeke | 2003-11-07 | 2 | -0/+36 | |
| | | | | | | still causes a crash. But it's better than before. llvm-svn: 9794 | |||||
* | popStackAndReturnValueToCaller() must advance instruction pointer to normal | Brian Gaeke | 2003-11-07 | 1 | -5/+24 | |
| | | | | | | | | destination, if returning from an invoke. Implement 'unwind' instruction. llvm-svn: 9792 | |||||
* | Add stub version of unwind support | Brian Gaeke | 2003-11-07 | 2 | -0/+5 | |
| | | | | llvm-svn: 9789 |