Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Fix MachineCodeEmitter to use uintptr_t instead of intptr_t. This avoids ↵ | Evan Cheng | 2008-12-10 | 1 | -1/+1 | |
| | | | | | | some overflow issues. Patch by Thomas Jablin. llvm-svn: 60828 | |||||
* | Rename isGVNonLazyPtr to isIndirectSym to reflect how it will be used. | Evan Cheng | 2008-11-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 58949 | |||||
* | Rename startFunctionStub to startGVStub since it's also used for GV non-lazy ↵ | Evan Cheng | 2008-11-08 | 1 | -9/+9 | |
| | | | | | | ptr. llvm-svn: 58897 | |||||
* | Rename isGVLazyPtr to isGVNonLazyPtr relocation. This represents Mac OS X | Evan Cheng | 2008-11-05 | 1 | -2/+2 | |
| | | | | | | indirect gv reference. Please don't call it lazy. llvm-svn: 58746 | |||||
* | Support for allocation of TLS variables in the JIT. Allocation of a global | Nicolas Geoffray | 2008-10-25 | 1 | -0/+10 | |
| | | | | | | | | variable is moved to the execution engine. The JIT calls the TargetJITInfo to allocate thread local storage. Currently, only linux/x86 knows how to allocate thread local global variables. llvm-svn: 58142 | |||||
* | When resolving a stub in x86-64 JIT, use a PC-relative branch | Dale Johannesen | 2008-08-12 | 1 | -2/+14 | |
| | | | | | | rather than the absolute address if the target is within range. llvm-svn: 54708 | |||||
* | Mark function used by asm block as used, otherwise optimizer may not see the ↵ | Devang Patel | 2008-07-16 | 1 | -1/+3 | |
| | | | | | | use and may delete the function. llvm-svn: 53692 | |||||
* | X86-64 PIC jump table values are different from x86-32 cases, they are dest ↵ | Evan Cheng | 2008-07-16 | 1 | -0/+4 | |
| | | | | | | - table base. llvm-svn: 53660 | |||||
* | Fixes for being compiled PIC on Linux. This isn't the most | Dan Gohman | 2008-06-24 | 1 | -3/+10 | |
| | | | | | | | general solution possible, but it's a fairly simple one. Based on a patch from the OpenGTL project! llvm-svn: 52662 | |||||
* | Don't break strict aliasing. | Evan Cheng | 2008-06-05 | 1 | -6/+6 | |
| | | | | llvm-svn: 52026 | |||||
* | Unbreak build on x86-64. | Dale Johannesen | 2008-04-16 | 1 | -1/+1 | |
| | | | | llvm-svn: 49822 | |||||
* | Correlate stubs with functions in JIT: when emitting a stub, the JIT tells ↵ | Nicolas Geoffray | 2008-04-16 | 1 | -13/+16 | |
| | | | | | | | | the memory manager which function the stub will resolve. llvm-svn: 49814 | |||||
* | Add Win64 compilation callback. This allows easy examples to be JITed on Win64! | Anton Korobeynikov | 2008-03-23 | 1 | -5/+4 | |
| | | | | llvm-svn: 48706 | |||||
* | Code cleanup. Provide generic way of selecting JIT pointer bitwidth regardless | Anton Korobeynikov | 2008-03-23 | 1 | -22/+30 | |
| | | | | | | of compiler used. llvm-svn: 48702 | |||||
* | Remove old-standing obsolete code. | Anton Korobeynikov | 2008-03-23 | 1 | -9/+11 | |
| | | | | llvm-svn: 48701 | |||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 1 | -0/+1 | |
| | | | | | | annoying warnings. llvm-svn: 47367 | |||||
* | Silence warning about loss of precision. | Bill Wendling | 2008-01-08 | 1 | -1/+1 | |
| | | | | llvm-svn: 45731 | |||||
* | X86 JIT PIC jumptable support. | Evan Cheng | 2008-01-05 | 1 | -0/+6 | |
| | | | | llvm-svn: 45616 | |||||
* | X86 PIC JIT support fixes: encoding bugs, add lazy pointer stubs support. | Evan Cheng | 2008-01-04 | 1 | -0/+12 | |
| | | | | llvm-svn: 45575 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 45418 | |||||
* | Erm, really disable :) | Anton Korobeynikov | 2007-12-22 | 1 | -1/+1 | |
| | | | | llvm-svn: 45319 | |||||
* | Disable, until we'll really need it | Anton Korobeynikov | 2007-12-22 | 1 | -0/+3 | |
| | | | | llvm-svn: 45318 | |||||
* | Preliminary PIC JIT support for X86 (32-bit) / Darwin. | Evan Cheng | 2007-12-22 | 1 | -1/+8 | |
| | | | | llvm-svn: 45313 | |||||
* | Correct typo for Linux: s/esp/%rsp/ | Scott Michel | 2007-12-12 | 1 | -1/+1 | |
| | | | | llvm-svn: 44904 | |||||
* | Hey, English is not my native language :) | Anton Korobeynikov | 2007-12-10 | 1 | -1/+1 | |
| | | | | llvm-svn: 44820 | |||||
* | Clarify the need of CFI() stuff | Anton Korobeynikov | 2007-12-10 | 1 | -0/+3 | |
| | | | | llvm-svn: 44819 | |||||
* | Provide convenient way to disable CFI stuff for old/broken assemblers. | Anton Korobeynikov | 2007-12-10 | 1 | -70/+76 | |
| | | | | | | Use it for Darwin. llvm-svn: 44818 | |||||
* | Disable cfi directives for now, darwin does't support them. | Chris Lattner | 2007-12-10 | 1 | -67/+70 | |
| | | | | | | | | | | | These should probably be something like: CFI(".cfi_def_cfa_offset 16\n") where CFI is defined to a noop on darwin and other platforms that don't support those directives. llvm-svn: 44803 | |||||
* | And finally annotate X86-64 version of callback. | Anton Korobeynikov | 2007-12-10 | 1 | -24/+51 | |
| | | | | | | All bad stuff from SSE version is implicitely inherited :) llvm-svn: 44794 | |||||
* | Provide annotation for SSE version of callback. It's even more | Anton Korobeynikov | 2007-12-10 | 1 | -1/+26 | |
| | | | | | | broken, because doesn't mark xmm regs properly llvm-svn: 44793 | |||||
* | Annotate JIT callback function with call frame infromation. | Anton Korobeynikov | 2007-12-10 | 1 | -1/+19 | |
| | | | | | | | This will allow us (theoretically) to unwind through JITer. The code wasn't verified, so I'm pretty sure offsets are wrong :) llvm-svn: 44792 | |||||
* | Oops. | Evan Cheng | 2007-03-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 35104 | |||||
* | x86-64 JIT stub codegen. | Evan Cheng | 2007-03-14 | 1 | -0/+11 | |
| | | | | llvm-svn: 35096 | |||||
* | Preliminary support for X86-64 JIT stub codegen. | Evan Cheng | 2007-03-14 | 1 | -3/+35 | |
| | | | | llvm-svn: 35095 | |||||
* | Save all registers by default, as they can be used to pass parameters | Anton Korobeynikov | 2007-01-29 | 1 | -13/+11 | |
| | | | | | | for "inreg" calls llvm-svn: 33631 | |||||
* | - Fix X86-64 JIT by temporarily disabling code that treats GV address as 32-bit | Evan Cheng | 2006-12-05 | 1 | -0/+3 | |
| | | | | | | | | immediate in small code model. The JIT cannot ensure GV's are placed in the lower 4G. - Some preliminary support for large code model. llvm-svn: 32215 | |||||
* | Removed even more std::cerr and #include <iostream> things. | Bill Wendling | 2006-11-17 | 1 | -6/+5 | |
| | | | | llvm-svn: 31813 | |||||
* | Align stubs on 4 byte boundary. This fixes 447.dealII. | Evan Cheng | 2006-11-16 | 1 | -2/+2 | |
| | | | | llvm-svn: 31790 | |||||
* | One more try. | Evan Cheng | 2006-10-16 | 1 | -4/+6 | |
| | | | | llvm-svn: 30992 | |||||
* | Unbreak x86-64 build. | Evan Cheng | 2006-10-16 | 1 | -2/+9 | |
| | | | | llvm-svn: 30990 | |||||
* | Added a X86CompilationCallback variant which saves XMM argument registers ↵ | Evan Cheng | 2006-10-16 | 1 | -1/+58 | |
| | | | | | | for targets with SSE. llvm-svn: 30986 | |||||
* | Use __USER_LABEL_PREFIX__ to get the prefix added by the current host. | Chris Lattner | 2006-09-08 | 1 | -15/+14 | |
| | | | | llvm-svn: 30190 | |||||
* | Committing X86-64 support. | Evan Cheng | 2006-09-08 | 1 | -10/+69 | |
| | | | | llvm-svn: 30177 | |||||
* | Resolve BB references with relocation. | Evan Cheng | 2006-07-27 | 1 | -10/+0 | |
| | | | | llvm-svn: 29351 | |||||
* | - Refactor the code that resolve basic block references to a TargetJITInfo | Evan Cheng | 2006-07-25 | 1 | -0/+10 | |
| | | | | | | | | | | method. - Added synchronizeICache() to TargetJITInfo. It is called after each block of code is emitted to flush the icache. This ensures correct execution on targets that have separate dcache and icache. - Added PPC / Mac OS X specific code to do icache flushing. llvm-svn: 29276 | |||||
* | Fix JIT on non MacOS X i386 systems. | Evan Cheng | 2006-07-05 | 1 | -4/+0 | |
| | | | | llvm-svn: 28992 | |||||
* | Let X86CompilationCallback pass previous frame and return address to ↵ | Evan Cheng | 2006-06-29 | 1 | -10/+7 | |
| | | | | | | X86CompilationCallback2. Remove alloca hack. llvm-svn: 28982 | |||||
* | Simplify X86CompilationCallback: always align to 16-byte boundary; don't ↵ | Evan Cheng | 2006-06-24 | 1 | -14/+16 | |
| | | | | | | save EAX/EDX if unnecessary. llvm-svn: 28910 | |||||
* | Silence -pedantic warning. | Chris Lattner | 2006-06-01 | 1 | -1/+3 | |
| | | | | llvm-svn: 28630 | |||||
* | Patches to make the LLVM sources more -pedantic clean. Patch provided | Chris Lattner | 2006-05-24 | 1 | -1/+1 | |
| | | | | | | by Anton Korobeynikov! This is a step towards closing PR786. llvm-svn: 28447 |