Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Remove non-portable optimization that isn't worth it | Chris Lattner | 2006-07-12 | 1 | -5/+1 | |
| | | | | llvm-svn: 29115 | |||||
* | Adapt to new interface function materialization interface | Chris Lattner | 2006-07-07 | 1 | -9/+5 | |
| | | | | llvm-svn: 29051 | |||||
* | Fix -pedantic warnings. | Chris Lattner | 2006-06-01 | 1 | -11/+11 | |
| | | | | llvm-svn: 28636 | |||||
* | Refactor a bunch of includes so that TargetMachine.h doesn't have to include | Owen Anderson | 2006-05-12 | 1 | -0/+1 | |
| | | | | | | | TargetData.h. This should make recompiles a bit faster with my current TargetData tinkering. llvm-svn: 28238 | |||||
* | Move some methods out of line so that MutexGuard.h isn't needed in a public ↵ | Chris Lattner | 2006-05-08 | 1 | -5/+1 | |
| | | | | | | header. llvm-svn: 28179 | |||||
* | Adjust to use proper TargetData copy ctor | Chris Lattner | 2006-05-04 | 1 | -1/+1 | |
| | | | | llvm-svn: 28112 | |||||
* | Refactor TargetMachine, pushing handling of TargetData into the ↵ | Owen Anderson | 2006-05-03 | 1 | -2/+2 | |
| | | | | | | | | 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 | |||||
* | Do not make the JIT memory manager manage the memory for globals. Instead | Chris Lattner | 2006-05-02 | 1 | -4/+16 | |
| | | | | | | just have the JIT malloc them. llvm-svn: 28062 | |||||
* | Get JIT/Interpreter working on Windows again. | Jeff Cohen | 2006-03-24 | 1 | -0/+5 | |
| | | | | llvm-svn: 27037 | |||||
* | Eliminate the dependency of ExecutionEngine on the JIT/Interpreter libraries. | Chris Lattner | 2006-03-22 | 1 | -1/+4 | |
| | | | | | | Now you can build a tool with just the JIT or just the interpreter. llvm-svn: 26946 | |||||
* | wrap long line | Chris Lattner | 2006-01-07 | 1 | -1/+2 | |
| | | | | llvm-svn: 25139 | |||||
* | Like constants, globals on some platforms are GOT relative. This means they ↵ | Andrew Lenharth | 2005-07-28 | 1 | -1/+2 | |
| | | | | | | | | | | | | | | have to be allocated near the GOT, which new doesn't do. So break out the allocate into a new function. Also move GOT index handling into JITResolver. This lets it update the mapping when a Lazy function is JITed. It doesn't managed the table, just the mapping. Note that this is still non-ideal, as any function that takes a function address should also take a GOT index, but that is a lot of changes. The relocation resolve process updates any GOT entry it sees is out of date. llvm-svn: 22537 | |||||
* | Eliminate all remaining tabs and trailing spaces. | Jeff Cohen | 2005-07-27 | 1 | -1/+1 | |
| | | | | llvm-svn: 22523 | |||||
* | For PR540: | Reid Spencer | 2005-07-12 | 1 | -6/+14 | |
| | | | | | | | | | | | | | | | | | | | | | | 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 | |||||
* | Make the stub functions be tail calls | Chris Lattner | 2005-05-06 | 1 | -1/+2 | |
| | | | | llvm-svn: 21738 | |||||
* | Remove trailing whitespace | Misha Brukman | 2005-04-21 | 1 | -7/+7 | |
| | | | | llvm-svn: 21422 | |||||
* | Silence VS warnings. | Chris Lattner | 2005-01-08 | 1 | -1/+2 | |
| | | | | llvm-svn: 19390 | |||||
* | Properly implement a fix for PR475 | Chris Lattner | 2004-12-05 | 1 | -13/+0 | |
| | | | | llvm-svn: 18537 | |||||
* | Revert this patch, it broke a ton of programs. | Chris Lattner | 2004-12-05 | 1 | -4/+0 | |
| | | | | llvm-svn: 18535 | |||||
* | Fix PR475. | Alkis Evlogimenos | 2004-12-05 | 1 | -0/+4 | |
| | | | | llvm-svn: 18515 | |||||
* | Use System/DynamicLibrary instead of Support/DynamicLinker | Reid Spencer | 2004-11-29 | 1 | -2/+2 | |
| | | | | llvm-svn: 18357 | |||||
* | This method does not exist any longer. | Chris Lattner | 2004-11-20 | 1 | -4/+0 | |
| | | | | llvm-svn: 18061 | |||||
* | There is no reason to try to materialize the function from bytecode if it | Chris Lattner | 2004-11-15 | 1 | -9/+12 | |
| | | | | | | already has been. This may be a small speedup. llvm-svn: 17863 | |||||
* | Implement ExecutionEngine::freeMachineCodeForFunction() | Misha Brukman | 2004-11-07 | 1 | -0/+6 | |
| | | | | llvm-svn: 17601 | |||||
* | Use cleaner quoting and eliminate blank space | Misha Brukman | 2004-10-22 | 1 | -3/+3 | |
| | | | | llvm-svn: 17174 | |||||
* | Changes For Bug 352 | Reid Spencer | 2004-09-01 | 1 | -1/+1 | |
| | | | | | | | | 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 | |||||
* | Add a special case for argc,argv | Chris Lattner | 2004-08-16 | 1 | -2/+13 | |
| | | | | llvm-svn: 15802 | |||||
* | Finally, add support for calling arbitrary non-varargs functions. | Chris Lattner | 2004-08-16 | 1 | -9/+58 | |
| | | | | llvm-svn: 15799 | |||||
* | Handle all nullary functions, of any valid return type. | Chris Lattner | 2004-08-15 | 1 | -7/+46 | |
| | | | | llvm-svn: 15798 | |||||
* | Fine, go all of the way and check that the argument types are correct as well. | Chris Lattner | 2004-08-15 | 1 | -13/+27 | |
| | | | | llvm-svn: 15797 | |||||
* | These only really work if returning int or void | Chris Lattner | 2004-08-15 | 1 | -17/+21 | |
| | | | | llvm-svn: 15796 | |||||
* | Handle zero arg function case | Chris Lattner | 2004-08-15 | 1 | -1/+5 | |
| | | | | llvm-svn: 15794 | |||||
* | Simplify code a bit, print error message always instead of asserting. | Chris Lattner | 2004-08-15 | 1 | -16/+19 | |
| | | | | llvm-svn: 15793 | |||||
* | Make error message consistent with the rest of LLVM by saying that bytecode | Reid Spencer | 2004-07-07 | 1 | -2/+2 | |
| | | | | | | is read, not parsed. llvm-svn: 14677 | |||||
* | Fix for bug 391. | Reid Spencer | 2004-07-07 | 1 | -0/+3 | |
| | | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674 | |||||
* | Add #include <iostream> since Value.h does not #include it any more. | Reid Spencer | 2004-07-04 | 1 | -0/+2 | |
| | | | | llvm-svn: 14622 | |||||
* | Add a TargetData to the PassManager regardless of the TargetMachine. | Brian Gaeke | 2004-04-14 | 1 | -0/+3 | |
| | | | | | | This should unbreak the Sparc JIT again. llvm-svn: 12949 | |||||
* | Print an error message if there is an error materialize the bc file. | Chris Lattner | 2004-02-01 | 1 | -1/+6 | |
| | | | | llvm-svn: 11041 | |||||
* | No longer run atExit functions from run() | Chris Lattner | 2003-12-26 | 1 | -14/+23 | |
| | | | | | | | rename run to runFunction Genericize the runFunction code a little bit, though it still stinks llvm-svn: 10610 | |||||
* | This should not be needed anymore | Chris Lattner | 2003-12-20 | 1 | -4/+0 | |
| | | | | llvm-svn: 10558 | |||||
* | Implement PR135, lazy emission of global variables | Chris Lattner | 2003-12-20 | 1 | -14/+63 | |
| | | | | llvm-svn: 10549 | |||||
* | Cleanup the JIT as per PR176. This renames the VM class to JIT, and merges the | Chris Lattner | 2003-12-20 | 1 | -77/+96 | |
| | | | | | | | VM.cpp and JIT.cpp files into JIT.cpp. This also splits some nasty code out into TargetSelect.cpp so that people hopefully won't notice it. :) llvm-svn: 10544 | |||||
* | Rip JIT specific stuff out of TargetMachine, as per PR176 | Chris Lattner | 2003-12-20 | 1 | -7/+8 | |
| | | | | llvm-svn: 10542 | |||||
* | Finegrainify namespacification | Chris Lattner | 2003-12-08 | 1 | -5/+2 | |
| | | | | llvm-svn: 10318 | |||||
* | Put all LLVM code into the llvm namespace, as per bug 109. | Brian Gaeke | 2003-11-11 | 1 | -0/+4 | |
| | | | | llvm-svn: 9903 | |||||
* | Remove #include of PassManager.h which was marked FIXME, and apparently is no | Brian Gaeke | 2003-11-09 | 1 | -3/+0 | |
| | | | | | | longer used. llvm-svn: 9823 | |||||
* | Remove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass. | Misha Brukman | 2003-11-07 | 1 | -15/+0 | |
| | | | | llvm-svn: 9790 | |||||
* | In VM::create(), comment out almost the whole function if NO_JITS_ENABLED, | Brian Gaeke | 2003-10-29 | 1 | -3/+4 | |
| | | | | | | because the Arch variable will likely be undefined. llvm-svn: 9576 | |||||
* | Added LLVM project notice to the top of every C++ source file. | John Criswell | 2003-10-20 | 1 | -0/+7 | |
| | | | | | | Header files will be on the way. llvm-svn: 9298 | |||||
* | JIT.cpp: | Misha Brukman | 2003-10-16 | 1 | -3/+4 | |
| | | | | | | | | | | | | * #include "llvm/ModuleProvider" * alphabetize #includes * omit extraneous parens in pointer expressions VM.cpp: * #include "llvm/ModuleProvider" * alphabetize #includes llvm-svn: 9182 |