| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Rename getABITypeSize to getTypePaddedSize, as | Duncan Sands | 2009-01-12 | 1 | -3/+3 |
| | | | | | | | suggested by Chris. llvm-svn: 62099 | ||||
| * | Handle weak_extern in the JIT. This fixes | Dan Gohman | 2009-01-05 | 1 | -2/+8 |
| | | | | | | | | | SingleSource/UnitTests/2007-04-25-weak.c in JIT mode. The test now passes on systems which are able to produce a correct reference output to compare with. llvm-svn: 61674 | ||||
| * | Fix MachineCodeEmitter to use uintptr_t instead of intptr_t. This avoids ↵ | Evan Cheng | 2008-12-10 | 1 | -14/+21 |
| | | | | | | | some overflow issues. Patch by Thomas Jablin. llvm-svn: 60828 | ||||
| * | Fix a bug introduced by r59265. If lazy compilation is disabled, return ↵ | Evan Cheng | 2008-12-10 | 1 | -1/+1 |
| | | | | | | | actual function ptr instead of ptr to stub if function is already compiled. llvm-svn: 60822 | ||||
| * | Always emit a function pointer as a pointer to the function stub (if there ↵ | Evan Cheng | 2008-11-13 | 1 | -1/+20 |
| | | | | | | | is one). This makes it possible to compare function pointer values in lazy compilation mode. This fixes PR3043. llvm-svn: 59265 | ||||
| * | Change binary dump format. | Evan Cheng | 2008-11-12 | 1 | -9/+21 |
| | | | | | llvm-svn: 59119 | ||||
| * | Comments and indentation. | Evan Cheng | 2008-11-10 | 1 | -3/+3 |
| | | | | | llvm-svn: 59007 | ||||
| * | Forgot these. | Evan Cheng | 2008-11-10 | 1 | -19/+19 |
| | | | | | llvm-svn: 58952 | ||||
| * | Remove a InvalidateInstructionCache call with incorrect size. | Evan Cheng | 2008-11-08 | 1 | -4/+0 |
| | | | | | llvm-svn: 58898 | ||||
| * | Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵ | Evan Cheng | 2008-11-08 | 1 | -6/+6 |
| | | | | | | | ptr. llvm-svn: 58897 | ||||
| * | Rename isString -> isExternalSymbol; getString -> getExternalSymbol since ↵ | Evan Cheng | 2008-11-08 | 1 | -3/+3 |
| | | | | | | | these work on externsym machine relocations. llvm-svn: 58895 | ||||
| * | More debug output. | Evan Cheng | 2008-11-08 | 1 | -0/+2 |
| | | | | | llvm-svn: 58894 | ||||
| * | More debug output. | Evan Cheng | 2008-11-07 | 1 | -1/+3 |
| | | | | | llvm-svn: 58868 | ||||
| * | Jump tables may be emitted by target. | Evan Cheng | 2008-11-07 | 1 | -9/+13 |
| | | | | | llvm-svn: 58835 | ||||
| * | Improve JIT debugging outputs format consistency. | Evan Cheng | 2008-11-06 | 1 | -11/+14 |
| | | | | | llvm-svn: 58807 | ||||
| * | Need a \n. | Evan Cheng | 2008-11-06 | 1 | -1/+2 |
| | | | | | llvm-svn: 58788 | ||||
| * | Undo 58778 but makes the binary dump prettier. | Evan Cheng | 2008-11-05 | 1 | -3/+21 |
| | | | | | llvm-svn: 58782 | ||||
| * | Remove debug output that's not really useful. | Evan Cheng | 2008-11-05 | 1 | -13/+0 |
| | | | | | llvm-svn: 58778 | ||||
| * | Rename isGVLazyPtr to isGVNonLazyPtr relocation. This represents Mac OS X | Evan Cheng | 2008-11-05 | 1 | -22/+22 |
| | | | | | | | indirect gv reference. Please don't call it lazy. llvm-svn: 58746 | ||||
| * | Silence a compiler warning. | Evan Cheng | 2008-11-03 | 1 | -1/+1 |
| | | | | | llvm-svn: 58598 | ||||
| * | Revert errant deletion. The target needs to be able to specify that it ↵ | Jim Grosbach | 2008-10-30 | 1 | -0/+5 |
| | | | | | | | doesn't want the generic constant pool to be emitted. llvm-svn: 58475 | ||||
| * | Let target resolve some relocation results. | Evan Cheng | 2008-10-29 | 1 | -30/+23 |
| | | | | | llvm-svn: 58407 | ||||
| * | Support for constant islands in the ARM JIT. | Jim Grosbach | 2008-10-28 | 1 | -0/+9 |
| | | | | | | | | | | | | | | | | | Since the ARM constant pool handling supercedes the standard LLVM constant pool entirely, the JIT emitter does not allocate space for the constants, nor initialize the memory. The constant pool is considered part of the instruction stream. Likewise, when resolving relocations into the constant pool, a hook into the target back end is used to resolve from the constant ID# to the address where the constant is stored. For now, the support in the ARM emitter is limited to 32-bit integer. Future patches will expand this to the full range of constants necessary. llvm-svn: 58338 | ||||
| * | fix a tricky bug in the JIT global variable emitter, that was triggered when ↵ | Nuno Lopes | 2008-10-21 | 1 | -5/+22 |
| | | | | | | | JITing a variable independently of a function. This lead to sharing memory memory between functions and GVs thus changing the value of a GV could change the code in execution. more details on the ML. llvm-svn: 57900 | ||||
| * | On Darwin ARM, memory needs special handling to do JIT. This patch expands | Jim Grosbach | 2008-10-03 | 1 | -1/+11 |
| | | | | | | | | 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 | ||||
| * | Preliminary support for systems which require changing JIT memory regions ↵ | Evan Cheng | 2008-09-18 | 1 | -0/+3 |
| | | | | | | | 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 | ||||
| * | Get rid of a couple of dynamic_cast. | Evan Cheng | 2008-08-20 | 1 | -4/+10 |
| | | | | | llvm-svn: 55022 | ||||
| * | 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 | ||||
| * | Rewrite JIT handling of GlobalVariables so they | Dale Johannesen | 2008-08-07 | 1 | -7/+169 |
| | | | | | | | | | | | | | | | 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 | ||||
| * | 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 | ||||
| * | Provide generic hooks for icache invalidation. Add PPC implementation. | Anton Korobeynikov | 2008-06-17 | 1 | -15/+1 |
| | | | | | | | Patch by Gary Benson! llvm-svn: 52418 | ||||
| * | 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 | ||||
| * | Be pessimistic in computing the buffer size when aligning. | Nicolas Geoffray | 2008-04-20 | 1 | -6/+9 |
| | | | | | llvm-svn: 50008 | ||||
| * | Cosmetic changes, as suggested by Evan. No functionality changes. | Nicolas Geoffray | 2008-04-20 | 1 | -3/+3 |
| | | | | | llvm-svn: 49993 | ||||
| * | Enable jitting with a known memory size. | Nicolas Geoffray | 2008-04-18 | 1 | -2/+63 |
| | | | | | llvm-svn: 49924 | ||||
| * | Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵ | Nicolas Geoffray | 2008-04-16 | 1 | -8/+10 |
| | | | | | | | | | 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 | ||||
| * | 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 | 1 | -1/+1 |
| | | | | | llvm-svn: 48801 | ||||
| * | fix 80 col violations | Chris Lattner | 2008-03-07 | 1 | -1/+2 |
| | | | | | llvm-svn: 48019 | ||||
| * | Enable exception handling int JIT | Nicolas Geoffray | 2008-02-13 | 1 | -1/+54 |
| | | | | | llvm-svn: 47079 | ||||

