Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Adding dllimport, dllexport and external weak linkage types. | Anton Korobeynikov | 2006-09-14 | 1 | -1/+3 | |
| | | | | | | | | | DLL* linkages got full (I hope) codegeneration support in C & both x86 assembler backends. External weak linkage added for future use, we don't provide any codegeneration, etc. support for it. llvm-svn: 30374 | |||||
* | initial changes to support JIT'ing from multiple module providers, implicitly | Chris Lattner | 2006-08-16 | 1 | -56/+150 | |
| | | | | | | linking the program on the fly. llvm-svn: 29721 | |||||
* | LoadLibraryPermanently can theoretically throw an exception. Do not propagate | Chris Lattner | 2006-05-14 | 1 | -1/+4 | |
| | | | | | | it out of 'ExecutionEngine::create'. This fixes a problem reported by coverity. llvm-svn: 28293 | |||||
* | Move some methods out of line so that MutexGuard.h isn't needed in a public ↵ | Chris Lattner | 2006-05-08 | 1 | -3/+73 | |
| | | | | | | header. llvm-svn: 28179 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 1 | -15/+15 | |
| | | | | | | | | target-specific subclasses. This has one caller-visible change: getTargetData() now returns a pointer instead of a reference. This fixes PR 759. llvm-svn: 28074 | |||||
* | JumpTable support! What this represents is working asm and jit support for | Nate Begeman | 2006-04-22 | 1 | -1/+4 | |
| | | | | | | | | x86 and ppc for 100% dense switch statements when relocations are non-PIC. This support will be extended and enhanced in the coming days to support PIC, and less dense forms of jump tables. llvm-svn: 27947 | |||||
* | Fix JIT support for static ctors, which was apparently completely broken! | Chris Lattner | 2006-04-22 | 1 | -1/+5 | |
| | | | | | | | This allows Prolangs-C++/city and probably a bunch of other stuff to work well with the new front-end llvm-svn: 27941 | |||||
* | prune #includes | Chris Lattner | 2006-03-23 | 1 | -1/+0 | |
| | | | | llvm-svn: 26975 | |||||
* | remove the intrinsiclowering hook | Chris Lattner | 2006-03-23 | 1 | -7/+5 | |
| | | | | llvm-svn: 26970 | |||||
* | Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries. | Chris Lattner | 2006-03-22 | 1 | -18/+8 | |
| | | | | | | Now you can build a tool with just the JIT or just the interpreter. llvm-svn: 26946 | |||||
* | Add a helper method for running static ctors/dtors in the module. | Chris Lattner | 2006-03-08 | 1 | -2/+31 | |
| | | | | llvm-svn: 26619 | |||||
* | Teach the interpreter to handle global variables that are added to a module ↵ | Jeff Cohen | 2006-02-07 | 1 | -1/+10 | |
| | | | | | | | | | after interpretation has begun. The JIT already handles this situation correctly, and the interpreter can already handle new functions being added. llvm-svn: 26030 | |||||
* | Fixed InitializeMemory to handle ConstantPacked. | Robert Bocchino | 2006-01-20 | 1 | -0/+6 | |
| | | | | llvm-svn: 25481 | |||||
* | Fix a nasty bug that was causing miscompilation of global variables | Chris Lattner | 2005-10-23 | 1 | -1/+4 | |
| | | | | | | | on big endian 32-bit targets in some cases (e.g. PPC). This fixes several PPC JIT failures. llvm-svn: 23914 | |||||
* | For PR540: | Reid Spencer | 2005-07-12 | 1 | -7/+10 | |
| | | | | | | | | | | | | | | | | | | | | | | This patch completes the changes for making lli thread-safe. Here's the list of changes: * The Support/ThreadSupport* files were removed and replaced with the MutexGuard.h file since all ThreadSupport* declared was a Mutex Guard. The implementation of MutexGuard.h is now based on sys::Mutex which hides its implementation and makes it unnecessary to have the -NoSupport.h and -PThreads.h versions of ThreadSupport. * All places in ExecutionEngine that previously referred to "Mutex" now refer to sys::Mutex * All places in ExecutionEngine that previously referred to "MutexLocker" now refer to MutexGuard (this is frivolous but I believe the technically correct name for such a class is "Guard" not a "Locker"). These changes passed all of llvm-test. All we need now are some test cases that actually use multiple threads. llvm-svn: 22404 | |||||
* | fix long lines | Chris Lattner | 2005-07-11 | 1 | -3/+4 | |
| | | | | llvm-svn: 22369 | |||||
* | Fix a really horrible problem that causes the JIT to miscompile any program | Chris Lattner | 2005-05-12 | 1 | -2/+2 | |
| | | | | | | that use 64-bit integers on 32-bit hosts. llvm-svn: 21886 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -21/+21 | |
| | | | | llvm-svn: 21420 | |||||
* | This mega patch converts us from using Function::a{iterator|begin|end} to | Chris Lattner | 2005-03-15 | 1 | -2/+2 | |
| | | | | | | | | using Function::arg_{iterator|begin|end}. Likewise Module::g* -> Module::global_*. This patch is contributed by Gabor Greif, thanks! llvm-svn: 20597 | |||||
* | Use const iterators where possible. Patch by Evan Jones! | Chris Lattner | 2005-02-27 | 1 | -2/+2 | |
| | | | | llvm-svn: 20354 | |||||
* | This is no longer needed. Global variables with undef initializers can be | Chris Lattner | 2005-02-02 | 1 | -2/+0 | |
| | | | | | | initialized to anything, including garbage. llvm-svn: 20010 | |||||
* | Silence VS warnings. | Chris Lattner | 2005-01-08 | 1 | -37/+37 | |
| | | | | llvm-svn: 19391 | |||||
* | Use System/DynamicLibrary instead of Support/DynamicLinker | Reid Spencer | 2004-11-29 | 1 | -5/+12 | |
| | | | | llvm-svn: 18357 | |||||
* | This is a horrible hack to work around libstdc++ bugs :( | Chris Lattner | 2004-11-19 | 1 | -2/+6 | |
| | | | | llvm-svn: 17988 | |||||
* | Fix the interpreter crash that Michael McCracken found | Chris Lattner | 2004-10-26 | 1 | -0/+1 | |
| | | | | llvm-svn: 17239 | |||||
* | Add support for undef | Chris Lattner | 2004-10-16 | 1 | -1/+3 | |
| | | | | llvm-svn: 17055 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -3/+3 | |
| | | | | | | | | Move include/Config and include/Support into include/llvm/Config, include/llvm/ADT and include/llvm/Support. From here on out, all LLVM public header files must be under include/llvm/. llvm-svn: 16137 | |||||
* | Don't pass too many arguments into runFunction | Chris Lattner | 2004-08-16 | 1 | -8/+15 | |
| | | | | llvm-svn: 15801 | |||||
* | Stop using getValues(). | Alkis Evlogimenos | 2004-08-04 | 1 | -7/+4 | |
| | | | | llvm-svn: 15487 | |||||
* | bug 122: | Reid Spencer | 2004-07-18 | 1 | -11/+6 | |
| | | | | | | | - Replace ConstantPointerRef usage with GlobalValue usage - Correct isa<Constant> for GlobalValue subclass llvm-svn: 14951 | |||||
* | Fixes for PR341 | Chris Lattner | 2004-07-15 | 1 | -4/+4 | |
| | | | | llvm-svn: 14847 | |||||
* | Make add constantexprs work with all types, fixing the regressions from last ↵ | Chris Lattner | 2004-07-11 | 1 | -4/+28 | |
| | | | | | | night llvm-svn: 14760 | |||||
* | Fix for bug 391. | Reid Spencer | 2004-07-07 | 1 | -0/+2 | |
| | | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674 | |||||
* | Move the IntrinsicLowering header into the CodeGen directory | Chris Lattner | 2004-06-20 | 1 | -1/+1 | |
| | | | | llvm-svn: 14265 | |||||
* | Rename Type::PrimitiveID to TypeId and ::getPrimitiveID() to ::getTypeID() | Chris Lattner | 2004-06-17 | 1 | -8/+8 | |
| | | | | llvm-svn: 14201 | |||||
* | Remove long unused #includes | Chris Lattner | 2004-05-27 | 1 | -1/+0 | |
| | | | | llvm-svn: 13857 | |||||
* | Fix PR296: [execution engines] Unhandled cast constant expression | Chris Lattner | 2004-03-16 | 1 | -6/+17 | |
| | | | | llvm-svn: 12435 | |||||
* | Make the JIT zero out globals with memset instead of an element at a time. This | Chris Lattner | 2004-02-15 | 1 | -0/+4 | |
| | | | | | | should speed it up a bit on a lot of programs llvm-svn: 11472 | |||||
* | 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 | |||||
* | Print an error message if we can't materialize the bytecode file | Chris Lattner | 2004-02-01 | 1 | -5/+11 | |
| | | | | llvm-svn: 11043 | |||||
* | 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 | |||||
* | Pass around IntrinsicLowering instances as appropriate. | Chris Lattner | 2003-12-28 | 1 | -4/+8 | |
| | | | | | | 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 | |||||
* | Implement PR135, lazy emission of global variables | Chris Lattner | 2003-12-20 | 1 | -4/+7 | |
| | | | | 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 | |||||
* | Update for changes in the JIT | Chris Lattner | 2003-12-20 | 1 | -2/+2 | |
| | | | | llvm-svn: 10543 | |||||
* | Use the new method, though noone currently implements it any better than before | Chris Lattner | 2003-12-08 | 1 | -1/+5 | |
| | | | | llvm-svn: 10320 | |||||
* | Fine grainify namespaceification | Chris Lattner | 2003-11-19 | 1 | -5/+4 | |
| | | | | llvm-svn: 10093 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+3 | |
| | | | | llvm-svn: 9903 | |||||
* | ExecutionEngine::create no longer takes a TraceMode argument. | Brian Gaeke | 2003-10-24 | 1 | -5/+4 | |
| | | | | llvm-svn: 9488 |