Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Unbreak build. | Daniel Dunbar | 2008-10-03 | 1 | -18/+18 | |
| | | | | llvm-svn: 57017 | |||||
* | On Darwin ARM, memory needs special handling to do JIT. This patch expands | Jim Grosbach | 2008-10-03 | 2 | -1/+26 | |
| | | | | | | | this handling to work properly for modifying stub functions, relocations back to entry points after JIT compilation, etc.. llvm-svn: 57013 | |||||
* | Switch the MachineOperand accessors back to the short names like | Dan Gohman | 2008-10-03 | 1 | -1/+1 | |
| | | | | | | isReg, etc., from isRegister, etc. llvm-svn: 57006 | |||||
* | Acquire the lock only when necessary. More precisely, do not acquire | Nicolas Geoffray | 2008-10-03 | 1 | -10/+22 | |
| | | | | | | the lock when calling a method which may materialize the llvm::Function. llvm-svn: 56995 | |||||
* | Add DisableGVCompilation which forces the JIT to assert when it tries to ↵ | Evan Cheng | 2008-09-24 | 1 | -0/+4 | |
| | | | | | | allocate space for a GlobalVariable. llvm-svn: 56557 | |||||
* | Initial support for the CMake build system. | Oscar Fuentes | 2008-09-22 | 1 | -0/+11 | |
| | | | | llvm-svn: 56419 | |||||
* | Preliminary support for systems which require changing JIT memory regions ↵ | Evan Cheng | 2008-09-18 | 2 | -0/+7 | |
| | | | | | | privilege from read / write to read / executable. llvm-svn: 56303 | |||||
* | Make safer variant of alias resolution routine to be default | Anton Korobeynikov | 2008-09-09 | 1 | -1/+1 | |
| | | | | llvm-svn: 56005 | |||||
* | MMI may be null. | Evan Cheng | 2008-09-02 | 1 | -1/+3 | |
| | | | | llvm-svn: 55626 | |||||
* | Add support for JIT exceptions on Darwin. Since we're dealing with libgcc, | Nicolas Geoffray | 2008-08-28 | 1 | -2/+135 | |
| | | | | | | | whose darwin code was written after the ability to dynamically register frames, we need to do special hacks to make things work. llvm-svn: 55507 | |||||
* | Get rid of a couple of dynamic_cast. | Evan Cheng | 2008-08-20 | 1 | -4/+10 | |
| | | | | llvm-svn: 55022 | |||||
* | Update the JIT exception writer to better mimic the codegen exception writer. | Nicolas Geoffray | 2008-08-19 | 1 | -11/+10 | |
| | | | | | | | Also skip indirect encoding for platforms that ask for one: we direclty write an address, not a pointer to the address. llvm-svn: 54987 | |||||
* | Register the frame register function when allocating the JIT, | Nicolas Geoffray | 2008-08-18 | 1 | -5/+5 | |
| | | | | | | so that lli works out of the box with -enable-eh. llvm-svn: 54920 | |||||
* | Move SLEB/ULEB size calculation routines from AsmPrinter to TargetAsmInfo. ↵ | Anton Korobeynikov | 2008-08-16 | 1 | -40/+39 | |
| | | | | | | This makes JIT asmprinter-free. llvm-svn: 54843 | |||||
* | Some fixes for x86-64 JIT. Make it use small code | Dale Johannesen | 2008-08-11 | 1 | -0/+13 | |
| | | | | | | | | | | | | model, except for external calls; this makes addressing modes PC-relative. Incomplete. The assertion at the top of Emitter::runOnMachineFunction was obviously bogus (always true) so I removed it. If someone knows what the correct test should be to cover all the various targets, please fix. llvm-svn: 54656 | |||||
* | Add new parameter Fast to createJIT to enable the fast codegen path. | Evan Cheng | 2008-08-08 | 3 | -10/+12 | |
| | | | | llvm-svn: 54523 | |||||
* | Rewrite JIT handling of GlobalVariables so they | Dale Johannesen | 2008-08-07 | 3 | -23/+177 | |
| | | | | | | | | | | | | | | are allocated in the same buffer as the code, jump tables, etc. The default JIT memory manager does not handle buffer overflow well. I didn't introduce this and I'm not attempting to fix it here, but it is more likely to be hit now since we're putting more stuff in the buffer. This affects one test that I know of so far, MultiSource/Benchmarks/NPB-serial/is. llvm-svn: 54442 | |||||
* | Trim #includes. | Dan Gohman | 2008-08-05 | 1 | -1/+0 | |
| | | | | llvm-svn: 54350 | |||||
* | Fix for PR2578. Do not split off a block whose size is less than ↵ | Evan Cheng | 2008-07-29 | 1 | -0/+3 | |
| | | | | | | FreeRangeHeader::getMinBlockSize(). Patch by Damien. llvm-svn: 54152 | |||||
* | Use empty() instead of size(). | Dan Gohman | 2008-07-07 | 1 | -1/+1 | |
| | | | | llvm-svn: 53178 | |||||
* | Correct a comment. | Dan Gohman | 2008-07-03 | 1 | -1/+1 | |
| | | | | llvm-svn: 53064 | |||||
* | Prune a few dependencies on MachineFunction.h. | Dan Gohman | 2008-07-01 | 1 | -1/+0 | |
| | | | | llvm-svn: 52976 | |||||
* | Split ISD::LABEL into ISD::DBG_LABEL and ISD::EH_LABEL, eliminating | Dan Gohman | 2008-07-01 | 1 | -2/+2 | |
| | | | | | | | | | | | | | | | | the need for a flavor operand, and add a new SDNode subclass, LabelSDNode, for use with them to eliminate the need for a label id operand. Change instruction selection to let these label nodes through unmodified instead of creating copies of them. Teach the MachineInstr emitter how to emit a MachineInstr directly from an ISD label node. This avoids the need for allocating SDNodes for the label id and flavor value, as well as SDNodes for each of the post-isel label, label id, and label flavor. llvm-svn: 52943 | |||||
* | Implement JIT support for global aliases, patch by David Chisnall! | Chris Lattner | 2008-06-25 | 1 | -0/+2 | |
| | | | | llvm-svn: 52738 | |||||
* | Switch the PPC backend and target-independent JIT to use the libsystem | Chris Lattner | 2008-06-25 | 1 | -1/+2 | |
| | | | | | | | InvalidateInstructionCache method instead of calling through a hook on the JIT. This is a host feature, not a target feature. llvm-svn: 52734 | |||||
* | Use back() instead of [size()-1]. | Dan Gohman | 2008-06-21 | 1 | -2/+2 | |
| | | | | llvm-svn: 52600 | |||||
* | Use static_cast instead of reinterpret_cast for casting void*. | Dan Gohman | 2008-06-21 | 1 | -1/+1 | |
| | | | | llvm-svn: 52592 | |||||
* | Provide generic hooks for icache invalidation. Add PPC implementation. | Anton Korobeynikov | 2008-06-17 | 1 | -15/+1 | |
| | | | | | | Patch by Gary Benson! llvm-svn: 52418 | |||||
* | Add a new flag that disables symbol lookup with dlsym when set. This allows | Chris Lattner | 2008-06-16 | 1 | -33/+35 | |
| | | | | | | | a JIT client to completely control symbol lookup with the LazyFunctionCreator interface. llvm-svn: 52335 | |||||
* | Add #includes to make some dependencies explicit. | Dan Gohman | 2008-05-23 | 2 | -0/+2 | |
| | | | | llvm-svn: 51496 | |||||
* | Fix a couple issues with the JIT and multiple modules: | Nate Begeman | 2008-05-21 | 2 | -8/+58 | |
| | | | | | | | | | | | | 1. The "JITState" object creates a PassManager with the ModuleProvider that the jit is created with. If the ModuleProvider is removed and deleted, the PassManager is invalid. 2. The Global maps in the JIT were not invalidated with a ModuleProvider was removed. This could lead to a case where the Module would be freed, and a new Module with Globals at the same addresses could return invalid results. llvm-svn: 51384 | |||||
* | Fix a backwards check in the JIT symbol table code | Nate Begeman | 2008-05-18 | 1 | -1/+1 | |
| | | | | llvm-svn: 51229 | |||||
* | Disable JIT symbol table for now. | Evan Cheng | 2008-05-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 51152 | |||||
* | Fix a bunch of 80col violations that arose from the Create API change. Tweak ↵ | Gabor Greif | 2008-05-15 | 1 | -3/+4 | |
| | | | | | | makefile targets to find these better. llvm-svn: 51143 | |||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 2 | -0/+8 | |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | |||||
* | Be pessimistic in computing the buffer size when aligning. | Nicolas Geoffray | 2008-04-20 | 2 | -7/+11 | |
| | | | | llvm-svn: 50008 | |||||
* | Cosmetic changes, as suggested by Evan. No functionality changes. | Nicolas Geoffray | 2008-04-20 | 3 | -102/+79 | |
| | | | | llvm-svn: 49993 | |||||
* | Do not hold the JIT lock when materializing a function and verify if the | Nicolas Geoffray | 2008-04-20 | 1 | -1/+6 | |
| | | | | | | | function has already been codegen'd. This is required by the Java class loading mechanism which executes Java code when materializing a function. llvm-svn: 49988 | |||||
* | Switch to using Simplified ConstantFP::get API. | Chris Lattner | 2008-04-20 | 1 | -10/+14 | |
| | | | | llvm-svn: 49977 | |||||
* | Enable jitting with a known memory size. | Nicolas Geoffray | 2008-04-18 | 3 | -5/+552 | |
| | | | | llvm-svn: 49924 | |||||
* | Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵ | Nicolas Geoffray | 2008-04-16 | 2 | -10/+15 | |
| | | | | | | | | the memory manager which function the stub will resolve. llvm-svn: 49814 | |||||
* | Fix some serious logic errors that broke the jit on darwin/x86-64. | Chris Lattner | 2008-04-13 | 1 | -3/+3 | |
| | | | | llvm-svn: 49606 | |||||
* | Add debugging code. | Evan Cheng | 2008-04-12 | 1 | -3/+7 | |
| | | | | llvm-svn: 49566 | |||||
* | Reenable JIT symbol table. | Chris Lattner | 2008-04-11 | 1 | -1/+1 | |
| | | | | llvm-svn: 49548 | |||||
* | API changes for class Use size reduction, wave 1. | Gabor Greif | 2008-04-06 | 1 | -6/+6 | |
| | | | | | | | | Specifically, introduction of XXX::Create methods for Users that have a potentially variable number of Uses. llvm-svn: 49277 | |||||
* | disable this for now. | Chris Lattner | 2008-04-05 | 1 | -1/+1 | |
| | | | | llvm-svn: 49248 | |||||
* | Provide an initial cut at exposing JIT compiled symbols to performance | Chris Lattner | 2008-04-04 | 1 | -1/+139 | |
| | | | | | | | tools. This is currently only enabled on the mac, but could easily be supported by other hosts that are interested. llvm-svn: 49207 | |||||
* | Add explicit keywords. | Dan Gohman | 2008-03-25 | 2 | -2/+2 | |
| | | | | llvm-svn: 48801 | |||||
* | Register EH frames emitted in JIT when using gcc unwinding runtime | Anton Korobeynikov | 2008-03-22 | 1 | -1/+9 | |
| | | | | llvm-svn: 48688 | |||||
* | fix 80 col violations | Chris Lattner | 2008-03-07 | 2 | -2/+4 | |
| | | | | llvm-svn: 48019 |