Displaying 20 results from an estimated 40000 matches similar to: "[LLVMdev] LLVM JIT--Function Specialization and Stack rewriting"
2010 May 27
0
[LLVMdev] Deep JIT specialization
On May 27, 2010, at 6:08 AM, Nicolas Capens wrote:
> Hi all,
>
> I'm attempting to use LLVM for run-time code specialization, but I'm facing a performance hurdle. I'm currently performing the specialization during the AST to LLVM IR translation, but unfortunately this leads to relatively slow recompiles as LLVM has to perform all the heavy (optimization) passes over and
2010 May 27
1
[LLVMdev] Deep JIT specialization
Hi Chris,
Thanks for pointing me to that presentation! It helped me come up with a
strategy that I believe might work:
1) Use CloneFunction() to make a copy of the original unspecialized (but
optimized) function.
2) Specialize it using a custom function pass which identifies the
specialization parameters and substitutes them with given run-time
constants.
3) Run the function through a
2010 May 27
0
[LLVMdev] Deep JIT specialization
I don't think there is any infrastructure for this kind of
specialization. The closest thing I can think of is the
profile-guided optimization stuff that Andreas Neufstifter has worked
on.
Because compilation and optimization with LLVM is expensive, our
approach with Unladen Swallow has been to try to wait longer to
generate specialized code, so we don't have to recompile.
If memory
2010 May 27
4
[LLVMdev] Deep JIT specialization
Hi all,
I'm attempting to use LLVM for run-time code specialization, but I'm facing
a performance hurdle. I'm currently performing the specialization during the
AST to LLVM IR translation, but unfortunately this leads to relatively slow
recompiles as LLVM has to perform all the heavy (optimization) passes over
and over again.
So I was hoping that by first creating unspecialized LLVM
2017 May 07
2
[cfe-dev] JIT doens't resolve address - Resolve obj-Addresses?
Hi Bjoern,
CCing cfg-dev (since that's where the conversation started) and llvm-dev
(since it's relevant there).
Do you know if there is a way to obtain the fully resolved obj-code? I
> wanted to load the functions into a shared memory, but how? The only thing
> I receive is a function pointer, but I don't know how large the function
> 'behind' is. Even a call to
2014 Jan 08
2
[LLVMdev] Request for Git Mirror of VMKit Subproject
Thanks, Anton. I always forget about llvm-admin :).
I'd say converting all branches would be best, would help track the
MCJIT work for example.
Gaël, does that sound good to you? You're the one making all the
commits these days :).
~Will
On Sun, Jan 5, 2014 at 9:03 AM, Anton Korobeynikov
<anton at korobeynikov.info> wrote:
> Hello
>
> I can create a mirror, this is not
2010 Sep 14
0
[LLVMdev] Any experiemnts/evaluations on LLVM and graph rewriting (term-rewriting) systems?
Valery Khamenya wrote:
> are there any attempts to use LLVM in graph-rewriting (term-rewriting)
> language implementations?
Pure is a dynamically typed FPL based on term rewriting:
http://pure-lang.googlecode.com/
It uses the LLVM JIT to compile and execute code on the fly in an
interpreter-like environment, and can also batch-compile code to native
executables. This includes the
2011 Aug 15
1
[LLVMdev] [VMKit] 2.9 or ToT? Java version/features?
Hi Nicolas,
Reviving old thread of sorts... thank you very much for your earlier
response--I apologize for not responding to tell you how very helpful
your information was! Didn't come back because you gave me everything
I needed at the time :).
Anyway:
On Fri, May 13, 2011 at 2:00 PM, nicolas geoffray
<nicolas.geoffray at gmail.com> wrote:
> On Fri, May 13, 2011 at 7:30 PM, Will
2014 Jan 04
3
[LLVMdev] Request for Git Mirror of VMKit Subproject
Hi all,
Don't suppose VMKit could be added to the set of subprojects with
official git mirrors?
Please and thank you! :)
~Will
2010 Sep 13
4
[LLVMdev] Any experiemnts/evaluations on LLVM and graph rewriting (term-rewriting) systems?
Hi,
are there any attempts to use LLVM in graph-rewriting (term-rewriting)
language implementations?
How good is LLVM for this?
E.g., is it natural to expect that the LLVM-based implementation of the
language Concurrent Clean be any faster than its reference implementation?
Best regards
--
Valery A.Khamenya
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2011 Nov 06
0
[LLVMdev] Printing DSGraph in llvm-3.0
On Sun, Nov 6, 2011 at 12:24 AM, Ankita (Garg) Goel
<gargankita at gmail.com> wrote:
> Hi,
> I am using the DSA analysis in llvm-3.0. I am interested in seeing the
> resultant DSGraph for my sample input program. I tried the -dsa-only-print
> parameter, but was not successful in getting the .dot file for the graph as
> mentioned in Printer.cpp. The exact command that I tried
2011 May 13
2
[LLVMdev] [VMKit] 2.9 or ToT? Java version/features?
Hi all,
I'm interested in using VMKit rather extensively in a project of mine.
I was hoping to get feedback on a few vmkit-related questions from
those more familiar:
--Is there a 'best' version to use? I'd be inclined to use the 2.9
release since it's a stationary target, but curious if I should try to
follow ToT. Is there a recommended best practice?
--What features of
2010 May 26
2
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
Thanks for the response, Eli.
The header suggestion could certainly cause this issue (I panicked for
a second), but unfortunately as far as I can tell the headers are in
fact from LLVM 2.7.
The pass is built as a project configured by llvm, so hopefully that
would make things right, but also:
--include paths look legit (make VERBOSE=1, etc)
--strace on the build process for the project confirms
2011 Aug 23
2
[LLVMdev] VMKit build error
Hmm, disregard my previous comment (while you might still have issues
with 64bit, that's not what's primarily causing your issue)--your
particular error is when you don't point vmkit to the classpath
libraries properly.
Set it with the configure option
--with-gnu-classpath-glibj=/path/to/classpath-0.97.2/lib/glibj.zip
Good luck!
~Will
On Tue, Aug 23, 2011 at 5:49 PM, Will Dietz
2011 May 13
0
[LLVMdev] [VMKit] 2.9 or ToT? Java version/features?
Hi Will,
On Fri, May 13, 2011 at 7:30 PM, Will Dietz <willdtz at gmail.com> wrote:
> Hi all,
>
> I'm interested in using VMKit rather extensively in a project of mine.
>
>
Great!
> I was hoping to get feedback on a few vmkit-related questions from
> those more familiar:
>
> --Is there a 'best' version to use? I'd be inclined to use the 2.9
>
2018 Dec 17
2
LLVM Backend for a platform with no (normal) stack
For a machine like an FPGA with no stack, you have to ensure that you have an optimization that rewrites the alloca into either registers (such as PromoteMem2Reg) or that you rewrite the alloca by declaring a static local, and rewriting the code to use that instead of the alloca result.
Mark Mendell
From: llvm-dev <llvm-dev-bounces at lists.llvm.org> On Behalf Of Bruce Hoult via llvm-dev
2010 May 26
0
[LLVMdev] AliasAnalysis as a Loadable Module, Possible 2.6->2.7 issue
Dear Will,
If you're seeing the wrong method executed, it's probably because you're
using multiple inheritance in your analysis group (which is a very
common thing to do).
LLVM 2.7 made a change which alleviated the need for RTTI or some other
undesirable C++ feature. However, it also broke multiple inheritance
with analysis group passes. To fix it, your analysis group needs to
2011 Aug 24
0
[LLVMdev] VMKit build error
Ah yes, thanks, this was one problem, now I hit another:
llvm[2]: Building Release+Asserts mmtk-vmkit.jar all
Thread 0x110000000 received a SIGSEGV: either the VM code or an external
native method is bogus. Aborting...
; 0x5cfeed (0x1100fe410) in _Z14sigsegvHandleriP7siginfoPv
; 0x2b889c232c60 in Unknown method
; 0x561499 (0x1100fe900) in _ZN2j310JavaObject7acquireEPS0_
; 0x55b464 (0x1100fe920)
2011 Nov 06
2
[LLVMdev] Printing DSGraph in llvm-3.0
Hi,
I am using the DSA analysis in llvm-3.0. I am interested in seeing the
resultant DSGraph for my sample input program. I tried the -dsa-only-print
parameter, but was not successful in getting the .dot file for the graph as
mentioned in Printer.cpp. The exact command that I tried is:
#opt -load <path-to-llvmdatastructures.so> -dsa-local -dsa-bu -dsa-td
-dsa-only-print < hello.bc
Is
2008 May 02
1
Speedups with Ra and jit
The topic of Ra and jit has come up on this list recently
(see http://www.milbo.users.sonic.net/ra/index.html)
so I thought people might be interested in this little demo. For it I
used my machine, a 3-year old laptop with 2Gb memory running Windows
XP, and the good old convolution example, the same one as used on the
web page, (though the code on the web page has a slight glitch in it).
This