search for: 2kloc

Displaying 4 results from an estimated 4 matches for "2kloc".

Did you mean: kloc
2014 Jan 10
4
[LLVMdev] Bitcode parsing performance
Hi all, I'm trying to reduce the startup time for my JIT, but I'm running into the problem that the majority of the time is spent loading the bitcode for my standard library, and I suspect it's due to debug info. My stdlib is currently about 2kloc in a number of C++ files; I compile them with clang -g -emit-llvm, then link them together with llvm-link, call opt -O3 on it, and arrive at a 1MB bitcode file. I then embed this as a binary blob into my executable, and call ParseBitcodeFile on it at startup. Unfortunately, this parsing takes abo...
2014 Jan 10
3
[LLVMdev] Bitcode parsing performance
...opbox.com>wrote: > > Hi all, I'm trying to reduce the startup time for my JIT, but I'm running > into the problem that the majority of the time is spent loading the bitcode > for my standard library, and I suspect it's due to debug info. My stdlib > is currently about 2kloc in a number of C++ files; I compile them with > clang -g -emit-llvm, then link them together with llvm-link, call opt -O3 > on it, and arrive at a 1MB bitcode file. I then embed this as a binary > blob into my executable, and call ParseBitcodeFile on it at startup. > > Unfortunately...
2014 Jan 23
2
[LLVMdev] Bitcode parsing performance
...;> Hi all, I'm trying to reduce the startup time for my JIT, but I'm >>> running into the problem that the majority of the time is spent loading the >>> bitcode for my standard library, and I suspect it's due to debug info. My >>> stdlib is currently about 2kloc in a number of C++ files; I compile them >>> with clang -g -emit-llvm, then link them together with llvm-link, call opt >>> -O3 on it, and arrive at a 1MB bitcode file. I then embed this as a binary >>> blob into my executable, and call ParseBitcodeFile on it at startup....
2010 Feb 24
5
[LLVMdev] C Compiler written in OCaml, Pointers Wanted
Hello, For a course project, I am required to write a compiler for some language of my choice, and this compiler has to be implemented in a functional language. I have chosen create a *JIT* compiler for C source, and to implement my compiler in OCaml using LLVM for the back-end. I have experience using LLVM in C++ (I wrote a MATLAB JIT compiler not long ago), however, I am a bit puzzled as to how