Displaying 4 results from an estimated 4 matches for "nothing_".
Did you mean:
nothing
2010 Jan 27
2
[LLVMdev] Returning a structure
...>
> Yes, it needs to be aware of the details. There has been some discussion of
> providing a helper library for doing this, see http://llvm.org/bugs/show_bug.cgi?id=4246
Apologies in advance if this has been hashed over already—and of course, one should be aware that I know _absolutely nothing_ in this regard ( (: )—but perhaps at least some platform ABI details could be handled by an IR-to-IR transformation (a la one of the function passes), taking a function that returns some arbitrary structure via a return mechanism and changing it to use the platform ABI (returning via reference on t...
2010 Jan 27
0
[LLVMdev] Returning a structure
Hi Rob,
> Apologies in advance if this has been hashed over already—and of course, one should be aware that I know _absolutely nothing_ in this regard ( (: )—but perhaps at least some platform ABI details could be handled by an IR-to-IR transformation (a la one of the function passes), taking a function that returns some arbitrary structure via a return mechanism and changing it to use the platform ABI (returning via reference on t...
2010 Jan 27
0
[LLVMdev] Returning a structure
Hi Rob,
> I’m using the C API (with a few additions in a single cpp file) to write a compiler. In one part of my code, I want to build a function that returns a structure. The LLVM Assembly Language Reference Manual gives this as a possible return value:
>
>> ret { i32, i8 } { i32 4, i8 2 }
>
> Meanwhile, compiling this C function:
>
>> Range make_range(Index
2010 Jan 26
2
[LLVMdev] Returning a structure
I’m using the C API (with a few additions in a single cpp file) to write a compiler. In one part of my code, I want to build a function that returns a structure. The LLVM Assembly Language Reference Manual gives this as a possible return value:
> ret { i32, i8 } { i32 4, i8 2 }
Meanwhile, compiling this C function:
> Range make_range(Index location, Index length) {
> return (Range){