search for: idleart

Displaying 8 results from an estimated 8 matches for "idleart".

Did you mean: idlearts
2011 Jul 09
1
[LLVMdev] getting and setting array indices c interface
...32 %ctr, 1 store i32 %next, i32* %x br label %For1 ForEnd1: ; preds = %For1 %ind = load i32* %a1 %array3 = load i32** %ptrMyArray %ptr = getelementptr i32* %array3 %ele = load i32* %ptr ret i32 %ele } -- Andrew Ferguson +649 372 6039 www.idlearts.com
2011 Jul 26
0
[LLVMdev] LLVMdev Digest, Vol 85, Issue 54
...on arrays in 2.8, until I upgraded and then the problem went away. -Peter Lawrence. On Jul 25, 2011, at 6:43 AM, llvmdev-request at cs.uiuc.edu wrote: > ------------------------------ > > Message: 7 > Date: Mon, 25 Jul 2011 13:44:50 +1200 > From: Andrew Ferguson <andrewf at idlearts.com> > Subject: [LLVMdev] function failing to run in Jit > To: llvm <llvmdev at cs.uiuc.edu> > Message-ID: <1311558290.2261.83.camel at andrew-desktop> > Content-Type: text/plain; charset="UTF-8" > > Is there any reason this generated code won't run i...
2011 Jul 25
0
[LLVMdev] function failing to run in Jit
Try using i64 indices with GEP > Is there any reason this generated code won't run in the Jit? > I've pretty much got everything else working for my front end > which all runs fin in the Jit but I can't get global arrays to work. > > ; ModuleID = 'test' > target datalayout = >
2011 Jun 18
1
[LLVMdev] loop only executes once
Hello, I'm trying to get to grips with the c interface of llvm intending to eventually develop a front end for Purebasic Though I've hit the wall already writing an iterative Fibonacci function. While I think the module dump looks ok it doesn't work for any input > 2 the function returns 2, the loop only executes once Hopefully someone can see what the problem is from the
2011 Jul 25
3
[LLVMdev] function failing to run in Jit
Is there any reason this generated code won't run in the Jit? I've pretty much got everything else working for my front end which all runs fin in the Jit but I can't get global arrays to work. ; ModuleID = 'test' target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:32:32" target triple
2011 Jul 05
0
[LLVMdev] optimizer returning wrong variable?
Andrew Ferguson wrote: > I'm having some trouble trying to workout how to form functions from > the c interface > I thought I had it sorted but I guess I'm missing something or haven't > understood > the requirements, a case of trial and error and not really having a clue > to start with! > > I've got binary ops, cmps, for loops, while loops working but
2011 Jul 05
3
[LLVMdev] optimizer returning wrong variable?
I'm having some trouble trying to workout how to form functions from the c interface I thought I had it sorted but I guess I'm missing something or haven't understood the requirements, a case of trial and error and not really having a clue to start with! I've got binary ops, cmps, for loops, while loops working but then it hit the wall with a tail cmp loop. looking at the
2011 Jul 18
0
[LLVMdev] llvmbuildmalloc/llvmbuildarraymalloc
I can't seem to use either LLVMBuildMalloc or LLVMBuildArrayMalloc without getting an IMA How am I supposed to create a global array? I can create locals no problem and global vars using LLVMAddGlobal though I'm stumped on the arrays. -- Andrew Ferguson