Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Add CommonLinkage; currently tentative definitions | Dale Johannesen | 2008-05-14 | 1 | -1/+1 | |
| | | | | | | | | | | are represented as "weak", but there are subtle differences in some cases on Darwin, so we need both. The intent is that "common" will behave identically to "weak" unless somebody changes their target to do something else. No functional change as yet. llvm-svn: 51118 | |||||
* | Clean up the use of static and anonymous namespaces. This turned up | Dan Gohman | 2008-05-13 | 3 | -0/+12 | |
| | | | | | | | several things that were neither in an anonymous namespace nor static but not intended to be global. llvm-svn: 51017 | |||||
* | PR2202: LLVMCreateInterpreter creates a JIT | Gordon Henriksen | 2008-04-25 | 1 | -1/+1 | |
| | | | | | | Applying fix by Frits van Bommel. llvm-svn: 50249 | |||||
* | 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 | |||||
* | fix warnings with assertions disabled. | Chris Lattner | 2008-04-06 | 1 | -21/+6 | |
| | | | | llvm-svn: 49285 | |||||
* | 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 | |||||
* | Make ExecutionEngine::updateGlobalMapping return the old mapping. | Chris Lattner | 2008-04-04 | 1 | -5/+18 | |
| | | | | llvm-svn: 49206 | |||||
* | Fix "Control reaches the end of non-void function" warnings, | Chris Lattner | 2008-03-30 | 1 | -0/+1 | |
| | | | | | | patch by David Chisnall. llvm-svn: 48963 | |||||
* | Expose ExecutionEngine::getTargetData() to c and ocaml bindings. | Erick Tryzelaar | 2008-03-27 | 1 | -0/+4 | |
| | | | | llvm-svn: 48851 | |||||
* | 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 formatting. | Duncan Sands | 2008-03-10 | 1 | -2/+2 | |
| | | | | llvm-svn: 48151 | |||||
* | Load the symbols first so that the interpreter constructor can find them when | Nick Lewycky | 2008-03-08 | 1 | -9/+5 | |
| | | | | | | it tries to initialize them. llvm-svn: 48046 | |||||
* | fix 80 col violations | Chris Lattner | 2008-03-07 | 2 | -2/+4 | |
| | | | | llvm-svn: 48019 | |||||
* | Simplify code using convertFromZeroExtendedInteger with an APInt | Dan Gohman | 2008-02-29 | 1 | -6/+6 | |
| | | | | | | by using the new convertFromAPInt directly. llvm-svn: 47739 | |||||
* | Update gcc 4.3 warnings fix patch with recent head changes | Anton Korobeynikov | 2008-02-20 | 1 | -11/+12 | |
| | | | | llvm-svn: 47368 | |||||
* | Unbreak build with gcc 4.3: provide missed includes and silence most ↵ | Anton Korobeynikov | 2008-02-20 | 6 | -2/+9 | |
| | | | | | | annoying warnings. llvm-svn: 47367 | |||||
* | Added memmove to interpreter external functions list. Patch by Daniel Dunbar. | Evan Cheng | 2008-02-20 | 1 | -0/+9 | |
| | | | | llvm-svn: 47363 | |||||
* | Support vector constant zeros, thanks to Zack Rusin for the testcase. | Chris Lattner | 2008-02-15 | 1 | -3/+3 | |
| | | | | llvm-svn: 47148 | |||||
* | Enable exception handling int JIT | Nicolas Geoffray | 2008-02-13 | 5 | -1/+802 | |
| | | | | llvm-svn: 47079 | |||||
* | Use empty() instead of comparing size() with zero. | Dan Gohman | 2008-01-29 | 1 | -3/+3 | |
| | | | | llvm-svn: 46514 | |||||
* | Use getPreferredAlignmentLog or getPreferredAlignment | Duncan Sands | 2008-01-29 | 1 | -1/+1 | |
| | | | | | | | to get the alignment of global variables, rather than using hand-made versions. llvm-svn: 46495 | |||||
* | JITEmitter.cpp was trying to sync the icache for function stubs, but | Chris Lattner | 2008-01-25 | 1 | -8/+0 | |
| | | | | | | | | was actually passing a completely incorrect size to sys_icache_invalidate. Instead of having the JITEmitter do this (which doesn't have the correct size), just make the target sync its own stubs. llvm-svn: 46354 | |||||
* | I doubt the address of the Error string was intended | Duncan Sands | 2008-01-07 | 1 | -1/+2 | |
| | | | | | | | to be used for the force_interpreter parameter... Spotted by gcc-4.2. llvm-svn: 45714 | |||||
* | X86 JIT PIC jumptable support. | Evan Cheng | 2008-01-05 | 1 | -4/+6 | |
| | | | | llvm-svn: 45616 | |||||
* | X86 PIC JIT support fixes: encoding bugs, add lazy pointer stubs support. | Evan Cheng | 2008-01-04 | 1 | -0/+49 | |
| | | | | llvm-svn: 45575 | |||||
* | Remove symbols that don't exist, remove tabs, fix comment typo | Chris Lattner | 2008-01-03 | 1 | -17/+15 | |
| | | | | llvm-svn: 45553 | |||||
* | Fix PR1873, a problem finding stat-related symbols on linux, due to | Chris Lattner | 2008-01-03 | 1 | -9/+20 | |
| | | | | | | "libc_nonshared.a". Patch by Edwin Török! llvm-svn: 45532 | |||||
* | Change MachineRelocation::DoesntNeedFnStub to NeedStub. This fields will be used | Evan Cheng | 2008-01-03 | 1 | -2/+2 | |
| | | | | | | for non-function GV relocations that require function address stubs (e.g. Mac OS X in non-static mode). llvm-svn: 45527 | |||||
* | Remove attribution from file headers, per discussion on llvmdev. | Chris Lattner | 2007-12-29 | 12 | -24/+24 | |
| | | | | llvm-svn: 45418 | |||||
* | remove attribution from lib Makefiles. | Chris Lattner | 2007-12-29 | 3 | -6/+6 | |
| | | | | llvm-svn: 45415 | |||||
* | C and Ocaml bindings for ExecutionEngine (i.e., the JIT compiler). | Gordon Henriksen | 2007-12-23 | 1 | -0/+187 | |
| | | | | llvm-svn: 45335 | |||||
* | Change the PointerType api for creating pointer types. The old functionality ↵ | Christopher Lamb | 2007-12-17 | 1 | -2/+3 | |
| | | | | | | of PointerType::get() has become PointerType::getUnqual(), which returns a pointer in the generic address space. The new prototype of PointerType::get() requires both a type and an address space. llvm-svn: 45082 | |||||
* | These are more correctly called signaling NaNs. | Duncan Sands | 2007-12-15 | 1 | -1/+1 | |
| | | | | llvm-svn: 45059 | |||||
* | Teach the interpreter to read and write memory in the | Duncan Sands | 2007-12-14 | 1 | -59/+94 | |
| | | | | | | | | | | endianness of the target not of the host. Done by the simple expedient of reversing bytes for primitive types if the host and target endianness don't match. This is correct for integer and pointer types. I don't know if it is correct for floating point types. llvm-svn: 45039 | |||||
* | Add explicit keywords, and fix a minor typo that they uncovered. | Dan Gohman | 2007-12-14 | 1 | -1/+1 | |
| | | | | llvm-svn: 45034 | |||||
* | Remove host endianness info from TargetData and | Duncan Sands | 2007-12-12 | 1 | -2/+3 | |
| | | | | | | | | put it in a new header System/Host.h instead. Instead of getting the endianness from configure, calculate it directly. llvm-svn: 44959 | |||||
* | Add a guard to cxxabi header as other platform may | Zhou Sheng | 2007-12-12 | 1 | -0/+12 | |
| | | | | | | not support it. llvm-svn: 44914 | |||||
* | Fixed PR1629. | Zhou Sheng | 2007-12-12 | 1 | -0/+40 | |
| | | | | | | | Make lli interpreter correctly call external functions sin()/cos(), __cxa_guard_acquire() and __cxa_guard_release(). llvm-svn: 44910 | |||||
* | Fix PR1836: in the interpreter, read and write apints | Duncan Sands | 2007-12-10 | 1 | -24/+47 | |
| | | | | | | | | | | | | | | | | using the minimum possible number of bytes. For little endian targets run on little endian machines, apints are stored in memory from LSB to MSB as before. For big endian targets on big endian machines they are stored from MSB to LSB which wasn't always the case before (if the target and host endianness doesn't match values are stored according to the host's endianness). Doing this requires knowing the endianness of the host, which is determined when configuring - thanks go to Anton for this. Only having access to little endian machines I was unable to properly test the big endian part, which is also the most complicated... llvm-svn: 44796 |