1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 04:52:54 +02:00
llvm-mirror/lib
Reid Kleckner b500f07edf Make the JIT code emitter properly retry and ask for more memory when it runs
out of memory, and also make the default memory manager allocate more memory
when it runs out.

Also, switch function stubs and global data over to using the BumpPtrAllocator.

This makes it so the JIT no longer mmaps (or the equivalent on Windows) 16 MB
of memory, and instead allocates in 512K slabs.  I suspect this size could go
lower, especially on embedded platforms, now that more slabs can be allocated.

llvm-svn: 76828
2009-07-23 00:49:59 +00:00
..
Analysis Fix thinko. 2009-07-22 18:56:16 +00:00
Archive Fix some non-sensical code. 2009-07-13 05:29:34 +00:00
AsmParser Rename the new unsigned and signed keywords to nuw and nsw, 2009-07-22 22:44:56 +00:00
Bitcode Fix indentation. 2009-07-22 21:10:50 +00:00
CodeGen Reorder if-else branches as suggested by Bill. 2009-07-22 22:32:19 +00:00
CompilerDriver Delete the temp dir even when '--temp-dir' is specified. 2009-07-11 19:27:07 +00:00
Debugger Make the use of const with respect to LLVMContext sane. Hopefully this is the last time, for the 2009-07-01 23:13:44 +00:00
ExecutionEngine Make the JIT code emitter properly retry and ask for more memory when it runs 2009-07-23 00:49:59 +00:00
Linker Get rid of the Pass+Context magic. 2009-07-22 00:24:57 +00:00
MC Removed the DumpSymbolsandMacros and LoadSymbolsandMacros MCStreamer API as 2009-07-20 20:25:37 +00:00
Support Parameterize the BumpPtrAllocator over a slab allocator. It defaults to using 2009-07-23 00:30:41 +00:00
System Make the JIT code emitter properly retry and ask for more memory when it runs 2009-07-23 00:49:59 +00:00
Target remove SectionFlags::Small: it is only used on Xcore, and we'll find 2009-07-22 23:27:22 +00:00
Transforms Remove unnecessary store to temporary std::string. 2009-07-22 20:46:46 +00:00
VMCore Rename the new unsigned and signed keywords to nuw and nsw, 2009-07-22 22:44:56 +00:00
Makefile LLVMC doesn't need ENABLE_PIC to build now. 2009-07-04 03:54:54 +00:00