search for: idadesub

Displaying 20 results from an estimated 67 matches for "idadesub".

2010 Mar 01
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Another quick question. In ./bindings/ocaml/Makefile.ocaml, the configurations when ENABLE_OPTIMIZED<>1 are commented, which set -g flag to $(OCAMLC). Is that for back-compatibility to support OCaml < 3.10.0? On Sun, Feb 28, 2010 at 6:48 PM, Erick Tryzelaar <idadesub at users.sourceforge.net> wrote: > On Sun, Feb 28, 2010 at 8:38 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: >> Hi, >> >> At the code below from >> ./bindings/ocaml/executionengine/executionengine_ocaml.c, >> we create an OCaml Variant from C. It i...
2010 Aug 15
4
[LLVMdev] Ocaml bindings in 2.8
Hi, Does 2.8 release plan to change anything in Ocaml bindings? http://llvm.org/docs/ReleaseNotes.html#whatsnew does not list any relevant features. 2.7 added 'operand' that can access each operand from a value. external operand : llvalue -> int -> llvalue = "llvm_operand" Does this binding also expose a primitive to return how many operands a given value has? I need
2009 Aug 11
1
[LLVMdev] Should APFloat's construct-from-string take a string length?
I noticed that APInt's construct-from-string takes the length of the string, but APFloat does not. Would it make sense to modify APFloat to also take a length? I would imagine that it'd help protect us against malformed string values. -------------- next part -------------- An HTML attachment was scrubbed... URL:
2009 Aug 20
1
[LLVMdev] LLVM asserts
On Wed, Aug 19, 2009 at 4:17 PM, Chris Lattner<clattner at apple.com> wrote: > > assert and abort should never happen, just like a null pointer or > garbage pointer dereference should never happen.  How are garbage > pointer and asserts different? So what should we use to validate input, such as constructing an APFloat from a string? llvm_report_error? Or should I change my
2009 Aug 20
1
[LLVMdev] Buggy assertion in APFloat::convertFromHexadecimalString
On Thu, Aug 20, 2009 at 10:13 AM, Daniel Dunbar<daniel at zuster.org> wrote: > Fixed in r79450, along with an additional one of the same nature. > > Thanks, >  - Daniel Thanks Daniel and Enea for finding this! I'm adding a lot more test cases like this to APFloat's unittests so hopefully we won't have any other bugs lying around.
2009 Sep 21
0
[LLVMdev] Error when building tutorial example
On Sun, Sep 20, 2009 at 11:05 PM, Alexia Benington <alexbenington at gmail.com> wrote: > Hi all, > > I can get it to compile with the following command. But I want to make > sure I understand how the Makefiles integrate together. > g++ tut1.cpp `llvm-config --cxxflags --ldflags --libs core engine` > > Really appreciate your help. Thank you. I've been sitting on a
2009 Oct 07
1
[LLVMdev] InitializeNativeTarget
On Wed, Oct 7, 2009 at 11:36 AM, Albert Graef <Dr.Graef at t-online.de> wrote: > Kenneth Uildriks wrote: > > Yes, so you'll need to add a little C++ module to your wrapper that does > the necessary initializations and is callable from your target language. That's odd, we don't need to do that for ocaml. Have you tried having a function like this defined in your
2010 Feb 28
0
[LLVMdev] Tag number of OCaml Variant in executionengine
On Sun, Feb 28, 2010 at 8:38 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: > Hi, > > At the code below from > ./bindings/ocaml/executionengine/executionengine_ocaml.c, > we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has > the same code. > > Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor. > In term of
2010 Mar 02
0
[LLVMdev] Tag number of OCaml Variant in executionengine
On Mon, Mar 1, 2010 at 7:34 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: > Another quick question. > In ./bindings/ocaml/Makefile.ocaml, the configurations when > ENABLE_OPTIMIZED<>1 are commented, which set -g flag to $(OCAMLC). > Is that for back-compatibility to support OCaml < 3.10.0? At the time, we were still supporting 3.09. It sounds like everyone's
2010 Mar 02
1
[LLVMdev] Tag number of OCaml Variant in executionengine
On Tue, Mar 2, 2010 at 3:23 AM, Erick Tryzelaar <idadesub at users.sourceforge.net> wrote: > On Mon, Mar 1, 2010 at 7:34 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: >> Another quick question. >> In ./bindings/ocaml/Makefile.ocaml, the configurations when >> ENABLE_OPTIMIZED<>1 are commented, which set -g flag...
2010 Mar 06
1
[LLVMdev] Last chance to get anything into llvm-c and ocaml bindings
On Fri, Mar 5, 2010 at 5:53 AM, George Giorgidze <giorgidze at gmail.com> wrote: > > Hi Erick, > > Can you make the following functions available in llvm-c. > > createStandardFunctionPasses > createStandardModulePasses > createStandardLTOPasses > > Thanks in advance, George This is a little tricky, so I need some advice from the community. First off, I'm
2010 Aug 20
0
[LLVMdev] Ocaml bindings in 2.8
On Fri, Aug 20, 2010 at 6:49 AM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: > Hello, > > How does LLVM release deal with users' changings, and consider them as > a patch? But it would be very appreciated if you can review my > bindings to see if they are well-designed. > > Thanks You can just attach it here. In the future you could either file a bug report or
2011 Jun 13
2
[LLVMdev] Reading Instructions from Ocaml
Hello, I'm interested in the OCaml bindings, but I've been digging through them and it doesn't seem possible to actually write a transformation with them. Specifically, there are a lot of functions to build each type of instruction, but there doesn't seem to be any way to query an llvalue and determine what kind of instruction it is. Is there something that I am missing? Thank
2011 Jun 14
0
[LLVMdev] Reading Instructions from Ocaml
On Mon, Jun 13, 2011 at 12:09 PM, Gregory Malecha <gmalecha at gmail.com> wrote: > Hello, Hello Gregory, > I'm interested in the OCaml bindings, but I've been digging through them and > it doesn't seem possible to actually write a transformation with them. > Specifically, there are a lot of functions to build each type of > instruction, but there doesn't seem
2008 Apr 09
2
[LLVMdev] Compiling Stacker compiler
On Tue, Apr 8, 2008 at 8:00 PM, Gordon Henriksen <gordonhenriksen at mac.com> wrote: > On 2008-04-08, at 20:21, Lane Schwartz wrote: > > > I checked out the Stacker directory from svn, and put it in my llvm- > > src/projects directory. Unfortunately, when I run make, I get the > > errors below. I wondered whether the stacker code might simply be > > out of
2008 Apr 09
0
[LLVMdev] Compiling Stacker compiler
On Tue, Apr 8, 2008 at 8:25 PM, Lane Schwartz <dowobeha at gmail.com> wrote: > OK. Thanks for the info. Is there a working sample project that I could look at? > > I'm interested in tinkering around with my own custom frontend for a > toy language, and I was hoping for something I could use as a template > in getting a project set up properly. Did you try the
2010 Feb 28
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Hi, At the code below from ./bindings/ocaml/executionengine/executionengine_ocaml.c, we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has the same code. Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor. In term of http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html, I think the 'some' should have a tag 0. We dont have a runtime error for
2009 Sep 21
3
[LLVMdev] Error when building tutorial example
Hi all, I'm a new user to LLVM. Not really sure if this is the correct place to post, since there isn't really any other forums around. Anyway, the issue I'm encountering is that, I was trying out the first tutorial (http://llvm.org/docs/tutorial/JITTutorial1.html). I attempted to do this in another folder that was copied from llvm/projects/sample. I created a new folder called
2010 Feb 16
2
[LLVMdev] LLVM-OCaml Bindings Tutorial (2.6-2.7)
On Mon, Feb 15, 2010 at 11:47 PM, Jon Harrop <jon at ffconsultancy.com> wrote: > There are at least two other significant users of LLVM's OCaml bindings, > AFAIK. I'm writing an llvm backend/repl for felix, but it's pretty early. > My only gripe with LLVM's OCaml bindings is the way an error caught on the > LLVM side causes my program to die in a way that the
2010 Aug 17
0
[LLVMdev] Ocaml bindings in 2.8
Hello Jianzhou, On Sat, Aug 14, 2010 at 8:25 PM, Jianzhou Zhao <jianzhou at seas.upenn.edu> wrote: > Hi, > > Does 2.8 release plan to change anything in Ocaml bindings? > http://llvm.org/docs/ReleaseNotes.html#whatsnew does not list any > relevant features. I usually wait until around nowish before a release to sync llvm-c and the ocaml bindings. I'll start the process.