Displaying 20 results from an estimated 4000 matches similar to: "[LLVMdev] Minor issue installing llvm-gcc-4.0"
2006 Nov 15
2
[LLVMdev] Targetting a virtual machine having no registers
Hi *!
I am writing a C compiler to target the Lego Mindstorms NXT virtual
machine. While I was implementing the optimizer and code generator I
realized that it might be useful to use LLVM for this.
The question I have is related to writing a LLVM target for this
architecture. I have read most of the documentation available on the
website and read through portions of the code (including
2006 Nov 17
0
[LLVMdev] Targetting a virtual machine having no registers
On Wed, 15 Nov 2006, Kay Roepke wrote:
> I am writing a C compiler to target the Lego Mindstorms NXT virtual
> machine.
cool!
> While I was implementing the optimizer and code generator I
> realized that it might be useful to use LLVM for this.
Sure.
> The question I have is related to writing a LLVM target for this
> architecture. I have read most of the documentation
2009 Jun 24
2
[LLVMdev] Garbage collection implementation
Jon Harrop wrote:
> The simplest way is surely to reuse HLVM because it provides
everything you
> need and is even written in the right language! ;-)
Is there a web page with HLVM docs? There's a README.txt in the
subversion repository:
https://llvm.org/svn/llvm-project/hlvm/trunk/README.txt
which says:
HLVM comes with documentation in HTML format. These are provided in
2009 Mar 10
2
[LLVMdev] Stack smashing
Someone is trying to work on HLVM with me but they're hitting a problem that
we have not been able to resolve. Specifically, GCC seems to be performing
some kind of sanity check for "stack smashing" and is calling abort because
it is unhappy with something that the code is doing. However, I am not sure
what and cannot reproduce the problem.
The stack trace they have given me is:
2008 Jun 02
3
[LLVMdev] The first two lines of llvm tutorial don't compile.
I took the first two lines of the sample program in the tutorial:
hendrik at lovesong:~/dv/lang/hlvm$ cat broken.cpp
#include "llvm/DerivedTypes.h"
#include "llvm/Module.h"
hendrik at lovesong:~/dv/lang/hlvm$
and tried to compile them using the llvm-dev in Debian testing:
hendrik at lovesong:~/dv/lang/hlvm$ g++ -o broken.o -c broken.cpp
In file included from
2008 Jun 02
0
[LLVMdev] The first two lines of llvm tutorial don't compile.
You need to use the script 'llvm-config' to pass correct arguments to g
++:
g++ -o broken.o `llvm-config --cxxflags` broken.cpp
On Jun 2, 2008, at 9:43 AM, Hendrik Boom wrote:
> I took the first two lines of the sample program in the tutorial:
>
>
> hendrik at lovesong:~/dv/lang/hlvm$ cat broken.cpp
> #include "llvm/DerivedTypes.h"
> #include
2007 Mar 21
1
[LLVMdev] SoC proposal: HLVM Python front-end
Hi,
I am senior student at Tashkent University of Information Technologies
and I am highly interested in programming language design. I want to
develop Python front-end for HLVM as a part of LLVM participation in
Google Summer of Code project.
I am in long love with Python programming language for its simplicity
and effectiveness. Last year I noticed ShedSkin Python to C++
translator among SoC
2009 Jun 18
0
[LLVMdev] ML types in LLVM
On Tuesday 16 June 2009 15:44:04 Aaron Gray wrote:
> Jon Harrop wrote:
> >Even if this puts LLVM at an unfair disadvantage, I think you will find
> >that
> >LLVM will thrash MLton's current x86 backend anyway.
> >
> >I did some benchmarking on HLVM and found that it was often several times
> >faster than OCaml when the GC is not the bottleneck:
> >
2009 Jan 04
3
[LLVMdev] HLVM
What happened to the HLVM project? I understand it was intended to be a
high-level VM specifically for dynamic languages and this post indicates that
it was integrated into the LLVM project last year:
http://www.nabble.com/NEWS:-HLVM-merges-with-LLVM-td9627113.html
But I cannot find any code in LLVM that looks like it would have come from
HLVM.
--
Dr Jon Harrop, Flying Frog Consultancy
2011 Dec 06
2
[LLVMdev] LLVM and managed languages
Talin wrote:
> Jon wrote:
> > Talin wrote:
> > > Garbage collection is still way too difficult.
> >
> > This is completely untrue.
>
> I'm afraid I'm going to have to disagree...
I failed to get my point across. You're still talking about the difficulty
of using LLVM's GC support. I was talking about circumventing it. The shadow
stack HLVM uses
2011 Dec 07
0
[LLVMdev] LLVM and managed languages
Would you then agree with me that "LLVM's garbage collection facilities,
_as described in the LLVM documentation_, are too difficult to use"?
On Tue, Dec 6, 2011 at 3:40 AM, Jon Harrop <
jonathandeanharrop at googlemail.com> wrote:
> Talin wrote:
> > Jon wrote:
> > > Talin wrote:
> > > > Garbage collection is still way too difficult.
> >
2009 Jun 16
2
[LLVMdev] ML types in LLVM
>On Sunday 14 June 2009 14:09:33 Wesley W. Terpstra wrote:
>> On Sun, Jun 14, 2009 at 10:50 AM, Florian Weimer<fw at deneb.enyo.de> wrote:
>> > Is this really a problem for MLton? I think you only get less precise
>> > alias analysis, and that's it.
>>
>> Correct. However, I want a fair comparison between LLVM performance
>> and the native x86
2011 Dec 04
1
[LLVMdev] LLVM and managed languages
Hi Talin,
I wrote HLVM:
http://www.ffconsultancy.com/ocaml/hlvm/
The whole project took a few man months. HLVM provides an ML-like type system, unboxed tuples, discriminated unions, TCO, generic printing, C FFI, POSIX threads, mark-sweep GC and both JIT and standalone compilation. I wrote several (accurate) garbage collectors for it including a stop-the-world mark-sweep collector and they
2010 Feb 17
1
[LLVMdev] LLVM-OCaml Bindings Tutorial (2.6-2.7)
On Tue, Feb 16, 2010 at 2:47 AM, Jon Harrop <jon at ffconsultancy.com> wrote:
> On Tuesday 16 February 2010 03:51:00 Jianzhou Zhao wrote:
>> Does anyone know if there is any realistic project using LLVM-OCaml
>> Bindings?
>
> I've written a VM in OCaml built upon LLVM using LLVM's OCaml bindings:
>
> http://www.ffconsultancy.com/ocaml/hlvm/
>
> There
2009 Jun 18
2
[LLVMdev] Garbage Collection Project
On Thursday 18 June 2009 12:28:57 Cory Nelson wrote:
> I'm also curious what language uses this and why it is useful :)
HLVM is intended to be a general-purpose VM rather than a particular language.
> Also, things like this would make lock-free algorithms difficult or
> impossible.
True. Perhaps that is a good argument for providing both kinds. However, nulls
are certainly more
2008 Jun 02
5
[LLVMdev] The first two lines of llvm tutorial don't compile.
On Mon, 02 Jun 2008 09:52:16 -0700, Thomas Hudson wrote:
> You need to use the script 'llvm-config' to pass correct arguments to g
> ++:
>
> g++ -o broken.o `llvm-config --cxxflags` broken.cpp
>
>
Interesting. When I type the command as you provided it (using cut-and-paste) I get:
hendrik at lovesong:~/dv/lang/hlvm$ g++ -o broken.o `llvm-config --cxxflags`
2009 Jan 04
0
[LLVMdev] HLVM
On Sun, Jan 4, 2009 at 2:36 PM, Jon Harrop <jon at ffconsultancy.com> wrote:
(...)
> But I cannot find any code in LLVM that looks like it would have come from
> HLVM.
Don't know about the status of the project, but the code seems to be here:
http://llvm.org/viewvc/llvm-project/ (in directory "hlvm")
Regards,
Kevin André
2007 Mar 22
3
[LLVMdev] GSOC - HLVM Work
Hello,
I would also like to apply for Google's Summer of Code, but I am
having difficulty finding a concrete project idea to tackle. (Though
certainly interesting, a new front-end or a compiler optimization
pass seem like to large as projects for a single summer -- and
certainly something I couldn't accomplish given my lack of
familiarity with the code-base.)
I have read the
2011 Dec 06
0
[LLVMdev] LLVM and managed languages
Comments inline.
On Sun, Dec 4, 2011 at 1:38 PM, Jon Harrop <
jonathandeanharrop at googlemail.com> wrote:
> Hi Talin,
>
> I wrote HLVM:
>
> http://www.ffconsultancy.com/ocaml/hlvm/
>
> The whole project took a few man months. HLVM provides an ML-like type
> system, unboxed tuples, discriminated unions, TCO, generic printing, C FFI,
> POSIX threads, mark-sweep
2008 Jun 03
3
[LLVMdev] Problems with iterator.h
Just finished the compiling llvm without llvm-gcc from svn.
Tried it out. Got
g++ -o hlvm.o -c -I/farhome/hendrik/dv/llvm/llvm/include -D_DEBUG -D_GNU_SOURCE
-D__STDC_LIMIT_MACROS -g -Woverloaded-virtual hlvm.cpp
In file included from /farhome/hendrik/dv/llvm/llvm/include/llvm/DerivedTypes.h:
21,
from hlvm.cpp:1:
/farhome/hendrik/dv/llvm/llvm/include/llvm/Type.h:19:31: error: