- Oct 27, 2009
-
-
Jeffrey Yasskin authored
http://llvm.org/PR5184, and beef up the comments to describe what both options do and the risks of lazy compilation in the presence of threads. llvm-svn: 85295
-
- Oct 21, 2009
-
-
Jeffrey Yasskin authored
default and didn't work anyway. llvm-svn: 84720
-
- Oct 16, 2009
-
-
Evan Cheng authored
Add a CodeGenOpt::Less level to match -O1. It'll be used by clients which do not want post-regalloc scheduling. llvm-svn: 84272
-
- Aug 24, 2009
-
-
Chris Lattner authored
forcing them down into various .cpp files. This change also: 1. Renames TimeValue::toString() and Path::toString() to ::str() for similarity with the STL. 2. Removes all stream insertion support for sys::Path, forcing clients to call .str(). 3. Removes a use of Config/alloca.h from bugpoint, using smallvector instead. 4. Weans llvm-db off <iostream> sys::Path really needs to be gutted, but I don't have the desire to do it at this point. llvm-svn: 79869
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78948
-
- Aug 05, 2009
-
-
Dan Gohman authored
llvm-svn: 78133
-
- Jul 23, 2009
-
-
Reid Kleckner authored
bots like the BumpPtrAllocator changes. llvm-svn: 76902
-
Reid Kleckner authored
Reverting r76825 and r76828, since they caused clang runtime errors and some build failure involving memset. llvm-svn: 76838
-
Reid Kleckner authored
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
-
- Jul 18, 2009
-
-
Daniel Dunbar authored
- Otherwise we get two regressions in llvm-test for applications which run out of space. - Once the JIT memory manager is improved, this can be switched back. llvm-svn: 76291
-
Reid Kleckner authored
Also a test commit. llvm-svn: 76276
-
- Jul 16, 2009
-
-
Daniel Dunbar authored
processing. llvm-svn: 75888
-
Owen Anderson authored
To simplify the upcoming context-on-type change, switch all command line tools to using the default global context for now. This will let us to hardwire stuff to the global context in the short term while the API is sorted out. llvm-svn: 75846
-
- Jul 15, 2009
-
-
Dan Gohman authored
llvm-svn: 75791
-
- Jul 10, 2009
-
-
Jeffrey Yasskin authored
library to tell it the addresses of JITted functions. For a particular program, this changes the opreport -l output from: samples % image name symbol name 48182 98.9729 anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) anon (tgid:19412 range:0x7f12ccaab000-0x7f12cdaab000) 11 0.0226 libstdc++.so.6.0.9 /usr/lib/libstdc++.so.6.0.9 to: samples % image name symbol name 24565 60.7308 19814.jo fib_left 15365 37.9861 19814.jo fib_right 22 0.0544 ld-2.7.so do_lookup_x llvm-svn: 75279
-
- Jul 07, 2009
-
-
Chris Lattner authored
by Eric Rannaud! llvm-svn: 74930
-
- Jul 03, 2009
-
-
Torok Edwin authored
llvm-svn: 74770
-
- Jul 01, 2009
-
-
Owen Anderson authored
llvm-svn: 74640
-
Owen Anderson authored
Add a pointer to the owning LLVMContext to Module. This requires threading LLVMContext through a lot of the bitcode reader and ASM parser APIs, as well as supporting it in all of the tools. Patches for Clang and LLVM-GCC to follow. llvm-svn: 74614
-
- Jun 25, 2009
-
-
Jeffrey Yasskin authored
emitted or the machine code for a function is freed. Chris mentioned that we may also want a notification when a stub is emitted, but that'll be a future change. I intend to use this to tell oprofile where functions are emitted and what lines correspond to what addresses. llvm-svn: 74157
-
- Jun 17, 2009
-
-
Chris Lattner authored
llvm-svn: 73611
-
Chris Lattner authored
target so that the JIT works in LLI, not just the interpreter. llvm-svn: 73595
-
- May 05, 2009
-
-
Evan Cheng authored
llvm-svn: 70934
-
- Apr 30, 2009
-
-
Bill Wendling authored
which better identifies what the optimization is doing. And is more flexible for future uses. llvm-svn: 70440
-
- Mar 06, 2009
-
-
Chris Lattner authored
their main routines. This makes the tools print their argc/argv commands if they crash. llvm-svn: 66248
-
- Nov 06, 2008
-
-
Evan Cheng authored
llvm-svn: 58779
-
- Aug 08, 2008
-
-
Evan Cheng authored
llvm-svn: 54524
-
- May 21, 2008
-
-
Evan Cheng authored
llvm-svn: 51386
-
- Apr 22, 2008
-
-
Evan Cheng authored
llvm-svn: 50095
-
- Dec 29, 2007
-
-
Chris Lattner authored
llvm-svn: 45421
-
- Oct 08, 2007
-
-
Dan Gohman authored
commands and into the common code. llvm-svn: 42752
-
- Jul 05, 2007
-
-
Gabor Greif authored
Almost all occurrences of "bytecode" in the sources have been eliminated. llvm-svn: 37913
-
- May 07, 2007
-
-
Chris Lattner authored
llvm-svn: 36900
-
- May 06, 2007
-
-
Chris Lattner authored
llvm-svn: 36872
-
Chris Lattner authored
llvm-svn: 36840
-
- Apr 27, 2007
-
-
Chris Lattner authored
MultiSource/Applications/minisat in the JIT. Note that the libsystem stuff should ideally never modify errno. :( llvm-svn: 36508
-
- Mar 06, 2007
-
-
Reid Spencer authored
disappears before we get to calling the exit function. llvm-svn: 34953
-
- Mar 03, 2007
-
-
Reid Spencer authored
reading bytecode. 2. The interpreter can delete the ModuleProvider and replace it with another so don't depend on it being around after the EE is created. 3. Don't just run llvm_shutdown on exit but actually delete the EE as well. This cleans up a vast amount of memory (but not all) that EE retained through exit. llvm-svn: 34888
-
- Feb 07, 2007
-
-
Chris Lattner authored
api's look like this: ModuleProvider *getBytecodeModuleProvider( const std::string &Filename, ///< Name of file to be read BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer, std::string* ErrMsg = 0, ///< Optional error message holder BytecodeHandler* H = 0 ///< Optional handler for reader events ); This is ugly, but allows a client to say: getBytecodeModuleProvider("foo", 0); If they do this, there is no dependency on the compression libraries, saving codesize. llvm-svn: 34012
-
- Feb 05, 2007
-
-
Reid Spencer authored
Adjust to changes in Module interface: getMainFunction() -> getFunction("main") getNamedFunction(X) -> getFunction(X) llvm-svn: 33922
-