summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ExecutionEngine/JIT
Commit message (Collapse)AuthorAgeFilesLines
* Fix problems running the HowToUseJIT on powerpc, and probably problems withChris Lattner2005-02-201-2/+2
| | | | | | ANY program that does not have all functions internalized. llvm-svn: 20258
* Rework constant pool handling so that function constant pools are no longerChris Lattner2005-01-101-21/+24
| | | | | | | leaked to the system. Now they are destroyed with the JITMemoryManager is destroyed. llvm-svn: 19434
* Silence VS warnings.Chris Lattner2005-01-082-2/+3
| | | | llvm-svn: 19390
* Be double sure about including sys/stat.h by wrapping the inclusion inReid Spencer2004-12-201-0/+3
| | | | | | an "#if defined(HAVE_SYS_STAT_H)". llvm-svn: 19069
* Move the #include of sys/stat.h inside the linux "hack" for the statReid Spencer2004-12-171-3/+1
| | | | | | family of functions so it gets noticed if we ever remove this. llvm-svn: 19022
* Only #include sys/stat.h if we're on linux where we have the PR274 problem.Reid Spencer2004-12-171-0/+2
| | | | llvm-svn: 19020
* Get rid of some leaks found by VC leak detector.Reid Spencer2004-12-131-0/+5
| | | | | | Patch contributed by Morten Ofsted. llvm-svn: 18889
* Properly implement a fix for PR475Chris Lattner2004-12-052-13/+15
| | | | llvm-svn: 18537
* Revert this patch, it broke a ton of programs.Chris Lattner2004-12-051-4/+0
| | | | llvm-svn: 18535
* Fix PR475.Alkis Evlogimenos2004-12-051-0/+4
| | | | llvm-svn: 18515
* Remove darwin specific majikChris Lattner2004-12-031-24/+0
| | | | llvm-svn: 18467
* Do not look here for elegance.Chris Lattner2004-12-031-0/+24
| | | | | | | | This fixes the ugly darwin "cannot find symbols starting with __" issue. Thanks for Owen/resistor for testing this out for me. llvm-svn: 18454
* Remove unneeded cast.Chris Lattner2004-12-011-1/+0
| | | | llvm-svn: 18405
* Fix the JIT when being used from llvm-dbChris Lattner2004-11-301-1/+1
| | | | llvm-svn: 18391
* Use System/DynamicLibrary instead of Support/DynamicLinkerReid Spencer2004-11-292-4/+4
| | | | llvm-svn: 18357
* Rename Emitter.cpp -> JITEmitter.cppChris Lattner2004-11-221-20/+20
| | | | llvm-svn: 18132
* Fix the FIXME, nuke the JIT specific forceCompilationOf method.Chris Lattner2004-11-221-11/+0
| | | | llvm-svn: 18131
* These methods are obsoleteChris Lattner2004-11-221-21/+1
| | | | llvm-svn: 18129
* Support targets that require stubs for external functions betterChris Lattner2004-11-221-2/+18
| | | | llvm-svn: 18098
* Clean up DEBUG outputChris Lattner2004-11-211-5/+5
| | | | llvm-svn: 18081
* Allow targets to avoid emitting a stub for EVERY lazily resolved call. InChris Lattner2004-11-211-9/+30
| | | | | | most cases (e.g. direct calls) no stub is needed. llvm-svn: 18080
* Implement relocation support by adding a target independent resolver interface.Chris Lattner2004-11-201-12/+133
| | | | llvm-svn: 18069
* This method does not exist any longer.Chris Lattner2004-11-201-4/+0
| | | | llvm-svn: 18061
* Add getCurrentPCOffset() and addRelocation() methods.Chris Lattner2004-11-201-6/+40
| | | | | | Add stub support for relocations to finishFunction llvm-svn: 18035
* Add accessorChris Lattner2004-11-201-0/+4
| | | | llvm-svn: 18030
* Match change in MachineCodeEmitter prototype.Chris Lattner2004-11-191-2/+2
| | | | llvm-svn: 18009
* Now that we have ghost linkage, we can force resolution of external symbolsChris Lattner2004-11-151-3/+8
| | | | | | | | | | | | | | | | | | | | | immediately instead of lazily. In this program, for example: int main() { printf("hello world\n"); printf("hello world\n"); printf("hello world\n"); printf("hello world\n"); } We used to have to go through compilation callback 4 times (once for each call to printf), now we don't go to it at all. Thanks to Misha for noticing this, and for adding the initial ghost linkage patches. llvm-svn: 17864
* There is no reason to try to materialize the function from bytecode if itChris Lattner2004-11-151-9/+12
| | | | | | already has been. This may be a small speedup. llvm-svn: 17863
* Implement ExecutionEngine::freeMachineCodeForFunction()Misha Brukman2004-11-072-0/+11
| | | | llvm-svn: 17601
* When emitting debug msgs for function stubs, don't truncate theBrian Gaeke2004-10-291-1/+1
| | | | | | | printed pointer value if sizeof(unsigned) != pointer size. Instead, use uintptr_t. llvm-svn: 17338
* Fix library name.Reid Spencer2004-10-281-1/+1
| | | | llvm-svn: 17307
* Use cleaner quoting and eliminate blank spaceMisha Brukman2004-10-221-3/+3
| | | | llvm-svn: 17174
* We won't use automakeReid Spencer2004-10-222-715/+0
| | | | llvm-svn: 17155
* Initial automake generated Makefile templateReid Spencer2004-10-181-0/+677
| | | | llvm-svn: 17136
* Update to reflect changes in Makefile rules.Reid Spencer2004-10-131-4/+5
| | | | llvm-svn: 16950
* Initial version of automake Makefile.am file.Reid Spencer2004-10-101-0/+37
| | | | llvm-svn: 16885
* Simplify the sys::Memory interface per Chris' request.Reid Spencer2004-09-131-2/+2
| | | | llvm-svn: 16318
* Convert the Emitter to use the lib/System "Memory" interface instead of theReid Spencer2004-09-111-2/+5
| | | | | | old SystemUtils.h interface to allocate RWX blocks of memory. llvm-svn: 16286
* Changes For Bug 352Reid Spencer2004-09-013-5/+5
| | | | | | | | 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,argvChris Lattner2004-08-161-2/+13
| | | | llvm-svn: 15802
* Finally, add support for calling arbitrary non-varargs functions.Chris Lattner2004-08-161-9/+58
| | | | llvm-svn: 15799
* Handle all nullary functions, of any valid return type.Chris Lattner2004-08-151-7/+46
| | | | llvm-svn: 15798
* Fine, go all of the way and check that the argument types are correct as well.Chris Lattner2004-08-151-13/+27
| | | | llvm-svn: 15797
* These only really work if returning int or voidChris Lattner2004-08-151-17/+21
| | | | llvm-svn: 15796
* Handle zero arg function caseChris Lattner2004-08-151-1/+5
| | | | llvm-svn: 15794
* Simplify code a bit, print error message always instead of asserting.Chris Lattner2004-08-151-16/+19
| | | | llvm-svn: 15793
* The cleanup is done. Update comment.Chris Lattner2004-07-111-5/+2
| | | | llvm-svn: 14761
* Goodbye macro hell, hello nice clean simple extensible code. This changeChris Lattner2004-07-111-55/+13
| | | | | | | | also gives the JIT the ability to dynamically load targets. e.g. lli -load libparisc.so -march=parisc foo.bc llvm-svn: 14750
* Make error message consistent with the rest of LLVM by saying that bytecodeReid Spencer2004-07-071-2/+2
| | | | | | is read, not parsed. llvm-svn: 14677
* Fix for bug 391.Reid Spencer2004-07-071-0/+3
| | | | | | Improve exeception handling around bcreader invocations. llvm-svn: 14674
OpenPOWER on IntegriCloud