search for: benzer

Displaying 14 results from an estimated 14 matches for "benzer".

Did you mean: bender
2010 Aug 15
7
[LLVMdev] "UNREACHABLE executed!" error?
...builder.CreateInsertValue(tempUnion,data,t,"createuniontmp"); object_union_type is union { double, i1 }, and (in this case) t is 0, and types[t] is double On Sun, Aug 15, 2010 at 4:13 PM, Eric Christopher <echristo at apple.com>wrote: > > On Aug 15, 2010, at 1:06 PM, Alec Benzer wrote: > > > What does this error mean? I'm getting it from an > ExecutionEngine::runFunction() call. The function I'm passing it was run > through verifyFunction() right before the runFunction() call. I can't seem > to find anything that tells me what causes this, onl...
2010 Aug 15
1
[LLVMdev] "UNREACHABLE executed!" error?
Tthe IRBuilder APIs for unions or unions in general? Either way, I was using unions as a temporary solution for a problem I was too lazy to fully figure out anyway. On Sun, Aug 15, 2010 at 4:54 PM, Nick Lewycky <nicholas at mxc.ca> wrote: > Alec Benzer wrote: > >> The dump from the function I'm running: >> >> define %object_structure @0() { >> entry: >> ret %object_structure { i8 0, %object_union [double 5.000000e+00, >> double false] } >> } >> > > Unions are almost entirely unimpleme...
2010 Aug 19
3
[LLVMdev] using external functions from llvm
...o.j.sivart at gmail.com> wrote: > You are adding the symbol as "lle_X_create_number_object" yet your error > message implies you have tried to lookup and use "create_number_object". Can > you provide the code for the lookup? > > On 20/08/2010, at 8:07 AM, Alec Benzer wrote: > > Is there documentation somewhere on how to call external functions from > llvm? The only guide I found was this: > http://www.gearleaf.com/blog/post/44, and it doesn't seem to be working > for me. > > I have a function: > > llvm::GenericValue lle_X_create_n...
2010 Aug 15
0
[LLVMdev] "UNREACHABLE executed!" error?
Alec Benzer wrote: > The dump from the function I'm running: > > define %object_structure @0() { > entry: > ret %object_structure { i8 0, %object_union [double 5.000000e+00, > double false] } > } Unions are almost entirely unimplemented. Sorry. > the only output I get after the...
2010 Aug 20
3
[LLVMdev] using external functions from llvm
Alec Benzer <alecbenzer at gmail.com> writes: > Ok, so calling lle_X_FUNCTIONNAME instead of FUNCTIONNAME works (is there > any reason the post used the lle_X_ prefix other than convention? was it > once possible to call external functions as I was originally trying, or, why > did the blog p...
2010 Aug 20
0
[LLVMdev] using external functions from llvm
...o access arguments however. printing args.size() from the function yields 12105250188025543488. The generated call to it looks like: %object_tmp = call %object_structure* @lle_X_create_number_object(double 5.000000e+00) ; <%object_structure*> [#uses=1] On Thu, Aug 19, 2010 at 6:56 PM, Alec Benzer <alecbenzer at gmail.com> wrote: > The blog post I linked to implied that adding a symbol in the form > lle_X_FUNCTIONNAME would allow you to call a function called FUNCTIONNAME. > Is this not the case? > > > On Thu, Aug 19, 2010 at 6:46 PM, <o.j.sivart at gmail.com>...
2010 Aug 20
0
[LLVMdev] using external functions from llvm
...it now, what I was trying to do seems to be working how I expect it to. On Thu, Aug 19, 2010 at 8:55 PM, Óscar Fuentes <ofv at wanadoo.es> wrote: > The following message is a courtesy copy of an article > that has been posted to gmane.comp.compilers.llvm.devel as well. > > Alec Benzer <alecbenzer at gmail.com> writes: > > > Ok, so calling lle_X_FUNCTIONNAME instead of FUNCTIONNAME works (is there > > any reason the post used the lle_X_ prefix other than convention? was it > > once possible to call external functions as I was originally trying, or, >...
2010 Aug 16
4
[LLVMdev] dynamic typing system
This isn't a strictly llvm-related problem, but I thought I'd ask anyway to see if anyone can help. I'm trying to write a dynamically typed language on top of llvm. My initial idea was to have a general object type for all objects in my language. I came up with: { i8, i8* } the first element of the structure would hold the type of the object, and the second is a pointer to the
2010 Aug 15
2
[LLVMdev] "UNREACHABLE executed!" error?
What does this error mean? I'm getting it from an ExecutionEngine::runFunction() call. The function I'm passing it was run through verifyFunction() right before the runFunction() call. I can't seem to find anything that tells me what causes this, only specific (but seemingly unrelated to my problem) cases of it happening. -------------- next part -------------- An HTML attachment was
2010 Aug 15
0
[LLVMdev] "UNREACHABLE executed!" error?
On Aug 15, 2010, at 1:06 PM, Alec Benzer wrote: > What does this error mean? I'm getting it from an ExecutionEngine::runFunction() call. The function I'm passing it was run through verifyFunction() right before the runFunction() call. I can't seem to find anything that tells me what causes this, only specific (but seemingl...
2010 Aug 16
1
[LLVMdev] "UNREACHABLE executed!" error?
...t this? > > > ---------- Forwarded message ---------- > From: Nick Lewycky <nicholas at mxc.ca> > Date: Mon, Aug 16, 2010 at 01:34 > Subject: Re: [LLVMdev] "UNREACHABLE executed!" error? > To: Anton Korobeynikov <anton at korobeynikov.info> > Cc: Alec Benzer <alecbenzer at gmail.com>, llvmdev at cs.uiuc.edu > > > Anton Korobeynikov wrote: >> >> Hello >> >>> I just noticed that my union seems to look like an array....is that actually >>> a union or do I have a problem somewhere? >> >> Y...
2010 Aug 19
0
[LLVMdev] using external functions from llvm
You are adding the symbol as "lle_X_create_number_object" yet your error message implies you have tried to lookup and use "create_number_object". Can you provide the code for the lookup? On 20/08/2010, at 8:07 AM, Alec Benzer wrote: > Is there documentation somewhere on how to call external functions from llvm? The only guide I found was this: http://www.gearleaf.com/blog/post/44, and it doesn't seem to be working for me. > > I have a function: > > llvm::GenericValue lle_X_create_number_object(llvm...
2010 Aug 19
2
[LLVMdev] using external functions from llvm
Is there documentation somewhere on how to call external functions from llvm? The only guide I found was this: http://www.gearleaf.com/blog/post/44, and it doesn't seem to be working for me. I have a function: llvm::GenericValue lle_X_create_number_object(llvm::FunctionType* ft, const std::vector<llvm::GenericValue>& args) { llvm_object_structure* result = new
2010 Aug 16
0
[LLVMdev] "UNREACHABLE executed!" error?
...> ---------- Forwarded message ---------- >> From: Nick Lewycky <nicholas at mxc.ca> >> Date: Mon, Aug 16, 2010 at 01:34 >> Subject: Re: [LLVMdev] "UNREACHABLE executed!" error? >> To: Anton Korobeynikov <anton at korobeynikov.info> >> Cc: Alec Benzer <alecbenzer at gmail.com>, llvmdev at cs.uiuc.edu >> >> >> Anton Korobeynikov wrote: >>> >>> Hello >>> >>>> I just noticed that my union seems to look like an array....is that actually >>>> a union or do I have a problem som...