Displaying 3 results from an estimated 3 matches for "tp23966736p23992064".
2009 Jun 10
0
[LLVMdev] Defining/Accessing Structs Dynamically
On Wed, Jun 10, 2009 at 10:02 AM, Nyx<mcheva at cs.mcgill.ca> wrote:
> Thus, I need to know how I can define a struct dynamically without having to
> write LLVM assembly (is there an API for doing this?), whether or not LLVM
> functions can actually return those on the stack, as well as how I can read
> and write values to the struct.
There's a C++ API for everything you can
2009 Jun 12
1
[LLVMdev] Defining/Accessing Structs Dynamically
...t now, as a potential solution, I'm actually considering allocating the
structure on the calling side and passing a pointer to it instead, but
perhaps there's a better way to go about this.
- Max
--
View this message in context: http://www.nabble.com/Defining-Accessing-Structs-Dynamically-tp23966736p23992064.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.
2009 Jun 10
2
[LLVMdev] Defining/Accessing Structs Dynamically
Sorry for the high number of questions I've been posting lately!
I'm currently facing a design problem. I'm making a JIT for a subset of the
MATLAB language and in that language, functions can return many parameters.
The issue is that they will not necessarily return *all* the parameters they
could return. The actual number of returned parameters is defined at
run-time.
For speed, I