| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | 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 | |||||
| * | Print an error message if we can't materialize the bytecode file | Chris Lattner | 2004-02-01 | 1 | -5/+11 | |
| | | | | | llvm-svn: 11043 | |||||
| * | Print an error message if there is an error materialize the bc file. | Chris Lattner | 2004-02-01 | 1 | -1/+6 | |
| | | | | | llvm-svn: 11041 | |||||
| * | 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 | |||||
| * | Add new ExecutionEngine::getGlobalValueAtAddress method, which can efficiently | Chris Lattner | 2003-12-31 | 1 | -5/+21 | |
| | | | | | | | | | | | turn a memory address back into the LLVM global object that starts at that address. Note that this won't cause any additional datastructures to be built for clients of the EE that don't need this information. Also modified some code to not access the GlobalAddress map directly. llvm-svn: 10674 | |||||
| * | 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 | 7 | -50/+74 | |
| | | | | | | | Reimplement the Interpreters implementation of va_* to be more direct. llvm-svn: 10627 | |||||
| * | Factor code out of LLI | Chris Lattner | 2003-12-26 | 1 | -0/+54 | |
| | | | | | llvm-svn: 10616 | |||||
| * | No longer run atExit functions from run() | Chris Lattner | 2003-12-26 | 3 | -23/+27 | |
| | | | | | | | | rename run to runFunction Genericize the runFunction code a little bit, though it still stinks llvm-svn: 10610 | |||||
| * | No longer run atExit functions from run() | Chris Lattner | 2003-12-26 | 2 | -10/+6 | |
| | | | | | | | rename run to runFunction llvm-svn: 10609 | |||||
| * | This should not be needed anymore | Chris Lattner | 2003-12-20 | 1 | -4/+0 | |
| | | | | | llvm-svn: 10558 | |||||
| * | Implement PR135, lazy emission of global variables | Chris Lattner | 2003-12-20 | 4 | -19/+85 | |
| | | | | | llvm-svn: 10549 | |||||
| * | Simple refactorings to prepare for lazy global emission | Chris Lattner | 2003-12-20 | 1 | -2/+16 | |
| | | | | | | | Also, add a stat for the number of globals emitted llvm-svn: 10547 | |||||
| * | Cleanup the JIT as per PR176. This renames the VM class to JIT, and merges the | Chris Lattner | 2003-12-20 | 6 | -221/+217 | |
| | | | | | | | | VM.cpp and JIT.cpp files into JIT.cpp. This also splits some nasty code out into TargetSelect.cpp so that people hopefully won't notice it. :) llvm-svn: 10544 | |||||
| * | Update for changes in the JIT | Chris Lattner | 2003-12-20 | 1 | -2/+2 | |
| | | | | | llvm-svn: 10543 | |||||
| * | Rip JIT specific stuff out of TargetMachine, as per PR176 | Chris Lattner | 2003-12-20 | 3 | -15/+16 | |
| | | | | | llvm-svn: 10542 | |||||
| * | 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 | |||||
| * | Implement the ExecutionEngine::getPointerToFunctionOrStub by forwarding the | Chris Lattner | 2003-12-12 | 2 | -0/+23 | |
| | | | | | | | request on to the TargetMachine if it supports the getJITStubForFunction method llvm-svn: 10431 | |||||
| * | 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 | |||||
| * | Use the new method, though noone currently implements it any better than before | Chris Lattner | 2003-12-08 | 1 | -1/+5 | |
| | | | | | llvm-svn: 10320 | |||||
| * | Finegrainify namespacification | Chris Lattner | 2003-12-08 | 4 | -17/+5 | |
| | | | | | llvm-svn: 10318 | |||||
| * | Emit constants to one contiguous block, but this time, respect alignment ↵ | Chris Lattner | 2003-11-30 | 1 | -5/+27 | |
| | | | | | | | | | constraints. If this doesn't work Misha, feel free to revert it. llvm-svn: 10267 | |||||
| * | Go back to allocating memory for each constant separately. Since SPARCs do not | Misha Brukman | 2003-11-30 | 1 | -20/+5 | |
| | | | | | | | | | allow unaligned loads, that is probably the problem I've been seeing in numerous SPARC test cases failing. X86, on the other hand, just slows down unaligned accesses, since it must make 2 aligned accesses for each unaligned one. llvm-svn: 10266 | |||||
| * | Do not depend on structure elements being of type UByteTy | Chris Lattner | 2003-11-25 | 2 | -22/+31 | |
| | | | | | llvm-svn: 10224 | |||||
| * | Fine grainify namespaceification | Chris Lattner | 2003-11-19 | 1 | -5/+4 | |
| | | | | | llvm-svn: 10093 | |||||
| * | Emit the MachineConstantPool constants in one contiguous memory `pool'. | Misha Brukman | 2003-11-17 | 1 | -5/+20 | |
| | | | | | llvm-svn: 10060 | |||||
| * | * Order #includes as per style guide | Misha Brukman | 2003-11-17 | 1 | -8/+7 | |
| | | | | | | | | * Delete blank comment lines * Eliminate space between function name and open-paren ( to be consistent llvm-svn: 10059 | |||||
| * | 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 | 10 | -1/+40 | |
| | | | | | llvm-svn: 9903 | |||||
| * | Remove #include of PassManager.h which was marked FIXME, and apparently is no | Brian Gaeke | 2003-11-09 | 1 | -3/+0 | |
| | | | | | | | longer used. llvm-svn: 9823 | |||||
| * | 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 | |||||
| * | Remove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass. | Misha Brukman | 2003-11-07 | 1 | -15/+0 | |
| | | | | | llvm-svn: 9790 | |||||
| * | Add stub version of unwind support | Brian Gaeke | 2003-11-07 | 2 | -0/+5 | |
| | | | | | llvm-svn: 9789 | |||||
| * | visitCallInst --> visitCallSite. | Brian Gaeke | 2003-11-07 | 2 | -4/+7 | |
| | | | | | | | Use visitCallSite to implement both CallInsts and InvokeInsts. llvm-svn: 9788 | |||||
| * | Make the operation of visitCallInst() only depend on the CallSite. | Brian Gaeke | 2003-11-07 | 1 | -7/+9 | |
| | | | | | llvm-svn: 9787 | |||||
| * | Use CallSites for call sites, instead of CallInsts. A revolutionary concept. | Brian Gaeke | 2003-11-07 | 2 | -9/+10 | |
| | | | | | llvm-svn: 9784 | |||||
| * | Refactor the return-from-function code into popStackAndReturnValueToCaller(). | Brian Gaeke | 2003-11-07 | 2 | -37/+42 | |
| | | | | | | | Make external function calls slightly less special; now they get a stack frame. llvm-svn: 9765 | |||||
| * | Be friendly to gcc 3.4... good compiler. Nice compiler. | Chris Lattner | 2003-11-05 | 3 | -3/+1 | |
| | | | | | llvm-svn: 9726 | |||||
| * | Abort when the user program calls abort, instead of printing a funny message ↵ | Brian Gaeke | 2003-11-05 | 1 | -4/+2 | |
| | | | | | | | and calling exit(1). llvm-svn: 9716 | |||||
| * | Use regular old malloc to emulate malloc/alloca instructions. | Brian Gaeke | 2003-11-05 | 1 | -2/+1 | |
| | | | | | llvm-svn: 9713 | |||||
| * | Remove a comment which no longer applies. | Brian Gaeke | 2003-11-05 | 1 | -5/+0 | |
| | | | | | llvm-svn: 9712 | |||||
| * | In VM::create(), comment out almost the whole function if NO_JITS_ENABLED, | Brian Gaeke | 2003-10-29 | 1 | -3/+4 | |
| | | | | | | | because the Arch variable will likely be undefined. llvm-svn: 9576 | |||||
| * | Unbreak the build | Chris Lattner | 2003-10-25 | 1 | -1/+0 | |
| | | | | | llvm-svn: 9502 | |||||

